Author Topic: Fluxbox menu with icons & tint2 instead of the taskbar  (Read 6948 times)

0 Members and 1 Guest are viewing this topic.

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Fluxbox menu with icons & tint2 instead of the taskbar
« on: 19. December 2015, 22:12:53 »
Hello,
I want to costomize my Fluxbox install.
1) I would like to have icons in the menu, but I oly get a few of them if I launch fbmenugen -i. Should I simply change the icon theme?
2) I would like to have the tint2 panel instead of the native taskbar. How can I make the taskbar disappear?
:)
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline wordler

  • Vollwertiges Mitglied
  • ***
  • Posts: 244
  • I can wire a plug
  • Branch: Stable
  • Desktop: Fluxbox & Xfce
  • GPU Card: Nvidia GT720 1gb ddr5
  • GPU driver: non-free
  • Kernel: linux4.4-x64
  • Skill: Novice
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #1 on: 19. December 2015, 23:06:46 »
There is a wiki for tint2. I think the info you need is on the "install" page:


https://gitlab.com/o9000/tint2/wikis/home


have fun!  :)
Fear is the mind killer.

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #2 on: 19. December 2015, 23:11:12 »
There is a wiki for tint2. I think the info you need is on the "install" page:


https://gitlab.com/o9000/tint2/wikis/home


have fun!  :)
Thanks, wordler! But I have more of an issue with getting rid of the Fluxbox taskbar which I won't need if I have tint2.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline wordler

  • Vollwertiges Mitglied
  • ***
  • Posts: 244
  • I can wire a plug
  • Branch: Stable
  • Desktop: Fluxbox & Xfce
  • GPU Card: Nvidia GT720 1gb ddr5
  • GPU driver: non-free
  • Kernel: linux4.4-x64
  • Skill: Novice
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #3 on: 19. December 2015, 23:17:27 »
Thanks, wordler! But I have more of an issue with getting rid of the Fluxbox taskbar which I won't need if I have tint2.


There is a section on the "install" page which gives instructions for removing the Fluxbox taskbar.
I haven't tried it myself but I may give it a go when I get some free time.
Fear is the mind killer.

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #4 on: 19. December 2015, 23:19:38 »

There is a section on the "install" page which gives instructions for removing the Fluxbox taskbar.
I haven't tried it myself but I may give it a go when I get some free time.
Ok, didn't find it at once:
https://gitlab.com/o9000/tint2/wikis/Install
Quote
Autorun tint2 in Fluxbox

    Remove the fluxbox panel and systray from the file ~/.fluxbox/init.
    Remove systemtray from the list of items on the line session.screen0.toolbar.tools.
    On the line session.screen0.toolbar.visible: true change true to false.
    Add in ~/.fluxbox/startup: (sleep 2s && tint2) & Restart Fluxbox.
