Solved fluxbox not opening apps

casianbsd

Member

Reaction score: 1
Messages: 29

Recently i installed FluxBox on my FreeBSD but only xterm opens and i can only open apps from xterm
any fix?
 

Trihexagonal

Son of Beastie

Reaction score: 2,355
Messages: 2,977

Your menu must not be executing the commends: This is how mine looks:

Code:
[begin] (Fluxbox)
[encoding] {UTF-8}
      [exec]   (urxvt) {urxvt}
      [exec]   (Firefox) {firefox}
[submenu] (Files)
      [exec]   (xfe) {xfe}
      [exec]   (leafpad) {leafpad}
      [exec]   (vi) {xterm -e vi}
[end]
[submenu] (Multimedia)
      [exec]   (Gimp) {gimp}
      [exec]   (VLC) {vlc}
      [exec]   (Audacious) {audacious}
[end]
[submenu] (System)
      [exec]   (gKrellm) {gkrellm}
      [exec]   (Asunder) {asunder}
      [exec]   (ePDFview) {epdfview}
      [exec]   (xclock) {xclock}
      [exec]   (xcalc) {xcalc}
      [exec]   (xterm) {xterm}
      [exec]   (Reload .Xdefaults) {xrdb -load $HOME/.Xdefaults}
[end]
[submenu] (Fluxbox)
      [config] (Configure)
[submenu] (System Styles) {Choose a style...}
      [stylesdir] (/usr/local/share/fluxbox/styles)
[end]
[submenu] (User Styles) {Choose a style...}
      [stylesdir] (~/.fluxbox/styles)
[end]
      [workspaces] (Workspace List)
