LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Blackbox start up problems (https://www.linuxquestions.org/questions/linux-general-1/blackbox-start-up-problems-13040/)

psyklops 01-29-2002 10:23 PM

Blackbox start up problems
 
which blackbox
usr/bin/blackbox

I unpacked blackbox.rpm in the usr/local however when I switchdesk blackbox or exec blackbox I get errors (unknown desktop requested etc)

"BScreen::BScreen: an error occured while querying the X server.
another window manager already running on display :0.0. "

Im using a graphical login how would I choose blackbox (which is not offered) at the graphical login?
I looked for an .xsessions in my home dir to edit but only found an .xsessions-error file.

lfslinux 01-29-2002 10:27 PM

Re: Blackbox start up problems
 
Quote:

Originally posted by psyklops
which blackbox
usr/bin/blackbox

I unpacked blackbox.rpm in the usr/local however when I switchdesk blackbox or exec blackbox I get errors (unknown desktop requested etc) Im using a graphical login how would I choose blackbox (which is not offered) at the graphical login?
I looked for an .xsessions in my home dir to edit but only found an .xsessions-error file.

Can you show us the exact error please? it'll help greatly.

If you don't have an .xsession file in your home dir, then simply create it and the graphical login manager will use it (should anyways. If not ,kick it and try again ;)

A simply line "exec /usr/bin/blackbox" as the only contents of ~/.xsession should suffice

psyklops 01-29-2002 10:31 PM

I edited my above post showing you the error.

Could you also past your .xsessions file so I could get an example of what to put in it. I only need KDE and Blackbox as choices at the graphical startup.
Thanks.

ericn 01-29-2002 10:39 PM

just create a file called .xsession in your home directory, with vim or emacs.
inside the file write
exec /usr/bin/blackbox
save
then
chmod +x .xsession
then logout
choose default in your selections at the login and voila
blackbox

hope this helps
eric

psyklops 01-29-2002 11:40 PM

It worked. Thanks! Though I noticed the only browser it had was netscape...

If I wanted to install opera which dir would I put it in? Actually, could I put it in a directory inwhich it would be recognized by all of my window managers?? kde enlightenment and blackbox??

ericn 01-30-2002 12:02 AM

Well
Not sure how it works with blackbox, but with fluxbox which is based on blackbox, you copy fluxbox menu, init and titlebar into a self created .fluxbox menu, in your home directory. You can then edit your menu to your wants and needs. i know it sounds complex but it really isnt. You just need to find your blackbox menu and init files on your system. Not sure where they are installed in blackbox. fluxbox puts them in /usr/local/share/fluxbox.
hope this does the trick
eric

psyklops 01-30-2002 12:16 AM

Thanks in fluxbox where is your "titlebar" located so I can copy that into my file also.

ericn 01-30-2002 01:07 AM

Same spot as the others. Though it is possible blackbox doesnt have that file. You could create it though and see if it works. Mine looks like this:
Right: minimize maximize close
Left: sticky

this is regarding titlebar appearance.

late
eric

elist 01-30-2002 02:58 AM

I've got fluxbox, and created the ~/.fluxbox directory and copied the files in. I edit the files, say for the menu, or init to make customizations. Problem is each time I regenerate or login to X with flux, the changes are ignored and copied to a menu~ file with the original being restored as menu, thus not having my changes.
Any ideas?

lfslinux 01-30-2002 06:51 AM

Quote:

Originally posted by psyklops
It worked. Thanks! Though I noticed the only browser it had was netscape...

If I wanted to install opera which dir would I put it in? Actually, could I put it in a directory inwhich it would be recognized by all of my window managers?? kde enlightenment and blackbox??

you're going to have to add them yourself to the menu's. In KDE use kde's menu editor somewhere in the K menu, under Tools I think.

For Blackbox, edit the /usr/share/blackbox/menu file

It may be /usr/share/Blackbox if you're running an older version of blackbox

psyklops 01-30-2002 08:00 PM

Hey,

So I went in and looked around the menu file without changing a thing. When I exited it said it had been modified. Whatever...
I got out of the file anyway but now have a #menu# file alongside of the menu file. Now when I log out and try to log into blackbox it wont let me. Just dumps me back out into the graphical login....

It was working fine until I unpacked opera.rpm in /usr/local. I -vv the rpm while installing and no errors were detected. Need a little help here.

lfslinux 01-30-2002 11:27 PM

Quote:

Originally posted by psyklops
Hey,

So I went in and looked around the menu file without changing a thing. When I exited it said it had been modified. Whatever...
I got out of the file anyway but now have a #menu# file alongside of the menu file. Now when I log out and try to log into blackbox it wont let me. Just dumps me back out into the graphical login....

It was working fine until I unpacked opera.rpm in /usr/local. I -vv the rpm while installing and no errors were detected. Need a little help here.

why does it dump you back? Check the ~/.xsession-error (or -errors) file to see if it sheds any light.


All times are GMT -5. The time now is 01:07 PM.