Questions tagged [desktop-file]

Files ending in ".desktop" are defined by a FreeDesktop specification. They use a general-purpose, INI-like file syntax that often describes abstract units like applications, MIME types and MIME type handlers, services, etc.

Filter by
Sorted by
Tagged with
1
vote
1answer
534 views

How to set environment variable in KDE desktop file

I need to set GDK_BACKEND=x11 prior to launching Eclipse, because of https://bugs.kde.org/show_bug.cgi?id=389495. I tried the following in the .desktop file: Exec=GDK_BACKEND=x11 /home/glodt/...
0
votes
1answer
1k views

Launch BASH script by clicking icon and preserve terminal icon

My problem is pretty simple, but I must admit, I don't know any elegant solution. I have a problem, that I often accidentally click different icon that I wanted. It's really very unpleasant, so I've ...
1
vote
1answer
1k views

Programmatically creating .desktop file to autostart application

Using a Java program, I added a .desktop file in /etc/xdg/autostart to run a script when a user logs in. The script didn't run at user login, and when I checked the start up applications dialog ...