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.

210 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
217 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
0answers
244 views

Nautilus .desktop launchers not working (19.04 disco)

I recently updated my system to Ubuntu 19.04. For some reason .desktop launchers seem to no longer work in Nautilus. They are now recognized as text files instead of being rendered as actual ...
4
votes
0answers
1k 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=...
4
votes
1answer
1k views

How do mimeinfo.cache files relate to mimeapps.list?

The different mimeinfo.cache files are populated by update-desktop-database from the .desktop files you have around. However, file browsers and such seem to use mimeapps.list files. Manipulating ...
4
votes
0answers
374 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 ...
3
votes
0answers
323 views

Ubuntu 16.04 custom application not launching after creating .desktop file

I hope I have a straight forward question that I am just not able to resolve because I am so inexperienced. I am running Ubuntu 16.04 and want to use the astronomical image viewer sao-ds9. I tried to ...
3
votes
0answers
544 views

“Unable to make the service xyz executable, aborting execution”

I am trying to integrate Peazip portable into my KDE desktop. I have extracted peazip portable in a path in my home directory. I added a symbolic link to the executable by running: sudo ln -s /home/...
3
votes
0answers
1k views

Run .desktop file at startup (and follow its Icon= specification)

I want to run a script at startup that would use a custom icon that should appear in Plank dock. For that I have created a .desktop file in ~/.local/share/applications that runs the script (see all ...
3
votes
1answer
1k views

Run multiple GUIs at the same time

I know that Ubuntu has multiple virtual consoles run by Getty which you can switch between using CTRL + ALT + F1-F8 I also know that X server runs on the F7 instance and X server runs a GUI like ...
3
votes
0answers
615 views

After login Desktop not showing 16.04

I am using Ubuntu 16.04 and I have installed Kali linux tools on top of that using Katoolin, after restarting I can enter the password but desktop showing blank no icons. I used below command but it ...
3
votes
0answers
1k views

Where are SVG launcher icons automatically loaded from?

I have created several desktop shortcuts for VirtualBox machines (VBMs) on my 15.04 Ubuntu OS. I've noticed that desktop files in /usr/share/applications and ~/.local/share/applications usually have ...
3
votes
1answer
570 views

Which hidden files in the /home/user folder control the desktop?

The background story: The other day my (L)ubuntu offered me to upgrade from 12.04 LTS to 14.04 LTS, which I gladly accepted. At the end of the evening, I started the update out of the update manager, ...
3
votes
1answer
791 views

.desktop file in xsessions folder not autorunning

I was setting up a kiosk per this tutorial http://www.instructables.com/id/Setting-Up-Ubuntu-as-a-Kiosk-Web-Appliance/?ALLSTEPS I have hit a problem with the kiosk.desktop file since it is not ...
2
votes
1answer
115 views

KDE task bar not recognizing the .desktop file

I have Ubuntu 18.04 with Plasma 5 desktop. I'm a programmer, and I have a question about a rare situation. I have a desktop file in ~/.local/share/applications/xapp.desktop with a content like this:...
2
votes
1answer
48 views

Interactive icon / .desktop

I'm wondering if it's possible to create an interactive .desktop file. An icon to a directory you can put on the desktop that changes when something is stored in the directory. What I want is create ...
2
votes
2answers
79 views

How to pass a terminal-title to a terminal opened via desktop shortcut (.desktop)?

Is there a way to set a title to a terminal that is opend via desktop shortcut? The perfect solution would be if the [Desktop Entry] Name=myTitle could be displayed in the title. Does anyone know if ...
2
votes
0answers
510 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 ...
2
votes
0answers
136 views

Ubuntu 17.04 desktop not loading

I've had Ubuntu 17.04 working for a few weeks along with Windows 10 since my computer supports dual boot. When I started my computer and tried to login the background went black and only my cursor ...
2
votes
0answers
432 views

How can I add a preview image (not an icon) to a .desktop file that will show up when I select the program in the Dash?

Before I start, let me just be clear, I am NOT asking how to add an icon. When I go to the Dash, and right click on an application, it says "No image available." How do I add an image? Here are the ...
2
votes
0answers
1k views

Desktop file not working

I installed visual studio code from a tar file in /opt/ . So I had to make a desktop file for the application as shown below [Desktop Entry] Type=Application Name=Visual Studio Code MimeType=text/...
2
votes
0answers
1k views

How to make Lubuntu run smoother on old hardware?

I've installed Lubuntu today and noticed that the performance of it on my computer even after that distro being so lightweight is a bit heavy on my system. It has all those animations when you open ...
2
votes
1answer
953 views

Running a long command, split into multiple lines, in a .desktop file?

Say we have this file, start-term-tabs.sh: gnome-terminal \ --tab --title="Term 1" \ --working-directory=/tmp \ -e "bash -i" \ --tab-with-profile=Default --title="Term 2" \ --working-...
2
votes
0answers
25 views

I seem to have two desktops running concurrently as well as over the top of each other

hope to god someone has seen this and knows wtf is going on :) I hardly ever log directly into the machine and will generally just use X2GO to connect to it remotely. I have not requested to install ...
2
votes
0answers
167 views

