Questions tagged [.desktop]

A .desktop file describes how a particular program is to be launched, how it appears in menus, etc. It is used by Freedesktop-compliant environments such as Gnome, KDE and Xfce.

33 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
2
votes
2answers
246 views

Duplicates of .desktop files in Linux

I have a duplication of NetBeans for .desktop . I cannot find where these .desktop files are, I have searched for them using the GUI file explorer and cannot find them. And yes, I have looked in /usr/...
2
votes
0answers
55 views

Locate the .desktop file for a special menu item

There are various reasons why orphaned menu items can remain after package removal and need to be fixed in the package. In order to investigate the bug, it can help to see the exact path of the ....
2
votes
1answer
27 views

How to give a program an additional name/label for search?

I am starting a lot of programs via the synapse launcher. For convenience, I'd like to give a program an additional name/label/tag/whatever, such as "XXYYZZ". Is this possible (on XFCE)?
2
votes
0answers
47 views

Formatting of strings in .desktop files

I have accidentally noticed that on my machine (running KDE) fields of desktop entries (those little .desktop files used to make desktop icons and such) may contain some simple HTML-style formatting, ...
2
votes
0answers
178 views

how to specify which terminal is used by gtk-launch

As discussed here, gtk-launch can launch applications either directly or in a terminal window, depending on whether the .desktop file specifies that the application runs in a terminal. It seems to me ...
2
votes
1answer
155 views

.desktop file for ncurses application

I am trying to create a .desktop file for the calcurse ncurses calendar application: [Desktop Entry] Version=1.0 Type=Application Name=calcurse Comment=an ncurses calendar TryExec=calcurse Exec=...
2
votes
1answer
592 views

Making vim the default editor when I double click a file

When I run vim from the start menu, it opens up an xfce terminal window and runs vim. However, when I set vim to be my default text editor and double-click a file, it runs in xterm instead of the xfce ...
2
votes
0answers
239 views

How to make desktop shortcut to start command with custom title font and window borders

Im Using Linux Mint 17.2 rafaela amd64 with cinnamon. I have a couple old windows themes I downloaded and if I apply them with the system settings dialog I get this: t Which is great! Except I only ...
2
votes
0answers
110 views

Keep mouse pointer busy while launching a script

I have a Windows program which is run via wine. Since it needs a couple steps of preparation, I created a script app.sh: #!/bin/sh do-something do-something-else wine app.exe Then I added the app to ...
2
votes
2answers
2k views

How to add a software to the list under “open with” other applications in Linux Mint 16?

I want to add a software to the "open with" other applications list that drops down after clicking on a photo to open. I installed Photoscape on my Linux Mint 16 system but it does not show in the ...
2
votes
2answers
138 views

Nightly show as Firefox in Dash

I have created the following .desktop file in ~/.local/share/applications, when I search "Nightly" Nightly appears in search results with the correct icon(earth at night), but when I opened it it ...
1
vote
0answers
62 views

How debug the launch of a .desktop Desktop's file

When I right click a desktop icon, and click 'Execute' after a certain amount of seconds I get: "Did not receive a reply. Possible causes include: the remote application did not send a reply, the ...
1
vote
1answer
37 views

Desktop environment that raises terminal with gnu-screen instead of starting new one

I want to start a gnu-screen session, in a terminal, from gnome. I wrote the following desktop file [Desktop Entry] Version=1.0 Name=Screen Comment=Use the command line Keywords=shell;prompt;command;...
1
vote
0answers
41 views

Is there a GUI tool to organize 'open with' entries?

As there are several places where a file manager can get its entries for the context menus 'open-with' list, and some of these entries are not too easy to identify by hand, I asked myself if there is ...
1
vote
0answers
208 views

How do i use a different GTK theme for netbeans?

I'm using Adapta blue as default desktop theme in my Fedora Linux workstation. However, I like Ambiance theme rendering of Netbeans IDE 9.0. I modified the launcher's exec in /usr/share/applications/...
1
vote
1answer
423 views

CentOS7 how to get xscreensaver working at login screen?

I was able to place the xscreensaver.desktop shown below in /usr/share/gdm/greeter/autostart to run xscreensaver at the login screen. I can see that the xscreensaver process is running as gdm user. ...
1
vote
0answers
125 views

Can I use .desktop to treat a process as a separate app?

