LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-10-2002, 01:27 AM   #1
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Rep: Reputation: 30
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.
 
Old 09-10-2002, 01:42 AM   #2
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

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

Last edited by KayJay; 09-10-2002 at 01:44 AM.
 
Old 09-10-2002, 04:49 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

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

Cool
 
Old 09-10-2002, 11:22 AM   #4
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
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
 
Old 09-10-2002, 01:27 PM   #5
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
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.....
 
Old 09-10-2002, 05:36 PM   #6
KayJay
Member
 
Registered: Mar 2002
Location: dev/null
Distribution: redhat, mandrake
Posts: 218

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


Last edited by KayJay; 09-10-2002 at 05:44 PM.
 
Old 09-12-2002, 01:28 PM   #7
nautilus_1987
Member
 
Registered: Aug 2002
Distribution: Slackware 8.1
Posts: 750

Rep: Reputation: 30
You see KayJay, Goatdemon has Slackware 8.1. I have the same distro, so my solution works
 
Old 09-12-2002, 08:39 PM   #8
mace
Member
 
Registered: Apr 2002
Distribution: redhat7, 7.1, 7.2, 8.0, mandrake, debian2.2, 3, suse
Posts: 176

Rep: Reputation: 30
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
 
Old 09-15-2002, 11:35 PM   #9
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Original Poster
Rep: Reputation: 30
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?
 
Old 09-16-2002, 10:33 AM   #10
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
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
 
Old 09-17-2002, 12:11 AM   #11
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Original Poster
Rep: Reputation: 30
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.
 
Old 09-17-2002, 08:22 AM   #12
mace
Member
 
Registered: Apr 2002
Distribution: redhat7, 7.1, 7.2, 8.0, mandrake, debian2.2, 3, suse
Posts: 176

Rep: Reputation: 30
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.
 
Old 09-17-2002, 10:43 AM   #13
NSKL
Senior Member
 
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207

Rep: Reputation: 46
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..)
 
Old 09-17-2002, 06:10 PM   #14
mace
Member
 
Registered: Apr 2002
Distribution: redhat7, 7.1, 7.2, 8.0, mandrake, debian2.2, 3, suse
Posts: 176

Rep: Reputation: 30
aterm is a nice one also.
 
Old 09-19-2002, 02:38 PM   #15
Goatdemon
Member
 
Registered: May 2002
Location: The good 'ol USofA
Distribution: ArchLinux - Slackware 8.1
Posts: 398

Original Poster
Rep: Reputation: 30
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
configure: error: when trying to install / configure new software ? met tomfer007 Linux - Software 1 07-25-2004 04:52 PM
blackbox help usman Linux - Newbie 6 08-07-2003 12:10 PM
blackbox Help SnowSurfAir Linux - Software 18 08-07-2003 01:44 AM
I need help with Blackbox!!! Mega Man X Linux - Software 7 05-09-2003 04:41 PM
Blackbox Sifvion Linux - General 10 05-21-2002 08:22 PM


All times are GMT -5. The time now is 12:39 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration