User:Stingray

From ArchWiki
Jump to: navigation, search

I will assume that I can edit and use this page for myself... I'd like to use it to keep specific information about my archlinux install and setup...


fix poweroff stuff

o make kde poweroff properly, edit /usr/share/config/kdm/kdmrc and look for the [Shutdown] section. Ensure HaltCmd is uncommented and set to /sbin/poweroff.

As bgc1954 said, there is also a symlink "/sbin/poweroff". Just edit the file "/usr/share/config/kdm/kdmrc", go to [shutdown] an replace the line "HaltCmd=/sbin/halt" with "HaltCmd=/sbin/poweroff".

Archlinux Install

shared pkg cache

temparary

# pacman -S sshfs
# ls /var/cache/pacman/pkg
# rm /var/cache/pacman/pkg/*
# sshfs thearchlinuxuser@172.24.0.10:/var/flexshare/shares/archlinux/pkg /var/cache/pacman/pkg/
# ls /var/cache/pacman/pkg

auto mount in fstab

System Setup

Add Users

Beginners'_Guide#Adding_a_User

# useradd -m -g users -G audio,lp,optical,storage,video,wheel,games,power,scanner -s /bin/bash archie
# passwd archie

KDE

I am trying out kde-meta this time...

# pacman -S kde-meta

Consolekit error during login

Just need to start dbus, and add it to DAEMONS

Lock Desktop shortcut key

KDE5 = System Settings, Shortcuts, Global Keyboard Shortcuts, ksmserver, Lock Session


System Settings, Shortcuts and Gestures, Global Keyboard Shortcuts, The KDE Session Manager, Lock Session

Note: Need to delete ~/.kde4 with new kde version 4.10 to work correctly....

Dolphin shortcut

Right-mouse click K menu, Edit Applications, System, File Manager (Dolphin), Advanced, Current shortcut key

Kdesu Dolphin

Right-mouse click K menu, Edit Applications, System, Copy & Paste "File Manager (Dolphin)", Edit it and kdesu to name and command...

Restore manually saved session

System Settings, Startup and Shutdown, Session Management, Restore manually saved session

NumLock On at Startup

System Settings, Input Devices, NumLock on KDE Startup, Turn On

Spanish Key's

  • English keyboard, spanish layout...
    • System Settings > Input Devices > Keyboard
      • Hardware tab: pick your keboard model:
        • RicksHP=HP Pavilion dv5
        • School=BTC 9000A
      • Layouts tab: Configure layouts: Add Layout:
        • US keyboard
          • Layout=USA, Variant=Internation (with dead keys), Label=es
        • Spanish keyboard
          • Layout=Spain, Variant=default, Label=es
Note: With that layout you just type normal when you need the accent such as ' or ~, you just hit that key, nothing will appear on the screen (hince dead keys), until you hit the vowel, which will then place your spanish charactor with the vowel.
  • If you want the ' or ~ you just hit it twice.
  • To get your ? upside down hold right alt plus the ? without the shift key. The ! is the same right alt with the ! key without shift.
  • To get a ' or a " use the right alk key + ' or ".
      • Advanced tab: "Key(s) to change layout": select "Alt+Caps Lock"
        • "Use keyboard LED to show alternative layout": Select "Caps Lock"

Auto login for family computer

kde systemsettings, Login Screen, Convenience

Computer specific setup

RicksHP

Set 2 monitors using scripts

set2monitors

#!/bin/bash
#normal monitors
#xrandr --output LVDS1 --auto --primary --output VGA1 --mode 1024x768 --right-of LVDS1
#tom's monitor, bigger...
xrandr --output LVDS1 --auto --primary --output VGA1 --mode 1280x1024 --right-of LVDS1

set1monitor

xrandr --output LVDS1 --auto --primary --output VGA1 --off

set2monitorsLeft

xrandr --output LVDS1 --auto --primary --output VGA1 --mode 1024x768 --left-of LVDS1

touchpad

tweek touchpad

