Skip to content

Instantly share code, notes, and snippets.

@juliancoleman
Last active June 3, 2017 22:34
Show Gist options
  • Save juliancoleman/10d7039512d5836c3860c368144d20d1 to your computer and use it in GitHub Desktop.
Save juliancoleman/10d7039512d5836c3860c368144d20d1 to your computer and use it in GitHub Desktop.
#!/usr/bin/env xdg-open
[Desktop Entry]
Encoding=UTF-8
Name=DBGlass
Comment=Simple, modern and fast PostgreSQL client
GenericName=PostgreSQL Client
Exec=/opt/DBGlass-linux-x64/DBGlass
Icon=/opt/DBGlass-linux-x64/resources/app/logo/logo.png
Terminal=false
StartupWMClass=DBGlass
Type=Application
Categories=Network;Programming;
cd ~/Downloads
wget https://github.com/web-pal/DBGlass/releases/download/v0.1.0-beta.6/linux-x64.tar.gz
tar -xvzf linux-x64.tar.gz
rm linux-x64.tar.gz
sudo mv DBGlass-linux-x64/ /opt
# [sudo] password for $(whoami)
cd /opt
sudo chown -R root:root DBGlass-linux-x64/
sudo chmod +x DBGlass-linux-x64/DBGlass
cd /usr/share/applications
sudo touch dbglass.desktop
sudo nano dbglass.desktop # paste the contents of DBGlass.desktop
sudo chown root:root dbglass.desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment