aboutsummaryrefslogtreecommitdiff
path: root/blog/2023-01-21-running-flatpak-apps-easily.org
diff options
context:
space:
mode:
authorChristian Cleberg <hello@cleberg.net>2023-12-02 23:27:35 -0600
committerChristian Cleberg <hello@cleberg.net>2023-12-02 23:27:35 -0600
commit3d4da5ac6000a4871c5caa80d1e61f2782da3069 (patch)
tree29f36b50823d22f4c7df0a3db3ede83192ae649f /blog/2023-01-21-running-flatpak-apps-easily.org
parentdcf0186e16b6ac8f0e00a3aeb9734421ce548177 (diff)
downloadcleberg.net-3d4da5ac6000a4871c5caa80d1e61f2782da3069.tar.gz
cleberg.net-3d4da5ac6000a4871c5caa80d1e61f2782da3069.tar.bz2
cleberg.net-3d4da5ac6000a4871c5caa80d1e61f2782da3069.zip
feat: finish converting md to org
Diffstat (limited to 'blog/2023-01-21-running-flatpak-apps-easily.org')
-rw-r--r--blog/2023-01-21-running-flatpak-apps-easily.org63
1 files changed, 34 insertions, 29 deletions
diff --git a/blog/2023-01-21-running-flatpak-apps-easily.org b/blog/2023-01-21-running-flatpak-apps-easily.org
index 0948411..1608eb1 100644
--- a/blog/2023-01-21-running-flatpak-apps-easily.org
+++ b/blog/2023-01-21-running-flatpak-apps-easily.org
@@ -1,45 +1,50 @@
-+++
-date = 2023-01-21
-title = "Running Flatpak Apps with Symlinks"
-description = "Run flatpak apps faster and easier with a simple symlink solution."
-+++
+#+title: Running Flatpak Apps with Symlinks
+#+date: 2023-01-21
-## Running Flatpak Apps Should Be Faster
+** Running Flatpak Apps Should Be Faster
+:PROPERTIES:
+:CUSTOM_ID: running-flatpak-apps-should-be-faster
+:END:
+If you're like me and use Flatpak for those pesky apps that cannot run
+on your system for one reason or another, you likely get annoyed with
+opening a terminal and manually running the Flatpak app with the lengthy
+=flatpak run ...= command.
-If you're like me and use Flatpak for those pesky apps that cannot run on your
-system for one reason or another, you likely get annoyed with opening a terminal
-and manually running the Flatpak app with the lengthy `flatpak run ...` command.
-
-In the past, I manually created aliases in my `.zshrc` file for certain apps.
-For example, an alias would look like the example below.
+In the past, I manually created aliases in my =.zshrc= file for certain
+apps. For example, an alias would look like the example below.
This would allow me to run the command fast within the terminal, but it
wouldn't allow me to run it in an application launcher.
-```sh
+#+begin_src sh
# ~/.zshrc
alias librewolf = "flatpak run io.gitlab.librewolf-community"
-```
-
-However, I now use a much faster and better method that integrates with the
-tiling WMs I use and their application launchers - `dmenu` and `bemenu`.
+#+end_src
-## Creating Symlinks for Flatpak Apps
+However, I now use a much faster and better method that integrates with
+the tiling WMs I use and their application launchers - =dmenu= and
+=bemenu=.
-Let's use the example of Librewolf below. I can install the application like so:
+** Creating Symlinks for Flatpak Apps
+:PROPERTIES:
+:CUSTOM_ID: creating-symlinks-for-flatpak-apps
+:END:
+Let's use the example of Librewolf below. I can install the application
+like so:
-```sh
+#+begin_src sh
flatpak install flathub io.gitlab.librewolf-community
-```
+#+end_src
-Once installed, I can create a symlink to link the flatpak app to my new symlink
-in a location commonly included in your PATH. In this case, I chose `/usr/bin`.
-You may need to choose a different location if `/usr/bin` isn't in your PATH.
+Once installed, I can create a symlink to link the flatpak app to my new
+symlink in a location commonly included in your PATH. In this case, I
+chose =/usr/bin=. You may need to choose a different location if
+=/usr/bin= isn't in your PATH.
-```sh
+#+begin_src sh
ln -s /var/lib/flatpak/exports/bin/io.gitlab.librewolf-community /usr/bin/librewolf
-```
+#+end_src
-Once complete, you should be able to launch the app using the command name you
-chose above in the symlink (`librewolf`) from a terminal or from your
-application launcher!
+Once complete, you should be able to launch the app using the command
+name you chose above in the symlink (=librewolf=) from a terminal or
+from your application launcher!