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

How to Launch Snap App Easily from Awesome WM Prompt

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

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

Hi! This tutorial will guide you step-by-step on How to Launch Snap 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 Snap integration, making it difficult to run Snap 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 Snap App Easily from Awesome WM Prompt
  1. 1. Making Script

    Now to Make Snap 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/sspotify && sudo chmod +x /usr/local/bin/sspotify
    I Prefixed with “s” as for Snap 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/sspotify
    And in this case append:
    #!/usr/bin/bash
    
    snap run spotify
    
    Finally, Ctrl+x to Save & Exit from nano Editor.
  2. 2. Launching Snap App

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

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