SmartGit is a simple bash script that I had to run from the command line. This time I decided I wanted a program launcher from my applications menu and my 'favourites bar' (or whatever that thing on the left hand side of the desktop is called!)
So first I moved the smartgit folder from ~/Downloads/ to /usr/local/ and made the .sh script executable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo cp -R ~/Downloads/smartgit-3_0_11/ /usr/local/ | |
chmod +x /usr/local/smartgit-3_0_11/bin/smartgit.sh |
Then to create a launcher I made a new .desktop file:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo touch /usr/local/share/applications/smartgit.desktop |
and added the following:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Encoding=UTF-8 | |
Version=1.0 | |
Type=Application | |
Exec=/usr/local/smartgit-3_0_11/bin/smartgit.sh | |
Name=SMARTGIT | |
Comment=custom launcher for smartgit.sh | |
NoDisplay=false | |
Categories=Application;Programming;Utility; | |
Icon=/usr/local/smartgit-3_0_11/bin/smartgit-128.png | |
[Desktop Entry] |
Of course the 'Icon' can be anything you like - I chose the one which comes with the program out of sheer non-inventiveness! In Applications it will appear under All and Accessories. Right click and 'Add to Favourites' and it will appear on your side bar.
1 comment:
hop over to here dildo,dog dildo,dildo,dildos,cheap sex toys,dildos,dildos,wholesale sex toys,dildo pop over to this web-site
Post a Comment