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

0
votes
0answers
10 views

Desktop files with superuser privileges

I have Matlab installed under /home/user/Matlab, with the main exec file being /home/user/Matlab/R2014b/bin/matlab. There is something weird with it and it only works if I open it with the terminal ...
2
votes
1answer
20 views

How do you add/remove applications to/from the Unity Launcher from command line?

I am customizing an Ubuntu 14.04 Live CD with UCK (Ubuntu Customization Kit). The program gives you a chroot environment in a terminal to make changes. I want to add and remove what programs appear ...
3
votes
2answers
31 views

Can ~/.local/share/applications override /usr/share/applications?

I need to launch some applications on KDE with some added config changes. The best way to do that without messing up with / is by copying .desktop file of individual applications, that I need to ...
1
vote
2answers
27 views

Creating a Unity Launcher icon for PyCharm

I can start, PyCharm from a shell script in a subdirectory of /opt. I get a gray question-mark icon (see attachment) rather than the orange/green PyCharm icon (see attachment). Note that the correct ...
0
votes
0answers
8 views

How to Set a Different Desktop Slideshow for Each Workspace

I have figured out how to do two things (well, two things relevent to this question :) To set a different background for each workspace (using Compiz Config) and set a desktop slideshow for all ...
1
vote
1answer
17 views

Use the same icon when starting from commandline vs starting from terminal

