LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   blackbox configure (https://www.linuxquestions.org/questions/linux-software-2/blackbox-configure-30019/)

Goatdemon 09-10-2002 12:27 AM

blackbox configure
 
i'd like to configure the blackbox menue ( the menue that appeares when you right click on the screen). i want to remove unused entries, add some others and edit those that dont bring up anything.

also, i'd like to make the background in xterm black instead of white, i know that fluxbox's xterm is black but it doesnt colorcode the tar files and directories and textfiles; and i cant hit d instead of ls to list the directory in fluxboxe's xterm.

anyway i'm now rambling, if someone could direct me to a blackboxconfig file i'd appreciate it.

KayJay 09-10-2002 12:42 AM

edit /etc/X11/blackbox/blackbox-menu for the menu
put a "style"in /usr/local/share/blackbox/styles and add an extra rule to that style :
rootCommand: esetroot ~/user/backgrounds/wallpaper.png

about xterm I dunno, maybe u should try Eterm. it's the replacement for xterm

if u want to use d instead of ls, why not making an alias?

MasterC 09-10-2002 03:49 AM

The --color option should make those colors for you goatdemon. So:
ls -l --color /home/goatdemon
should show colors for respective filetypes.

Cool

NSKL 09-10-2002 10:22 AM

start xterm with xterm -b black and it should have a black bacground. also man xterm will show you many useful things. For blackbox you can also make a .blackbox directory in your /home (maybe you have it already) and copy the global bb menu to there and name it only menu. Also check out .blackboxrc then you can modify the file by hand (i do it this way) or much easier you can download bb config program and use the nice GUI to do the same.
Hope that helps
-NSKL

nautilus_1987 09-10-2002 12:27 PM

Goatdemon, maybe you should try FluxBox :) I used both, the second is better. Flux is really good wm. And for KayJay, if you want to edit 'menu': blackbox directory stored in /usr/local/share not in /etc/X11.....

KayJay 09-10-2002 04:36 PM

Quote:

[devfsd@alcatraz blackbox]$ pwd
/etc/X11/blackbox
[devfsd@alcatraz blackbox]$ ls
blackbox-menu
it prolly depends on the distro u have... here it's installed in ./etc/X11/blackbox as u see a lot on sysV systems. so don't say I'm wrong yadayada if u don't know anything about possible default installation paths.
besides, there isnt really much difference in fluxbux and blackbox... blackbox re-continuted the project...


nautilus_1987 09-12-2002 12:28 PM

You see KayJay, Goatdemon has Slackware 8.1. I have the same distro, so my solution works :)

mace 09-12-2002 07:39 PM

consider fluxbox - tabs really are useful.

vi /usr/local/share/blackbox/menu
to edit the menu

theres a space between vi and /usr/local/share/blackbox/menu

Goatdemon 09-15-2002 10:35 PM

concerning fluxbox, what do you use the tabs for, they just seem to sit there? and if i use flux is there a way that i can get the directories and files to be different colors. finally how would i make a symlink to make d = ls?

NSKL 09-16-2002 09:33 AM

What do you mean files and directories different color? In xterm? If so check man xterm or run xterm with this command
xterm -ls
HTH
-NSKL

Goatdemon 09-16-2002 11:11 PM

when i first boot the system (without entering x) and i do a ls or d the contents of my /root folder are displayed. folders are in blue, tar.gz, .rpm, .tgz files are in a butifully bright green color, and text files are in white.

in blackbox when i ran xterm the terminal would pop up and each file would be displayed in the colors discribed earlier ( the thing i didn't like about it was that the background is white, i like black)

fluxbox's background is black BUT the folders and files are all in white. color coding each thing helps me to distinguish between files.

i couldn't find anything in man xterm that tells me how to change file colors, only backgound.

mace 09-17-2002 07:22 AM

tabs are nice because you can take windows and combine them into one window.

say you have xterm, mozilla and xchat open. drag the tab of mozilla over next to the tab on the xterm window and release. now you have mozilla and xterm sharing the same window. one window with two tabs on it. to use mozilla you click the mozilla tab, to use xterm click the xterm tab. now drag the xchat tab on the xchat window. drag this xchat tab and place it next to the xterm and mozilla tabs. now we have three program share the same window. it's easier to organize windows since there is only one application window open with tabs that represent programs.



not sure about slack on on redhat and suse you change colors

/etc/DIR_COLORS

^looks something like that. just vi it. edit it with whatever editor you like.

NSKL 09-17-2002 09:43 AM

i think what you want is this:
xterm -bg black -ls
or download and run Eterm which uses a little bit more resources but has some nice visual effects. (If you have more than 64MB RAM Eterm will run perfectly, if you have less then continue using xterm since if you have 100 Eterms open it might slow down your box a bit..)

mace 09-17-2002 05:10 PM

aterm is a nice one also.

Goatdemon 09-19-2002 01:38 PM

it seems that the /etc/DIR_COLORS file has the colors that the bash shell displays ( the colors that i want to see in fluxbox's xterm) how do i get fluxbox's xterm to display those colors?


All times are GMT -5. The time now is 11:53 AM.