Skip to content

Instantly share code, notes, and snippets.

View curioswati's full-sized avatar
💻

Swati Jaiswal curioswati

💻
View GitHub Profile
@curioswati
curioswati / install_apache_open_office.py
Created July 25, 2017 05:27 — forked from curioswati-zz/install_apache_open_office.py
Installer script for Apache open office 4.0 or 4.1 on ubuntu 14.04
#!/usr/bin/env python
import subprocess
import optparse
import platform
#--------------------------------------------Globals-------------------------------------------------------------
install = []
uninstall = ["sudo apt-get purge openoffice*.* && sudo apt-get autoremove"]
PLATFORM = platform.system()
ARCHITECTURE = platform.architecture()[0]
@curioswati
curioswati / flatpak-dmenu.md
Last active March 12, 2024 13:24
To run flatpak installed apps from dmenu.

To run a flatpak app from dmenu, you can create a symlink for the app in /usr/bin. You can find the flatpak apps binary link in /var/lib/flatpak/exports/bin/ on ubuntu. E.g. to run Rocket Chat (installed from flatpak via software center), you can do something like this:

sudo ln -s /var/lib/flatpak/exports/bin/chat.rocket.RocketChat /usr/bin/rocket-chat

This way you will be able to find it in the dmenu.

Resources: