Click to See Complete Forum and Search --> : Some probs working with blackbox
trilarian
07-14-2002, 09:48 PM
All of my experience with linux has been on the term or in gnome. I decided to give blackbox a try and I am running into a few problems. First off, I know this is stupid, but I can't find a way to exit black box. The only ways I found to exit is to hit ctrl-alt-backspace, or from term ps -Al then kill blackbox. A normal logout would great so it would save my changes. Second, how do I put a graphic for the backgound desktop. All I get is the default when I change styles. Then lastly is there a way to write a script that will start programs when blackbox starts. Things like gkrellm would be more efficent if they started automatically instead of me having to go to a term. Thanks for any help you can provide.
fancypiper
07-14-2002, 09:57 PM
Did you happen to check at the blackbox (http://blackboxwm.sourceforge.net/) page? I see lots of instruction there.......
here is a copy of part of my blackbox menu, maybe you can use part of it as a reference to edit your menu to make log off and halt & reboot work for you better, depending on the distro will determine the location of the menu, in Redhat Blackbox's menu is in /usr/share/Blackbox
[begin] (Blackbox)
[exec] (Mozilla) {mozilla}
[exec] (Xterm) {xterm -bg Black -fg Red}
[exec] (Nedit) {nedit}
[submenu] (Games)
[exec] (Cardz) {kpat}
[exec] (Mahjongg) {kmahjongg}
[exec] (Shisen-Sho) {kshisen}
[end]
[submenu] (Graphics)
[exec] (GQview) {gqview}
[exec] (TheGimp) {gimp}
[end]
[submenu] (Groovy)
[exec] (eRoaster) {eroaster}
[exec] (gRip) {grip}
[exec] (v0lume) {aumix-X11}
[exec] (xMms) {xmms}
[end]
[submenu] (Mozilla)
[exec] (Mozilla) {mozilla}
[exec] (Mozilla HTML) {mozilla -edit}
[exec] (Mozilla Mail) {mozilla -mail}
[exec] (Mozilla News) {mozilla -news}
[end]
[submenu] (Utilities)
[exec] (Gnotes) {gnp}
[exec] (Xcal) {ical}
[exec] (Xcalc) {xcalc}
[exec] (Xfontsel) {xfontsel}
[exec] (xOSview) {xosview}
[end]
[submenu] (Styles) {.Style.}
[stylesdir] (/usr/share/Blackbox/styles)
[end]
[workspaces] (Workspace)
[config] (Config)
[reconfig] (Reconfig)
[restart] (Restart)
[submenu] (Halt-Reboot))
[exec] (Halt) {poweroff}
[exec] (Reboot) {reboot}
[end]
[exit] (Exit)
[end]
trilarian
07-14-2002, 11:48 PM
thanks I got the exit to work now....so how do I get the background to take a .jpg?
DiscoStoo
07-15-2002, 12:57 AM
You can do this a lot of ways:
1) Create a theme and set your own background.
2) Set it via bsetbg (or whatever) in your ~/.xinitrc. Like "bsetbg -c whatever.jpg".
3) I think you can specify a rootCommand in your ~/.blackboxrc, but I don't remember for sure. This might be something I'm remebering from OpenBox.
By the way, you should get bbconf if you don't already have it, it's a graphical config tool for Blackbox that a lot of Blackbox newbs don't know about. < http://bbconf.sourceforge.net/ >
trilarian
07-15-2002, 02:26 AM
I tried to install bbconf but ran into some probs there too. I downloaded the source rpm and logged in as root and did the rebuild rpm. I got the error message:
Checking QT: error not found
error: bad exit status.........
I'm assuming this means I'm missing QT libraries. In searching the net I only found a site that sells the libraries. Is there a free download site that will work for compiling bbconf, or is there a straight rpm?
Thanks again
rapture
07-15-2002, 03:45 AM
You should try going to RPMfind.net (http://www.rpmfind.net) for your rpm searches. Very useful place.
trilarian
07-15-2002, 12:49 PM
Thanks, I found all the dependicies now and bbconf installed fine. When I try and run the app I get:
bbconf: relocation error: undefined symbol: _ZN7QString11shared_nullE
Any ideas on this? Thx
trilarian
07-15-2002, 01:12 PM
Oh and DiscoStoo, I tried your three ways without success. I don't know how to add a background to a theme, so I tried the second way. If I create a file with that name in the home directory it causes bb to load a grey screen with an X for the mouse pointer. So I deleted that. I tracked down the .xinitrc file in the bb directory and when I added the line there, nothing changed. So I moved on to the last option. I found the file for any giving style and changed the root command. I must not have the proper syntax, because if I changed it, all that happened is when I picked the changed style the background from the previous style remained. This is good to know once I get it set, because I can now keep all the other styles from changing the background. Any other ideas? I'm tired of solid grey or gradients....