Click to See Complete Forum and Search --> : Blackbox menu file
CRT_Monkey
12-17-2000, 09:00 PM
Ok I downloaded a theme for bb and I read the HOWTO about how to install it. I did everything it said to do until it got to the part about adding a [style] line to my menu file.
I opened up the menu file and there's a whole slew of lines in there plus a warning at the top that says "automatically generated file, do not edit"
If I'm supposed to add a [style] line to this file, where? and will it cause havoc after I do?
Help
MADHATter7
12-17-2000, 09:46 PM
I'll assume you are running Debian. (If I remember correctly) Here is how I did it --basically all the Styles (themes, if you will) are located in the /usr/share/blackbox/styles/stylesmenu file. I ran mkdir theme_name in /usr/share/blackbox/styles, moved the theme_name.tar.gz into /usr/share/blackbox and ran a tar -zxvf theme_name.tar.gz After that, edit the aforementioned .../stylesmenu file and there you have it !
Any more questions, JUST ASK !!!!
------------------
MADHATter7 http://www.linuxnewbie.org/ubb/smile.gif
email: madhatterus@netscape.net
ICQ : 101324593
[This message has been edited by MADHATter7 (edited 17 December 2000).]
gwpritch
12-18-2000, 06:04 PM
If you are going to edit you menu file you would be better to copy it to your ~/.blackbox directory and edit your ~/.blackboxrc file to point to this new menu location.
Assuming you are usin BB ver 0.6x edit the menu as follows:
[submenu] (styles) {Choose a style...}
[stylesdir](/home/username/.blackbox/styles)
[end]
Untaring bb themes into your home directory should automatically place the style file in the styles directory and the background image into the backgrounds directory in ~/.blackbox
Now any new theme added in this way will appear in your menu.
Earlier versions of BB are much more of a pain in the *** to add themes to so upgrade if you haven't yet done so.
Assuming you are usin BB ver 0.6x edit the menu as follows:
[submenu] (styles) {Choose a style...}
[stylesdir](/home/username/.blackbox/styles)
[end]
wouldn't it make more sense to place themes in a central location (not in a home directory) so that all user accounts could use them? I've got my themes in /usr/local/share/Blackbox/styles
and I've got my backgrounds in /usr/local/share/Blackbox/backgrounds
now if I want a user to have access, I give them a copy of my ~/.blackboxrc which contains the styledir=(path mentioned above)
thoughts?
mtf8
gwpritch
12-20-2000, 08:03 PM
Originally posted by mtf8:
wouldn't it make more sense to place themes in a central location (not in a home directory) so that all user accounts could use them? I've got my themes in /usr/local/share/Blackbox/styles
and I've got my backgrounds in /usr/local/share/Blackbox/backgrounds
now if I want a user to have access, I give them a copy of my ~/.blackboxrc which contains the styledir=(path mentioned above)
thoughts?
mtf8
Sure that works...gives the users access to your choice of themes I guess, but any user with access to bb will have their own .blackboxrc and ~/.blackbox and can download and use their own choice of themes...viva freedom of choice.
Besides downloadable themes are designed to unpack into the /home/user/.blackbox directory.
I'm just trying to think of things from an admin perspective. I mean, if both userA and userB have theme1 installed under ~/.blackbox, you've got duplicate files right?
I need to put some more thought into this but I'm having too much fun playing with all the little bbtools out there on the web http://www.linuxnewbie.org/ubb/smile.gif
mtf8