Launchers - GNU/Linux

Users browsing this thread: 1 Guest(s)
seninha
Long time nixers
(19-07-2021, 10:07 AM)seninha Wrote: I have three launching systems:
• Right click menu with pmenu.
• Prompt/runner with xprompt.
• Keybindings with sxhkd.

Three launching systems?
It's time for me to write yet another X11 application: The One Launcher to rule them all.

Here's the motivation: I have three desktop-control methods. Some launchees (thing to be launched) can be launched by more than one method, while some launchees are launched by a single method. Here's a video.
  • To play the next song in the queue, I can press Alt+Space to open XPrompt (a dmenu ripoff) and write "next" to play the next song; or I can right-click on the desktop to open the pie-menu and click on the "next song" icon; or I can press Alt+F12 for sxhkd to run mpc next. Three launching methods for a single launchee.
  • To play a given song by its name, I need to press Alt+Space to open XPrompt, and write the name of the song. That's the only method to play a song by name.
  • To run an application (say, the file manager), I can right-click on the desktop and click on the FileManager icon; or I can press Alt+Space to open XPrompt and write "fm" (short for file manager). Two launching methods for a single launchee.

Each launching method is configured differently.

There is also another motivation, that I got after trying mlvwm. Mlvwm is a window manager that shows a global menu bar at the top of the screen. The entries in the menu can control the active window by sending keypresses to it. For example, clicking the Edit menu and then Copy sends Ctrl+C to the active window.

So I had this idea: a global desktop controller (launcher) and window controller.

It's basically a bar/panel à la macOS. Most entries on the global menu change as the active window changes, while some entries are constant between windows (such as the entry to change the song or run an application).
  • Some menu entries have an accelerator/keybinding. Pressing it, launches the given entry. This eliminates the dependency on sxhkd.
  • The global menu thing can be turned into a xprompt/dmenu widget listing all the menu entries. While you type the entries are filtered (just like in dmenu/xprompt). This eliminates the dependency on xprompt.
  • Some entries can be selected to build a desktop context menu. This eliminates the dependency on pmenu.

I just began to write this global menu thing.
Let's see how it goes.

That's it.
Just needed to share this idea I had.


Messages In This Thread
Launchers - by greduan - 22-03-2017, 11:59 AM
RE: Launchers - by mrtn - 22-03-2017, 12:17 PM
RE: Launchers - by jkl - 22-03-2017, 12:23 PM
RE: Launchers - by evbo - 22-03-2017, 12:26 PM
RE: Launchers - by z3bra - 22-03-2017, 02:45 PM
RE: Launchers - by evbo - 22-03-2017, 05:01 PM
RE: Launchers - by r4ndom - 24-03-2017, 03:40 PM
RE: Launchers - by neeasade - 24-03-2017, 03:56 PM
RE: Launchers - by robotchaos - 29-03-2017, 05:36 PM
RE: Launchers - by Tmplt - 02-04-2017, 12:27 PM
RE: Launchers - by xero - 03-04-2017, 01:51 PM
RE: Launchers - by greduan - 04-04-2017, 06:46 AM
RE: Launchers - by Mrat - 11-05-2017, 11:45 PM
RE: Launchers - by Foggalong - 08-01-2018, 10:40 PM
RE: Launchers - by pkal - 10-01-2018, 06:02 AM
RE: Launchers - by venam - 19-07-2021, 10:00 AM
RE: Launchers - by seninha - 19-07-2021, 10:07 AM
RE: Launchers - by jkl - 19-07-2021, 10:38 AM
RE: Launchers - by z3bra - 20-07-2021, 03:03 AM
RE: Launchers - by _-_Specter_-_ - 19-08-2021, 08:00 AM
RE: Launchers - by Ssynicil - 30-09-2021, 04:49 AM
RE: Launchers - by seninha - 29-12-2021, 10:59 PM