ArchLinux:Desktop
From Wiki.cyring.fr
(Difference between revisions)
(→.twmrc) |
(→.twmrc) |
||
Line 103: | Line 103: | ||
menu "defops" | menu "defops" | ||
{ | { | ||
- | " | + | "Computer" f.title |
"Iconify" f.iconify | "Iconify" f.iconify | ||
"Resize" f.resize | "Resize" f.resize | ||
Line 116: | Line 116: | ||
"" f.nop | "" f.nop | ||
"Xterm" f.exec "exec xterm -bg black -fg white -geometry 96x30 -fn 7x14 &" | "Xterm" f.exec "exec xterm -bg black -fg white -geometry 96x30 -fn 7x14 &" | ||
+ | "Chrome" f.exec "chromium &" | ||
"" f.nop | "" f.nop | ||
"Kill" f.destroy | "Kill" f.destroy |
Latest revision as of 07:58, 14 November 2012
Contents |
Xorg
French keyboard
# nano /etc/X11/xorg.conf.d/10-evdev.conf
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "xkb_layout" "fr"
EndSection
NVIDIA driver
# nano /etc/X11/xorg.conf
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "Coolbits" "1"
EndSection
KDM
Switch Numlock ON at login
Redirect the error log file (ie. tmpfs)
# nano /usr/share/config/kdm/kdmrc
[X-*-Greeter]
NumLock=On
[X-:0-Core]
ClientLogFile=tmp/.xsession-errors
Twm
.twmrc
OpaqueMove RandomPlacement ShowIconManager NoGrabServer RestartPreviousState DecorateTransients TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*" IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*" IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*" #ClientBorderWidth Color { BorderColor "slategrey" DefaultBackground "black" DefaultForeground "darkred" TitleBackground "darkred" TitleForeground "white" MenuBackground "darkred" MenuForeground "black" MenuBorderColor "slategrey" MenuTitleBackground "black" MenuTitleForeground "darkred" IconBackground "red" IconForeground "black" IconBorderColor "gray85" IconManagerBackground "darkred" IconManagerForeground "black" } NoTitle { "xclock" "chromium" } IconBorderWidth 1 IconManagerDontShow { "xclock" } IconManagerGeometry "2500x16+0+0" 32 IconRegion "640x32+0-0" North East 32 32 # MoveDelta 3 Function "move-or-lower" { f.move f.deltastop f.lower } Function "move-or-raise" { f.move f.deltastop f.raise } Function "move-or-iconify" { f.move f.deltastop f.iconify } # Button1 = : root : f.menu "defops" Button1 = m : window|icon : f.function "move-or-lower" Button2 = m : window|icon : f.iconify Button3 = m : window|icon : f.function "move-or-raise" Button1 = : title : f.function "move-or-raise" Button2 = : title : f.raiselower Button1 = : icon : f.function "move-or-iconify" Button2 = : icon : f.iconify Button1 = : iconmgr : f.iconify Button2 = : iconmgr : f.iconify # menu "defops" { "Computer" f.title "Iconify" f.iconify "Resize" f.resize "Move" f.move "Raise" f.raise "Lower" f.lower "" f.nop "Focus" f.focus "Unfocus" f.unfocus "Show Iconmgr" f.showiconmgr "Hide Iconmgr" f.hideiconmgr "" f.nop "Xterm" f.exec "exec xterm -bg black -fg white -geometry 96x30 -fn 7x14 &" "Chrome" f.exec "chromium &" "" f.nop "Kill" f.destroy "Delete" f.delete "" f.nop "Restart" f.restart "Exit" f.quit }