$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Launch Flatpak App Easily from Awesome WM Prompt

August 18, 2024 | By the+gnu+linux+evangelist.

GNU/Linux Launching Flatpak App on Awesome WM with Command Guide

Hi! This tutorial will guide you step-by-step on How to Launch Flatpak App from Awesome WM Prompt in GNU/Linux Systems.

Awesome Window Manager excels with customizable key bindings for efficiency.

Switch workspaces, rearrange windows, and manage layouts with quick keystrokes.

Seamlessly multitask with keyboard-driven control, maximizing productivity.

Easily switch between tiling, floating, and full-screen layouts.

In case, to Quick-Start mastering easily the Awesome Window Manager see: Awesome WM Get Started Guide3!

However, a drawback is the lack of seamless Flatpak integration, making it difficult to run Flatpak apps easily from the Awesome prompt.

So currently a quick & dirty fix consist simply in making a Script App Launcher inside the working Path.

How to Launch Flatpak App Easily from Awesome WM Prompt
  1. 1. Making Script

    Now to Make Flatpak App Script Launcher
    Here I’ll make it into the existing System-wide Path.
    (However, you can choose a Local target and then amending the User’s Path)
    So now to make the Script, for instance for Spotify Client:

    sudo touch /usr/local/bin/fspotify && sudo chmod +x /usr/local/bin/fspotify
    I Prefixed with “f” the Program Name, so to make it finding and autocompleting easily.
    The chmod Command to make it executable.
    Now to edit it with nano Editor:
    sudo nano /usr/local/bin/fspotify
    And in this case append:
    #!/usr/bin/bash
    
    flatpak run com.spotify.Client
    
    Finally, Ctrl+x to Save & Exit from nano Editor.
  2. 2. Launching Flatpak App

    Then simply Easy Launching Flatpak App from Prompt
    Hitting “Cmd/Win+r”
    And then:

    fspotify
    After “fspo” you can just hit Tab to Autocomplete.
    Enjoy! ;)
    Spotify NAIKWOO