Skip to content

Instantly share code, notes, and snippets.

@FZX
Last active December 29, 2022 16:38
Show Gist options
  • Save FZX/ab53cb635f16be3b9aa26385495c4115 to your computer and use it in GitHub Desktop.
Save FZX/ab53cb635f16be3b9aa26385495c4115 to your computer and use it in GitHub Desktop.
Terminal commands. Change Cinnamon theme from terminal. Disable cursor blink from terminal. Disabling recent files history from terminal. Setup proxy file with command.
gsettings set org.cinnamon.desktop.privacy remember-recent-files false
gsettings set org.cinnamon.theme name "Mint-Y-Dark"
gsettings set org.cinnamon.desktop.interface gtk-theme "Mint-Y-Dark"
gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y-Dark"
gsettings set org.cinnamon.desktop.interface cursor-blink false
gsettings set org.gnome.system.proxy autoconfig-url "http://mediahint.com/default.pac"
gsettings set org.gnome.system.proxy mode auto
gsettings set org.cinnamon enabled-applets "['panel1:left:0:[email protected]:0', 'panel1:left:2:[email protected]:2', 'panel1:left:3:[email protected]:3', 'panel1:right:0:[email protected]:4', 'panel1:right:1:[email protected]:5', 'panel1:right:2:[email protected]:6', 'panel1:right:3:[email protected]:7', 'panel1:right:11:[email protected]:1', 'panel1:right:5:[email protected]:9', 'panel1:right:6:[email protected]:10', 'panel1:right:7:[email protected]:11', 'panel1:right:8:[email protected]:12', 'panel1:right:9:[email protected]:13']"
gsettings set org.cinnamon.settings-daemon.plugins.power sleep-display-ac 0
gsettings set org.cinnamon.settings-daemon.plugins.power sleep-display-battery 0
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom0/ binding "['<Primary><Shift>KP_Add']"
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom0/ command 'sudo python3 /home/mint/.brightness.py +'
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom0/ name 'Brightness UP'
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom1/ binding "['<Primary><Shift>KP_Subtract']"
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom1/ command 'sudo python3 /home/mint/.brightness.py -'
gsettings set org.cinnamon.desktop.keybindings.custom-keybinding:/org/cinnamon/desktop/keybindings/custom-keybindings/custom1/ name 'Brightness Down'
gsettings set org.cinnamon.desktop.keybindings custom-list "['custom0','custom1']"
@awsms
Copy link

awsms commented Jun 22, 2020

thx a lot for this

@Ged296123
Copy link

Thank you very much

@kskollepara
Copy link

kskollepara commented Mar 29, 2022

Inspired by this post, I put some commands in a script. But when I run it, not everything turns to light mode. All application windows (e.g. Caja) are still in dark mode. If you have any idea what I am missing, please comment.

gsettings set org.gnome.desktop.interface gtk-theme 'Yaru-light'
flatpak override --user --env=GTK_THEME='Yaru-light'
gsettings set org.cinnamon.theme name 'Mint-Y'
gsettings set org.cinnamon.desktop.interface gtk-theme "Mint-Y"
gsettings set org.cinnamon.desktop.wm.preferences theme "Mint-Y"
gsettings set org.cinnamon.desktop.interface icon-theme 'Mint-Y'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment