Create an "Invisible" desktop shortcut in Ubuntu

Picture of Create an
Using this instructable, you can create a hidden desktop shortcut with the judicious use of The Gimp, or some other full-featured editor.
Remove these adsRemove these ads by Signing Up

Step 1: Choose your background

Picture of Choose your background
Odds are you have a favorite picture as your background. Once you've selected one, open the original file in the GIMP. We'll use this picture for the icon. Also, check your screen resolution (System-->Preferences-->Screen Resolution) and write down what you find (Mine is set to 1024x768). The screen resolution is only important if the image you use is bigger than your resolution. On my PC, the image size is 1920x1440, much larger than my screen resolution of 1024x768.

Step 2: Resize Background Picture

Picture of Resize Background Picture
If your picture is bigger than your background, or if you're stretching a smaller image to fill your background, this step is for you. If your image is exactly the same size as your screen resolution or smaller, ignore this step.

With the background picture open, select image-->scale image. Scale the image to exactly the size you saw in Screen Resolution. In my case this resolution is 1024x768.

Step 3: Select small area of background picture

Picture of Select small area of background picture
Once you've scaled the image to the right size, use the selector tool in the Gimp to select a square 48 pixels by 48 pixels. As you use the selector tool, you'll see the area in pixels displayed at the bottom of the window. You can choose any part of the picture. Ctrl+C to copy just this area to the clipboard.

Step 4: Create new file in the Gimp

Picture of Create new file in the Gimp
Now we'll create a 48x48 pixel image in the Gimp. While in the Gimp, ctrl+n for a new document, type in 48x48 in the Width and Height boxes. You'll end up with a blank square. Use Ctrl+V to paste the area selected in the previous step. You'll end up with a tiny bit of your original picture. Save the resulting image as icon.png.

Step 5: Create your Launcher

Picture of Create your Launcher
Right-click the desktop, choose "Create Launcher". In the description field for the launcher, hit the space bar. The character 'space' will be the name for this launcher. You can't do this in Windows, one of the many cool things about Linux. Under "Command", type in the path to the application you intend to launch. This launcher can invoke an application, or launch a terminal window and run an app or command from there. In the upper left of the 'Create Launcher' window, there is a box with 'no icon' inside. Click this box, and browse to the location where you saved the 48x48 icon.png file. Click 'OK'.

Step 6: Place on Desktop

Picture of Place on Desktop
This step can be tricky, just make sure you right-click the desktop and uncheck 'Keep Aligned', or you'll never get it to the right place. Move the icon around until it integrates seamlessly into the background image, then you're done! Obviously there's nothing to keep someone from finding this if they really wanted to, but it's hard to accidentally click something you didn't even know was there! Good luck, I know not many people can use this but I've found it valuable for launching a ssh proxy from work, something I don't really care to advertise.

scott-ian2 years ago
Why not just make a transparent image? No need to match the desktop background, and you can use the same image for multiple icons.
sonicx0593 years ago
Thanks for the info! Going to start hiding a whole bunch of directories = )
alexw21503 years ago
jj32x5 years ago
I like this idea. however i used transparency. here is a screenshot (im using ubuntu studios btw). basically where there the musical notes etc it links to the appropriate folder.
stuffman (author)  jj32x5 years ago
I'm not sure I understand, can you explain further please? Shawn
doing what jj32x does would be better. he says that he uses a transparency, so if someone changes the background, the folder still can't be seen. It would also hide it (maybe) if some "helpfully" orgainizes your desktop automatically. Since in my version of Ubuntu it orgainises by name, i'm going to have to find out where " " (space) fits on the alphabet spectrum...
jj32x stuffman5 years ago
it doesn't matter
Andrew5466 years ago
Would it work to just make a transparent image? Do icons support transparency?
It does on XP SP2, I know this because I just tried it. I created a 50x50 pixel image on the GIMP, erased everything, and saved it as a .ico file. I then set a desktop shortcut to use it as an icon, and the icon vanished. Don't know on Linux, my Ubuntu machine isn't up and running.
stuffman (author)  CameronSS6 years ago
What about the text? How did you get the icon not to have text underneath?
I said the icon vanished, not the filename. Not sure if that's possible in XP. Didn't see a way to get rid of filenames in TweakUI. If I felt like making one, I'd probably just rename the shortcut "," or something.
Its named " ", a solitary space ;-)
Not in XP.
But this is how to do it in Ubuntu...
no, that dosent work in XP. to do it in XP, simply rename it, hold down alt, and press 0160 on your num pad and then hit enter.
or if you are on a laptop and you don't have the numberpad open character map (start, then programs, then accessories, then system tools, then character map) then click advanced view. then where it says go to unincode: type 2000. then click select then copy. then go to the rename shortcut screen and press ctrl+v.
I think Fn + Alt + 0160 works also, that is if you have those little blue numbers on the letter keys of your laptop. Most of them do.But don't take my word for it, if I'm wrong let me know by all means =)
I just discovered that just before you told me :-) but thanks anyway
I just tried it too, on Vista, and the icon was transparent, but the little "shortcut arrow" was still there, and it wouldn't let me put no text... Hmmm.
stuffman (author)  Andrew5466 years ago
I've never actually tried it in Windows, because I've never found a way to get rid of the text. I know you can make the arrows go away with TweakUI (Maybe not in Vista, though).
stuffman (author)  Andrew5466 years ago
I kind of hope not, otherwise my instructable is seriously unnecessary :0)
It's totally unnecessary... all you have to do is add a "dot" before the filename, and linux hides the file... you can find it again by opening a file browser, and setting the browser to "show hidden files".
stuffman (author)  threecheersfornick6 years ago
Wow, that's timely. I just created that instructable this morning. No kidding. Check it out, it has a monkey and will rock your face. LINK
Oh, ya... I followed the link from there to here to post about the uselessness of this one compared to that... didn't realize the same person wrote both, though! Good job with the munky.
Yeah, they do.
berky936 years ago
this would be 10 times easier if instead of using part of the background as the icon you just used a completely alpha icon...
Ramnosity6 years ago
What OS are you running?
That's Ubuntu Linux.
oh alright, thanks
Black Jelly6 years ago
just make a new folder, when it says new folder, meaning it wants you to rename it just hit alt+0160. then in the properties of the folder just choose one of the invisible icons!yay