I would like to run a special instance of application foo on the GNOME desktop. Normally all foo windows are grouped together, but I'd like one instance to be treated as a separate application bar: ...
1
vote
0answers
165 views

Different window class for a certain window

First at all i don't know if class is the correct word, so my apologies. I have this *.desktop file to open gnuplot #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=...
1
vote
0answers
280 views

How do I write an application launcher that will start Atom in a custom working directory?

I am maintaining a Jekyll-powered blog and on my local machine its git repository is located at /home/fusion809/GitHub/fusion809.github.io to edit it in Atom I have created this application launcher (...
1
vote
0answers
86 views

How do I assign a value to the Path key in a .desktop file including the $HOME environment variable correctly?

I'm making a .desktop file for Minecraft. Nothing appears to happen upon executing the it. The Exec and Path keys in the file: Exec=java -jar Minecraft.jar Path=$HOME/.minecraft/ I've also tried ...
1
vote
0answers
229 views

How to put a desktop entry into applications list in open-with dialogs?

Here is my desktop file: [Desktop Entry] Exec=/home/kaiyin/workspace/python/python3_scripts/unz.py %f MimeType=application/gzip;application/x-compressed-tar;application/zip;application/x-bzip; Name=...
1
vote
1answer
35 views

Icon stops loading after the application restarts

I have a application which uses "self-restart" mechanism. It kills itself and runs again. When I run it first time (with .desktop file) it loads its icon correctly. The problem is that when it ...
0
votes
0answers
10 views

Udisksctl usage in Desktop Entry (.desktop files): Mount an ISO & Open in default File Manager

I have more than a few ISO files that don't behave with archivers, file managers, or any other graphical tools. For these, only mount or udisksctl will work, but I'd hoped for a seamless solution ...
0
votes
0answers
195 views

What is the correct way to associate MIME type with applications that have multiple desktop entries?

Description Applications in GUI environments represented by desktop entries (files with the desktop extension) can include a key called MimeType for supported MIME types for that application. Some ...
0
votes
0answers
19 views

How to edit desktop script to add Spotify controls ( like save/remove to library, show song or artist detail ) to context menu in Unity Launcher

The question is inspired by this post, https://unix.stackexchange.com/a/316367/319401. I was able to add control of save/pause next/previous to the context menu like the answer said, but couldn't ...
0
votes
0answers
97 views

Invalid desktop entry file: '/usr/share/applications/lxde-x-terminal-emulator.desktop'

i can't run terminal because of this error. contents of file: [Desktop Entry] Version=1.0 Name=Terminal emulator Name[pt_BR]=Emulador de terminal Name[zh_CN]=终端 Name[zh_TW]=終端機 Comment=...
0
votes
0answers
36 views

Debian Gnome desktop - how to add parameters to the start of a program

I can start a program with parameters in a terminal terminator -l MyLayout How do I add parameters on start of a program when I press the command key or go to activities and select the application ...
0
votes
0answers
53 views

How to change user in .desktop file?

I have a .desktop file whose Exec= line I want to be run as another user. In a systemd service file, I can achieve this with a User= and Group= option. How to do the same in a .desktop file?
0
votes
1answer
78 views

I installed Eclipse, how do I make it searchable?

I downloaded the installer and installed Eclipse to my Downloads directory. I also added the path to my Path variable so when I open a terminal and type eclipse, it runs. However, when I open the ...
0
votes
0answers
259 views

Why *.desktop files of Gnome in /usr/share/applications are able to make Gnome fails?

I have a almost minimal installation of Debian 9.3 with Gnome 3 as a desktop environment and lightdm as display manager. It has to run in a kiosk-like mode, so I am getting rid of as much components ...
0
votes
1answer
75 views

freedesktop menus and redundancy of entries

i wanted to create my own menu in xfce, with only the items i needed. i succeeded with the following code: <Menu> <!--find *.desktop files--> <DefaultAppDirs /> <...
0
votes
0answers
620 views

Linux Mint - Just created launcher does not show on MATE desktop but is in ls listing

I created a launcher by right-clicking on my Desktop, filled in the fields and saved it. But it didn't appear on my Desktop. So I opened Caja and it did not show there either. So I opened a terminal ...
-1
votes
1answer
30 views

How to make a Chromium instance with its own icon

As you probably have noticed most calendaring applications in Linux suck, so I have decided doing something about it. Basically I want to create an Arch package that puts Google Calendar right into ...