Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > Your Distro > Gentoo Linux Help
Reload this Page fluxbox problems
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Gentoo Linux Help For help and discussion related to Gentoo Linux

Reply
 
Thread Tools Display Modes
Old 03-27-2008   #1 (permalink)
Tralfas
Just Joined!
 
Join Date: Jan 2008
Location: 127.0.0.1
Posts: 28
Send a message via AIM to Tralfas
fluxbox problems

have fluxbox installed and I am experiencing two problems with it. The problems are that keys doesn't work and fluxbox-generate_menu doesn't find all of the programs i have installed. none of my hot keys work i tried all different keys to assign commands to like ctrl, alt and the penguin key.fluxbox-generate_menu wont detect that i have aterm installed and some other programs don't show up in the menu.

so how do i fix theses two problems with keys and with fluxbox-generate_menu.

i dont really know what info to post so if anyone can help but requires some info from me then just tell me and i will post what is needed.

thanks in advance!

-tralfas
Tralfas is offline   Reply With Quote
Old 03-28-2008   #2 (permalink)
hazel
Linux Newbie
 
hazel's Avatar
 
Join Date: May 2004
Location: Harrow, UK
Posts: 236
I would say the simplest way to solve the menu problem is simply to edit your ~/.fluxbox/menu file by hand. You can see from the existing entries what you need to type.

Hot keys are listed in ~/.fluxbox/keys. Do you have anything in this file?
__________________
"I'm just a little old lady; don't try to dazzle me with jargon!"
hazel is offline   Reply With Quote
Old 03-28-2008   #3 (permalink)
Manchunian
Linux Enthusiast
 
Manchunian's Avatar
 
Join Date: Dec 2007
Location: France but my heart stays in Britain
Posts: 580
I agree with Hazel. However, bear in mind that the more things you put in your menu file, the slower Fluxbox will fire up when you start your computer. I actually have very few things in my menu file, just limiting myself to stuff my children or my wife use. For the rest, I use the good ol' terminal.
Note the syntax you need to use to edit this:

Code:
[submenu] (name of your submenu) <icon, if you want one>
  [exec] (name of application) {command} <icon>
[end]
The above defines one command that will appear under one submenu. Here is what I have in my menu file:

Code:
[begin] (fluxbox)
[exec] (Terminal) {/usr/bin/Eterm} </usr/share/pixmaps/gnome-terminal.xpm>

[submenu] (Office) </usr/share/pixmaps/gnome-term-linux.png>
      [exec] (OpenOffice.org Impress) {/usr/bin/ooimpress} </usr/share/icons/gnome/32x32/apps/openofficeorg-20-impress.xpm>
      [exec] (OpenOffice.org Draw) {/usr/bin/oodraw} </usr/share/icons/gnome/32x32/apps/openofficeorg-20-draw.xpm>
      [exec] (OpenOffice.org Base) {/usr/bin/oobase} </usr/share/icons/gnome/32x32/apps/openofficeorg-20-base.xpm>
      [exec] (Scribus) {/usr/bin/scribus} </usr/share/pixmaps/scribus.xpm>
[end]
[submenu] (Music and video)
      [exec] (Hydrogen) {/usr/bin/hydrogen} </usr/share/pixmaps/hydrogen.xpm>
      [exec] (Audacity) {/usr/bin/audacity} </usr/share/audacity/audacity.xpm>
      [exec] (KRec) {/usr/bin/krec} <>
[end]
[submenu] (Games)
      [exec] (vegastrike) {/usr/games/vegastrike} <>
      [exec] (Neverball) {/usr/games/neverball} <>
      [exec] (Neverputt) {/usr/games/neverputt} <>
      [exec] (njam) {/usr/bin/njam} <>
      [exec] (Planet Penguin Racer) {/usr/games/ppracer} </usr/share/pixmaps/ppracer.xpm>
      [exec] (Tuxkart) {/usr/games/tuxkart} </usr/share/pixmaps/tuxkart.xpm>
      [exec] (Commodore 64) {/usr/bin/x64} </usr/share/pixmaps/c64icon-32x28.xpm>
      [exec] (UAE) {/usr/bin/uae} </usr/share/pixmaps/uae-menu.xpm>
[end]
[separator]
      [exec] (Lock Screen) {/usr/bin/xscreensaver-command -lock} <>
      [exec] (Reboot) {/sbin/reboot}
      [exec] (Shutdown) {/sbin/halt} <>
[end]
Note that if you still want to generate an automatic menu, you can do this by entering the following command as root, while logged out of Fluxbox:

Code:
# update-menus
As I said, you need to be logged out of Fluxbox for this to work, so you can do this in single-user mode, or by pressing Ctrl, Alt and F2 while at the log in Window. When you log back into Fluxbox, you should have the automatically generated menu. However, as I said, I don't like this as it takes some of the 'punch' out of Flux.
__________________
Distribution: Archlinux
Processor: Celeron 2.6 GHz; Ram: 750 MB
Graphics card: Nvidia GeForce4 MX 440-SE
Mother board: Columbia 4
Manchunian is offline   Reply With Quote
Old 03-29-2008   #4 (permalink)
jayd512
Linux User
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, KY
Posts: 278
Manchunian, just out of curiosity, would the code you posted also work for configuring IceWM? Or are there just subtle differences?
__________________
Jay

New member? Little confused? Check it out!
Registered Linux User #463940

Lookin' for a Distro?
jayd512 is offline   Reply With Quote
Old 03-29-2008   #5 (permalink)
Manchunian
Linux Enthusiast
 
Manchunian's Avatar
 
Join Date: Dec 2007
Location: France but my heart stays in Britain
Posts: 580
I haven't used IceWM very much - Dapper Dan is the IceWM guy on this site. However, I don't think the syntax is the same. I've found a little guide here if you're curious.
__________________
Distribution: Archlinux
Processor: Celeron 2.6 GHz; Ram: 750 MB
Graphics card: Nvidia GeForce4 MX 440-SE
Mother board: Columbia 4
Manchunian is offline   Reply With Quote
Old 03-29-2008   #6 (permalink)
jayd512
Linux User
 
jayd512's Avatar
 
Join Date: Feb 2008
Location: Louisville, KY
Posts: 278
Cool, thanks for the link! Looks like some good stuff. If this doesn't have what I need, look forward to a new thread!

And you actually have a C64 emulator on your panel? That's just awesome!!!
__________________
Jay

New member? Little confused? Check it out!
Registered Linux User #463940

Lookin' for a Distro?
jayd512 is offline   Reply With Quote
Old 03-29-2008   #7 (permalink)
Manchunian
Linux Enthusiast
 
Manchunian's Avatar
 
Join Date: Dec 2007
Location: France but my heart stays in Britain
Posts: 580
Quote:
And you actually have a C64 emulator on your panel?
Oh yes I do! I also have an Atari XE, Atari ST and an Amiga emulator! I'm just an 80s kid who likes to remember the good old times, but it's more than that! The games for these machines were truly superb.

Edit: if you want to start a new thread about this stuff, I'll be more than happy to share all my little secrets!!
__________________
Distribution: Archlinux
Processor: Celeron 2.6 GHz; Ram: 750 MB
Graphics card: Nvidia GeForce4 MX 440-SE
Mother board: Columbia 4
Manchunian is offline   Reply With Quote
Old 03-31-2008   #8 (permalink)
darkrose0510
Linux User
 
darkrose0510's Avatar
 
Join Date: Jan 2006
Location: Queensland, the cyclone/flood/drought capital of Australia
Posts: 256
You mention a penguin key... do you have a Cherry CyMotion Master Linux keyboard?

If so you might find this link helpfull in getting it all working under Fluxbox:
Into.the.Void. » 2007 » February » 20
If you are using the keyboard with usb and not ps2, then you won't need the /etc/init.d/cherry file.
__________________
Desktop - Gentoo
Toy Box - Syllable
Laptops - Damn Small 4
Servers - Debian Etch
Registered Linux user #407228 -- A computer without a Microsoft operating system is like a dog without bricks tied to its head.
darkrose0510 is offline   Reply With Quote
Old 03-31-2008   #9 (permalink)
Tralfas
Just Joined!
 
Join Date: Jan 2008
Location: 127.0.0.1
Posts: 28
Send a message via AIM to Tralfas
LOL i fixed the problem what was wrong was that my init was pointing to the wrong files some how they started pointing to /usr/shared/fluxbox/keys so i simply pointed them in the right direction to the real files.

continue talking its cool especially about the emulators lol
Tralfas is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


All times are GMT. The time now is 11:54 AM.

Powered by vBulletin 3.6.8 ©2000 - 2007, content relevant URLs by vBSEO, Property of Core Root.

Content Relevant URLs by vBSEO 3.0.0