Script crashes when starting from .desktop file

When I execute script from terminal by hand, it runs without problems: gksudo /path/to/module.sh But when I use .desktop file to run script on startup: [Desktop Entry] Type=Application Exec=gksudo /...
2
votes
3answers
86 views

I restarted for a Ubuntu update and I now have a command line when it boots. How do I get back to my desktop?

I restarted it and now I have this issue. I have tried typing in alt+f7, but that doesn't work. How do I get my desktop back?
2
votes
1answer
1k views

Screen refresh problem on Unity over Ubuntu 15.10

I recently upgraded from Ubuntu 15.04 to Ubuntu 15.10 with sudo do-release-upgrade Everything worked fine. But when I tried to change the desktop background unity crashed. I restarted the computer ...
2
votes
0answers
57 views

Obtain different launcher items with .desktop files running the same executable

Suppose you need different launchers to run the same application, as in S1.desktop: [Desktop Entry] Name=S1 Comment=Open a terminal with ssh connection to S1 Exec=gnome-terminal --maximize --tab --...
2
votes
0answers
1k views

How to launch .desktop file from terminal

I have a file on my desktop named "Firefox - Profile B.desktop". I am running Firefox in profile A. I tell Firefox Profile A to run a command in terminal. I'm trying to make it launch "Firefox - ...
2
votes
0answers
229 views

Running CLI/terminal programs as entirely separate program (i.e not as an instance of Urxvt with -e toggle?)

I'm currently running Openbox as WM, with Urxvt as terminal emulator, and zsh as shell. I use Mutt for emailing, Ranger for files, Cortex for redditing, Newsbeuter for RSSing. All of these programs ...
2
votes
3answers
224 views

Just upgraded to the latest kernel version and the desktop stops responding

