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:59] – Alexey | openbsd:xsession [2026/07/06 17:34] (current) – [# window manager] Alexey | ||
|---|---|---|---|
| Line 13: | Line 13: | ||
| < | < | ||
| + | # Lenovo x201i + vga monitor | ||
| xrandr --output LVDS1 --auto --rotate normal --pos 0x0 --output VGA1 --auto --right-of LVDS1 | xrandr --output LVDS1 --auto --rotate normal --pos 0x0 --output VGA1 --auto --right-of LVDS1 | ||
| - | ##xrandr --dpi 96 | + | # xrandr --dpi 96 |
| </ | </ | ||
| Line 26: | Line 27: | ||
| </ | </ | ||
| - | ===== 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 41: | 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.1783335558.txt.gz · Last modified: 2026/07/06 10:59 by Alexey
