Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NumberPiOso/ebc207d05fae2082377f3d908cebe731 to your computer and use it in GitHub Desktop.
Save NumberPiOso/ebc207d05fae2082377f3d908cebe731 to your computer and use it in GitHub Desktop.
Pomodoneapp won't run on Ubuntu 20.04

Installation

  1. Install packages for Pomodoneapp:
    sudo apt install libcanberra-gtk-module libcanberra-gtk3-module gconf2 gconf-service libappindicator1
  2. Download Pomodoneapp
  3. Install Pomodoneapp:
    sudo dpkg -i ~/Downloads/PomoDoneApp_*.deb
  4. Install the Pango packages for Pomodoneapp:
     cd /opt/PomoDoneApp
     sudo wget http://launchpadlibrarian.net/438303557/libpango-1.0-0_1.42.4-7_amd64.deb
     sudo wget http://launchpadlibrarian.net/438303558/libpangocairo-1.0-0_1.42.4-7_amd64.deb
     sudo wget  http://launchpadlibrarian.net/438303559/libpangoft2-1.0-0_1.42.4-7_amd64.deb
    
     sudo dpkg -x libpango-1.0-0_1.42.4-7_amd64.deb .
     sudo dpkg -x libpangocairo-1.0-0_1.42.4-7_amd64.deb .
     sudo dpkg -x libpangoft2-1.0-0_1.42.4-7_amd64.deb .
  5. Update library paths
    echo -e "\n# Pomodoneapp\nexport LD_LIBRARY_PATH\=\$LD_LIBRARY_PATH:/opt/PomoDoneApp/usr/lib/x86_64-linux-gnu" >> ~/.bashrc  
    . ~/.bashrc
  6. Run Pomodoneapp as a sanity check
    /opt/PomoDoneApp/pomodoneapp

Create a Desktop Launcher

  1. Add the wrapper script to ~/.local/share/applications
  2. Add the desktop launcher file to ~/.local/share/applications
  3. Add the desktop launcher icon file to /opt/PomoDoneApp/
    sudo wget -O /opt/PomoDoneApp/logo.png https://icons.iconarchive.com/icons/papirus-team/papirus-apps/256/PomoDoneApp-icon.png
[Desktop Entry]
Version=1.5.1545
Name=PomoDoneApp
Comment=Pomodoro Timer
Exec=~/.local/share/applications/pomodoneapp.sh
Icon=/opt/PomoDoneApp/logo.png
Terminal=false
Type=Application
Categories=Utility;Application;
#!/bin/bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/PomoDoneApp/usr/lib/x86_64-linux-gnu
exec /opt/PomoDoneApp/pomodoneapp "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment