It's weird that creating desktop shortcuts is currently so primitive.  I found the following:   That helps.  However, if there's something wrong with the shortcut, it just doesn't do anything.  For instance, I tried to create a shortcut for this command line to create a shortcut.  When I double-click it, it just does nothing.  This is the resulting text of my "Create Desktop Shortcut.desktop" file on the desktop:  [Desktop Entry] Version=1.0 Type=Application Terminal=false Icon[en_CA]=gnome-panel-launcher Exec=/usr/bin/gnome-desktop-item-edit ~/Desktop/ --create-new Name[en_CA]=Create Desktop Shortcut Name=Create Desktop Shortcut Icon=gnome-panel-launcher   As I said, when I double-click this, or right-click it and select Open, nothing happens.  Is there a log file where something about this would be written to?
6383
In older versions it was easy to create a launcher on my desktop. All I had to do is right click on my desktop and select the "create launcher" option.  How can I create such launchers now?
90799
I want to create a keyboard shortcut to i.e. open Firefox while I am working in another application. I know I can use ⌘ CMD+T when I am in Firefox to open a new tab.   I haven't found a way to create that kind of shortcuts in System Preferences.  Any ideas?
52370
How can I find which command is bound to a give keyboard shortcut? I remember playing with my keyboard shortcuts recently in different places: System/Preferences/Keyboard Shortcuts, "gnome-keyboard-properties" and Compiz. Is there a central place where all those shortcuts are kept or do I have to remember all the places where I set a keyboard shortcut?
116746
How can I add command line options to an executable in a shortcut in Windows XP?  For example in the shortcut properties in target I have:  "c:\path\to\exe\pogram.exe"   I want to add some options:  "c:\path\to\exe\program.exe -option1 -option2"   However when I do this I get an error saying that the name specified in the target box is not valid.
47865
I'm trying to simulate a media key press using a custom shortcut.  So far, I've been able to achieve the simulation I need using the command:  xdotool key XF86AudioPlay   It works perfectly, it pauses or starts the music player every time it is run.  The problem comes when trying to run it as a shortcut.  First I tried to run an alias with a custom shortcut, but it did not work.  As explained on :     The commands run by keyboard bindings are not parsed via a shell. Your best bet is to create a directory bin in your homedir.   Next I created the suggested script and named it simplay:  #!/bin/sh xdotool key XF86AudioPlay   It is located inside a bin folder which is part of the PATH, this works fine and can be run from any location.  When trying to create the Custom Shortcut, I was unable to get it to execute, the configuration is the following:  Name: test Command: simplay  Shortcut: Ctrl+Alt+R   After searching a bit more I found another way to execute the shortcut:  gnome-terminal -e simplay   I tried it on a terminal and noticed that when executing it it would rapidly open a new terminal window, execute the child process, pausing the music and immediately close the window.  I changed the command on the shortcut and when hitting it I noticed the same behavior opening a terminal and immediately being closed but this time the child process did not pause the music, which makes me think that the script has been called on all my previous attempts but it is somehow not being able to execute.  How can I solve this problem according to your knowledge?
71664
I've got a couple of shortcuts on my desktop and on some of them I've configured the "Shortcut key" to a keyboard combination. For example I have a shortcut pointing to d:\documents\todo.txt and I've set Shift + Alt + T. This naturally opens up using notepad.  Double-clicking on the icon always opens up the text file immediately. Using the keyboard shortcut though is sometimes very (5-10 seconds) slow. Note that during that time CPU utilization does not rise.  This happens to all my machines (both old and new ultra fast boxes) in Windows XP (various versions) and Windows 7.  There are  but no solution.  Is there an explanation and solution to this problem?  Edit: The behavior is not consistent. I have 30 desktop shortcut and 5 of them have keyboard shortcuts assigned. I'm not interested in software alternatives for this Windows functionality. I want to know what the problem is and how to solve it.
51521
I want to place a link/shortcut/launcher in my unity panel (ubuntu 12.10).   I followed  on handytutorial.com to create a custom launcher and drag it to the panel.  I just need to know which command do I have to input. Is this possible?
39562
I installed Ubuntu 19.10 and have issues trying to create a desktop icon with gnome-desktop-item-edit.  $ sudo gnome-desktop-item-edit ~/Desktop/ --create-new    sudo: gnome-desktop-item-edit: command not found  $ which gnome-panel    /usr/bin/gnome-panel  $ gnome-panel --version    gnome-panel 3.34.0   Is this an issue with Ubuntu 19.10 or a problem with the gnome-panel package?
112877
How can I open a command prompt in current folder with a keyboard shortcut in Windows 7? Is there any way to implement this? I think Autohotkey could do this, but don't know how.
70245
To have a "minimize window" option through right click on an icon in the Unity launcher (Ubuntu 14.04), I followed the detailed instructions  about changing a .desktop file and made a custom Firefox launcher in ~/.local/share/applications/ folder. The relevant part of the .desktop file is:  Actions=NewWindow;NewPrivateWindow;Minimize  [Desktop Action NewWindow] Name=Open a New Window Exec=firefox -new-window OnlyShowIn=Unity;  [Desktop Action NewPrivateWindow] Name=Open a New Private Window Exec=firefox -private-window OnlyShowIn=Unity;  [Desktop Action Minimize] Name=Minimize Windows Exec=sh /home/myusername/Documents/xdotool_sh/minimize.sh firefox OnlyShowIn=Unity;   The desktop action "Minimize" invokes a simple shell script, minimize.sh that has the following content:  #/bin/bash name=$1 for i in $(xdotool search --class "$name"); do     xdotool windowminimize $i done   The script uses xdotool, that can be installed from the official repositories, to find all the firefox windows, iterate over them and minimize them.  The script works and the launcher right menu option "Minimize Windows" works as well, but as soon as the windows are minimized, the mouse pointer gets in "busy" mode and stays like this for about 20 seconds (although the mouse actions are still responsive).   Does anyone know why starting a shell script from a right menu option in Unity could lead to this behaviour?  EDIT: Apparently the wait period is inevitable, as explained in Jacob Vlijm's answer. Since the mouse remains responsive, avoiding the transformation of the pointer in the spinning wheel is a partial esthetic workaround, as explained on .  EDIT2: giving the system a fake window is a better solution, as explained by Jacob below.
70108
I'm essentially wanting to create a desktop shortcut to open a window of Firefox without tabs, locked address bar, no menu, etc.  Similar to what some pop ups look like or what Chromium Desktop Apps look like.  What options can I use to accomplish this from the command line?
2453
I find useful the gnome-terminal feature of editing (and creating) profiles with the option of holding the terminal open after the command exists.    (I like to use context menu file manager to run commands to display info about a file in a terminal, to show info in a terminal while processing, etc.)  I wasn't able to find the same feature in other terminals, so I have to install gnome-terminal even when it's not the default terminal.  Are there other terminal emulators with this feature? Is there a command to be used in a given terminal that would have the same effect?    I want, with a single line (to be added as context menu entry), to open the terminal, run a command and display info in the terminal window that stays open.   Example: in pantheon-files (elementary os) I add a context menu entry for media info using a contractor file with a line like Exec=xterm -hold -e "mediainfo -i %f" (according to a comment below) or Exec=gnome-terminal --window-with-profile=new1 -e "mediainfo -i %f".
30406
I have a simple one line command which works perfectly in terminal, but does not work in the "Startup Applications" app thing.  The line of code is : xmodmap /home/seph/Code/Ubuntu\ Scripts/Xmodmap  It's not that much of a hassle to copy it from "Startup Applications" and paste it into terminal, but I don't really get why it isn't working.  I followed someone else's instructions to do it in the first place, so maybe I did something wrong?  In any case, wouldn't it be the obvious and logical assumption that it just types whatever you put in it into Terminal?
20948
How can I add a right-click desktop menu entry to create a text file to Gnome 3 in Ubuntu 16.04.02?
5239
I am running Ubuntu 15.10.  My /usr/share/applications/sublime_text.desktop contains the following:  [Desktop Entry] Version=1.0 Type=Application Name=Sublime Text GenericName=Text Editor Comment=Sophisticated text editor for code, markup and prose Exec=/opt/sublime_text/sublime_text %F Terminal=false MimeType=text/plain; Icon=sublime-text Categories=TextEditor;Development; StartupNotify=true Actions=Window;Document;  [Desktop Action Window] Name=New Window Exec=/opt/sublime_text/sublime_text -n OnlyShowIn=Unity;  [Desktop Action Document] Name=New File Exec=/opt/sublime_text/sublime_text --command new_file OnlyShowIn=Unity;   When I right-click on a markdown file (xxx.md) in Gnome Files (formerly "Nautilus"), I cannot see "Sublime Text" as a choice, even when I select "View All Applications".  I even tried adding %F to the lines Exec=/opt/sublime_text/sublime_text -n and Exec=/opt/sublime_text/sublime_text --command new_file in the [Desktop Action Window] and [Desktop Action Document], respectively, but it did not change anything.  I even ran sudo update-desktop-database.  What am I doing wrong?
9256
Keyboard shortcuts in gnome-terminal (Ctrl+Tab and Ctrl+Shift+Tab) in 12.04 don't seem to be working. Is there a setting that I dont know of?
8274
I just upgraded to Ubuntu 17.10 but all my desktop shortcuts are gone.  There is no longer a Create Shortcut option when I right-click either.   How do I add these now?