I have an eclipse installation that was not installed through the repositories. To be able to launch it conveniently, I symlinked the path to eclipse to /usr/bin, (so that it can be started by ...
1
vote
1answer
29 views

How do I fix(make) apps windows to be opened at desired place of the desktop?

For example I want SMPlayer window to be always opened in the middle of the desktop because when I place it in the middle every time that I launch it goes up left to the top with time so I have to ...
1
vote
2answers
23 views

~ and ${USER} don't work in .desktop files

Ubuntu 12.04 32-bit I am trying to manually create a .desktop file to launch an application. I wish to execute the command: java -jar ~/.osbuddy/osbuddy.jar When I run my .desktop file. However, ...
3
votes
1answer
43 views

Add “virtual” screen in my PC like a second screen connected

I would like to know if there is any software that allows me to add a second "virtual" screen to my computer. I would like to add this screen over my actual screen. Because a picture is worth a ...
-1
votes
0answers
51 views

Move icons on Kubuntu 15.04

There is no unlock button like here. Sorry, full screen. Left top corner.
0
votes
1answer
26 views

14.04 - How to automatically get sudo rights to objects on desktop

When I FTP things from my Desktop PC onto my Ubuntu laptop's desktop, I don't have root priveleges for those files, so I need to remove it manually with sudo nautilus. Is there any way to ...
0
votes
0answers
15 views

Difference between desktop-install and copying desktop file to applications directory

When we want to add a shortcut to menu. We can do that by creating filename.desktop and copy that file to /usr/share/applications. And there is another way to, that is doing desktop-file-install ...
1
vote
0answers
10 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 ...
1
vote
1answer
28 views

Google chrome opens specific website when ran from launcher

I'm having a problem with my Google Chrome. When I open it from launcher (I mean bar on the left side) it starts with youtube website, and it starts to play some video. (This happens since my friend ...
0
votes
1answer
28 views

Adding Gnome Commander to Launcher

I've installed GNOME Commander to Ubuntu 14.04.01 However, it's not showing up when I search for it in the Launcher. I'd like to know how to: Add Gnome Commander to the Launcher How to launch ...
1
vote
1answer
32 views

From a shell script to an application icon

I'm trying to make an icon (later in Application) for a software that I just downloaded. I unziped the .tar.gz. The unziped file contains bin and share directories. The bin directory contains the ...
0
votes
0answers
19 views

How to create a command script to run by clicking an icon [duplicate]

Essentially what I want to do is generate an icon so I can kill Chrome from it. I know the command I want to use is killall chrome but i want to run it from a desktop icon.
1
vote
2answers
20 views

All desktop files goes to google

I'm trying to create a desktop file to any page but all of them open google. I'm using firefox in xubuntu 14.10. #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Link ...
2
votes
2answers
70 views

Sort Unity Launcher icons alphabetically

I like to keep my locked Launcher applications sorted alphabetically, and I was wondering if it would be possible to write a script that sorts them, so I don't have to do it myself every time I add a ...
0
votes
0answers
17 views

Creating debian package of C# app with desktop icon [duplicate]

I am new to ubuntu 14.10 ,i have C# application.i want to make its debian package. and when i install this package on other ubuntu 14.10 machine ,after installing it should give desktop icon of ...
0
votes
1answer
21 views

what are the processors that support the ubuntu system [closed]

Which and how many processors are supported in ubuntu? Example (4 Intel 32-bit processors, 16 processors PowerPC)
1
vote
0answers
19 views

gtk-launch .desktop is not using custom icon

I copied my .desktop shorcut to user_home+"/.local/share/applications/" then going to terminal and typing in gtk-launch nameOfMyDesktopFile it launchs it, but it doesn't take the custom icon. I'm ...
0
votes
0answers
45 views

Custom .desktop file not working, cannot start application

I added a custom .desktop file in ~/.local/share/applications and made it executable. However, I cannot start the program (ViTables), neither by clicking on the desktop file nor by starting it from ...
0
votes
0answers
42 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 - ...
0
votes
0answers
18 views

How can I display a custom image when selecting a custom session in the greeter?

before I asked this question and found out how to run any program directly in place of a desktop environment. Now I'd like to know if it is possible to change the background image alongside the ...
1
vote
1answer
20 views

Desktop in top left corner of monitor

i've not been using Ubuntu long but am slowly getting the hang of things, i rebooted a while ago and now the desktop is all messed up, its stuck in the top corner of my monitor, and i have no idea how ...
0
votes
1answer
129 views

Unable to access .jar file with .desktop

I have a Minecraft.desktop on /home/myuser/Escritorio (Where myuser i put my username and Escritorio means Desktop in spanish) [Desktop Entry] Type=Application Name=Minecraft Launcher ...
1
vote
0answers
17 views

How does KSPLICE for the desktop interact with the “need to restart to apply changes” dialogue after updates?

One would expect that it would make those dialogs disappear. I'm not saying that it doesn't for me, as I haven't installed ksplice. I am saying I'ld like to know whether it works to eliminate those ...
1
vote
1answer
71 views

Can not unlock from and lock to Launcher

I just use dd -ip /dev/sda -op /dev/sdb to clone my old disk to new disk, and boot from my new disk. All the things remain the same except that applications in Launcher changed back to default. Why? ...
0
votes
1answer
44 views

Why do portable app icons disappear from Unity launcher after restart?

I downloaded SublimeText and placed it in my home folder. I locked sublimetext to the Unity launcher, but when I restart my PC the icon disappears from the launcher. Why is this happening? Can I ...
0
votes
0answers
23 views

Can two FirePro 2270 graphics cards run with 3 monitors to form a single desktop?

Can two FirePro 2270 graphics cards run with 3 monitors to form a single desktop? I can't seem to get it to work with the fglrx drivers. Is it only for two separate desktops then? One desktop on one ...
0
votes
1answer
51 views

Appearance of a .desktop file in Nautilus

This is Ubuntu 14.04. Nautilus version 3.10.1. I have a "file.desktop" file in my personal "~/bin/shortcuts" directory. When I look at the directory with Nautilus, it shows the "Name=" field value ...
2
votes
2answers
82 views

Can I create a launcher for keyboard shortcuts?

Just to clarify, I do not want to create keyboard shortcuts that run desktop icons. Is there any way to create a desktop shortcut that, when clicked, runs a keyboard shortcut combination? I find the ...
1
vote
2answers
72 views

My custom .desktop file appears in Dash as a text file

I recently installed MATLAB on my computer. I found that while I could easily start MATLAB from the terminal, there was no executable file I could double click on to run it. So I created a Bash script ...
0
votes
0answers
56 views

Ubuntu 14.04 desktop stuck after update

I think that it is a very common problem in Ubuntu 14.04. I just installed it alongside with Windows 7. Comp. specs: i7 4790K asus sabetooth z97 mark2 16gb ddr3 eVGA gtx750ti 2gb I've installed ...
0
votes
1answer
76 views

Where to create Desktop entry for Eclipse?

I recently installed eclipse and also created desktop entry file in /usr/share/applications location as shown in this video Install Eclipse Luna for Java EE in Ubuntu 14.04 but it didn't work. ...
0
votes
0answers
87 views

How to get paths for default theme icons folders?

I have a desktop file, for Icon i set it to myIconName. Now I have multiple sized PNGs for my icon. I need to find the paths to the default theme icon folders, cross-OS-Linux solution, so I can drop ...
0
votes
0answers
24 views

Cant see Plank after Ubuntu load

Hello there I have a question regarding Plank. I have install it and it is a very cute little application, but how can I fix it to mine desktop to see it after Ubuntu loads it self. I was trying to ...
0
votes
0answers
42 views

ubuntu-14.04.1-desktop-i386 problems on vmware 14. 3.0.0 build-203739

The host machine is installed with Windows 7. When installing Ubuntu on Virtual Machine using VMware, the desktop appears to be as more windows repeated. I found several suggestions, but nothing ...
0
votes
1answer
50 views

Launchy in Ubuntu does not execute .desktop files

Nautilus and PCManFm open file.desktop correctly. From terminal, it also opens file.desktop well. However, Launchy opens file.desktop with the text editor! I think the key could be the runner ...
0
votes
0answers
156 views

Ubuntu 14.10( Utopic Unicorn) problem with mesa driver application like chrome, vmware not supporting hardware accleration

After upgrading ubuntu to 14.10 from 14.04 Chrome is not working properly no hardware acceleration . Apart from this VMWare workstation guest operating systems are also not supporting hardware ...
0
votes
1answer
155 views

Join custom Terminal shortcut with Unity launcher icon

I've created a shortcut on the desktop which launches the terminal with a custom working directory. Here's the content: [Desktop Entry] Name=CM Terminal Icon=utilities-terminal Type=Application ...
0
votes
1answer
209 views

Unable to access desktop after latest NVIDIA update - 14.10

I have a dual boot Sony Vaio F Series laptop (model # VPCF234FD). It runs Windows 7 and Ubuntu 14.10. After my last update, which included an update of my NVIDIA drivers, if I'm not mistaken, I'm no ...
1
vote
2answers
171 views

Cannot change association for mp4 video files to custom .desktop

I cannot set default association of mp4 and avi files to my custom desktop files. For mkv, I can change from nautilus file>properties>open with tab. This is a video of the peculiar behavior that I am ...
1
vote
3answers
89 views

How to get custom desktop file to be the default program for certain files

I have written a python wrapper for vlc that sits as an appindicator and monitors keystrokes to vlc and loads next/prev files in folder. I have the script working from nautilus scripts. Now I need ...
0
votes
0answers
124 views

Unity - desktop has stopped working after Unwanted Nvidia display driver update

My computer has an Intel i3 processor and no other inbuilt GPU. However, the nvidia-* latest got installed on the computer during an update process. I used sudo apt-get remove nvidia-* to remove all ...
1
vote
0answers
47 views

Set the terminal title in a .desktop started application

I've an application that I want to start via an entry in the upper gnome panel using a .desktop file, it has to run inside a terminal. #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 ...
0
votes
0answers
21 views

Why my application is running from CLI but not from desktop file?

I am writing a Vala application. And I'm using CMake to install it. I have a desktop file that is properly installed and displayed but when I run my application from launcher, it doesn't launch, ...
0
votes
1answer
30 views

How can I download desktop version of unicorn 14.10 without torrent

I cannot find any copy of ubuntu-14.10-desktop-amd64.iso that I can download without using torrent. Can someone give me a URL for this.
1
vote
1answer
116 views

Creating shortcuts on desktop for applications

I know there are many questions about this. I tried to follow some of them but I could not succeed at it. So I installed Matlab R2014 on /opt/MATLAB/R2014 and it runs fine when I execute its shell ...