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
Jerry3904
Administrator
Posts: 23267
Joined: Wed Jul 19, 2006 6:13 am

Re: Settings Manager

#21 Post by Jerry3904 »

I just snooped around, and somebody named "seaside" on a 10-yr old Puppy thread came up with a very cool selection tool to create what he calls a "toolbar." Might prove handy.

Code: Select all

#!/bin/sh

TOOLBAR="$HOME/Scripts/MX-FB/mxfb"

yad  --title="Toolbar (double-click to run)" --center --icons --read-dir="$TOOLBAR" \
--button="gtk-add:0" --button="gtk-delete:2" --button="gtk-cancel:1"
CHOICE=$?
[ $CHOICE -eq 0 ] && SEL=`ls /usr/share/applications  | cut -d. -f1 | yad --separator=" " --height=300 --list --multiple --column="files"` && for i in $SEL;do ln -s /usr/share/applications/$i.desktop $TOOLBAR/$i.desktop; done 
[ $CHOICE -eq 1 ] && exit 0
[ $CHOICE -eq 2 ] && DEL=`ls $TOOLBAR | cut -d. -f1 | yad --separator=" " --height=300 --list --multiple --column="files"` && for i in $DEL;do rm -f $TOOLBAR/$i.desktop; done 

exec $0
Production: 5.10, 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: 3021
Joined: Wed Jul 15, 2020 1:15 am

Re: Settings Manager

#22 Post by AVLinux »

Since I'm in the process of working on some yad utilities as well I thought I'd share this page:
http://smokey01.com/yad/

Many of the so-called yad tutorial pages are very complex and specific examples and that page starts with more general examples..

Also if there is interest, another handy feature of Yad is to open files types from a list dialog with an assigned command. When you are working with more openly text-driven Window Managers like Openbox and Fluxbox you often want to directly get to the config files to hand edit. I made a self-contained 'system editor' that opens files with featherpad for myself using this feature:
sysed.png
Obviously you would want to change the files to edit but it's handy for those who know they have to edit a config but may not know or remember where it is..

Script attached:
avl-mxe-sysed.zip
Of course you can also do text file editing directly with yad by finding a file and using the --editable variable which will present the file to be viewed and edited in a dialog window but any changes to make to the text are committed when you close the dialog without the extra safety layer of 'Save' or 'Save As' that comes by doing edits in a proper text editor..
You do not have the required permissions to view the files attached to this post.
Last edited by AVLinux on Fri Jul 16, 2021 10:06 am, edited 1 time in total.

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

Re: Settings Manager

#23 Post by Jerry3904 »

Thanks--I'm very familiar with the smokey01 document, having used it now for a couple of years. I have even started a document version to improve the formatting so it could be read more easily!
Production: 5.10, 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: 3021
Joined: Wed Jul 15, 2020 1:15 am

Re: Settings Manager

#24 Post by AVLinux »

Jerry3904 wrote: Fri Jul 16, 2021 10:05 am Thanks--I'm very familiar with the smokey01 document, having used it now for a couple of years. I have even started a document version to improve the formatting so it could be read more easily!
Great! Please share that doc when you're done, it would be a great resource since the smokey page is getting old..

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

Re: Settings Manager

#25 Post by Jerry3904 »

Now exploring an app that Adrian had developed called custom-toolbox. Here is a look at my first futzing around:

Image


Pretty sharp, huh? And easy to set up. It has some quirks and limitations, but my first impression is good.
Production: 5.10, 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
Adrian
Developer
Posts: 9012
Joined: Wed Jul 12, 2006 1:42 am

Re: Settings Manager

#26 Post by Adrian »

Would you be interested to add a flag to hide "Edit" button? I realize that this might not be needed for an official tool (although I guess some people might like the flexibility to remove/add items).

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

Re: Settings Manager

#27 Post by Jerry3904 »

Thanks. I want the user to be able to alter it.

I am putting together a list for you...
Production: 5.10, 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
i_ri
Posts: 1106
Joined: Tue Jun 30, 2015 12:26 am

Re: Settings Manager

#28 Post by i_ri »

Jerry3904, Adrian
That is beautiful.
slam dunk it is the right choice.
Would you limit flexibility of adding things to the Personal category?
or allow control of all categories?
Print settings button or to the queue
What is printing? button.


Some can wish for accessibility settings at hand?
Does the help button show mx user manual? or edit Settings Manager instructions?

User avatar
Adrian
Developer
Posts: 9012
Joined: Wed Jul 12, 2006 1:42 am

Re: Settings Manager

#29 Post by Adrian »

Does the help button show mx user manual? or edit Settings Manager instructions?
That's a good question, it shows a how-to for the custom-toolbox (the GUI that contains those items), not ideal, that should be configured too, I guess we can include a custom "help_url" or something like that in the config file.

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

Re: Settings Manager

#30 Post by Jerry3904 »

We will need to work on the Help file...
Production: 5.10, 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

Post Reply

Return to “MX Fluxbox Official Release”