Blog Code Forum

ArchLinux:Desktop

From Wiki.cyring.fr

(Difference between revisions)
Jump to: navigation, search
(Xorg)
(.twmrc)
 
(One intermediate revision not shown)
Line 75: Line 75:
}
}
-
NoTitle { "xclock" }
+
NoTitle { "xclock" "chromium" }
IconBorderWidth 1
IconBorderWidth 1
IconManagerDontShow { "xclock" }
IconManagerDontShow { "xclock" }
Line 103: Line 103:
menu "defops"
menu "defops"
{
{
-
"RAM Computer" f.title
+
"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

  1. Section "InputClass"
  2.         Identifier "evdev keyboard catchall"
  3.         MatchIsKeyboard "on"
  4.         MatchDevicePath "/dev/input/event*"
  5.         Driver "evdev"
  6.         Option "xkb_layout" "fr"
  7. EndSection

NVIDIA driver

# nano /etc/X11/xorg.conf

  1. Section "Device"
  2.     Identifier     "Device0"
  3.     Driver         "nvidia"
  4.     VendorName     "NVIDIA Corporation"
  5.     Option         "Coolbits" "1"
  6. EndSection

KDM

Switch Numlock ON at login
Redirect the error log file (ie. tmpfs)

# nano /usr/share/config/kdm/kdmrc

  1. [X-*-Greeter]
  2. NumLock=On
  3.  
  4. [X-:0-Core]
  5. 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
}
Personal tools