openbsd:xsession
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| openbsd:xsession [2026/07/06 10:53] – Alexey | openbsd:xsession [2026/07/06 17:34] (current) – [# window manager] Alexey | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== .xsession ====== | ====== .xsession ====== | ||
| - | ===== env ===== | + | ===== # environment |
| < | < | ||
| Line 7: | Line 7: | ||
| export LC_CTYPE=" | export LC_CTYPE=" | ||
| export EDITOR=mcedit | export EDITOR=mcedit | ||
| + | export MOZ_ACCELERATED=1 MOZ_WEBRENDER=1 | ||
| </ | </ | ||
| - | ===== keyboard ===== | + | ===== # screen ===== |
| + | |||
| + | < | ||
| + | # Lenovo x201i + vga monitor | ||
| + | xrandr --output LVDS1 --auto --rotate normal --pos 0x0 --output VGA1 --auto --right-of LVDS1 | ||
| + | # xrandr --dpi 96 | ||
| + | </ | ||
| + | |||
| + | ===== # keyboard ===== | ||
| < | < | ||
| setxkbmap " | setxkbmap " | ||
| + | setxkbmap | ||
| + | |||
| + | # setxkbmap -model pc105 -layout us,ru -variant ,winkeys -option grp: | ||
| </ | </ | ||
| - | ===== window manager ===== | + | ===== # window manager ===== |
| < | < | ||
| - | xmessage -buttons cwm: | + | xmessage -buttons cwm: |
| case $? in | case $? in | ||
| - | 0) xterm -bg black -fg white +sb mc & | ||
| - | / | ||
| - | ;; | ||
| 1) xterm -bg black -fg white +sb mc & | 1) xterm -bg black -fg white +sb mc & | ||
| / | / | ||
| Line 30: | Line 39: | ||
| 3) icewm-session | 3) icewm-session | ||
| ;; | ;; | ||
| - | *) xterm -bg black -fg green -maximized -fa ' | + | 0|4) if [ -x / |
| + | eval dbus-launch --sh-syntax --exit-with-x11 | ||
| + | fi | ||
| + | exec / | ||
| + | ;; | ||
| + | 99|*) | ||
| + | | ||
| ;; | ;; | ||
| esac | esac | ||
| </ | </ | ||
| + | ===== Result: ===== | ||
| + | |||
| + | {{: | ||
openbsd/xsession.1783335185.txt.gz · Last modified: 2026/07/06 10:53 by Alexey
