Skip to content

Instantly share code, notes, and snippets.

@xtrm-en
Last active April 26, 2023 22:31
Show Gist options
  • Save xtrm-en/2f55360378b8b21f324dd5ed9668fe7b to your computer and use it in GitHub Desktop.
Save xtrm-en/2f55360378b8b21f324dd5ed9668fe7b to your computer and use it in GitHub Desktop.
#!/bin/bash
cat <<EOF >/usr/share/applications/org.gnome.Terminal.desktop
[Desktop Entry]
Name=Terminyal~
Comment=Use the command line
Keywords[en_GB]=shell;prompt;command;commandline;cmd;
Keywords[fr]=shell;prompt;commande;ligne de commande;cmd;
Keywords=shell;prompt;command;commandline;cmd;
TryExec=gnome-terminal
Exec=gnome-terminal
Icon=org.gnome.Terminal
Type=Application
Categories=GNOME;GTK;System;TerminalEmulator;
StartupNotify=true
StartupWMClass=Gnome-terminal
X-GNOME-SingleWindow=false
Actions=new-window;preferences;
X-ExecArg=--
[Desktop Action new-window]
Name[en_CA]=New Window
Name[en_GB]=New Window
Name[fr]=Nouvelle fenêtre
Name=New Window
Exec=gnome-terminal --window
[Desktop Action preferences]
Name[en_GB]=Preferences
Name[fr]=Préférences
Name=Preferences
Exec=gnome-terminal --preferences
EOF
echo "Done! :3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment