A collection of diffrent tools for the cli, written with BASH.
They accomplish diffrent tasks in a wide area of diffrent topics.
While i consider the complete package as alpha, most is beta, but i'll introduce here what currently is considered to be stable (generaly 'final')
During the past 2 years of development, lots have changed.
I moved focus from support for closed software (like installing rpmfusion/livna) more to open source.
The only way i support closed software is by requirements to handle foss software too, example: sudo st tweak repo toggle [livna]
While i love the console, i am fully aware that others cant stand the idea of doing anything there.
What you now experience is the 3rd rewriting of the first approach of an idea i had back around 1996.
Therfor the idea of a scripted based TUI (Text user interface) approach came up
And with the power of linux, i believe there is nothing i/t cant do!
Now what does it do for you?
Using GIT
Additional Commands
How to use - Examples:
They accomplish diffrent tasks in a wide area of diffrent topics.
While i consider the complete package as alpha, most is beta, but i'll introduce here what currently is considered to be stable (generaly 'final')
During the past 2 years of development, lots have changed.
I moved focus from support for closed software (like installing rpmfusion/livna) more to open source.
The only way i support closed software is by requirements to handle foss software too, example: sudo st tweak repo toggle [livna]
While i love the console, i am fully aware that others cant stand the idea of doing anything there.
What you now experience is the 3rd rewriting of the first approach of an idea i had back around 1996.
Therfor the idea of a scripted based TUI (Text user interface) approach came up
And with the power of linux, i believe there is nothing i/t cant do!
Now what does it do for you?
Since you've chosen to read FedoraForums.org i assume you're using Fedora, which also means rapid release changes.How to install
With rapid release changes, there are things that needs repeativly changed or customized.
Script-Tools jumps in there for you.
--STABLE-- (for me)
Want to change your "Boot style"?
You can disable active theme, and simply change background, font, gfx (keep, rhgb...), screen and toggle recovery and uuid useCode:sudo st tweak plymouth
sudo st tweak grub2 theme change
or copy, remove, edit, change active theme.
Download the most recent rawhide release?
Select it from the list you get with:
Then write it to your only pluged in usb-stick/key withCode:st net dl-fed -raw
But before upgrading through a fresh install, be sure to run a backup and safe it to your nas.Code:st iso usb [$HOME/Fedora-rawhide.arch.release.iso]
LABEL refers to the 'settings' for this specific share on that NAS.Code:st net nas LABEL m
qbkup
Please note there is currently a customizeable backup 'system' in progress.
However, for the moment this will do (does for me) for basic important data; downloads, images, music, videos are left out!
You want to change current values for XDG_XY_DIR's, or add them to .gtk-bookmarks?
--BETA--Code:st tweak default-dirs
Configure Script-Tools, borders, colors, editor
st config
'Easy' handle cron jobs with
Automate your rpm buildsCode:[sudo] st sa cron
Configure (LABEL): st dev rpm
Build:NOTE: Since the repo handling doesnt work yet fully automated, i suggest using git to update.Code:st dev rpm b LABEL
Either way, updates/changes are usualy (without garantie, its just a hobby) updated about once a month.
Sourceforge code upload with
Code:st dev sf
Using GIT
Using a repo (highly recomended for F18,F19,or higher)The first execution of the script as root handles the 'stuff' that would be done as root within the rpm,Code:sudo git clone git://git.code.sf.net/p/script-tools/code /usr/share/script-tools
sudo chmod 755 /usr/share/script-tools/UI_CLI
sudo /usr/share/script-tools/st
like symlinks all files in /usr/share/script-tools/Scripts-in-bin (see Additional Commands), as well as st to /usr/bin)
TarballPlease Note there is currently only F18 rpm available as the most recent 'release'.Code:sudo cat > /etc/yum.repos.d/script-tools.repo << EOF
[script-tools]
name=Script-Tools
baseurl=http://script-tools.tipido.net/repo
enabled=0
gpgcheck=0
EOF
sudo yum install script-tools
I dont know for certain if it would install on F17, i dont think so, but on the other hand its noarch..
Using the GIT method will work for certain, as the Script-Tools are not (too much) bound to a specific release, or if, then there's a handler behind (if i'm aware of it).
Either download (currently : first forum release) from this posts or from the link in my signature.
The tarball can also be copied to an existing iso file, as long you have r/w access and have it chrooted.
Or be used to recover (partly works, depends on issue)
The first execution of the script as root handles the 'stuff' that would be done as root within the rpm,
like symlinks all files in /usr/share/script-tools/Scripts-in-bin (see Additional Commands), as well as st to /usr/bin)
Additional Commands
Those files (commands) now available to your shell are:
A brief overview what they do may be read in the readme: st rm|readmeCode:bash-colors chx isEmpty lxscreenshot moalpa p rmtf vimail yumresume
blame hddinfo isLVM mem newScript qbkup upd yumreset
Well, these are just a few examples. You may simply explore more commands by browsing through the menu of "st".
However, there are some files i'd like to introduce extra since they wont appear in the content menu.
bash-colors Shows numbers and examples of colors
chx Acronym for chmod +x, additional parses all paths of $PATH for provided file.
mem 1 line output of free
lxscreenshot Executes: import -window root
newScript Places a new template script in $XDG_CONFIG_DIR/script-tools/scripts
moalpa MOunts ALl PArtitions in /mnt/P[a-z][1-9]
p Pings a random ip of an array
qbkup Stores /etc and /home/* in /mnt/priv/backups/$(hostname)
rmtf Remove TempFiles from dir and sub dirs
upd Asks to update system or grub2
yumreset Cleans cache and removes left overs
yumresume Continues last aborted transaction
How to use - Examples:
You can browse through all menus by simply type anything like this in any open terminal:How does it look/act?
NOTE: Usualy each selection list entry you choose can be append to the command and give you direct access.Code:st
OR
sudo st
Please note that my current basic default applications are: nano for terminal and gedit for graphical file editing.Code:sudo st tweak
sudo st tweak plymouth
sudo st tweak grub2 theme change
sudo st tweak grub2 theme edit [NAME] # eg: starfield
sudo st tweak grub2 gfx
sudo st tweak siggen -nobb
sudo st tweak repo toggle [NAME[.repo]] # eg: fedora-rawhide
st tweak default-dirs
st iso dl-fed [-get|-raw|-pre|-spins|-respin]
st iso usb [file] [[device]]
st net yt [xPSOYvaUYj0 | PL4A7A5DBB3C55BB26] [https://www.youtube.com/watch?v=xPSOYvaUYj0 |https://www.youtube.com/playlist?lis...A5DBB3C55BB26]
sudo st set stage # systemd style for init 1,3,5 as stage target
If you want to change this, please go:
"st config", Script-Tools (4), Programs (3)
Or open: ~/.config/script-tools/includes/system.Programs with your favorite editor
In that folder all customizations can be done, withyou can create your own scripts in ~/.config/script-tools/scripts, extending the functions of script-tools with your own style.Code:newScript [NAME]
Though you probably dont 'need' this, it would let you execute it with: st custom XY
Eventhough i tried to be slow, the typing is pretty fast in the videos, i do hope you still get an idea:
Wipe a device: https://www.youtube.com/watch?v=tDYdxeFqZ08
Import gpg keys: https://www.youtube.com/watch?v=keJKirRkrG8
Developers: https://www.youtube.com/watch?v=d6u7xnbEoNw
If you errors, failures, or misleading display messages, please let me know!
I write this to improve my skills and to help the community.
If noone reports errors, i cant fix, and since i'm the author of it, i do 'workarounds' automaticly, or pass only arguments that wont cause errors.
Just recently i started to add help functions and argument handling to the scripts, its not applied everywhere yet, its complicated, complex and at some times confusing.
But see command help by: st SECTION [SECTION] SCRIPT -h