nother blackbox question
I just want to launch blackbox, not make it so that it perminantly always shows when I start up?How can I do this?
I try just typin blackbox but it says: Code:
BScreen::BScreen: an error occured while querying the X server. |
How are you doing exactly? You are just logging in and typeing blackbox in a X? You know that you cannot have two X servers running at the same time don't you? :). You have to go into:
/etc/X11/xinit and there change Xclients or xinitrc, depending how you log in (graphical or text mode) add blackbox there.... For example, I "commented" (add a hash "#" sign to comment out) gnome in my Xclients, in the line: PREFERRED=gnome-section and added: PREFERRED=blackbox I log in in text mode. The I simply type startx and there I go. There're many other ways to do that. Sometimes you've to copy Xclients or xinitrc to your /home/user... well, the important thing to have in mind is to not try to run blackbox from another X, cause it won't work :). |
since I boot to a graphical interface, after adding that blackbox thing will I be able to choose between Gnome, Kde, blackbox, or Flukbox(if I install flukbox)
|
which one is for the graphical log in
|
ok on Xclients it has alot of Preffered:
Code:
#!/bin/bash |
I am not sure which one is for graphical login :) In RedHat 9.0 I change the Xclients and it works (text login) in Slackware, I change xinitrc (text login) and it also works... Well, try doing this at the beginning of your Xclients, it read:
if [ -f /etc/sysconfig/desktop ]; then . /etc/sysconfig/desktop if [ "$DESKTOP" = "GNOME" ]; then PREFERRED=gnome-session elif [ "$DESKTOP" = "KDE" ]; then PREFERRED=startkde I don't know which desktop you start with, so let's say it's gnome, so do this: if [ -f /etc/sysconfig/desktop ]; then . /etc/sysconfig/desktop if [ "$DESKTOP" = "GNOME" ]; then # PREFERRED=gnome-session PREFERRED=blackbox elif [ "$DESKTOP" = "KDE" ]; then PREFERRED=startkde You could also change your /etc/sysconfig/desktop and write blackbox in there... then you need to ad a line at your Xclients like this: if [ -f /etc/sysconfig/desktop ]; then . /etc/sysconfig/desktop if["$DESKTOP" = "blackbox"]; then PREFERRED=blackbox elif [ "$DESKTOP" = "GNOME" ]; then PREFERRED=gnome-session elif [ "$DESKTOP" = "KDE" ]; then PREFERRED=startkde I don't how to do it in graphical login and to add an entry in the graphical login either :(. I always have used text login because from time to time I mess up my X and have to fix it from there :) hehe Good Luck |
hey snow, if i noticed right you are using redhat 9? well i had the same problem, but just put a link of blackbox to /etc/X11/gdm/Sessions/ if you are using gdm manager, than you can choose blackbox on startup
|
hey that's cool :) I didn't know that :). Thanks ichbinesderelch
|
np ;) its a bit simpler than editin the file which you discribed, i tried this first too :)
|
wait is it only supposed to say desktop="gnome" in it? and if so do I just add desktop="blackbox"? or do Ichange it from gnome to blackbox?
|
read the thing i wrote, linkin blackbox to /etc/X11/gdm/Sessions, its simpler ;)
|
k u were right but how do I change the background?
|
bsetbg -c filename,
but you should edit the style file if you have installed it normaly than it should be in /usr/local/share/blackbox/styles/ |
what does the bsetbg command do?
|
bsetbg tells blackbox to set a background ;)
|
All times are GMT -5. The time now is 04:34 PM. |