Keep your [Linux] Desktop Clean

Level of Difficulty: Linux Only

If you are an Ubuntu* user, you might not use your home folder like you should.  For example, all my downloads go straight to my Desktop, instead of my home(~) folder where they belong.  Clutter on your Desktop is quite unsightly, and as one must look at their Desktop constantly, I decided to fix this.

Here is the solution:

  1. Create a folder [such as: ~/Desktopcloset] in your home directory.
  2. Make a launcher on your panel [ (Right click)-> Add to Panel -> Custom Application Lanucher.
  3. Name the launcher anything you like.
  4. Make the command this: “mv ~/Desktop/* ~/Desktopcloset”

Now, whenever your desktop is cluttered, just press the little icon you made and all the files on your desktop will be moved to the folder you created.

Things to try:

Change the location of your “Desktopcloset,” perhaps you might want it directly dumped into your home directory:

mv ~/Desktop/* ~/

Or you could make it go to a differently named folder:

mv ~/Desktop/* ~/olddesktop

Have any more ideas for this little code snippet?  Post ‘em in the comments.

* also aplies to any other Gnome Distro

Tags: , , , , , ,

Leave a Reply