Forum › Forums › General › Tips and Tricks › How to add features to antiX (and make it look more Window 10 like) with tint2
- This topic has 79 replies, 11 voices, and was last updated Nov 11-11:15 am by PPC.
-
AuthorPosts
-
November 8, 2020 at 12:08 pm #44604Member
PPC
::At the request of an user, I wrote a script that automates the installation and configuration of tint2 toolbar on antiX flubox (run the script from the command line, or simply copy and paste the code to a terminal):
#!/bin/bash ##=====================================================================## # Script to install and configure tint2 in antiX Fluxbox # ##=====================================================================## #make sure the system is updated sudo apt update && #install tint2 and skippy-xd: sudo apt install tint2 skippy-xd && #Backup tint2 default config file: cp ~/.config/tint2/tint2rc ~/.config/tint2/tint2rc.BAK #Replace the default tint2 config file: cd ~/.config/tint2/ wget --output-document=tint2rc https://raw.githubusercontent.com/PPC-scripts/antiX-tint2/main/tint2rc #download needed scripts to display CPU and RAM usage, also display and control volume (they are saved to the "home" folder): cd ~ wget https://raw.githubusercontent.com/PPC-scripts/antiX-tint2/main/vol wget https://raw.githubusercontent.com/PPC-scripts/antiX-tint2/main/mem wget https://raw.githubusercontent.com/PPC-scripts/antiX-tint2/main/cpu # Performe conf file changes echo "###Tint2 ###" echo "session.screen0.allowRemoteActions: true" >> ~/.fluxbox/init echo "session.screen0.toolbar.tools: rootmenu, iconbar, clock" >> ~/.fluxbox/init echo "session.screen0.toolbar.visible: false" >> ~/.fluxbox/init # cd ~/.fluxbox touch apps echo "[app] (name=tint2)" >> /.fluxbox/apps echo "[Layer] {12}" >> /.fluxbox/apps echo "[end]" >> /.fluxbox/apps # sed '2a\ ~/.fehbg & \ tint2 & ' < ~/.fluxbox/startup >/tmp/t2instal cp /tmp/t2instal ~/.fluxbox/startup #Final message: echo "Install and configuration finished. You can now log off and log back on to the Fluxbox desktop"- This reply was modified 2 years, 6 months ago by PPC.
November 11, 2020 at 2:17 am #44776Member
marcelocripe
::PPC,
Thank you very much for the toolbar and the script. I tested the script and it worked automatically.
The toolbar (with it’s called “in the world of Linux distributions”) or taskbar (with it’s called “in the Windows world”) is very elegant and beautiful, it looks great.
marcelocripe
(Original text in Brazilian Portuguese)———-
PPC,
Muito obrigado pela barra de ferramentas e pelo script. Eu testei o script e funcionou tudo automaticamente.
A barra de ferramentas (com é chamada “no mundo das distribuições Linux”) ou barra de tarefas (com é chamada “no mundo Windows”) é muito elegante e bonita, ficou excelente.
marcelocripe
(Texto original em Português do Brasil)November 11, 2020 at 11:15 am #44787MemberPPC
::I noticed 2 problems with the script, but, thanks to the forum software, I’m unable to edit the above script:
I negleted to include the commands that make the volume, cpu and ram scripts executable.
Please run, from the terminal:chmod u+x ~/vol chmod u+x ~/men chmod u+x ~/cpuAlso, only when testing on a virtual machine, running a virgin antix desktop, I realized that tint2 needs to be run at least once, in order to be able to replace the default config… So, if you ran the previous script, please run also this command, from the terminal:
cd ~/.config/tint2/ wget --output-document=tint2rc https://raw.githubusercontent.com/PPC-scripts/antiX-tint2/main/tint2rcAnd log off and back to fluxbox, in order to see a correctly configured tint2 toolbar…
P.
-
AuthorPosts
- You must be logged in to reply to this topic.