Cannot execute .desktop package
Hey all,
Hope this in the right forum to (considered desktop forum), apologies if it has to be moved. I'm running a Smeegol distribution (MeeGo on top of OpenSUSE), which prohibits me from using the typical right click to add launcher to program menu method. I've installed a piece of notetaking software (KeepNote), and I'd very much like it to show up in my distro's application menu. It was installed via downloading source and running an included setup.py file. It will run perfectly when I run "keepnote" in terminal. I was originally trying to write my own .desktop file for it, but found a .desktop while poking around in the source folder. I moved it into /usr/share/applications and it shows up in the program bar but I can't get it to do anything either from the program bar or by doubleclicking it in the file browser. While trying to get it to work, I've also chowned it to root and made sure it's set to run as an executable. I doubt that the issue is caused by the actual .desktop file because the one that I wrote will also not work, but I'll post the contents just in case. Thanks for any help! :) Code:
#!/usr/bin/env xdg-open |
Right-click on the icon, click on Properties, and tell me what the command is?
If there isn't a command, you will need to put it in there ( /usr/bin/program_name usually ). If you want to edit the menuitem, do this: - Press Alt+F2 - type this: alacarte |
It's set to
Code:
keepnote %f To reiterate, it runs fine by typing "keepnote" into a terminal prompt. Thanks! |
Quote:
|
I dropped the f via alacarte so it now just reads "keepnote" but still no luck :( Just to test, I executed "keepnote %f" in terminal (not sure if those arguments translate), and it opened KeepNote, and KeepNote tried (and failed) to open "%f"
|
a few things
I take it the icon also dose not work Quote:
also is this " keepnote " program installed in "/home/nfd/Files/Static Files" -- again a space in the location also suse has a nice ( AND ALREADY IN THE SYSTEM $PATH) "/home/nfd/bin" if you must install to your home folder and not to the system install there. |
All times are GMT -5. The time now is 04:00 PM. |