Skip to content

linux mint shortcuts

Adding a shortcut for a custom script and adding it to the panel in Linux Mint. This was done with Linux Mint 22.3 - Cinnamon 64-bit.

Add shortcut

  • Right click Start menu > Edit
  • Create New Menu and I called it my-shortcuts
  • Click on the new menu item just created
  • Create New Item inside the new menu item and name it what you like

one liners

# basic example
gnome-terminal -- /path/to/your/script.sh

# force terminal to stay after script finish
gnome-terminal --geometry=140x40 -- bash -c "/home/rrosso/scripts/list_links_ws.sh 20; exec bash"

# I have a wait for enter in script so I like this
gnome-terminal --geometry=145x40 -- /home/rrosso/scripts/list_links_ws.sh 20

# better to peg it to a terminal profile
gnome-terminal --profile="YourProfileName" -- /home/rrosso/scripts/list_links_ws.sh 20

add to panel

In menu go to new item and right click Add to panel