Tagged Questions

A .desktop file is a launcher. When run, it executes a command and 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.

learn more… | top users | synonyms

1
vote
4answers
54 views

How Can I Run an Shell Script With .desktop Config File?

I am trying to run a shell script with a .desktop file but it doesn't seem to work, producing an error of There was an error launching the application at each attempt. I have the sh and .desktop files ...
-2
votes
0answers
9 views

autostart app works fine with ~/.config/autostart..however, how do i lock it, so that no can getinto desktop with accepting the terms?

I hope my question make sense... I wrote a custom python warning code.. and configured in /home/username/.config/autostart. it works fine it opens the warning banner once i reboot and log in.. ...
0
votes
0answers
18 views

.desktop file with .bashrc environment

I am using IntelliJ IDEA, and it uses some of the environment variables defined in the .bashrc script. If I run its shell script from the terminal everything works fine but if I create a .desktop ...
-1
votes
1answer
26 views

Launch a .desktop file from boot

I have a .desktop file on my desktop that launches a html page. I need the .desktop file to run from startup, what would be the best way to do this? I have tried crontab and also the startup ...
0
votes
2answers
37 views

execute shell script from desktop in xfce

At first I just made a link to the .sh file on my desktop which failed to execute by double click. Then I've read about .desktop files and made one still to no avail. The program I want to run is a ...
0
votes
0answers
21 views

desktop not loading after moving /home

Desktop does't loand after moving /home in 14.04 The /home link does go to my home, but the ~ doesn't, it defaults to root. Have tried ccsm instal in other answers, but that doesn't work - i'm ...
0
votes
0answers
29 views

Ubuntu has lost it's task bar and everything from the desktop!

