Originally Posted by
AgentZ86
It's my own script I wrote that copies files to the media device automatically and is already executable but I wanted it to run on dection of the removable media device
I still want prompting like you would get but just wanted to add my own application or script to the list
I'm not sure I understand what you mean by applications's launcher.
I see the applications folder but no applications launcher, except for the default symlink I mentioned
The files in ~/.local/share/applications and /usr/share/applications are what I call launchers or .desktop files.
They are the same format in both locations except in /usr/share/applications they show the icon with no .desktop extension. (permission thing)
By default there is no ~/.local/share/applications directory but when created, .desktop files placed in this directory will
override desktop files in /usr/share/applications
If it's a script you want in the list, make a .desktop file for it.
eg create the file in terminal with...
Code:
gedit ~/.local/share/applications/usb-copy.desktop
Paste in this....
Code:
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Icon=gnome-panel-launcher
Name=usb-copy
Exec=/full/path/to/script %U
Comment=usb copy script
Edit for the path to your own icon if desired.
Edit using full path to your script
Save the file and you should have a usb-copy that shows in the dash and other applications
Bookmarks