Browse Source

TODO + prevent terminal desktop entry

master
pvincent 4 weeks ago
parent
commit
c4633741da
  1. 2
      README.md
  2. 20
      src/main

2
README.md

@ -9,6 +9,8 @@ TODO
----
* [ ] fix `tools` pathset
* [ ] miaou-bash cannot be installed after an error occurs
* [ ] gnome-extensions schema compilation after an error occurs
DONE
----

20
src/main

@ -203,6 +203,26 @@ gsettings set org.gnome.mutter dynamic-workspaces false
gsettings set org.gnome.desktop.wm.preferences num-workspaces 1
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
echo "## prevent displaying desktop entries (gnome-terminal replaced by tilix)"
echo "========================================================================"
if [[ ! -f $HOME/.local/share/applications/org.gnome.Terminal.desktop ]]; then
cat << 'EOF' > ~/.local/share/applications/org.gnome.Terminal.desktop
[Desktop Entry]
Name=Terminal
NoDisplay=true
Icon=org.gnome.Terminal
Type=Application
Categories=GNOME;GTK;System;TerminalEmulator;
StartupNotify=true
StartupWMClass=Gnome-terminal
X-GNOME-SingleWindow=false
OnlyShowIn=GNOME;Unity;
EOF
else
echo Tilix already set up!
fi
echo "## disable automatic lock screen => use Super_L for LOCK"
echo "========================================================"
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type nothing

Loading…
Cancel
Save