Re: Utilities shell script Reply #15 – 06 June 2022, 23:00:13 New version released V5.2, fixed even more bugs, added ability to work without a running session, added smart service detection and a startup manager (for now only for OpenRC). Enjoy.
Re: Utilities shell script Reply #16 – 11 June 2022, 22:30:13 V5.5:added s6-init and fixed runitadded dxvk installer in wine menuadded proper titles in terminal mode with ASCII graphics (plain block characters for now, i need to learn how to do fancy graphics)improved the script's appearance for easier modificationsfurther fixed bugs and further optimized the shellThis is a recommended update, not much in features but in overall quality 3 Likes
Re: Utilities shell script Reply #17 – 20 June 2022, 18:02:17 V5.7:added settings menuadded ALSA audio device info menu that can launch alsamixer on a selected deviceadded an option to start a x0vncserver (for now you need to have the passwd file in ~/.vnc/passwd for the option to show)added an option to terminate running wine programs/server under the wine managersupport for more terminal emulators, Terminator is now considered optional since it's only needed for the tilling terminals under system monitorsome commands that can fill up the screen in terminal mode are now ran through 'less' for scrollbackother small improvementsLE: Known bug: Downloaders section broke, will fix it soon Last Edit: 20 June 2022, 19:58:26 by Hitman 2 Likes
Re: Utilities shell script Reply #19 – 22 June 2022, 18:50:53 Thanksi fixed what broke last timeV5.8:fixed downloaders and cleaned up some of it's functionsadded more filtering options in pacman searchfurther optimized the terminal option selector to reduce/sometimes eliminate flickering in some terminals, also changed the color to yellow/orange for better visibilityTODO: i want to try and port it in the near future, to different shells like zsh, or even to pythonif there are more features you would like to add, let me know! 1 Likes
Re: Utilities shell script Reply #20 – 30 June 2022, 17:22:37 V6:decluttering of the option lists, adding/modifying menus should now be easieradded kdialog support (some misc menus remain zenity only for now)the separator is now dynamic in the terminalmore paths added in cleanup optionsome more consolidations to avoid problemsI've started to port the script to zsh, if everything goes fine it should be ready soon with complete feature parity.As always, enjoy! 3 Likes
Re: Utilities shell script Reply #22 – 12 July 2022, 00:37:29 V7:-Initial zsh port! it was quite easy since the syntax is pretty close, so the bulk was just swapping some commands around, it still took a while to get right. i'm not taking full advantage yet of some zsh native features that can bring some big optimizations, expect the structure to change a bit later. Some more testing is of course needed to see if there are any problems, but so far works fine. Give it a try -Navigating in the terminal mode in zsh version you use the right arrow instead of enter to select an option, the read -k/vared of zsh doesn't quite behave like read -n in ba-/sh. For continuity i also ported right arrow alongside enter in the posix-y bash version.-the service manager and a few other functions are faster to load-Almost every dynamic function (notably Mount tools, USB manager, Fan control, Settings, ALSA devices) is now auto-refreshing in terminal.-the menu structure is even easier to understand and modify with dynamic menus. For the posix-y bash version it's createarray <<<, and for the zsh version even easier, just create the array like in a normal menu but with local IFS=$'\n'; in the front. Embed that in a function for autorefresh.Zsh is also easier to use overall since you barely have to worry about quoting, and where you need splitting just issue command "local setopt sh_word_split" or encapsulate the variable ${=var}, depending on the case. In the future i will remove the unnecessary quotes from my port.-an option to turn off the autorefresh was added-tweaked the ansi escape codes in terminal option selector, for bold and more visible text and hidden cursor. Limited max number of array elements to 200 when in the terminal option selector to avoid scrollback issues. The title border is now also dynamic. For this i had to scrap the fancy block characters, they were screwing up the rendering in some terminals anyway.-zenity --text-info, --question and --warning get kdialog support, what's left are --file-selection, --entry and --scale. Konsole gets proper tab name if used.-the root GUI options couldn't start without the sudoers rule, i have no idea why, possibly new "security" crap somewhere in coreutils. For now as a workaround they will run in terminal mode. Nothing changes if you use sudoers rule.with this i also have to investigate Wayland support, but i don't hurry with it, Xorg is here to stay and i'll use it for many years to come.-fixed cosmetic bugs that creeped in the previous versions-other misc. improvements Last Edit: 12 July 2022, 00:58:24 by Hitman
Re: Utilities shell script Reply #24 – 12 July 2022, 16:35:39 hmm, interesting that zsh read complains of invalid option at that line. Can you navigate the menus?
Re: Utilities shell script Reply #25 – 12 July 2022, 22:04:26 Quote from: Hitman – on 12 July 2022, 16:35:39hmm, interesting that zsh read complains of invalid option at that line. Can you navigate the menus?nope.still it's cool though.sh works as intended... is zsh something i need to install?
Re: Utilities shell script Reply #26 – 13 July 2022, 00:29:03 yeah the zsh version is made for zsh shell, it needs it.curious how it started well with bash, it seemed to ignore the different syntax.just for posterity, i will continue the zsh and (posix-y) bash versions alongside each other, one day i may even add a python version and do all three.however at one point i will recommend the zsh version once i manage to do some big optimizations with it's native features. bash is really stripped down compared to zsh, it was just made as replacement for posix shell a while back and it stuck until very recently 1 Likes
Re: Utilities shell script Reply #27 – 13 July 2022, 03:32:08 i installed zsh but i think i need to reboot.
Re: Utilities shell script Reply #28 – 18 July 2022, 12:40:10 V7.1Fixed gui question and some more cosmetic bugsFixed installing aur package (bug was introduced in last ~ 2 versions)Added yaourtix supportVariables get filled in automatically to make the utconfig file more readableImproved filtering of garbage/irrelevant values in sensors view and improved readabilityZSH: native array substraction and compare used in service manager, even more performance improvementZSH: fixed OpenRC startup managerEnjoy! 1 Likes
Re: Utilities shell script Reply #29 – 20 July 2022, 14:18:02 V7.3Added Dinit to the startup manager and simplified some operations on dinitctlMore options get hidden automatically if the particular deps. are not presentSolved the launching of root gui options without sudoers ruleInvestigated the behavior of root gui options under Wayland, they appear to work fine! the display timeout option will get hidden on it as that didn't work.Other small optimizationsFixed cosmetic bugs in kdialog and question/warn messagesZSH: aur terminal mode and services gui mode broke in the last version, fixed themThe script now runs in /tmp by default always, in file chooser was added an option to point it to the home directoryThis is a recommended update, since there are no more outstanding problems. For now i'm thinking about what new utilities to introduce, but consider it be feature complete. Last Edit: 20 July 2022, 14:23:48 by Hitman 1 Likes