I have a laptop with Ubuntu 14 on - been playing about with EmberJS a lot recently and find Ubuntu a friendlier platform than OSX (I dread to think what it's like on Windows!) for this stuff. Anyway ...
0
votes
0answers
27 views

Chrome Remote Desk, dont work

anyone can help me to run this extension, and perform the command post askubuntu post
3
votes
1answer
48 views

Desktop file icon hijacks every newly opened terminal window

I have a desktop file that runs the following script: [Desktop Entry] Type=Application Terminal=true Name=MYAPP Icon=/usr/local/myAppDir/AppIcon.png Exec=/usr/local/myAppDir/myApp It does work, ...
0
votes
0answers
46 views

Unable to run custom Launcher entry which should run app as root

I'm trying to add an option to my Launcher which would open the application as root. My /usr/share/applications/sublime-text.desktop entry looks like this: [Desktop Entry] Version=1.0 ...
0
votes
1answer
27 views

association window <-> .desktop file <-> launcher entry

I'm trying to integrate my JS code with unity using low level dbus messaging. I'm able to set launcher icon properties (progress, count, menu etc) for known .desktop files ( for example, ...
1
vote
1answer
68 views

Cannot add an application to the launcher

I've downloaded Eclipse and I want it to be on my fast-launching dash bar but the problem is that, as you all probably know, Eclipse does not install but is inside a normal archive. So I tried to ...
-1
votes
1answer
21 views

Stencyl.Desktop not working

I have installed Stencyl on ubuntu and it is perfectly working fine from terminal commands, after making some amendments in Stencyl file. Now i want to make desktop entry for the Stencyl and wish to ...
1
vote
1answer
88 views

I created a desktop file in /usr/share/applications, but it doesn't show up in Dash

I've created a .desktop file. [Desktop Entry] Exec=cd /opt/sqldeveloper/sqldeveloper/bin && bash sqldeveloper $* Terminal=false StartupNotify=true Categories=GNOME;Oracle;Utility;Development; ...
1
vote
1answer
57 views

Desktop entry does not appear in Unity launcher

I created a .desktop entry for a custom QGIS installation in ~/.local/share/applications. For some reason the Unity launcher and Kupfer refuse to index the entry - it does not show up. Here is the ...
1
vote
1answer
439 views

Adding Folder shortcut to Launcher Ubuntu 14.04

I want to add some folder to the launcher so that I can access them at ease. How do I add shortcut to launcher?
0
votes
0answers
39 views

Upgrade to Ubuntu 14.04: Blank desktop

I just upgrade my Ubuntu to version 14.04, but the desktop after logging in is blank (no sidebar, no menu bar). I can open tty with Ctrl+Shift+F1 (F2) and log in, so I did try some solutions posted in ...
2
votes
1answer
84 views

nautilus show desktop file as normal file

here is my desktop file. nautilus show icon and name i set in desktop file. ▶ cat gitauto.desktop [Desktop Entry] Type=Application Terminal=true Name=Git Auto Push/Pull Icon=github-color.svg but ...
2
votes
1answer
60 views

Adding my launcher to the Unity Launcher automatically. How?

Based on official documentation: In order to add your launcher to the Unity Launcher on the left, you select and drag it onto the Launcher panel. Alternatively, you can place your .desktop ...
0
votes
1answer
52 views

Unity launcher made with Alacarte iconless

trying to create a launcher with a .png image file and main menu keeps on removing it. is .png not supported or do I need to edit the image first?
0
votes
1answer
57 views

How to use DRI_PRIME automatically from launcher

I thought something like the command ("komut" in picture)in the desktop launcher from attached picture but it doesn't work unfortunately.You get what i intend to do i hope. so how do i make that ...
2
votes
0answers
34 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 ...
1
vote
2answers
82 views

.desktop file doesn't execute a script, works fine when run by hand

I am having problems with my .desktop files. I have a shell script that constantly watches for a file to be put into the "Downloads" folder. When a file is put into the folder it automatically ...
0
votes
2answers
45 views

Trying to make a .desktop file that runs a .py file

I created a .desktop file that looks like this: [Desktop Entry] Name = My Script Comment = Test Exec= /home/zito/Documents/loc_tk.py Icon= Terminal=false type=Application I put the hashbang in the ...
0
votes
0answers
25 views

.desktop restore icon expects what size?

I created a .desktop file and set its icon to a png file that is 144x144 pixels. However on creation the icon is a white paper. I have to click resize and make it either bigger or smaller to take. And ...
2
votes
1answer
132 views

How to remove duplicate entries in dash?

After upgrading to Ubuntu 14.04 from 12.04 I have duplicate entries in dash. How can I get rid of them?
2
votes
1answer
90 views

Why I cannot mount ISO file from this .desktop file by `fuseiso`?

I want to mount iso files without root permission by fuseiso, and this is how to mount a iso file: fuseiso -p '/path/to/isofilename' '/media/isofilename' , so I make a .desktop file followed ...
0
votes
0answers
101 views

Weird graphical glitches with Xubuntu 14.04 including folder icons disappearing on mouseover

I’ve just installed the above version on my ailing Dell Dimension tower PC - great to be able to get it up and running again... The only thing is that there seems to be a strange graphics issue - ...
2
votes
0answers
67 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, ...
0
votes
0answers
41 views

gtk-launch desktop file with arguments

I have a .desktop file with following Exec-line Exec = python script.py %u however, when I do gtk-launch test.desktop /home/user the argument /home/user is not passed to script.py Why? Or is there ...
0
votes
0answers
29 views

Odd Ubuntu graphical bug when viewing desktop

I'm having this odd bug which won't fix itself It happens after entering my password and logging in - it's like the desktop background is missing and so it just shows no pixels. I don't know what ...
0
votes
1answer
126 views

How to create a desktop entry for an application located in the user space?

I compiled the latest QGIS sources into ~/bin/qgis. I can start the application from the command line running ~/bin/qgis/bin/qgis. Now I want to have application launcher entry. So I copied the ...
0
votes
1answer
25 views

keep getting internal system errors and can not see the desktop

I have found quite a few topics within this problem, but didn't really find a clear answer. I have updated my Ubuntu. The update I have installed Ubuntu update center said it had some unothorized ...
2
votes
1answer
397 views

How to refresh launcher icon application menu in ubuntu 12.04?

After modifying a desktop file in /usr/share/applications, I need to refresh the launcher icon application menu so that my modification shows up. For the sake of clarity, the menu that should get ...
0
votes
1answer
104 views

Application Startup Icon Locked (root)

I have installed a program, an icon appears on the desktop, but it has a picture of a lock on it, and clicking it does nothing. It's a program I installed from a file. ...
0
votes
2answers
106 views

Running a .sh to execute multiple commands

I was curious how I would go about running multiple commands via shell script. For example, just to try it out, I'd like to be able to connect a .desktop to a .sh that will run all the update codes ...
15
votes
3answers
299 views

My .bashrc alias not run in .desktop file

I've added the following line to the .bashrc file: alias midos="sh /home/erkanmdr/Belgeler/midos/midos.sh" This command works fine in the terminal and tty. But not working in my .desktop shortcut ...
0
votes
1answer
124 views

Create a working link on desktop

I am totally new to Ubuntu/Linux and I want to create a link on a desktop (is this called an application launcher?). I created a .desktop file placed on the Desktop with this content but it doesn't ...
4
votes
2answers
216 views

Removing “user accounts” from system settings

I don't need user account management on my system settings for security reasons. Is it possible to remove user management from settings? Although i don't want it for all user accounts. As given ...
2
votes
2answers
225 views

.desktop file running sh script “There was an error launching the application.”

I have a .desktop file: [Desktop Entry] Type=Application Terminal=true Name=RunMe Exec=run.sh When I double click the .desktop file, I get There was an error launching the application. my run.sh ...
1
vote
1answer
45 views

What's wrong with this .desktop file?

I can't figure out what's wrong with this. According to this, it should work. Thanks! [Desktop Entry] Version=1.0 Name=D3GO Comment=D3GO televizija preko interneta Exec=~/D3GO/D3GO Path=~/D3GO/ ...
0
votes
0answers
126 views

Software Center can't start due to DBus Proxy issue or SSO Client issue

Software Center can't open from GUI of my newly installed 14.04LTS Desktop. Tried update and upgrade, it doesn't work. Tried 'sudo apt-get install --reinstall software-center', it doesn't work as ...
0
votes
2answers
92 views

How to run a .sh file in terminal on login

so I have a simple sh file I want to run whenever someone logs in. I tried adding it to startup applications. This didn't work. I tried editing the .desktop file for the startup application to set ...
2
votes
1answer
93 views

My Faenza icon theme contains an icon for spotify, but I can't seem to change the icon

So, I installed spotify (on 14.04) using this method. It created a spotify folder in /opt/. My faenza icon theme seems to work for almost all supported apps except for spotify. I tried changing the ...
0
votes
0answers
48 views

permissions denied even though I'm a system admin (and the only user of the system,) when trying to access and edit .desktop files? (14.04)

When I try to save the .desktop file (for Google chrome in this instance,) I revive a message that in short states I do not have the require permissions to do this. Is there any fix for the problem at ...
0
votes
1answer
21 views

12.04 Dual Boot with Desktop and Server - what order to insall?

In a couple of weeks I will have a new computer with no OS installed. I want to set it up as a dual boot with Server as the default and Desktop as an option at boot time. I want to make the ...
0
votes
1answer
120 views

Can't find my app in a dash, something is wrong with .desktop file?

I created .desktop file: [Desktop Entry] Name=STS Version=1.0 Type=Application Terminal=false Exec=/root/springsource/sts-3.5.1.RELEASE/STS Icon=spring_tool_suite.png Actions=New; [Desktop Action ...
2
votes
3answers
123 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 ...
0
votes
0answers
41 views

How to set a launcher icon from .exe files?

Can I set an icon for a .desktop file to be an .exe file, and if so - how? I have tried to point the icon entry in the file to a path of an .exe file, to no avail - the launcher shows no icon ...
0
votes
1answer
83 views

How to move icons on Kubuntu?

I'm new to Linux world. Recently I've installed Kubuntu and I don't know how to move icons on the desktop. When I drag an icon from applications (start menu) and drop it, I can't move it anymore. For ...