Settings Manager

Help for MX Fluxbox
When asking for help, use Quick System Info from MX Tools. It will be properly formatted using the following steps.
1. Click on Quick System Info in MX Tools
2. Right click in your post and paste.
Message
Author
User avatar
dolphin_oracle
Developer
Posts: 22366
Joined: Sun Dec 16, 2007 12:17 pm

Re: Settings Manager

#11 Post by dolphin_oracle »

i think that iconbox idea is great. makes it much easier to set up.

for example, I displayed the contents of my /home/dolphin/.local/share/applications directory.

Code: Select all

yad --icons --read-dir=/home/dolphin/.local/share/applications --scroll
and it displays each of the items in an icon box, just like xfce settings manager. or at least close enough.
You do not have the required permissions to view the files attached to this post.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Administrator
Posts: 23279
Joined: Wed Jul 19, 2006 6:13 am

Re: Settings Manager

#12 Post by Jerry3904 »

That does look nice, I'll have to take a second round with it.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
AVLinux
Posts: 3040
Joined: Wed Jul 15, 2020 1:15 am

Re: Settings Manager

#13 Post by AVLinux »

Hi,

Here is a quickly done example of a Yad launcher dialog for MX-FB, the nice thing about this is the tooltips and stuff like that all look after themselves. It's just a script that points to the directory your launchers are in and the launchers just need to meet the minimum freedesktop.org specs and be a few relevant lines. Obviously my theming is different and I'm using the Papirus Icons but the more generic and stock you keep the icon names the more compatible with all potential themes this will be. No messing around with buttons and arrays and all that jazz, just have your launcher point to the program or script you want to run.
MXFB.png

Script is attached here:
MX-FB.zip
You do not have the required permissions to view the files attached to this post.

User avatar
kobaian
Posts: 369
Joined: Fri Jan 03, 2020 5:49 am

Re: Settings Manager

#14 Post by kobaian »

AVLinux wrote: Thu Jul 15, 2021 12:30 am Hi,

Here is a quickly done example of a Yad launcher dialog for MX-FB, the nice thing about this is the tooltips and stuff like that all look after themselves. It's just a script that points to the directory your launchers are in and the launchers just need to meet the minimum freedesktop.org specs and be a few relevant lines. Obviously my theming is different and I'm using the Papirus Icons but the more generic and stock you keep the icon names the more compatible with all potential themes this will be. No messing around with buttons and arrays and all that jazz, just have your launcher point to the program or script you want to run.

MXFB.png


Script is attached here:
MX-FB.zip
This one looks very nice!
I think the idea of using an iconbox for MXFB-settings is really good. It is simple and allows users to add another launchers without changing the script itself.
I think the activators for "LX-appearance", "LightDM GTK+ Greeter", "Adblock", "Gufw Firewall" and "User-accounts" should be added.
Desktop PC: AMD Ryzen 5 5600 3.5GHz, MSI B550M PRO-VDH, 32GB RAM, Gigabyte RX 570. Laptop: MacBook Late 2008, Core2Duo 2.0GHz, 8GB RAM. Netbook: Asus EEEPC Intel Atom 1.6GHz, 2GB RAM. System: MX23 64bit/32bit Fluxbox.

User avatar
Jerry3904
Administrator
Posts: 23279
Joined: Wed Jul 19, 2006 6:13 am

Re: Settings Manager

#15 Post by Jerry3904 »

AVLinux wrote: Thu Jul 15, 2021 12:30 am Hi,

Here is a quickly done example of a Yad launcher dialog for MX-FB, the nice thing about this is the tooltips and stuff like that all look after themselves. It's just a script that points to the directory your launchers are in and the launchers just need to meet the minimum freedesktop.org specs and be a few relevant lines. Obviously my theming is different and I'm using the Papirus Icons but the more generic and stock you keep the icon names the more compatible with all potential themes this will be. No messing around with buttons and arrays and all that jazz, just have your launcher point to the program or script you want to run.

MXFB.png


Script is attached here:
MX-FB.zip
Thanks! I'm in the field for work all day, but will take a look tonight.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
kobaian
Posts: 369
Joined: Fri Jan 03, 2020 5:49 am

Re: Settings Manager

#16 Post by kobaian »

AVLinux wrote: Thu Jul 15, 2021 12:30 am Script is attached here:
MX-FB.zip
I like your work, but there is one small problem with one of your desktop files. The proper path to Tint2 settings is "tint2conf" not "tint2". ;)

I've made another one iconbox for myself with a "cancel" and a "fluxbox-folder" button:

Image

Code: Select all

#!/usr/bin/bash

yad --title="System Settings" --window-icon=desktop --width=700 --height=450 --center --borders=12 \
	--text="<b>MX-Fluxbox System Settings</b>" \
	--icons --read-dir="$HOME/.fluxbox/settings/" \
	--button="Fluxbox configuration files!desktop!Launches the ~/.fluxbox folder in Thunar:2" \
	--button="gtk-cancel:1"

ret=$?

[[ $ret -eq 1 ]] && exit 0

if [[ $ret -eq 2 ]]; then
    thunar $HOME/.fluxbox && exit 0
fi
Desktop PC: AMD Ryzen 5 5600 3.5GHz, MSI B550M PRO-VDH, 32GB RAM, Gigabyte RX 570. Laptop: MacBook Late 2008, Core2Duo 2.0GHz, 8GB RAM. Netbook: Asus EEEPC Intel Atom 1.6GHz, 2GB RAM. System: MX23 64bit/32bit Fluxbox.

User avatar
dolphin_oracle
Developer
Posts: 22366
Joined: Sun Dec 16, 2007 12:17 pm

Re: Settings Manager

#17 Post by dolphin_oracle »

if the settings manager tool goes forward, @Jerry3904 , please put the desktop files somewhere other than /home. that way they can be added to or updated without hassle.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
Jerry3904
Administrator
Posts: 23279
Joined: Wed Jul 19, 2006 6:13 am

Re: Settings Manager

#18 Post by Jerry3904 »

Yup, I was thinking of a folder in /user/share/applications
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
dolphin_oracle
Developer
Posts: 22366
Joined: Sun Dec 16, 2007 12:17 pm

Re: Settings Manager

#19 Post by dolphin_oracle »

Jerry3904 wrote: Thu Jul 15, 2021 8:29 am Yup, I was thinking of a folder in /user/share/applications
probably a bad spot. /usr/share/applications subfolders get picked up by the various menus/rofi/appfinders so we would get duplicates. probably better in something like /usr/share/mx-fluxbox-setttings-manager or something like that.

a lot of apps do this. kde puts desktop files all over the place.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.

User avatar
AVLinux
Posts: 3040
Joined: Wed Jul 15, 2020 1:15 am

Re: Settings Manager

#20 Post by AVLinux »

kobaian wrote: Thu Jul 15, 2021 7:02 am
I like your work, but there is one small problem with one of your desktop files. The proper path to Tint2 settings is "tint2conf" not "tint2". ;)
Oops, sorry!

It was just rough outline for an example really, I use XFCE4 with Openbox so I had to guess at the tint2 command in the example launcher. I'm sure in the end there are many more things to add and refinements like you have made in yours which looks great!

Post Reply

Return to “MX Fluxbox Official Release”