Skip to content

A few commands and notes for my fresh Linux Mint installation

Notifications You must be signed in to change notification settings

sreejeet/freshinstalledmint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 

Repository files navigation

FreshInstalledMint

A few commands and notes for my fresh Linux Mint installation.

This should work fine with Ubuntu and Debian based LinuxMint.

Remove pre-installed

sudo apt purge -y libreoffice-* hexchat hexchat-common celluloid redshift rhythmbox hypnotix timeshift warpinator transmission-* thunderbird sticky simple-scan pix

Install essentials

sudo apt install -y vim htop vlc bc module-assistant build-essential dkms rclone libreoffice-calc libreoffice-writer python3-pip
pip3 install --break-system-packages pipenv

Keyboard shortcuts

gsettings set org.cinnamon.desktop.keybindings.wm close "['<Alt>F4', '<Super>q']"
gsettings set org.cinnamon.desktop.keybindings.media-keys volume-up "['XF86AudioRaiseVolume', '<Alt>period']"
gsettings set org.cinnamon.desktop.keybindings.media-keys volume-down "['XF86AudioLowerVolume', '<Alt>comma']"
gsettings set org.cinnamon.desktop.keybindings.media-keys volume-mute "['XF86AudioMute', '<Alt>slash']"
gsettings set org.cinnamon.desktop.keybindings.media-keys terminal "['<Primary><Alt>t', '<Super>Return']"
gsettings set org.cinnamon.desktop.keybindings.wm minimize "['<Alt>m']"

Custom Gnome settings

gsettings set org.cinnamon panels-height "['1:33']"
gsettings set org.cinnamon.settings-daemon.plugins.power button-power "'shutdown'"
gsettings set org.cinnamon.settings-daemon.plugins.power lid-close-ac-action "'nothing'"
gsettings set org.cinnamon.settings-daemon.plugins.power lid-close-battery-action "'nothing'"
gsettings set org.cinnamon.settings-daemon.plugins.power lid-close-suspend-with-external-monitor "false"
gsettings set org.cinnamon.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
gsettings set org.cinnamon.settings-daemon.plugins.power sleep-inactive-ac-type "'suspend'"
gsettings set org.cinnamon.settings-daemon.plugins.power sleep-inactive-battery-timeout 0
gsettings set org.cinnamon.settings-daemon.plugins.power sleep-inactive-battery-type "'suspend'"

Lines to be add to ~/.bashrc

echo '
export PS1="\[\e]0;\u@\h: \w\a\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\n$ "
alias of="xdg-open $1"
alias nvrun="__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia $1"
alias gb="git branch -vv"
' >> ~/.bashrc

About

A few commands and notes for my fresh Linux Mint installation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published