Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
4
votes
2
answers
2180
views
How do I include shortcuts for the gnome setting program and wine apps in dmenu?
I would like to use `dmenu` as my launcher instead of the Gnome3-overlay that is displayed after hitting the super-key. From the Gnome3-overlay, I am able to launch both apps, gnome settings, and wine programs. In `dmenu`, I am so far only able to launch apps, and I can't seem to find the gnome sett...
I would like to use
dmenu
as my launcher instead of the Gnome3-overlay that is displayed after hitting the super-key. From the Gnome3-overlay, I am able to launch both apps, gnome settings, and wine programs. In dmenu
, I am so far only able to launch apps, and I can't seem to find the gnome settings program or any of my wine apps.
When I tried other launcher, such as synapse
, they were able to find both the settings and wine apps, just like with the gnome-overlay. I prefer dmenu
because it is the fastest and most aesthetically pleasing launcher I have come across. Is there a way to include shortcuts to the gnome setting program and my wine apps in dmenu
?
I am using Antegros Linux with Gnome 3.22 and dmenu 0.1 (specifically, the dmenu2 package from the AUR).
---
### Update
For the gnome settings app, I figured out the name is gnome-control-center
although it is called "Settings" in the Gnome3-overlay window. Adding the -z
flag to dmenu helped by enabling fuzzy matching.
I also found out that the keyboard subsection of the settings menu is launched via gnome-control-center keyboard
, which is a little bothersome to type every time since it does not autocomplete.
It seems like dmenu
will find everything that I put on my $PATH
, but I am not super keen on including all the desktop shortcuts there. Other launchers such as p-menu
includes everything on $PATH
and all the .desktop
files on the system, which is the preferred behavior to me. p-menu
does only seem to launch within a terminal, rather than as a popup (the latter being faster for me), so for the time being, I am using albert
, which works great. I would still be interested in dmenu
or a similar launcher, if they include .desktop
-files.
joelostblom
(1971 rep)
Dec 7, 2016, 12:53 AM
• Last activity: Jun 22, 2025, 05:04 AM
-3
votes
1
answers
92
views
Switching to a new default terminal breaks my desktop and panel shortcuts
I am a noobie running a Hyper-V instance of Kali Linux and have switched my default terminal editor to Ghostty. Doing so has broken the desktop and panel shortcuts I have, but only the ones that run from the terminal. Switching the default back fixes the issue, but I would like to keep using Ghostty...
I am a noobie running a Hyper-V instance of Kali Linux and have switched my default terminal editor to Ghostty.
Doing so has broken the desktop and panel shortcuts I have, but only the ones that run from the terminal.
Switching the default back fixes the issue, but I would like to keep using Ghostty as my default. I haven't tried anything described in this post, however This issue was described here and was only "fixed" by switching back.
The only shortcut I really use is Neovim so I will use that as the example here:
The following is a screenshot for the settings of the launcher
When I run this launcher, a blank Ghostty terminal opens and I receive a popup titled Configuration Errors:

One or more configuration errors were found while loading the configuration. Please
review the errors below and reload the configuration or ignore the erroneous lines.
nvim: invalid field
My current theory is that when I use the launcher, the command nvim
is run in the terminal, as this replicates the behavior. Why this is happening, I have no idea. It could have to do with the way Ghostty is run as the default Terminal, perhaps its launcher is broken?
(For reference this is my first week with Linux so go easy on me, but I had trouble installing Ghostty since there isn't an official version for the Testing version of Debian which is what Kali runs on right now. With much difficulty, I was able to do it using Snapd, so perhaps this is why it's all broken)
Please let me know what other information may help, I apologize that I don't know what else may assist.
Any and all help is appreciated, thank you for your time!
AudBid
(7 rep)
Mar 9, 2025, 08:28 PM
• Last activity: Mar 22, 2025, 09:32 PM
0
votes
2
answers
274
views
How to open KDE System Monitor using Ctrl+Shift+Esc in SteamOS?
I'm use to opening my Task Manager with Ctrl+Shift+Esc on Windows 11. Is there a way I can set a shortcut key for the KDE System Monitor app so that it also opens using the same Ctrl+Shift+Esc shortcut on SteamOS Desktop Mode? If it's not possible, is there perhaps a default shortcut key for the KDE...
I'm use to opening my Task Manager with Ctrl+Shift+Esc on Windows 11.
Is there a way I can set a shortcut key for the KDE System Monitor app so that it also opens using the same Ctrl+Shift+Esc shortcut on SteamOS Desktop Mode?
If it's not possible, is there perhaps a default shortcut key for the KDE System Monitor app that I can use to open it?
Shaun Roselt
(237 rep)
Dec 22, 2024, 03:30 PM
• Last activity: Mar 1, 2025, 05:20 PM
0
votes
2
answers
537
views
Kali Linux Gnome desktop shorcut
I am wondering how can I create a program ( e.g. VS Code) desktop shortcut on Kal Linux Gnome interface. So that I click the desktop shortcut and the program runs. Unfortunately, I cannot find this information anywhere in the system or the internet, anybody have any ideas?
I am wondering how can I create a program ( e.g. VS Code) desktop shortcut on Kal Linux Gnome interface. So that I click the desktop shortcut and the program runs. Unfortunately, I cannot find this information anywhere in the system or the internet, anybody have any ideas?
pazdinho_
(43 rep)
Nov 12, 2020, 09:21 PM
• Last activity: Apr 2, 2024, 09:19 AM
0
votes
1
answers
219
views
How can I start a NPM app from a desktop shortcut?
I have created a desktop shortcut for a `npm` application called TMXEditor, but it doesn't work. I can launch the app if I do `cd /home/souto/Apps/maxprograms/TMXEditor && npm start` on a terminal. I put that in a bash file `/home/souto/Apps/maxprograms/TMXEditor/start.sh`. The application runs if I...
I have created a desktop shortcut for a
npm
application called TMXEditor, but it doesn't work.
I can launch the app if I do cd /home/souto/Apps/maxprograms/TMXEditor && npm start
on a terminal.
I put that in a bash file /home/souto/Apps/maxprograms/TMXEditor/start.sh
. The application runs if I just run that script in a terminal. Its exact contents are:
#!/bin/bash
cd /home/souto/Apps/maxprograms/TMXEditor && npm start
So I have created the .desktop file pointing to that:
[Desktop Entry]
Name=TMXEditor
Exec=/home/souto/Apps/maxprograms/TMXEditor/start.sh
Icon=/home/souto/Apps/maxprograms/TMXEditor/icons/tmxeditor.png
StartupNotify=true
Terminal=false
Type=Application
Categories=Translation;
Comment=
Path=/home/souto/Apps/maxprograms/TMXEditor
The .desktop
file is saved as /home/souto/.local/share/applications/TMXEditor.desktop
.
I can see the shortcut in Rofi, but when I run it from there the application will not start.
I have also tried putting Exec=xfce4-terminal -e "/home/souto/Apps/maxprograms/TMXEditor/start.sh
. In that case, I can see a terminal blinking for a fraction of a second but still the application will not run.
Both the .desktop and the bash files are executable:
-rwxrwxr-x 1 souto souto 296 feb 19 14:27 /home/souto/.local/share/applications/TMXEditor.desktop
-rwxrwxrwx 1 souto souto 67 feb 19 13:53 /home/souto/Apps/maxprograms/TMXEditor/start.sh
My desktop environment is Xfce 4.18 (on arch linux) and I normally use zsh 5.9 as the shell.
I'd appreciate some help to debug this shorcut. Thanks.
msoutopico
(103 rep)
Feb 19, 2024, 01:39 PM
• Last activity: Feb 20, 2024, 06:52 PM
2
votes
2
answers
5427
views
How to pass arguments to command through Desktop shortcut without having to open a terminal?
I'm using a LXDE desktop. I created a shortcut in the desktop to a python program, which can be passed files to, which are then opened in the GUI. I mean passing files (file absolute paths) to the command by drag'n'dropping them over the shortcut on the desktop. In fact this is already working, but...
I'm using a LXDE desktop.
I created a shortcut in the desktop to a python program, which can be passed files to, which are then opened in the GUI.
I mean passing files (file absolute paths) to the command by drag'n'dropping them over the shortcut on the desktop.
In fact this is already working, but only if I set Terminal=true in the Desktop Entry, which obviously makes the terminal be opened. I wanted to know if there's a way to pass the arguments to the command without the need to open the terminal.
I'm creating the shortcut like this:
[Desktop Entry]
Name=TBOPlayer
Comment=UI for omxplayer
Exec=python /path/to/tboplayer/tboplayer.py "%F"
Icon=/usr/share/pixmaps/python.xpm
Terminal=true
Type=Application
Is there a way to do this?
heniotierra
(21 rep)
Sep 7, 2015, 06:54 PM
• Last activity: Aug 4, 2023, 05:08 PM
7
votes
6
answers
15164
views
PyCharm has no shortcut or launcher
After installing PyCharm on Pop! OS (by extracting the download) there is no easy way to run the program. I have probably installed it in `my Documents` folder. Not sure what the convention is. To run PyCharm I need to go to the folder `pycharm-community-2019.2.4/bin`, open terminal and run ./pychar...
After installing PyCharm on Pop! OS (by extracting the download) there is no easy way to run the program.
I have probably installed it in
my Documents
folder. Not sure what the convention is.
To run PyCharm I need to go to the folder pycharm-community-2019.2.4/bin
, open terminal and run
./pycharm.sh
Any way to make my life easier?
JohnnyBizzle
(173 rep)
Mar 4, 2020, 05:32 PM
• Last activity: May 7, 2023, 08:58 PM
0
votes
1
answers
414
views
Why pkexec does't change user in terminal?
I am trying to run desktop shortcut as root user, willing to see password prompt on opening shortcut. pkexec does the thing, but it doesn't change user - either i run it from terminal - it always give me a prompt for the current user who is not sudo. pkexec --user root [command] results in Authentic...
I am trying to run desktop shortcut as root user, willing to see password prompt on opening shortcut.
pkexec does the thing, but it doesn't change user - either i run it from terminal - it always give me a prompt for the current user who is not sudo.
pkexec --user root [command]
results in
Authentication is needed to run [command] as the superuser,
Authenticating as: mylocal-not-sudo-user
How can i change user to root?
(i tried gksudo, but it doesn't pop up prompt on chortcut opening)
user453575457
(133 rep)
Jan 31, 2023, 11:59 AM
• Last activity: Jan 31, 2023, 04:17 PM
1
votes
1
answers
858
views
How to put a series of terminal commands in a shortcut icon on the taskbar in kde?
Is there a way to make a icon shortcut on the taskbar to open emacs by running SNAP=1 SNAP_NAME=1 SNAP_REVISION=1 /home/felipe/emacs/src/emacs in the terminal when I click on it? I asked this on the emas stack exchange wrongly, and was redirected to [specifications.freedesktop.org/desktop-entry-spec...
Is there a way to make a icon shortcut on the taskbar to open emacs by running
SNAP=1 SNAP_NAME=1 SNAP_REVISION=1 /home/felipe/emacs/src/emacs
in the terminal when I click on it?
I asked this on the emas stack exchange wrongly, and was redirected to specifications.freedesktop.org/desktop-entry-spec/latest and to use a
.desktop
file to do this, but this doesn't really answer my question, how do I do this?
And is there a way to make it so that when I run emacs by this method the terminal doesn't keep open as a window on the background?
user527744
(11 rep)
May 30, 2022, 02:43 AM
• Last activity: May 31, 2022, 01:18 PM
0
votes
0
answers
2531
views
Where is my chrome shortcut being saved to?
I can create a shortcut in Chrome with `More tools > Create shortcut`. For Windows the documentation suggests that this will create some kind of file on the Desktop which users can click to open the shortcut. On Linux, not running a desktop environment, I see no such files. Yet, I would really like...
I can create a shortcut in Chrome with
More tools > Create shortcut
. For Windows the documentation suggests that this will create some kind of file on the Desktop which users can click to open the shortcut. On Linux, not running a desktop environment, I see no such files. Yet, I would really like to have a script which I could run to open my shortcut. How can I do this?
I tried looking in XDG_CONFIG_HOME/chromium
but couldn't find anything promising. Is there something I'm missing?
wdkrnls
(467 rep)
May 30, 2022, 02:13 PM
0
votes
1
answers
236
views
How do I make a clickable shortcut to open a random shortcut file in a dir on Linux?
I have made a directory on my Linux Mint desktop called "Ungoogled Chromium shortcuts". It contains one `.desktop` file per proxy I have access to. If I open this directory and double-click one of the shortcuts in there, it opens Ungoogle Chromium with the correct `--proxy` setting. Now I'm trying t...
I have made a directory on my Linux Mint desktop called "Ungoogled Chromium shortcuts". It contains one
.desktop
file per proxy I have access to.
If I open this directory and double-click one of the shortcuts in there, it opens Ungoogle Chromium with the correct --proxy
setting.
Now I'm trying to make it so that, instead of manually opening the directory and picking one of the shortcuts, I can just click a shortcut directly on the desktop to open one of those shortcuts at random.
How would I accomplish this? (Without installing any extra software.)
LaTuX EDO-RAM
(1 rep)
Mar 7, 2022, 03:38 PM
• Last activity: Mar 8, 2022, 01:10 AM
12
votes
5
answers
10663
views
Right click menu in Nemo missing 'create shortcut' and 'copy/move to'
I recently did a clean install of Linux Mint 17.3 with Cinnamon on my machine. Before the clean install, if I right clicked on a file or folder in nemo, the menu would have a 'create shortcut' option. Now after the clean install, that option isn't there. I've gone through the nemo preferences and I...
I recently did a clean install of Linux Mint 17.3 with Cinnamon on my machine.
Before the clean install, if I right clicked on a file or folder in nemo, the menu would have a 'create shortcut' option. Now after the clean install, that option isn't there. I've gone through the nemo preferences and I can't find any option to enable it.
After some searching I found out a keyboard shortcut for making file shortcuts in nemo (
ctrl
+shift
+click and drag), but I'd much rather the more intuitive (and memorable) right click menu option.
Similarly, other right click options that are now missing are
- copy to
- other pane
- home
- Downloads
- etc
- move to
- other pane
- home
- Downloads
- etc
How can I get those options back as well?
I've tried searching through the Nemo preferences, but to no avail.
falsePockets
(867 rep)
Jun 18, 2016, 02:33 AM
• Last activity: Jan 6, 2022, 04:18 AM
0
votes
1
answers
330
views
Double-clicking desktop folder opens geany editor instead of clicked folder
When double-clicking a folder icon on the desktop, I expect that folder to be opened in a file browser. On my system, the `geany` editor is opened instead. Uninstalling `geany` solves the problem. Re-installing `nautilus` and `geany` does not solve the problem. Environment: * Ubuntu 20.04.3 LTS * Gn...
When double-clicking a folder icon on the desktop, I expect that folder to be opened in a file browser. On my system, the
geany
editor is opened instead.
Uninstalling geany
solves the problem. Re-installing nautilus
and geany
does not solve the problem.
Environment:
* Ubuntu 20.04.3 LTS
* Gnome 3.36.8
* geany 1.37.1-2~16.04
* Nautilus (aka files) 3.36.3-stable
Any help resolving this problem will be highly appreciated.
Mike
(1 rep)
Nov 4, 2021, 06:42 AM
• Last activity: Nov 8, 2021, 07:56 AM
0
votes
1
answers
52
views
How to run 2 lines in GUI command line shortcut
I've installed a new version of an app. Currently it's GUI shortcut leads to `/usr/bin/flameshot` [![/usr/bin/flameshot][1]][1] [1]: https://i.sstatic.net/n4Nju.png But I've installed it in a different path and now I run it from the terminal like this: `cd ~/Applications/Flameshot; ./Flameshot-0.10....
I've installed a new version of an app.
Currently it's GUI shortcut leads to
But I've installed it in a different path and now I run it from the terminal like this:
/usr/bin/flameshot

cd ~/Applications/Flameshot; ./Flameshot-0.10.1.x86_64.AppImage
How can I replace the GUI shortcut to run the new version without blocking the terminal (background)
Elad Benda
(125 rep)
Aug 7, 2021, 05:51 PM
• Last activity: Aug 7, 2021, 08:00 PM
2
votes
2
answers
14847
views
How to create a shortcut for eclipse
Today i downloaded the latest installer(`eclipse-inst-linux64.tar.gz`) of eclipse from the official website and i installed in my system. now i want to create a shortcut to launch the program. how can i do that ? if i double click on the eclipse file which is selected as the screenshot i am able to...
Today i downloaded the latest installer(
eclipse-inst-linux64.tar.gz
) of eclipse from the official website and i installed in my system. now i want to create a shortcut to launch the program. how can i do that ? if i double click on the eclipse file which is selected as the screenshot i am able to launch the program, someone help me to create a shortcut 
Jaison Joseph
(23 rep)
Aug 25, 2017, 11:06 AM
• Last activity: Jul 30, 2021, 07:52 AM
2
votes
2
answers
4216
views
How can I view an application shortcut's content to find what exact executable line it runs?
I have been wanting to inspect the executable lines from these application shortcuts for several applications as I am having trouble opening each, or would like to know what settings they use by default to start the program. Any way, I would like to know how to do this. It is a common flow for me to...
I have been wanting to inspect the executable lines from these application shortcuts for several applications as I am having trouble opening each, or would like to know what settings they use by default to start the program.
Any way, I would like to know how to do this. It is a common flow for me to see how the program was set-up and inspect where it is failing at each step in the process. I do this in Windows a lot and end up right-clicking the shortcut in the Start Menu or Taskbar, with or without modifier keys being held down at the same time so that I can get the correct context menu items to show up, and select "Properties".
I would like the equivalent in Linux-based OS distributions, for at least Ubuntu, Mint, and elementaryOS.
For more information: I am still learning how things are usually for these types of operating systems, but through some non-trivial amount of effort, have found that the information I am looking for is usually stored as
*.desktop
files, and they can be found under at least these 3 directory paths:
* /usr/local/share/
* /usr/share/applications/
* ~/.local/share/applications/
For example, I want to create a shortcut to the "Remote Desktop Viewer" application that comes with elementaryOS, so that it opens a connection to a certain host automatically, without having me to click buttons and enter in connection information into the dialog. I would like to avoid having to do guesswork for internet searching for the matching command line executable.
> **Edit:** Found out the application executable file's name was "Vinagre"; who would have thought of that..
This is the trouble I would like to avoid in the future :)
Pysis
(147 rep)
Aug 5, 2015, 08:04 PM
• Last activity: Jul 23, 2021, 06:36 AM
0
votes
1
answers
58
views
Is it possible to get exact command when triggering shortcut?
For example, I want to know what command invokes when I hit `Fn` + `F12` to increase brightness. Can I get this or any other command when I trigger some shortcut (what's happening behind the scenes) somehow? Distro: Debian 10 (stable) XFCE
For example, I want to know what command invokes when I hit
Fn
+ F12
to increase brightness. Can I get this or any other command when I trigger some shortcut (what's happening behind the scenes) somehow?
Distro: Debian 10 (stable) XFCE
Alexander Lavrenko
(93 rep)
Jul 15, 2021, 03:55 AM
• Last activity: Jul 15, 2021, 06:37 AM
3
votes
1
answers
3293
views
Export and import KDE custom shortcuts?
It is possible for the global shortcuts in the dedicated GUI. [![enter image description here][1]][1] Is it possible for the custom shortcuts too? A similar option as above is not present in the KDE4 GUI for custom shortcuts. [![enter image description here][2]][2] But I imagine there must be some f...
It is possible for the global shortcuts in the dedicated GUI.
Is it possible for the custom shortcuts too?
A similar option as above is not present in the KDE4 GUI for custom shortcuts.
But I imagine there must be some file to back-up.


user32012
Feb 15, 2016, 03:00 PM
• Last activity: Jun 19, 2021, 10:25 AM
1
votes
2
answers
1803
views
Changing keybindings for arrows in Alt+Tab application switcher in Gnome 3
In Gnome 3 you can enter `dconf-editor` and navigate through lots of settings. Amongst others you can navigate to `/org/gnome/desktop/wm/keybindings/` to find that Alt+Tab brings up the application switcher. You can change the keybinding for the application switcher or even add new ones in addition...
In Gnome 3 you can enter
dconf-editor
and navigate through lots of settings. Amongst others you can navigate to /org/gnome/desktop/wm/keybindings/
to find that Alt+Tab brings up the application switcher. You can change the keybinding for the application switcher or even add new ones in addition to the ones already present. However, once the application switcher is open, and while you're still holding down Alt, you can use the arrows to navigate within it. I'd like to add custom keymappings hjkl
in addition to the arrows, but I cannot find the keymappings for this any place in the dconf-editor
(yes, I actually looked through the whole thing and didn't find it). Does anyone know where I can find these settings?
Thanks.
sigvaldm
(116 rep)
Feb 15, 2018, 09:22 PM
• Last activity: Mar 24, 2021, 09:37 AM
0
votes
1
answers
757
views
Terminate X11 Application with Mouse
There is a feature in X11 that temporarily transforms your mouse pointer into a *"kill X11 application"* icon (I don't even know what to call it) and allows you to forcibly terminate a process that owns an X11 window. On occasion I've activated this feature accidentally and want to be able to do thi...
There is a feature in X11 that temporarily transforms your mouse pointer into a *"kill X11 application"* icon (I don't even know what to call it) and allows you to forcibly terminate a process that owns an X11 window. On occasion I've activated this feature accidentally and want to be able to do this consistently.
What is the keyboard, mouse shortcut, or other means of activating this feature? How does it work? is it a legacy feature and/or only works under some environments?
Coder Guy
(103 rep)
Mar 19, 2021, 05:14 PM
• Last activity: Mar 19, 2021, 05:29 PM
Showing page 1 of 20 total questions