Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-06-2002, 11:21 PM
|
#1
|
Member
Registered: Feb 2002
Location: Sweden, Skeldepth
Distribution: Slackware 10
Posts: 178
Rep:
|
fluxbox and xterm
I have a couple of questions regarding fluxbox and xterm..
i want dark/ black or transparent background in xterm, i tried to add this line in my .xinitrc file but with no success.
exec xterm -bg black -fg white ( im a noob so dont laugh )
it would be nice with colors in xterm to eg. folders, files, links etc.
is it possible to create at least a couple of icons to fast access to some apps on the desktop ?
------------------------------------------------------------------------
Im also Microsoft free ( 4 days and not a drop of windoze )
Last edited by Fuel; 11-06-2002 at 11:29 PM.
|
|
|
11-07-2002, 12:35 AM
|
#2
|
Member
Registered: Jan 2002
Location: India
Distribution: Suse , Mandrake
Posts: 121
Rep:
|
Does it have anything to do with fluxbox ?
All you want is a color xterm, right ?
One possibility is that the version of xterm u r using does not support colors.
Anyway try this on the command prompt
manaskb@linux:~/dwn/acpi> env | grep TERM
TERM=xterm
COLORTERM=1
Most likely your environment variable is not set right :-)
-Manas
|
|
|
11-07-2002, 10:32 AM
|
#3
|
Senior Member
Registered: Jan 2002
Location: Rome, Italy ; Novi Sad, Srbija; Brisbane, Australia
Distribution: Ubuntu / ITOS2008
Posts: 1,207
Rep:
|
xtern -ls for color ls output.
man xterm for other options. Also i think xterm doesnt support transparency, try eterm instead.
-nskl
|
|
|
11-07-2002, 10:53 AM
|
#4
|
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704
Rep:
|
That's correct Xterm does not support transparancy, yet and, where in ~/.xinitrc you added exec xterm line? Put in front of exec /path/to/wm if there are any of course, plus modify it a little to include '&' sign to send the job to background process
xterm -bg black -fg white &
|
|
|
11-08-2002, 03:45 PM
|
#5
|
Member
Registered: Jun 2002
Location: South Africa
Distribution: Custom slackware64-current
Posts: 308
Rep:
|
This is in reference to NSKL's post about the xterm parameter "-ls". It actually means login shell. Using this parameter means that the global profile, your .profile and shell .rc file are read, and this is what is actually responsible for the colour output in "ls -l" =-]. I think aterm ( http://aterm.sourceforge.net/) is worth looking into if you want transparency, tinting, background images etc. The webpage will explain why better than I can.
|
|
|
12-23-2003, 08:11 AM
|
#6
|
Member
Registered: Dec 2003
Distribution: Debian, OpenBSD
Posts: 46
Rep:
|
Re: fluxbox and xterm
Quote:
Originally posted by Fuel
i want dark/ black or transparent background in xterm, i tried to add this line in my .xinitrc file but with no success.
exec xterm -bg black -fg white ( im a noob so dont laugh )
|
this will just cause xterm to start every time you start X. if you want any xterm to have black background add the following lines to your ~/.Xdefaults file (or create it if necessary):
Code:
XTerm*background: black
XTerm*foreground: white
Quote:
it would be nice with colors in xterm to eg. folders, files, links etc.
|
by default xterm should support colors. if you want to get a colored output for your ls-command you can use ls --color=auto. if you're using bash you can add the following line to your ~/.bashrc file:
Code:
alias ls='ls --color=auto'
Quote:
is it possible to create at least a couple of icons to fast access to some apps on the desktop ?
|
in debian there is a package called fbdesk, which enables you to use desktop icons in fluxbox - don't know about slackware though
|
|
|
12-24-2003, 09:18 AM
|
#7
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
xtdesk is another 'desktop' that works in fluxbox. Have you trie windowmaker. It' bigger but nearly as fast and lot prettier and elegant. YOu'll need libungif for it to run.
|
|
|
12-24-2003, 12:15 PM
|
#8
|
Member
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607
Rep:
|
|
|
|
12-24-2003, 01:07 PM
|
#9
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
Why not just edit your /home/<user>/.fluxbox/menu file and just edit your line where you open xterm is at and add the options there.
That's what I do for mine.. will look something like this in the file:
[exec] (xterm) {xterm -bg black -fg white}
|
|
|
All times are GMT -5. The time now is 10:10 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|