Touchpad_Synaptics

# pacman -S xf86-input-synaptics

/etc/X11/xorg.conf.d/10-synaptics.conf

Section "InputClass"
       Identifier "touchpad catchall"
       Driver "synaptics"
       MatchIsTouchpad "on"
       MatchDevicePath "/dev/input/event*"
       Option "TapButton1" "1"
       Option "TapButton2" "2"
       Option "TapButton3" "3"
       Option "SHMConfig"  "true"
       Option "VertEdgeScroll" "on"
       Option "VertTwoFingerScroll" "on"
       Option "HorizEdgeScroll" "on"
       Option "HorizTwoFingerScroll" "on"
       Option "CircularScrolling" "on"
       Option "CircScrollTrigger" "2"
       Option "EmulateTwoFingerMinZ" "0"
EndSection
disable touchpad

make touchpad-toggle.sh

#!/bin/bash
if [ $(synclient -l | grep TouchpadOff | gawk -F '= ' '{ print $2 }') -eq 0 ]; then
    synclient TouchpadOff=1
else
    synclient TouchpadOff=0
fi

DavidsHP

DavidsHP, xorg does not work yet.. (New install, old computer)

xorg

# lspci | grep VGA
01:00.0 VGA compatible controller: nVida Corporation NV31M [GeForce FX Go5600] (rev a1)

Following this worked Beginners'_Guide#NVIDIA_Graphics_Cards

# pacman -S xf86-video-nouveau

Create the file /etc/X11/xorg.conf.d/20-nouveau.conf, and input the following contents:

Section "Device"
   Identifier "n"
   Driver "nouveau"
EndSection

Software Setup

Step 1: main software I need or use...

# pacman -S keepassx truecrypt opera flashplugin
  • Install what is needed for building PKGBUILD's from AUR
# pacman -S base-devel
  • Opera
    • Don't forget to the optional dependencies...
    • Fix search box and panels button on top...
    • Spanish Dictionary
    • opera link (sr-1963 opera)
    • Start Opera without the default tray icon
opera:config

Search for “tray” or just scroll down until you see “Show Tray Icon” preference. Then uncheck the option.

# pacman -S ttf-dejavu artwiz-fonts libreoffice hunspell-en hunspell-es hyphen-en hyphen-es mythes-en mythes-es

Step 2: favoriate software I like to have installed

# pacman -S gparted e2fsprogs dosfstools ntfsprogs	reiserfs 

or the next line to support all filesystems

# pacman -S gparted e2fsprogs dosfstools jfsutils ntfsprogs reiserfsprogs reiser4progs xfsprogs
  • filezilla

Step 3: VirtualBox, winxp

I'm trying just the basick GPL licensed Virtualbox this time...

notes after installing...

===> In order to run VirtualBox, you have to  be in the 'vboxusers' group.             
===>                                                                                   
===> If you want to be able to install guest additions, you have to install            
===> 'virtualbox-additions' package.
===>                                                                                   
===> You must load vboxdrv module before starting VirtualBox:                          
===> # modprobe vboxdrv                                                                
===>                                                                                   
===> You must load vboxnetflt for Host Interface Networking:                           
===> # modprobe vboxnetflt                                                             
===>                                                                                   
===> You must load vboxnetadp for Host-Only networking:                                
===> # modprobe vboxnetadp                                                             
===>                                                                                   
===> To load it automatically, add vboxdrv module                                      
===> to the MODULES array in /etc/rc.conf.                                             
                                                                                      
*** To compile the modules do /etc/rc.d/vboxdrv setup ***                              
                                                                                      
Optional dependencies for virtualbox                                                   
   libxt: for shared clipboard      

   python2: for python support
   java-runtime: java bindings
   qt: for VirtualBox GUI
   vde2: Virtual Distributed Ethernet support
   virtualbox-sdk: developer kit

Todo list...

  • bash prompt
  • repository
  • keyboard (spanish keyboard, english layout, etc...)