Advertisement
flycat

My xorg inits (.xinitrc)

Oct 12th, 2011
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.87 KB | None | 0 0
  1. # cat .xinitrc
  2. xrandr --output DVI-1 --off
  3. xrandr --output DVI-1 --left-of DVI-0 --pos 1024x384 --auto
  4. # --scale 0.8x0.8
  5.  
  6. #exec /usr/bin/xxkb &
  7. #exec /usr/bin/synergys &
  8.  
  9. ## exec /usr/local/bin/xneur &
  10. ## exec /usr/bin/firefox &
  11. ## exec /usr/bin/opera &
  12. ## exec /usr/bin/thunderbird &
  13. exec /usr/bin/xbindkeys &
  14. exec /usr/local/bin/kbdd &
  15. exec /usr/bin/xautolock -time 5 -locker /usr/bin/i3lock &
  16. exec /usr/bin/awesome
  17.  
  18. # https://wiki.archlinux.org/index.php/Xrandr_(%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)
  19. # /usr/share/X11/xorg.conf.d/10-monitor.conf
  20. Section "Monitor"
  21.     Identifier  "DVI-I-1"
  22.     Option      "Primary" "true"
  23.     Option      "Rotate" "left"
  24.     Option      "dpms"  "on"
  25. EndSection
  26.  
  27. Section "Monitor"
  28.     Identifier  "VGA-0"
  29.     Option      "LeftOf" "DVI-I-1"
  30.     Option      "Position" "1300 0"
  31.     Option      "Rotate" "left"
  32.     Option      "dpms"  "on"
  33. EndSection
  34.  
  35. # /usr/share/X11/xorg.conf.d/00-keyboard.conf:
  36. Section "InputClass"
  37.         Identifier "system-keyboard"
  38.         MatchIsKeyboard "on"
  39.         Option "XkbLayout" "us,ru"
  40.         Option "XkbModel" "pc105"
  41.         Option "XkbOptions" "grp:caps_toggle,grp_led:caps"
  42. EndSection
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement