Page 71 of 143
Re: MX Fluxbox Screenshots
Posted: Sun Aug 14, 2022 11:28 am
by AVLinux
There is some confusion indeed when you Google 4K specs..
In the practical example of Desktop wallpapers I've been doing 3840x2160 for monitors with TV-like 16:9 aspect ratio, however 3840x2400 is also valid for the admittedly diminishing number of monitors with 16:10 aspect ratio... In my opinion as someone also Distributing to a User base (albeit a much smaller one than MX) I think 3840x2160 would be a reasonable upper limit for future MX artwork submissions... Just a suggestion of course..
Re: MX Fluxbox Screenshots
Posted: Thu Aug 18, 2022 4:41 am
by kobaian
My menu-system, that I use a lot is not based on the Fluxbox-custom-menus like that one of @wdscharff, but on Rofi.
First of all I've added to the standard drun-window-run tabs another one with help files, session-logout etc.

Next, I've created a new Rofi menu with categorized tabs: Office-Graphics-Media-Settings

Right click on the quick-launch buttons on the panel opens the menu with a proper category. For example left click on the image button opens XnView, and the right click a menu with some launchers of other applications I use for graphics.
I've added to the categorized menu an entry to open the standard Rofi menu and to the standard Rofi - an entry to open my new custom-categorized-menu.
I've created also an extra Rofi menu for exit-options, because I like to have that menu exactly over the button.

Re: MX Fluxbox Screenshots
Posted: Thu Aug 18, 2022 6:17 am
by ceeslans
Very very nice! Hope you will share the configuration files with us, please?
I tried to accomplish a correct positioning of a (much simpler) rofi menu, but failed miserably. Just couldn't get it positioned to an exact position.
jgmenu does just that, so that remains to be my preferred app for launching an application-menu and places-browser from tint2 panel...
Re: MX Fluxbox Screenshots
Posted: Thu Aug 18, 2022 9:20 am
by kobaian
ceeslans wrote: Thu Aug 18, 2022 6:17 am
Very very nice! Hope you will share the configuration files with us, please?
I tried to accomplish a correct positioning of a (much simpler) rofi menu, but failed miserably. Just couldn't get it positioned to an exact position.
jgmenu does just that, so that remains to be my preferred app for launching an application-menu and places-browser from tint2 panel...
Pasting the exact content of my config files won't be probably a good idea, because there are some dependencies that won't work for you. For the general construction of the rofi-menu and the exit-options menu you can check the topic:
https://forum.mxlinux.org/viewtopic.php ... 79#p689079
The quasi-icons in the menu are characters of the awesome-font you can download using MX-packageinstaller. Not all characters work with Rofi, but some do. So you can just add a character at the beginning of the name of the entry.
For custom-categorized menu I have made a rasi-file, named it "config-cat.rasi":
Code: Select all
configuration {
modi: "Office:~/.config/rofi/office,Graphics:~/.config/rofi/graphics,Media:~/.config/rofi/media,Settings:~/.config/rofi/settings";
width: 24;
show-icons: true;
icon-theme: "papirus";
lines: 20;
fake-transparency: true;
sidebar-mode: true;
kb-cancel: "Escape,Super_L";
me-select-entry: "MouseSecondary";
me-accept-entry: "MousePrimary";
}
In the next line you should copy the "@import" line from your config.rasi file.
As you can see there are paths to some bash scripts for menu tabs. Here's the example of the "Graphics" submenu:
Code: Select all
#!/bin/bash
if [ x"$@" = x" All Apps..." ];
then
killall rofi
sleep 0.25
rofi -show drun -hover-select -me-select-entry '' -location 7 -xoffset 4 -yoffset -50
killall rofi
fi
if [ x"$@" = x" XnView" ];
then
killall rofi
sleep 0.25
xnview
fi
if [ x"$@" = x" GIMP" ];
then
killall rofi
sleep 0.25
gimp-2.10
fi
if [ x"$@" = x" Darktable" ];
then
killall rofi
sleep 0.25
darktable
fi
if [ x"$@" = x" Hugin" ];
then
killall rofi
sleep 0.25
hugin
fi
if [ x"$@" = x" Color-picker" ];
then
killall rofi
sleep 0.25
yad --color --gtk-palette --button=gtk-ok
fi
if [ x"$@" = x" Icons" ];
then
killall rofi
sleep 0.25
yad-icon-browser
fi
if [ x"$@" = x" Pictures" ];
then
killall rofi
sleep 0.25
exo-open $HOME/Pictures
fi
echo " All Apps..."
echo " EDIT AND BROWSE IMAGES:"
echo " XnView"
echo " GIMP"
echo " Darktable"
echo " Hugin"
echo " OTHER TOOLS:"
echo " Color-picker"
echo " Icons"
echo " FOLDERS:"
echo " Pictures"
And the button entries for Tint2:
Code: Select all
button_lclick_command = bash -c 'QT_PLATFORMTHEME=${QT_PLATFORMTHEME/gtk2/fusion} QT_PLATFORM_PLUGIN=${QT_PLATFORMTHEME/gtk2/fusion} QT_QPA_PLATFORMTHEME=${QT_QPA_PLATFORMTHEME/gtk2/fusion} exec xnview'
button_rclick_command = rofi -config ~/.config/rofi/config-cat.rasi -show Graphics -location 7 -xoffset 4 -yoffset -50
Re: MX Fluxbox Screenshots
Posted: Thu Aug 18, 2022 6:00 pm
by Melber
@kobaian
Wow, that's a seriously cool rofi config. Rofi has been growing on me and now you're giving me ideas for further fiddling...
@ceeslans
Re: rofi window position. I presume you tried adding something like this in the .rasi file
Code: Select all
window {
location: southeast;
anchor: southeast;
y-offset: -48;
width: 480px ;
}
This works to get my rofi window postioned in the lower right corner exactly above my 48 pixel high tint2 panel.
Re: MX Fluxbox Screenshots
Posted: Sat Aug 20, 2022 3:16 pm
by Melber
Decided it was time for a new look, so I made a wallpaper and fiddled a bit...

Re: MX Fluxbox Screenshots
Posted: Sat Aug 20, 2022 5:38 pm
by Jerry3904
Very nice! That looks like a rofi-menu and a rofi-run; something that second one really needs to be in our next release to replace the clunky fluxbox run box.
Re: MX Fluxbox Screenshots
Posted: Sat Aug 20, 2022 6:44 pm
by ceeslans
Melber wrote: Sat Aug 20, 2022 3:16 pm
Decided it was time for a new look, so I made a wallpaper and fiddled a bit...
... That looks great. Wonderful wallpaper, and matching with rofi + tint2 panel. Definitely a worthy contender for a default MXFB-22 look.
Would like to see though how well/easy a rofi menu can be configured to match other tint2 panels in respect of positioning, theme matching and so on - considering the sheer-endless variety of tint2 panels, all with different locations, sizes/sizing, colors, transparency settings etc etc.
Not trying to beat a dead horse here, but this is where jgmenu is actually unrivalled. It seamlessly reads such values from the active tint2rc file and apply them instantly in its own appearance.
Of course rofi excells with its 'run' feature, being able to dish up and execute all available system run commands. That's actually rofi's main use on my system...

Re: MX Fluxbox Screenshots
Posted: Sat Aug 20, 2022 7:16 pm
by Jerry3904
We have a lot of time, of course, but it's good to start thinking. I'm particularly interested in replacing the run box for now, going to tackle it for my own system.
Re: MX Fluxbox Screenshots
Posted: Sun Aug 21, 2022 10:16 pm
by siamhie
I liked the look of
@Jerry3904's border-less GKrellM so I tweaked my Glass 4 theme and went full on Wonder Woman’s Invisible Jet look everywhere.
(I might have to change the red font as it doesn't play well with other background images I have)
That's much easier on the eyes.
