Re: Blackbox as default wm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




Hmm thats system defaults - I think - requiring the appropriate files
in /etc/X11/gdm/Sessions

But for user config - you are supporsed to use:
% switchdesk KDE

This creates ~/.Xclients-default file. For blackbox - just modify this
file - appropriately. For eg: I have the following for fluxbox.

% cat ~/.Xclients-default
#!/bin/bash

export LANG=en_US
export LC=C
export LC_ALL=C
ssh-add < /dev/null
exec fluxbox
exit 1




ls /etc/X11/gdm/Sessions/
Blackbox GNOME
[mikeaz_laptop@localhost Sessions]$
$ switchdesk Blackbox
Red Hat Linux switchdesk 4.0
Copyright (C) 1999-2004 Red Hat, Inc
Redistributable under the terms of the GNU General Public License
Unknown desktop requested: Blackbox
^^ tried this, just for fun, with bbox and BLACKBOX all no good was worth a try


then as per your instructions:
$ switchdesk GNOME

that did make a file called : .Xclients
]$ cat .Xclients
#! /bin/bash

# Created by Red Hat Desktop Switcher

if [ -e "$HOME/.Xclients-$HOSTNAME$DISPLAY" ]; then
   exec $HOME/.Xclients-$HOSTNAME$DISPLAY
else
   exec $HOME/.Xclients-default
fi

i added

export LANG=en_US
export LC=C
export LC_ALL=C
ssh-add < /dev/null
exec Blackbox
exit 1

then logged back in and no luck back in gnome again

so then i just left this in the .Xclients file:

export LANG=en_US
export LC=C
export LC_ALL=C
ssh-add < /dev/null
exec Blackbox
exit 1

no luck couldn't log in at all then some weird error about 'you may be out of diskspace your xsession lasted less than 10 seconds'

so as root in console i just deleted .Xclients and was able to log back into GNOME

I just don't quite get what i'm supposed to be doing here.

but i don't mind experimenting.






[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux