Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Schattenschlag« (23.01.2013, 06:57)
Quellcode |
|
1 |
[ebuild R ~] x11-wm/enlightenment-1.0.11 |
Quellcode |
|
1 2 3 |
# cat /etc/X11/Sessions/E17 #!/bin/sh exec "/usr/bin/enlightenment_start" |
ich kann wie gesagt unter slim nicht auswählen ob er xfce oder enlightnement startet was aber schön wäre dies zu machen ...
Quellcode |
|
1 |
$ echo "exec startxfce4" > ~/.xinitrc |
Quellcode |
|
1 2 3 4 5 6 |
# NOTE: if your system does not have bash you need # to adjust the command according to your preferred shell, # i.e. for freebsd use: # login_cmd exec /bin/sh - ~/.xinitrc %session # login_cmd exec /bin/bash -login ~/.xinitrc %session login_cmd exec /bin/bash -login /usr/share/slim/Xsession %session |
Quellcode |
|
1 2 3 4 5 6 7 8 |
# Available sessions: # The current chosen session name replaces %session in the login_cmd # above, so your login command can handle different sessions. # If no session is chosen (via F1), %session will be an empty string. # see the xinitrc.sample file shipped with slim sources #sessions xfce4,icewm-session,wmaker,blackbox # Alternatively, read available sessions from a directory: sessiondir /etc/X11/Sessions |
Quellcode |
|
1 2 3 4 5 |
skullandbones skull # ls -l /etc/X11/Sessions/ insgesamt 12 -rwxr-xr-x 1 root root 11 18. Nov 02:42 Xfce4 -rwxr-xr-x 1 root root 2187 26. Okt 18:58 Xsession -rwxr-xr-x 1 root root 20 5. Jan 03:51 e17 |
Quellcode |
|
1 2 3 4 5 |
skullandbones skull # ls -l /etc/X11/Sessions/ insgesamt 12 -rwxr-xr-x 1 root root 11 18. Nov 02:42 Xfce4 -rwxr-xr-x 1 root root 2187 26. Okt 18:58 Xsession -rwxr-xr-x 1 root root 20 5. Jan 03:51 E17 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 |
#!/bin/sh case $1 in fluxbox) exec E17 ;; xfce4|*) exec startxfce4 ;; esac |
Quellcode |
|
1 2 |
login_cmd exec /bin/bash -login ~/.xinitrc %session sessions xfce4, E17 |
Quellcode |
|
1 |
$ ck-list-sessions |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Session1: unix-user = '1000' realname = '(null)' seat = 'Seat1' session-type = 'x11' active = TRUE x11-display = ':0.0' x11-display-device = '/dev/tty7' display-device = '' remote-host-name = '' is-local = TRUE on-since = '2013-01-13T07:43:46.210072Z' login-session-id = '1' |