LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This 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


Reply
  Search this Thread
Old 01-29-2002, 10:23 PM   #1
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Rep: Reputation: 30
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.

Last edited by psyklops; 01-29-2002 at 10:27 PM.
 
Old 01-29-2002, 10:27 PM   #2
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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
 
Old 01-29-2002, 10:31 PM   #3
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Original Poster
Rep: Reputation: 30
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.
 
Old 01-29-2002, 10:39 PM   #4
ericn
Member
 
Registered: Oct 2001
Distribution: Mandrake 8.2
Posts: 44

Rep: Reputation: 15
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
 
Old 01-29-2002, 11:40 PM   #5
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Original Poster
Rep: Reputation: 30
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??
 
Old 01-30-2002, 12:02 AM   #6
ericn
Member
 
Registered: Oct 2001
Distribution: Mandrake 8.2
Posts: 44

Rep: Reputation: 15
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
 
Old 01-30-2002, 12:16 AM   #7
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Original Poster
Rep: Reputation: 30
Thanks in fluxbox where is your "titlebar" located so I can copy that into my file also.
 
Old 01-30-2002, 01:07 AM   #8
ericn
Member
 
Registered: Oct 2001
Distribution: Mandrake 8.2
Posts: 44

Rep: Reputation: 15
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
 
Old 01-30-2002, 02:58 AM   #9
elist
Member
 
Registered: Dec 2001
Location: MK - UK
Distribution: Mandrake
Posts: 94

Rep: Reputation: 15
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?
 
Old 01-30-2002, 06:51 AM   #10
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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
 
Old 01-30-2002, 08:00 PM   #11
psyklops
Member
 
Registered: Jan 2002
Location: Los Angeles
Distribution: RedHat 9.0
Posts: 216

Original Poster
Rep: Reputation: 30
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.
 
Old 01-30-2002, 11:27 PM   #12
lfslinux
LFS Maintainer
 
Registered: Jan 2002
Location: Canmore, Alberta, Canada
Distribution: Linux From Scratch
Posts: 372

Rep: Reputation: 30
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Blackbox start-up issues Dralnu Linux - Software 1 09-06-2005 11:46 AM
Cannot start applications in blackbox demiurge Mandriva 0 05-29-2004 03:03 AM
automatic slit app start-blackbox -login killer_bunny Linux - Software 1 12-18-2003 05:29 PM
blackbox start programm on startup ichbinesderelch Linux - General 2 12-15-2002 08:37 PM
How do I start Blackbox? bud_ferret Linux - Software 12 03-05-2002 09:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration