LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-19-2004, 05:23 AM   #1
Piedrunov
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
Question Fluxbox configuration


I'm also a newb,but I like linux. I use debian and my favorite workspace is fluxbox. but how can I change the background so that it stays longer than just till the next startup?I tried bsetbg and wmsetbg and so on, but it always disappeared after the next startup.

A second question: how can I change the menu? for example I would like to work with the transparent aterm,but I don't want to type "aterm -tr -sh 55 -fg white -bg black" every time I use it. Is there a possibility to put this transparent aterm directly into the menu? XShells/Aterm... ?

thx,


Pepe
 
Old 04-19-2004, 05:27 AM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
For the Fluxbox background to stay the same there are several alternatives. Either set the fbsetbg command (or whatever you use to set your wallpaper) to run on startup (using ~/.fluxbox/startup or by some other means) or simply edit the style.

Copy the style you're using to ~/.fluxbox/styles/ and name it as you wish. Then open it up and simply change the rootCommand setting to whatever you want.


Håkan
 
Old 04-19-2004, 08:20 AM   #3
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
for the Aterm problem, open ~/.fluxbox/menu in a editor
add the line:
[exec] (Aterm) {aterm -tr -sh 55 -fg white -bg black}

 
Old 04-20-2004, 09:32 PM   #4
bsmith121
Member
 
Registered: Aug 2003
Distribution: Fedora Core 6, Gentoo
Posts: 34

Rep: Reputation: 15
You can add: session.screen0.rootCommand: fbsetbg -l to your ~/.fluxbox/init And if you change the wallpaper with fbsetbg it will remember this wallpaper for the next time you start fluxbox.

I'm using Fedora, but I don't think it will matter. I've got the following in my ~/.Xdefaults file. I know some are XTerm, but Aterm reads them anyway.

aterm*saveLines:32767
aterm*transparent:true
aterm*transpscrollbar:true
aterm*shading:30
aterm*background:Black
aterm*foreground:White
aterm*scrollBar:true
aterm*scrollBar_right:true
aterm*font:*-*-fixed-medium-r-normal--*-140-*-*-*-*-iso8859-1
aterm*boldFont:*-*-fixed-bold-r-normal--*-*-140-*-*-*-*-iso8859-1

XTerm*color0: black
XTerm*color1: #9e1828
XTerm*color2: #aece92
XTerm*color3: #968a38
XTerm*color4: #414171
XTerm*color5: #963c59
XTerm*color6: #418179
XTerm*color7: gray
XTerm*color8: gray40
XTerm*color9: #cf6171
XTerm*color10: #c5f779
XTerm*color11: #fff796
XTerm*color12: #4186be
XTerm*color13: #cf9ebe
XTerm*color14: #71bebe
XTerm*color15: white
 
Old 04-21-2004, 03:53 AM   #5
killer_bunny
Member
 
Registered: Oct 2003
Location: Croatia
Distribution: RedHat 9, Slack
Posts: 106

Rep: Reputation: 15
This is why:

RESOURCES (available also as long-options)
aterm accepts application defaults set in XAPPLOADDIR/aterm (compile-
time defined: usually /usr/lib/X11/app-defaults/aterm) and resources
set in ~/.Xdefaults or ~/.Xresources. Note that when reading X
resources, aterm recognizes two class names: XTerm and Aterm. The
class name XTerm allows resources common to both aterm and xterm to be
easily configured, while the class name Aterm allows resources unique
to aterm, notably colours and key-handling, to be shared between dif-
ferent aterm configurations. If no resources are specified, suitable
defaults will be used.

Read the man aterm for further info.
If you want your aterm to use just aterm resources then you should use -name "name" command line option....

Example:

aterm -name terminal

Then you change or add

aterm*saveLines:32767 and so on...

to

terminal*saveLines:32767 and so on in ~/.Xdefaults

Then aterm should use yous "terminal" resources...

I think...
 
  


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
fluxbox configuration on FC4 phsythax Linux - Software 2 11-06-2005 12:03 AM
Reset fluxbox configuration aje Linux - Software 1 10-31-2004 01:48 PM
Fluxbox configuration Jonatoon Linux - Software 2 03-18-2004 09:57 AM
software for configuration fluxbox?? celeron2002 Linux - Software 4 02-19-2004 10:34 PM
Fluxbox Configuration AceTech747 Linux - Software 40 01-28-2004 12:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:18 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
Open Source Consulting | Domain Registration