On my Ubuntu 22.04 system, when trying to download webpages / images from Chrome / Firefox, I noticed that the download dialog box is not focused in the first place. After searching for auto-focusing, I came up with a sub-optimal solution: auto-shift to window that the mouse currently hovers on.
sudo apt install gnome-tweaks
Press the Super (Windows) key and type Tweaks, then press Enter.
Choose focus on hover,
If you don’t want to see the other window that’s out of focus already, choose “Raise Window When Focused”
Press Alt + F2, type r, and press Enter. This restarts the GNOME Shell without logging out.
File Differences
diff shows which files are different and which files show in both places
1
2
3
4
diff -qr filter_projects/ Fun_Projects/filter_projects/
Only in filter_projects/: build_project.sh
Files filter_projects/face_tracker/face_tracker.cpp and Fun_Projects/filter_projects/face_tracker/face_tracker.cpp differ
Files filter_projects/face_tracker/face_tracker.hpp and Fun_Projects/filter_projects/face_tracker/face_tracker.hpp differ
If in a git repo, see when the directory was last modified:
--format="%ci": Formats the output to display the commit date in ISO format.
File Formats
AppImage: a linux file format that’s directly runnable without unzipping, debian instalation, etc. This might require libfuse to run: sudo apt install libfuse
libfuse is a library that uses FUSE (Filesystem in Userspace). We can create and manage file systems in the user space instead of the kernel space.
It can create a virtual filesystem, like AppImage, where it’s mounted as a virtual filesystem.
It works with SSHFS, mounting remote file systems via SSH
System Commands
hostname: host machine name in “USERNAME@HOSTNAME”