I wanted to know that how can i create dedicated shortcuts for launching different applications
I wanted a way to launch apps through keyboard
right click the desktop> create launcher
or if itâs a app installed
right click app in menu> add to desktop
forgot, if you right click a launcher you can> edit launcher
xfce:exo:desktop-item-edit [Xfce Docs]
exo-desktop-item-edit allows a user to easily create and modify application launchers, or.desktop
files in a GUI.
Thanks!
Thank you
Iâve created a bunch of these application calling keyboard shortcuts, they are AWESOME!! I love Manjaroâs keyboard settings GUI from the whisker menu, you can also access others from the Windows Settings Manager (also accessible from the whisker menu). This is on XFCE, I donât know what version of Manjaro youâre using, so it might be slightly different.
Actually i wanted to know about how to add those keyboard shortcuts
as in in the keyboard > application shortcut what should i put as command to start some apps. I donât know much about how to use command lines to start appsâŚ
Oh I see, usually you can just type in the particular name of the application, this works for a majority of applications, but sometimes itâs a bit more extensive.
What application specifically are you trying to create a shortcut for? Perhaps I could help you out.
Whatsapp for linux
Protonvpn
zoom
and ms teams
all packages are aur
Thank you for your patience and time
Go to /usr/share/applications
, and you would find a lot of .desktop files. Open the .desktop file of your favorite program in a text editor, and you would find the command to start the application in the Exec
entry.
For example, this is the .desktop file of blanket
(I removed some entries for simplicity).
[Desktop Entry]
Name=Blanket
Comment=Listen to different sounds
Exec=blanket
Icon=com.rafaelmardojai.Blanket
Terminal=false
Keywords=Concentrate;Focus;Noise;Productivity;Sleep;
Categories=AudioVideo;Audio;GTK;
StartupNotify=true
# Translators: Do NOT translate or transliterate this text (these are enum types)!
X-Purism-FormFactor=Workstation;Mobile;
Notice Exec=blanket
. You need to enter the command blanket
to start this application.
Oh wow, this does me one better. I wasnât aware of this feature. Thanks!
Yeah I tried this and it works!!
Thanks!!
Interesting, it seems that alot of those have some complications from them.
I donât use whatsapp, but found a somewhat extensive discussion on how to set it up for terminal use here:
This application also apparently allows you to call whatsapp from the terminal, and thusly could be used to open it up using keyboard shortcuts:
https://aur.archlinux.org/packages/python-yowsup/
ProtonVPN I do have, but I donât think you can set it up for a keyboard command as it requires root privileges to run (basically anything that requires root privileges to run you canât hotkey as far as I know).
Zoom apparently is easier. This is another one I donât use but from what Iâve gathered you can call it from the command line by simply typing âzoomâ into your terminal emulator and youâre set. Thusly setting up âzoomâ into your keyboard shortcuts followed by the hotkeys you wish to associate it with when prompted to enter them should work.
MS teams also seems to be callable from the terminal, although i couldnât find the exact command. Do a bit of research, google around and see what you come up with, usually these sort of things are made to be as intuitive as possible and you might be able to call it simply by typing in âteamsâ
Hopefully that helps. ProtonVPN in particular is callable from the command line, but I havenât found a way to hotkey it yet as I said before it requires root privileges to run and I donât think you can do that with hotkeys. I could be wrong though, Iâm somewhat of a noob myself.
I was able to launch protonvpn with the method provided by @archisman
you can also give it a shot
Nice. Iâll have to try that out! Again, thanks to @archisman
I learn something new from these forums every day! Super awesome.
Does it still prompt you for your root password?
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.