Skip to content
wordpress meta

title: 'Gnome Desktop Shortcut'
date: '2021-04-08T09:56:50-05:00'
status: publish
permalink: /gnome-desktop-shortcut
author: admin
excerpt: ''
type: post
id: 1729
category:
    - Gnome
tag: []
post_format: []

GNOME Desktop Shortcut

Just another note about this. See previous also.

Create in user Desktop folder

```bash $ cat crypto-report.desktop [Desktop Entry] Version=1.0 Exec=/home/rrosso/scripts/crypto-report.sh Name=crypto-report GenericName=crypto-report Comment=run crypto-report script Encoding=UTF-8 Terminal=true Type=Application Categories=Application;Network; ````

Script

```bash $ cat ~/scripts/crypto-report.sh

!/bin/bash

commands () { cd /TANK/DATA/MySrc/crypto-totals-api python3 consolidated-crypto-report.py $SHELL # keep the terminal open after the previous commands are executed }

export -f commands

gnome-terminal --profile=crypto-report -- bash -c "commands" ````

NOTE: May have to right click on shortcut on the desktup and allow to tun.