Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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
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.
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
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??
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
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
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?
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.