Author Topic: New fluxboxmenu  (Read 2508 times)

0 Members and 1 Guest are viewing this topic.

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
New fluxboxmenu
« on: 13. October 2015, 22:15:17 »
Here comes what I think is quite a good solution for the fluxbox menu.
I will see how I can make this available as a package, too.
For now you can adjust it manually by replacing the content of ~/.config/fbmenugen/config.pl with THIS
and the content of ~/.config/fbmenugen/schema.pl with THIS :o ;D

At this point: If you currently have a menu that you like, back up your ~/.fluxbox/menu because it is now going to be overwritten!!

To create the new menu just run
Code: [Select]
fbmenugen in the terminal or from your existing menu... ;)
The 'Regenerate menu' function can now be found in 'Fluxbox Settings' in the Menu.



Good luck!! 8)
« Last Edit: 13. October 2015, 22:37:35 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline MrRoberts

  • Neuling
  • *
  • Posts: 42
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #1 on: 13. October 2015, 23:13:30 »
OMG... you rock, oberon!  :)

Thanks again.

Offline MrRoberts

  • Neuling
  • *
  • Posts: 42
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #2 on: 14. October 2015, 00:01:21 »
In this new menu, I cannot find the theme changer and manjaro settings?

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #3 on: 14. October 2015, 00:11:28 »
The Settings Manager issue I had just discovered myself. I have fixed it meanwhile ;)
Open your ~/.config/fbmenugen/config.pl and in line 86 where it says 'manjaro-settings-manager' append '-gtk', so the result looks like this:
Code: [Select]
{key => 'Exec', re => qr/^clipit|manjaro-settings-manager-gtk|lightdm-gtk-greeter-settings/},Then regenerate the menu again and Manjaro Settings Manager will show under >Tools>Settings.
Your gtk- and xcursor-theme selector (lxappearance) is now under >Customization>Appearance :)
« Last Edit: 14. October 2015, 00:13:08 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline MrRoberts

  • Neuling
  • *
  • Posts: 42
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #4 on: 14. October 2015, 00:25:37 »
Getting close! lol  ;D

Now, I'm getting manjaro-settings-manager twice in the menu.

The theme changer I mentioned... I meant the fluxbox theme changer, which isn't there.

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #5 on: 14. October 2015, 01:21:12 »
Now, I'm getting manjaro-settings-manager twice in the menu.
You must have a typo in your config.pl - just copy it again from here It is updated meanwhile. Here on my system it works and I get only one Settings Manager entry.
Quote
The theme changer I mentioned... I meant the fluxbox theme changer, which isn't there.
Hmmm, I don't like that menu entry, because practically all of those offered styles mess up the layout completely >:(
But if you want it you can add this in the schema.pl file, maybe just below the line where it says 'Behaviour'?:
Code: [Select]
  {begin_cat => ['Styles', ]},
    {raw => q([stylesdir] (/usr/share/fluxbox/styles/))},
  {end_cat => undef},
« Last Edit: 14. October 2015, 01:24:39 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #6 on: 14. October 2015, 02:29:01 »
Beh, my bad! The settings-manager entry needs to go in skip_filename_re instead of skip_entry ::)
So like THIS
 ^-^
« Last Edit: 14. October 2015, 02:35:23 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline MrRoberts

  • Neuling
  • *
  • Posts: 42
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #7 on: 14. October 2015, 11:01:52 »
Code: [Select]
[neo@helion-8930g ~]$ fbmenugen
Bareword found where operator expected at /home/neo/.config/fbmenugen/config.pl line 5, near ""en" class"
(Missing operator before class?)
Bareword found where operator expected at /home/neo/.config/fbmenugen/config.pl line 13, near "<title>manjaro"
(Missing operator before manjaro?)
Unrecognized character \xC2; marked by <-- HERE after at master <-- HERE near column 59 at /home/neo/.config/fbmenugen/config.pl line 13.
Compilation failed in require at /home/neo/.config/fbmenugen/schema.pl line 28.
Compilation failed in require at /usr/bin/fbmenugen line 270.
[neo@helion-8930g ~]$

Did replaced the config.pl and attempted to run fbmenugen with no luck.

Offline MrRoberts

  • Neuling
  • *
  • Posts: 42
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #8 on: 14. October 2015, 11:09:14 »
Went back to your original config.pl fine and works fine.

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #9 on: 14. October 2015, 13:45:04 »
With 'original' you mean the one now on github that I linked? For me this works without problem.
Are you still experiencing problems?
The new version will be available as a package tonight...
« Last Edit: 15. October 2015, 00:41:00 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #10 on: 15. October 2015, 00:40:26 »
You can now install the new menu with
Code: [Select]
sudo pacman -S fbmenu-manjaroTo initialize it (and backup your existing menu) you have to run fbmenu (see here)



Enjoy! 8)
« Last Edit: 15. October 2015, 14:05:05 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline Steerpike

  • Neuling
  • *
  • Posts: 2
  • I'm new. Be nice!
  • Skill: Novice
Re: New fluxboxmenu
« Reply #11 on: 15. October 2015, 02:36:33 »
New to this distro, and I'm enjoying it (just installed yesterday).

When I try to run either "sudo pacman -S fbmenu-manjaro" or just "fbmenu" I get an error saying "target not found" in the first situation, and "command not found" for fbmenu.

Thoughts?

Offline lightbeam

  • Sr. Mitglied
  • ****
  • Posts: 286
  • Branch: Stable as in: "Whoa, Nelly!"
  • Desktop: Wide Openbox
  • GPU Card: AMD Radeon Xpress 200 Series - Methuselah Edition
  • GPU driver: Free as in Lunch
  • Kernel: Linux44, i686
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #12 on: 15. October 2015, 03:59:30 »
You must have a typo in your config.pl - just copy it again from here It is updated meanwhile. Here on my system it works and I get only one Settings Manager entry.

If you and MrRoberts were to check in /usr/share/applications/ I think you might find that there are two Manajaro Settings Manager application launchers - of different sizes - located there.  On my system, Manjaro Openbox, two are installed after every update.  I'm not sure why, but I think one is GTK2 and the other is GTK3+.  However, that's just a guess.  I simply delete one every time after the application gets an update.  The menu then updates to reflect that.
---------------------------------------------------
I make you look good. 8)

Offline Steerpike

  • Neuling
  • *
  • Posts: 2
  • I'm new. Be nice!
  • Skill: Novice
Re: New fluxboxmenu
« Reply #13 on: 15. October 2015, 04:39:52 »
New to this distro, and I'm enjoying it (just installed yesterday).

When I try to run either "sudo pacman -S fbmenu-manjaro" or just "fbmenu" I get an error saying "target not found" in the first situation, and "command not found" for fbmenu.

Thoughts?

Nevermind, guys. A reboot fixed this. Not sure what the issue was, but the commands work fine now.

Offline MrRoberts

  • Neuling
  • *
  • Posts: 42
  • Skill: Intermediate
Re: New fluxboxmenu
« Reply #14 on: 15. October 2015, 10:36:39 »
Hi. Followed your update and the menu is working fine now.  :D