Linux utils
.desktop file location Link to heading
~/.local/share/applications
/usr/share/applications
nvim Link to heading
The Releases page provides pre-built binaries for Linux systems.
curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz
sudo rm -rf /opt/nvim
sudo tar -C /opt -xzf nvim-linux64.tar.gz
After this step add this to ~/.bashrc:
export PATH="$PATH:/opt/nvim-linux64/bin"
For sudo acces
sudo ln -s /opt/nvim-linux64/bin/nvim /usr/bin/
Open default file explorer Link to heading
xdg-open .
See memory usage Link to heading
htop
Find Link to heading
find -name <file_name> # Search files by name
find -type d -name <file_name> # Search directory name
To upgrade all Link to heading
sudo apt-get upgrade
zoxide better cd Link to heading
https://github.com/ajeetdsouza/zoxide
git Link to heading
git config --global user.name "Nikola Petrov"
git config --global user.email "nikola@petrovv.com"
ffmpeg convert JPG to video Link to heading
ffmpeg -framerate 30 -pattern_type glob -i '*.JPG' -c:v libx264 -pix_fmt yuv420p -s 1920x1080 -r 30 video.mp4
tmux Link to heading
https://github.com/tmux/tmux/wiki/Installing
Gparted Link to heading
for formating disks
rfm-bin Link to heading
https://github.com/dsxmachina/rfm
https://github.com/sharkdp/bat
PopOS 22 to disable appstore auto start up and save 0,5 GB ram Link to heading
sudo dpkg-divert --divert "/etc/xdg/autostart/io.elementary.appcenter-daemon.desktop.~ram~" --rename "/etc/xdg/autostart/io.elementary.appcenter-daemon.desktop"
Gnome to change back ground img size to zoom Link to heading
sudo apt install gnome-tweaks
Appearance -> Background Adjusment -> Scaled
PopOS 22 Mouse pad right click Link to heading
Enable in settings -> Mouse & Touchpad -> Touchpad Click Options -> Second option
AudioControll Link to heading
sudo apt install pavucontrol
.tar Link to heading
tar -cf archive_name.tar /path/to/dir
tar -xf archive_name.tar
.tar.gz Link to heading
tar -czf archive_name.tar.gz /path/to/dir
tar -xzf yourfile.tar.gz
sync two dirs Link to heading
unison /path/to/dir/one /path/to/dir/two