Saturday, May 29, 2021

Linux (Ubuntu) tips and tricks

File manager (File explorer) with expandable tree

Often the simple "Files" app is preinstalled in Ubuntu.
Unfortunately, the expandable tree view is not setup by default. To show it, press the hamburger menu in the top right corner.

In the pop up window, press "Preferences".

Check "Allow folders to be expanded"

How to change terminal theme

Unfortunately, obvious way does not work. In Ubuntu terminal, we click hamburger menu in the top right corner -> Preferences -> General -> Theme Variant -> and nothing changes...
We select "Dark", however the terminal is still light..
Instead, we need to go to Hamburger menu in the top right corner -> Preferences -> Profile name (in our case "unnamed") in the bottom left menu -> Colors -> Built-in schemes. Voila!

How to include an in startup list of Ubuntu

Press "Windows" button.
Type in search text box "startup"
Press "Startup Applications Preferences"

Press "Add"


Press "Browse" and choose path to the script infra.
If we add script, we need to:
- create .sh script file with the commands to launch upon a startup
- make this script executable by:
chmod +x myscript.sh

How to turn off the Caps Lock key in Ubuntu

Open the Terminal and execute the following command:
xmodmap -e "keycode 66 = Shift_L NoSymbol Shift_L" 
Credits to this askUbuntu question.



No comments:

Post a Comment