User Tools

Site Tools


openbsd:xsession

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
openbsd:xsession [2026/07/06 10:59] Alexeyopenbsd:xsession [2026/07/06 17:34] (current) – [# window manager] Alexey
Line 13: Line 13:
  
 <code> <code>
 +# 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
 </code> </code>
  
Line 26: Line 27:
 </code> </code>
  
-===== window manager =====+===== window manager =====
  
 <code> <code>
-xmessage -buttons cwm:1,fvwm:2,icewm:3,xterm:99 -default cwm -nearmouse -timeout 5 "==== Choose WM: ===="+xmessage -buttons cwm:1,fvwm:2,icewm:3,xfce:4,xterm:99 -default xfce -nearmouse -timeout 5 "==== Choose WM: ===="
 case $? in case $? in
-0)      xterm -bg black -fg white +sb mc & 
-        /usr/X11R6/bin/cwm 
-    ;; 
 1)      xterm -bg black -fg white +sb mc & 1)      xterm -bg black -fg white +sb mc &
         /usr/X11R6/bin/cwm         /usr/X11R6/bin/cwm
Line 41: Line 39:
 3)      icewm-session 3)      icewm-session
     ;;     ;;
-*)      xterm -bg black -fg green -maximized -fa 'Cousine' -fs 12 +sb+0|4)      if [ -x /usr/local/bin/dbus-launch -a -z "${DBUS_SESSION_BUS_ADDRESS}" ]; then 
 +            eval dbus-launch --sh-syntax --exit-with-x11 
 +        fi 
 +        exec /usr/local/bin/startxfce4 
 +    ;; 
 +99|*)      xrandr --output LVDS1 --off --output VGA1 --auto 
 +        xterm -bg black -fg green -maximized -fa 'Cousine' -fs 12 +sb
     ;;     ;;
 esac esac
 </code> </code>
  
 +===== Result: =====
 +
 +{{:openbsd:wm_selector.png?nolink|}}
openbsd/xsession.1783335558.txt.gz · Last modified: 2026/07/06 10:59 by Alexey

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki