Author Topic: Fluxbox menu with icons & tint2 instead of the taskbar  (Read 3338 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
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #15 on: 25. December 2015, 16:13:13 »
That looka great!  :D

Still not perfect and needs some manual correction. On Openbox obmenu-generator just works, be the icons svg or wrong sized png. Fluxbox is more capricious - only png work and they need to be the right size, else they become ugly.
« Last Edit: 25. December 2015, 16:25:07 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 Rocky-IV

  • Jr. Mitglied
  • **
  • Posts: 97
  • Life is Good on Manjaro
  • Branch: Unstable
  • Desktop: Cinnamon, Fluxbox, Enlightenment
  • GPU Card: i7-4790S / ATI Radeon R7
  • GPU driver: Free
  • Kernel: 4.6RC-x64
  • Skill: Intermediate
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #16 on: 27. December 2015, 15:39:50 »
 
eugen-b 
   
Your doing some super neat stuff with Fluxbox interface!

Turning it into a piece of Art 

Eugen (Rembrandt or Picaso)

Happy Holidays
Greetings
Life is Good on Manjaro

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 #17 on: 27. December 2015, 15:50:36 »
Wow, thanks Rocky-IV. No need for exaggeration, it is more like decorating a shop window - the shop is selling GNU appllications powered by Linux kernel. ;) ^-^
I have discovered an icon theme for my Fluxbox menu, a more colourful one. A screenshot will come in 5 minutes.
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 #18 on: 27. December 2015, 16:45:00 »


Icon theme matefaenza. The menu file needed to be adjusted, all 16 replaced by 32, also some 48. Some icons were missing like generic pdf in apps, copied it from mimetypes. The red cross on the panel top was also copied from I don't know where anymore. fbmenugen definitely needs some reprogramming to work OOTB with icons.
« Last Edit: 27. December 2015, 16:46:31 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 blconde

  • Vollwertiges Mitglied
  • ***
  • Posts: 159
  • #NãoVaiTerGolpe
    • O homem que opera a máquina de apontar e fazer cliques
  • Branch: Manjaro JWM 16 dev, Manjaro Fluxbox 15.12, (L)Ubuntu 12.04
  • Desktop: JWM, Fluxbox, LXDE
  • GPU Card: (A porcaria da/the crappy) Via VN800
  • GPU driver: openchrome
  • Kernel: linux42-x86 (on a Pentium M...)
  • Skill: Intermediate
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #19 on: 22. January 2016, 04:26:40 »
Oh, very nice setup you have here!
I wanna try a similar configuration for the panel, I like the "things" placed left (the only stuff Unity, that horrible desktop in Ubuntu, have done right, ehehe).

Is it Conky under the panel? Can you share the conf, pls?

(And thanks for showing this at the main Fluxbox topic.)
#NãoVaiTerGolpe

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 #20 on: 23. March 2016, 16:51:34 »
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.
I finally found time to try to convert Masalla SVG icons into 32x32 PNG icons.

I don't want to create a separate topic, because having PNG icons of right size is an issue specific to Fluxbox menu.

I installed svg2png from AUR.
Then I copied the /scalable folder from Masalla icon theme, sorted the files by size to sort out symlinks (which small in size). It was a pity, but found no algorithm to sort the icons by their pixelsize, so I opened the filder in Mirage and ran through the whole list of 400+ icons, cut 48x48, 128x128, 512x512, 1024x1024 and pasted them in separate folders for each size.
Then I opened each folder with icons of same size in the terminal and ran the following command
Code: [Select]
for i in *; do svg2png -w 32 -h 32 -s 0.667 $i `echo $i | sed -e 's/svg$/png/'`; done
This one was for 48x48 icons, -s is zoom factor. (32/48=0.66667) Then I moved the resulting  PNG icons into the dedicated folder
Code: [Select]
mv *.png ~/Pictures/32x32This worked for most of the icons, but there was a significant amount of icons which were resized incorrectly. They had nothing within the frame for example, or some parts of the picture were missing. I resized the original SVG icons of those bad PNG icons with Mirage, but that would be a hell lot of manual work.

I will try imagemagick (just need to find out the command for resizing), the most difficult part of sorting the icons by pixelsize is done.
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 #21 on: 23. March 2016, 17:42:35 »
With imagemagick resizing seems to yield a better quality.
Code: [Select]
[eugen@manjaro 600x600]$ for i in *; do convert $i -resize 32 `echo $i | sed -e 's/svg$/png/'`; done
But the computation also takes quite a bit longer. (Edit: For 291 512x512 icons it took a little less than two minutes.) It seems however to analyse the original image size first, so sorting manually might have been unnecessary work.
« Last Edit: 23. March 2016, 18:10:56 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 #22 on: 23. March 2016, 19:15:05 »
Well, the actuall result is good, but still a problem there: the icons which I got have a white border around them. How would I get transparent background which would remove this while border. It looks a bit ugly that the icons don't have rounded corners like the original ones.

The second problem: I need to recreate all those symbolic links in the folder. I'm attaching a list of ls -l output.
How would I go about to use such a list to create symlinks but between similarly named PNG files?
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 #23 on: 23. March 2016, 20:41:58 »
Well, the actuall result is good, but still a problem there: the icons which I got have a white border around them. How would I get transparent background which would remove this while border. It looks a bit ugly that the icons don't have rounded corners like the original ones.

The second problem: I need to recreate all those symbolic links in the folder. I'm attaching a list of ls -l output.
How would I go about to use such a list to create symlinks but between similarly named PNG files?

The issue with getting rounded corners is solved: you need to add -background none to the convert command when converting from SVG.
Code: [Select]
for i in *; do convert -background none $i -resize 32 `echo $i | sed -e 's/svg$/png/'`; doneEdit: an even better result with -quality 100%
Code: [Select]
for i in *; do convert -background none $i -resize 32 -quality 100% `echo $i | sed -e 's/svg$/png/'`; done

Looking now for a solution for the symlink creation mirroring the symlinks in the /scalable folder.
« Last Edit: 23. March 2016, 20:54:43 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 #24 on: 23. March 2016, 21:41:37 »
Found a unelegant solution for the symlink issue: I simply ran the last convert command on the whole /scalable folder including symlinks within. As a result I got a real .png file for each symlinked .svg file. The resulting folder is now 6MB instead of 3MB, but who cares. Some conversions exited with an error, so I will redo them manually.
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 #25 on: 23. March 2016, 23:33:43 »
The Masalla icons still don't look good enough, all the resizing for nothing. The size 96x96 yield the best results, but some PNG icon sets are simply a no-go with 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 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 #26 on: 24. March 2016, 01:57:02 »
I think I'm happy with an icon theme I found: NITRUX. I resized its 48x48 SVG icons to 32x32 PNG. Their quadratic shape with sharp corners makes them look fine in the world of PNG pixels. They look better than unresized 48x48 PNG icons, because they would get resized to suit the Fluxbox menu and this effect seems to be more severe than the conversion by imagemagick. I'm not switching to NITRUX icons on the other sessions (Openbox, LXDE, JWM), therefore tint2 has Masalla icons and the rest as well. Here is a screenshot

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 minjaro

  • Neuling
  • *
  • Posts: 22
  • (:
  • Branch: stable
  • Desktop: the legendary fluxbox (openrc edition)
  • GPU Card: Intel 945 GM
  • GPU driver: i915
  • Kernel: 4.4.5-1 x86
  • Skill: Intermediate
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #27 on: 01. April 2016, 08:58:39 »
Wow... that IS beautiful.

square is the new round  ;) 8)

Offline emninger

  • Vollwertiges Mitglied
  • ***
  • Posts: 138
  • I'm new. Be nice!
  • Branch: 16.04 open-rc
  • Desktop: JWM
  • GPU Card: nvidia
  • GPU driver: no
  • Kernel: linux 4.4.8-1-Manjaro x86_64
  • Skill: Novice
Re: Fluxbox menu with icons & tint2 instead of the taskbar
« Reply #28 on: 21. April 2016, 21:23:07 »
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?
:)

Sinc you pointed me to this thread, just a question: Why tint2 and not the fluxbox bar. I do not see that much of a difference. And with kdocker you get what you want into the toolbar.

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 #29 on: 21. April 2016, 21:29:06 »
The issue with Fluxbox taskbar was that I wanted it to display the tasks in icons-only mode, but it didn't work. Having the namess of the tasks on a vertical bar didn't look good. If you have a solution how to make the Fluxbox taskbar look like the tint2 like on my screenshot - I will be happy to know! :)
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/