[submenu] (Tools)
      [exec] (Window name) {xprop WM_CLASS|cut -d \" -f 2|xmessage -file - -center}
[end]
[submenu] (Window Managers)
      [restart] (twm) {twm}
[end]
      [commanddialog] (Fluxbox Command)
      [reconfig] (Reload config)
      [restart] (Restart)
      [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center}
      [separator]
      [exit] (Exit)
[end]
[endencoding]
[end]
 
OP
C

casianbsd

Member

Reaction score: 1
Messages: 29

Your menu must not be executing the commends: This is how mine looks:

Code:
[begin] (Fluxbox)
[encoding] {UTF-8}
      [exec]   (urxvt) {urxvt}
      [exec]   (Firefox) {firefox}
[submenu] (Files)
      [exec]   (xfe) {xfe}
      [exec]   (leafpad) {leafpad}
      [exec]   (vi) {xterm -e vi}
[end]
[submenu] (Multimedia)
      [exec]   (Gimp) {gimp}
      [exec]   (VLC) {vlc}
      [exec]   (Audacious) {audacious}
[end]
[submenu] (System)
      [exec]   (gKrellm) {gkrellm}
      [exec]   (Asunder) {asunder}
      [exec]   (ePDFview) {epdfview}
      [exec]   (xclock) {xclock}
      [exec]   (xcalc) {xcalc}
      [exec]   (xterm) {xterm}
      [exec]   (Reload .Xdefaults) {xrdb -load $HOME/.Xdefaults}
[end]
[submenu] (Fluxbox)
      [config] (Configure)
[submenu] (System Styles) {Choose a style...}
      [stylesdir] (/usr/local/share/fluxbox/styles)
[end]
[submenu] (User Styles) {Choose a style...}
      [stylesdir] (~/.fluxbox/styles)
[end]
      [workspaces] (Workspace List)
[submenu] (Tools)
      [exec] (Window name) {xprop WM_CLASS|cut -d \" -f 2|xmessage -file - -center}
[end]
[submenu] (Window Managers)
      [restart] (twm) {twm}
[end]
      [commanddialog] (Fluxbox Command)
      [reconfig] (Reload config)
      [restart] (Restart)
      [exec] (About) {(fluxbox -v; fluxbox -info | sed 1d) | xmessage -file - -center}
      [separator]
      [exit] (Exit)
[end]
[endencoding]
[end]
where should i paste all of this?
 

Trihexagonal

Son of Beastie

Reaction score: 2,355
Messages: 2,977

That is your fluxbox menu, it goes in the fluxbox directory:

/usr/home/username/.fluxbox

But you'll have to make hidden files/folders visible through your file manager. The period before it desiginates it as a hidden folder.
 
OP
C

casianbsd

Member

Reaction score: 1
Messages: 29

That is your fluxbox menu, it goes in the fluxbox directory:

/usr/home/username/.fluxbox

But you'll have to make hidden files/folders visible through your file manager. The period before it desiginates it as a hidden folder.
okay, but where should i paste all of that, in what file?
 

mer

Aspiring Daemon

Reaction score: 395
Messages: 627

It's been a while since I've used fluxbox, what filename is this in?
 

scottro

Daemon

Reaction score: 909
Messages: 2,061

You should have a /usr/local/share/fluxbox directory, If you copy that over to $HOME/.fluxbox, you can then edit the menu and keybindings in that file. I think Trihexagonal has a whole tutorial here about setting up a desktop and I believe said tutorial uses fluxbox,
 
OP
C

casianbsd

Member

Reaction score: 1
Messages: 29

do you know where is the link or can u just leave the link of the tutorial here?
 

Trihexagonal

Son of Beastie

Reaction score: 2,355
Messages: 2,977

Here's the link but editing the fluxbox menu isn't included in it. Just paste the part I provided into yours in the same place it begins.

 
OP
C

casianbsd

Member

Reaction score: 1
Messages: 29

Here's the link but editing the fluxbox menu isn't included in it. Just paste the part I provided into yours in the same place it begins.

i kinda did all of the steps already, is there any other fix?
 

Trihexagonal

Son of Beastie

Reaction score: 2,355
Messages: 2,977

Have you edited the menu to include the programs you installed? No?

Run this command from your user accont to generate a menu with the programs you installed listed on it:

fluxbox-generate_menu
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 12,717
Messages: 39,308

That sounds like you're still on the default TWM window manager, not Fluxbox.
 

teo

Aspiring Daemon

Reaction score: 42
Messages: 704

There will be a file named menu.
Please teach the user who asks you how to proceed to generate the menu, how to proceed to add direct links to the fluxbox monitor, how to create icons in the taskbar, how to generate the icons in the fluxbox menu, if possible, do it in a file and leave it here, so there will be users who want to learn and use fluxbox. The guide is very outdated from years long ago behind.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Reaction score: 12,717
Messages: 39,308

The guide is very outdated from years long ago behind.
Why don't you write an updated one? Yes, it's a bit old now but at least Trihexagonal took the time and put in the effort to write it in the first place.
 
OP
C

casianbsd

Member

Reaction score: 1
Messages: 29

found out right now what i needed to do : every time i install an appi gotta open the menu file and add it over there for example : firefox didnt run the command firefox and it wasnt existing in the system so i replaced it with midori and command midori as to run it! :D
 

Trihexagonal

Son of Beastie

Reaction score: 2,355
Messages: 2,977

I would gladly do it if I had idea.
You should know all about it by now, teo

I've told you how to add icons to the menu when you posted the question to my tutorial, including telling you how to add links to the menu when you don't even use Fluxbox and have answered every question you were too lazy to look up yourself and could possibly think of to use as an excuse to troll my tutorial for the past 4 years.

The guide is very outdated from years long ago behind.
Now you've taken up someone's bad habit of telling outright lies, teo, and are no better at it than they were.

I just updated it earlier today with that command and you can see by my posts every time I have updated it. The whole back page is full of updates I've made to it this year alone. The last question I answered before being offline for a year was yours about icons on the menu.


My site states it was updated May 19, 2021.


Don't do it again, teo. You don't want to end up on my desktop in the Box O' Stupid people.
 
Top