LinuxQuestions.org
Review your favorite Linux distribution.
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-18-2003, 12:39 PM   #1
Enemyforce
LQ Newbie
 
Registered: Sep 2003
Location: Wormer, near Amsterdam
Distribution: RedHat 8.0
Posts: 16

Rep: Reputation: 0
fluxbox questions


Hi,

I have a sevial questions about fluxbox.
But you must known, I just started with linux.
I'm using Red Hat 8.0 + GNOME and Fluxbox.... but the questions are ....


A) I'm using fluxbox, but now how do I can change the background image?!
bgset or something I cant understand, someone can that explane to me, i readed the man pages but can change my background.

B) In Gnome I have in the menu many programs, but not in fluxbox, how can i find out where they are located end put them in the menu of fluxbox (example OpenOffice)

Thanks in advandge...

 
Old 09-18-2003, 12:44 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well you can just type bsetbg /path/to/image and add it to your .xinitrc file for it will load that image on startup...remember to put & at the end of the command for the stuff that appears after that command will also execute....
i know when i edit my fluxbox menu i just go to /home/USER/.fluxbox/menu and edit that menu file to add/remove entries in the menu....just follow the syntax used in the file and i am sure you can see how it is structured to add your own stuff...

here is the doc for backgrounds on flux site
and here is something for the menu

Last edited by DrOzz; 09-19-2003 at 02:32 PM.
 
Old 09-18-2003, 12:46 PM   #3
Enemyforce
LQ Newbie
 
Registered: Sep 2003
Location: Wormer, near Amsterdam
Distribution: RedHat 8.0
Posts: 16

Original Poster
Rep: Reputation: 0
k, bg is working now...

but in Gnome i saw many programs, but the where in the menu .... how can i see what the command is to start those programs?!
 
Old 09-18-2003, 01:27 PM   #4
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
Quote:
Originally posted by DrOzz

i know when i edit my fluxbox menu i just go to /home/USER/.fluxbox/menu and edit that menu file to add/remove entries in the menu....just follow the syntax used in the file
do you have this file? if so, you can open it in a text editor, each menu entry is listed with the command next to it. you can just add/remove lines from this file to change the flux menu....

 
Old 09-18-2003, 03:31 PM   #5
Enemyforce
LQ Newbie
 
Registered: Sep 2003
Location: Wormer, near Amsterdam
Distribution: RedHat 8.0
Posts: 16

Original Poster
Rep: Reputation: 0
yes I know how to edit my menu, but how do I edit the GNOME menu so I know what the commands are to start a application and put them in my fluxbox menu ?!
 
Old 09-18-2003, 03:44 PM   #6
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
well typically if you installed the app then all you need to know is the name of the app....for example say you use programs such as konqueror, gkrellm, mozilla, xchat, k3b, kmail, evolution, synaptic, etc, etc, etc...
then all you need to do is add the line like so ::
[exec] (konqueror) {konqueror}
the name in () is what will appear in the menu and the name in {} is the executable....this stands true for basically everything...you don't need the full path, but if for example you use something like amsn, which all you do is extract the tarball to a location then you will specify this, so if you indeed extracted it to a specific spot then in turn i would think you know the location....for an example in my case, i extracted amsn to /home/USER/msn
so my shortcut looks like this in my menu::
[exec] (msn) {/home/USER/msn/amsn}
its only programs like this that all you had to do was extract the tarball and cd into the directory and the executable was right there without the need to install....
 
Old 09-18-2003, 03:50 PM   #7
Enemyforce
LQ Newbie
 
Registered: Sep 2003
Location: Wormer, near Amsterdam
Distribution: RedHat 8.0
Posts: 16

Original Poster
Rep: Reputation: 0
Thumbs up

thanks!


helped!
 
Old 09-18-2003, 03:51 PM   #8
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
no problem man
 
Old 09-19-2003, 11:31 AM   #9
Enemyforce
LQ Newbie
 
Registered: Sep 2003
Location: Wormer, near Amsterdam
Distribution: RedHat 8.0
Posts: 16

Original Poster
Rep: Reputation: 0
Back again... still some problems with the background.
The background file is lokated at /home/username/background.jpg

If edit fluxbox (located at /etc/X11/gdm/Sessions)
and it looks like this :
#!/bin/sh

exec fluxbox
bsetbg /home/rick/7858-1.jpg &&
~

but that didnt worked. So I made a .xinitrc file and it look liks this :

xscreensaver &
bsetbg /home/rick/7858-1.jpg &&
exec /usr/local/bin/fluxbox
~

But, still will the background wount start up if i start my x

Please help

-Enemyforce
 
Old 09-19-2003, 02:30 PM   #10
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 59
try like this ::
Code:
bsetbg /home/rick/7858-1.jpg &
exec fluxbox
the way i do it is like so :
Code:
xsri --scale-width=100 --scale-height=100 /mnt/80gig/background/Tux-Linux_1024x768.png &
exec fluxbox
 
Old 09-19-2003, 06:21 PM   #11
Enemyforce
LQ Newbie
 
Registered: Sep 2003
Location: Wormer, near Amsterdam
Distribution: RedHat 8.0
Posts: 16

Original Poster
Rep: Reputation: 0
Still not 100% working , because now if I login I see the background. Afterthat the fluxbox bar under in the screen is coming the background change in a blackcolor.

My distro is RedHat 8.0 with Gnome, but ... I have the feeling that he isn't loading my .xinitrc. I have edit in /etc/X11/gdm/Sessions/fluxbox the file and added exec fluxbox.

To the point : I dont now wich file is loading for my fluxboxsettings and dont know which file needed to be edit (.xinitrc or the fluxboxfile in /Sessions) If tryed many thing now in the two files but it wont help.

Maby you see the solution ?

-Enemyforce
 
Old 09-19-2003, 06:36 PM   #12
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
I'd suggest u edit the standard .xinitrc from the dir /etc/X11/xinit.

Run xwmconfig, select ur prefered wm, then edit ur ~/.xinitrc, append ur custom makeup there ..

xwmconfig actually make a symbolic link /etc/X11/xinit/.xinitrc -> /etc/X11/xinit/xinitrc.{fluxbox,twm,kde, ..wut ever ur choise was}, n it copy the xinitrc.urChoice to ur ~/.xinitrc.

Whenever u run "startx" it look for ~/.xinitrc fist, if not found then it will use /etc/X11/xinit/.xinitrc ..
 
Old 09-20-2003, 07:04 AM   #13
Enemyforce
LQ Newbie
 
Registered: Sep 2003
Location: Wormer, near Amsterdam
Distribution: RedHat 8.0
Posts: 16

Original Poster
Rep: Reputation: 0
Redhat 8.0 doesnt have xwmconfig :S
 
  


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
Questions about X and FluxBox Mercurius Linux - Software 16 10-10-2005 11:29 AM
Some Fluxbox Questions QzarBaron Linux - General 2 02-20-2005 12:58 PM
Fluxbox Questions steve_d555 Linux - General 9 11-21-2004 01:24 AM
fluxbox questions Longinus Slackware 14 02-13-2004 04:28 PM
Some fluxbox questions calvinchan2 Linux - Newbie 3 08-22-2003 01:38 AM


All times are GMT -5. The time now is 04:32 AM.

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