Then thank you even more!
« Last Edit: 19. December 2015, 23:21:51 by eugen-b »
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline wordler

  • Vollwertiges Mitglied
  • ***
  • Posts: 244
  • I can wire a plug
  • Branch: Stable
  • Desktop: Fluxbox & Xfce
  • GPU Card: Nvidia GT720 1gb ddr5
  • GPU driver: non-free
  • Kernel: linux4.4-x64
  • Skill: Novice
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #5 on: 19. December 2015, 23:21:30 »
You're welcome!
Fear is the mind killer.

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #6 on: 20. December 2015, 14:03:25 »
Update: Issue 2) is [SOLVED], I have tint2 now and Fluxbox panel is invisible.
However I cannot create a Fluxbox menu with icons.
From config.pl
Code: [Select]
our $CONFIG = {
  "editor"              => "mousepad",
  "Linux::DesktopFiles" => {
                             desktop_files_paths     => ["/usr/share/applications"],
                             gtk_rc_filename         => "/home/eugen/.gtkrc-2.0",
                             icon_dirs_first         => "/usr/share/icons/Dalisha",
                             icon_dirs_last          => "/usr/share/icons/hicolor",
                             icon_dirs_second        => "/usr/share/icons/gnome",
                             keep_unknown_categories => 1,
                             skip_entry              => [
                                                          {
                                                            key => "Name",
                                                            re  => qr/(?:Install|Oblogout|Wallpaper Changer|Manage Printing|Notifications|Bluetooth Adapters|File Manager|Customize Look and Feel|Preferred Applications)/i,
                                                          },
                                                          { key => "Exec", re => qr/^clipit|lightdm-gtk-greeter-settings/ },
                                                        ],
                             skip_filename_re        => qr/^(?:xfce4-about|compton|manjaro-settings-manager-gtk|pcmanfm|oblogout|plank|gnome-terminal|fb-restore-menu)\b/,
                             skip_svg_icons          => 1,
                             strict_icon_dirs        => true,
                             substitutions           => [
                                                          { key => "Name", re => qr/Time Settings/, value => "Time & Date" },
                                                        ],
                             terminalization_format  => "%s -e '%s'",
                             terminalize             => 1,
                             unknown_category_key    => "other",
                           },
  "menu_title"          => "Fluxbox Menu",
  "missing_icon"        => "gtk-missing-image",
  "name_keys"           => ["Name"],
  "terminal"            => "lxterminal",
  "VERSION"             => 0.76,
}
I issued following commands
Code: [Select]
/usr/bin/fbmenugen -u
/usr/bin/fbmenugen -d
/usr/bin/fbmenugen -i
I still don't have icons in my menu.
I checked fluxbox -i and it shows that it supports PNG icons.
I tried with gnome and hicolor, no difference. The ~/.fluxbox/menu file simply has <> everywhere instead of the paths to icons.
I installed fbmenu-manjaro, was this a mistake?
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #7 on: 20. December 2015, 15:30:28 »
This is as good as it gets so far, edited the ~/.fluxbox/menu file manually.



I'm also going to customize the window theme to look like Numix.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline wordler

  • Vollwertiges Mitglied
  • ***
  • Posts: 244
  • I can wire a plug
  • Branch: Stable
  • Desktop: Fluxbox & Xfce
  • GPU Card: Nvidia GT720 1gb ddr5
  • GPU driver: non-free
  • Kernel: linux4.4-x64
  • Skill: Novice
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #8 on: 20. December 2015, 16:09:09 »
@eugen-b:


I found this old article with a link to a menu editor in sourceforge and some old instructions. Might be worth investigating further... ;)


http://www.freesoftwaremagazine.com/articles/powering_fluxbox_menus_fluxbox_editor
Fear is the mind killer.

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #9 on: 20. December 2015, 16:12:40 »
Yeah, there are many tools for genarating a Fluxbox menu, but I wanted to get the one which is preinstalled to work... Or to prove that it has a bug. However the issue isn't very urgent anymore. Will take time to analyse fbmenugen later and hope that s.o. can help with it.
« Last Edit: 20. December 2015, 16:15:26 by eugen-b »
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #10 on: 23. December 2015, 11:36:10 »
Does anybody know an icon theme which has many 32x32 sized PNG icons? No Faenza, Gnome, Elementary, Tango and similar 10 year old themes.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

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: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #11 on: 23. December 2015, 12:56:16 »
Does anybody know an icon theme which has many 32x32 sized PNG icons? No Faenza, Gnome, Elementary, Tango and similar 10 year old themes.
How about just using any theme - even .svg and simply converting a higher resolution to what you need? You can use imagemagick for that very well.
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #12 on: 23. December 2015, 13:20:53 »
How about just using any theme - even .svg and simply converting a higher resolution to what you need? You can use imagemagick for that very well.
A good idea! Do you happen to know the command for converting icons with imagemagick? I would try to run it in a loop then.
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #13 on: 25. December 2015, 00:45:08 »
I found an icon theme which works with Fluxbox - nouveGnomeGray.
I needed to change /usr/share/fluxbox/styles/manjaro-flux/theme.cfg
menu.titleHeight:            33
menu.itemHeight:            33
to get enough space for 32x32 icons.
Then ran
Code: [Select]
fbmenugen -d
fbmenugen -i
and reloaded Fluxbox config.
Then I opended the ~/.fluxbox/menu file and replaced all 24x24 with 32x32.
Finally I have non-corrupted icons in the Fluxbox menu:

MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

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: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #14 on: 25. December 2015, 06:51:10 »
That looka great!  :D
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin