Instructables

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
gimp1.jpg
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
blank48px.jpg
icon.png
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.
scott-ian3 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
Brilliant
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.
desktop.png
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
Andrew5467 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)  CameronSS7 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)  Andrew5467 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)  Andrew5467 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...
Ramnosity7 years ago
What OS are you running?
That's Ubuntu Linux.
oh alright, thanks
Black Jelly7 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