[slim] ne charge pas Openbox(Résolu)

Xorg, Compiz, KDE / Gnome / Xfce / Fluxbox / e17 / fvwm ... GDM/KDM/XDM...
Avatar de l’utilisateur
Maximilien LIX
yeomen
Messages : 211
Inscription : mer. 23 avr. 2014, 14:27

[slim] ne charge pas Openbox(Résolu)

Message par Maximilien LIX »

Hello world ,
j'ai suivi le wiki et quelques autres sites pour installer slim.

Je possède Gnome et Openbox , donc je possède dans /usr/share/xsession un fichier gnome.desktop et un fichier openbox.desktop.

J'ai bien paramétré le slim.conf et pourtant , lorsqu'avec la touche F1 je sélectionne Openbox , je démarre sur Gnome , et lorsque je sélectionne Gnome , je démarre sur Gnome avec mes extensions désactivées.

Du coup je cherche votre aide pour résoudre ce problème :)

Voici mon slim.conf

Code : Tout sélectionner

# sessionstart_cmd	some command
# sessionstop_cmd	some command

# Start in daemon mode. Valid values: yes | no
# Note that this can be overriden by the command line
# options "-d" and "-nodaemon"
# daemon	yes

# Set directory that contains the xsessions.
# slim reads xsesion from this directory, and be able to select.
sessiondir            /usr/share/xsessions/

# Executed when pressing F11 (requires imagemagick)
screenshot_cmd      import -window root /slim.png

# welcome message. Available variables: %host, %domain
welcome_msg         Welcome to %host

# Session message. Prepended to the session name when pressing F1
# session_msg         Session: 

# shutdown / reboot messages
shutdown_msg       The system is halting...
reboot_msg         The system is rebooting...

# default user, leave blank or remove this line
# for avoid pre-loading the username.
default_user        gamerlix

# Focus the password field on start when default_user is set
# Set to "yes" to enable this feature
#focus_password      no

# Automatically login the default user (without entering
# the password. Set to "yes" to enable this feature
#auto_login          no


# current theme, use comma separated list to specify a set to 
# randomly choose from
current_theme       archlinux-darch-grey


# Lock file
lockfile            /var/lock/slim.lock

# Log file
logfile             /var/log/slim.log


Voici mon openbox.desktop

Code : Tout sélectionner

[Desktop Entry]
Name=Openbox
Comment=Log in using the Openbox window manager (without a session manager)
Exec=/usr/bin/openbox-session
TryExec=/usr/bin/openbox-session
Icon=openbox
Type=Application
et voici mon gnome.desktop

Code : Tout sélectionner

[Desktop Entry]
Name=GNOME
Exec=gnome-session
TryExec=gnome-session
Icon=
Type=Application
DesktopNames=GNOME
Merci de bien vouloir m'éclairer de vos lumières :)
Dernière modification par Maximilien LIX le mar. 13 mai 2014, 23:52, modifié 1 fois.
Linuxien et blogueur en carton
Acer AX3810 (Archlinux & Debian)
Acer Aspire V5 (ubuntu-Mate)
Lenovo Thinkpad Edge E330 (Archlinux)
Avatar de l’utilisateur
Maximilien LIX
yeomen
Messages : 211
Inscription : mer. 23 avr. 2014, 14:27

Re: [slim] ne charge pas Openbox

Message par Maximilien LIX »

Yop , pas la peine de répondre , je viens de trouver la soluce ^^

Il fallait juste rajouter exec $1 dans le ~/.xinitrc

A pluche :)
Linuxien et blogueur en carton
Acer AX3810 (Archlinux & Debian)
Acer Aspire V5 (ubuntu-Mate)
Lenovo Thinkpad Edge E330 (Archlinux)
Répondre