Questions tagged [.desktop]
A .desktop file is a launcher. When run, it executes a command, which usually launches an application. Use this tag if you are asking a question about using a .desktop file or about the .desktop file format in general.
326 questions with no upvoted or accepted answers
10
votes
0
answers
867
views
After screen lock, open windows jump to other monitor
(regular Ubuntu 22.04 desktop - fully updated)
After my screen locks, I always have some windows moving from one monitor to another. If I had 2 similar size monitors, it wouldn't bother me that much, ...
9
votes
0
answers
1k
views
Use desktop-file-install to uninstall?
I installed a desktop file using desktop-file-install now I changed my mind and I want to remove it, can I use desktop-file-edit to manage the installed desktop files?
I particularly want to use ...
6
votes
1
answer
2k
views
In Ubuntu 18.04 (GNOME desktop), a .deskotp application launcher pointing to a script doesn't run said script
Well for Unity/Ubuntu 16.04 I added a custom script to the quick launch menu by added a *.desktop file inside ~/.local/share/applications/
With content as:
[Desktop Entry]
Type=Application
Terminal=...
5
votes
0
answers
4k
views
Icons put in /usr/local/share/icons/hicolor/apps
I want to create a new desktop entry and a new MIME type for an app called FreeFileSync for all users.
I read that it recommends to do in directory /usr/local/share. More precisely, the app recommends ...
5
votes
0
answers
520
views
How can I get a change to a .desktop file get recognized by Unity/Gnome?
Unity/Gnome does not appear to pickup changes to .desktop files automatically (in particular the "Name" and "Icon" fields).
I have found update-desktop-database, but that seems to update the MIME ...
5
votes
1
answer
262
views
how to use an image for my custom .desktop file for unity previews
When one left clicks an application, it also displays the screenshot of the desired application.
screenshot of the desired effect:
I can't find the screenshotlink=? command in the vlc.desktop ...
4
votes
1
answer
7k
views
How can I make a custom desktop file for VS Code for my dock, under Ubuntu 20.04?
I want to make a launcher icon on the dock for VSCode under Ubuntu 20.04. I called it code.desktop and put it in .local/share/applications, then pinned it to the dock. However, when I click on it, I ...
4
votes
0
answers
2k
views
Create .url files when drag and drop from browser instead of .desktop
I used to drag-and-drop links from the browser in Windows to a folder to save them. That created files with extension .url, and the content is like:
[InternetShortcut]
URL=https://askubuntu.com/
When ...
4
votes
0
answers
4k
views
How to have two separate Chrome dock items
I'm using super+1 to access the first item on the dock/launcher, which is Google Chrome.
I want to have super+2 bound to another instance of Chrome, so that I could go between them with my keyboard.
...
3
votes
1
answer
191
views
.desktop file does not work
I am using Ubuntu 20.04. I have the a file, arduino_ide.desktop, in /usr/share/applications/, but when I click on Activities and search for arduino_ide nothing shows up.
Here is the file:
[Desktop ...
3
votes
2
answers
3k
views
Desktop file doesn't work
I'm trying to make a desktop file for vcvRack. I have the program and other files saved in ~/.Rack/. The program launches fine when I double click it or launch in from terminal using ./Rack.
The file ~...
3
votes
0
answers
95
views
Create a folder for all the shortcuts
My job has a certain standardization for Desktops in Windows, however we've decided to chance some of our O.S.s to Ubuntu. Herein lies the problem, in order to make the transition "as smooth as ...
3
votes
0
answers
250
views
.desktop file execution problem
Having upgraded from 18 LTS to 20 LTS, all of my .desktop shortcut files located in folders stopping working.
Any of the files may be copied onto the desktop, and once I select "Allow Launching&...
3
votes
0
answers
52
views
Desktop folders are auto arranged after I add/delete some folder on desktop [Ubuntu 20.04]
Since I have upgraded from Ubuntu 18.04 to 20.04 I am having this problem that Desktop folders are auto arranged whenever I add or delete some folder on desktop. Most of the times some certain folders ...
3
votes
0
answers
717
views
.local/share/applications not overriding /usr/share/applications on my Kubuntu 20.04 install
I’m having an annoying issue on my Kubuntu 20.04 install. I fail to to override a menu entry using KMenuEdit. It creates a file under “~/.local/share/applications” but it gets ignored and the original ...