I have just completed my system update(it downloaded about 300 MB), after a restart the desktop stopped responding, there is no wallpaper on the desktop, right click does not work(it is happening only ...
2
votes
1answer
70 views

Ubuntu Desktop corporate warning splash page

Good Afternoon The Windows servers in my office have a corporate warning splash page whenever a user logs on to the system. The user would then have to click "ok" to acknowledge the warning that ...
2
votes
0answers
718 views

Custom launcher in Ubuntu 12.04 xdg/autostart

I have some script that should start when user logs in. I've created .desktop file and put it into /etc/xdg/autostart. It works on two pretty old PCs with Ubuntu with a long life (10.xx -> 11.10 -> 12....
2
votes
2answers
306 views

Desktop Switcher like MacOS or PearOS 7?

I saw the Desktop Switcher in PearOS like this: Can I have the same in my Ubuntu 12.04? I installed a PearOS, but I find no name to this Desktop Switcher. Thank for help.
2
votes
1answer
332 views

Xubuntu 12.10 cannot archive folder on desktop

When I right click a folder on the desktop, there's no option to archive it. I actually have to open up the Thunar file manager, navigate to the desktop folder, and right click on the folder in order ...
1
vote
0answers
110 views

Need a Universal Username for a .desktop file. Can someone help? $USER / $LOGNAME Don't Work. 18.04

Trying to create a .desktop file for a program and it requires a universal username path so instead of Exec=/home/john/myscript.sh it's Exec=/home/$USER/myscript.sh. in .desktop files you need an ...
1
vote
0answers
29 views

Which desktop file is my application using?

When I click on Applications from Gnome Shell (Ubuntu 18.04), I only see one "Desktop Icon" for the application Emacs. I want to change the arguments that this desktop icon launches with. However, I ...
1
vote
1answer
61 views

Change GTK 3 themes to spesific apps causing %f not detected

i change my .desktop option for wps, in the exec from Exec=/usr/bin/wps %f to Exec=sh -c 'GTK_DATA_PREFIX=/usr/share/themes/Ant/gtk-3.0/gtk.css wps %f' but the themes not change to Ant, i think ...
1
vote
0answers
42 views

How can I boot from a Xubuntu LiveUSB? My Desktop is broken

Whenever I turn on my computer it opens to a terminal and I have to log in there and run startx to get to my Xubuntu 18.04.3 LTS Desktop. I have no idea how to get back the normal login screen, when I ...
1
vote
1answer
150 views

Teams for Linux snap application will not start

I recently installed Ubuntu 19.04 on my work laptop, and installed Teams for Linux snap for work purposes. Everything seemed to work perfectly at first, but at some point it stopped working. I can ...
1
vote
1answer
106 views

How can I disable the “Connect your online accounts” dialog, from the command line?

I'm configuring users programatically and I don't want them to see the dialog that asks them to "Connect your online accounts". Using the command line, how can I prevent this ever coming up? Using ...
1
vote
1answer
57 views

screenshot - missed option “Take a Screenshot of a Selected Area” on right-click on dock

In Ubuntu 16.04 there was the option "Take a Screenshot of a Selected Area" by right-click on the screenshot app on the dock. In Ubuntu 18.04 this option is gone away. How to restore it? The org....
1
vote
0answers
43 views

Does Bash for Windows create an own desktop?

I downloaded Bash (Ubuntu 18.04) for Windows 10 yesterday and created my account, downloaded a couple of files there. i closed the prompt, now when i open it, it starts from System32 folder i got back ...
1
vote
0answers
151 views

Trying to create wine .desktop shortcut on ubuntu 18.04

The code that made the .desktop works is [Desktop Entry] Type=Application Encoding=UTF-8 Name=BioEdit Exec=wine /home/user/.wine/drive_c/BioEdit/BioEdit.exe Icon=/usr/share/icons/BioEdit.jpg If i ...
1
vote
0answers
59 views

No default icon in GNOME dash

When I open a .desktop file with missing icon its window appears as a completely transparent icon in my GNOME dash. I think there used to be some default icon (purple gears) for this situation. The ...
1
vote
0answers
53 views

Why does opening multiple files from the file manager via “Open With Other Application” yeild different behavior than via return?

Context I want to be able to easily open multiple selected files into (v)splits in Neovim-Qt from the file browser (as opposed to the default of opening into multiple windows). I decided to make a ...
1
vote
0answers
163 views

Can't find Desktop files

So I tried installing League of Legends using Wine and lutris but then decided I did not want that game on my Computer anymore. I uninstalled it from the computer but the icons for it is still in the ...
1
vote
0answers
526 views

How can I change the icon on a custom launcher in the dock?

I have a custom launcher. the last line of the .desktop file is: Icon=/home/user/bin/fritzing-0.9.3b/icons/fritzing_icon.png It looks great in the folder i.e. correct icon. It looks great on the ...
1
vote
1answer
565 views

Cannot open folders from icons on desktop

I'm on Ubuntu 18.04 and noticed sometime that I cannot open any folders from the icons on my desktop anymore. The following error is given in /var/log/syslog when trying: $ cat /var/log/syslog | tail ...
1
vote
3answers
404 views

How do you get a *.desktop file to work for a non-repository app?

I turned the Amazon cloud reader site https://read.amazon.com into a desktop app with nativefier. It works amazingly well as a standalone reader for books that have been downloaded and also ...
1
vote
0answers
101 views

How to create a desktop shortcut (launcher) for “rdeskop” that is able to receive parameters like remote server Ip address?

I have installed "rdesktop" on my Ubuntu and use it to connect to and manage my Microsoft Windows Servers running Remote Desktop Services. I run it from the linux terminal and pass necessary arguments ...

1 2 3 4 5