Ubuntu gives you control of what files show up on your desktop – even if they're not in your Desktop folder. Credit: Thinkstock/Ubuntu You may have a lot more control over your Ubuntu desktop than you know. In this post, we’ll look into what you should expect to see by default and how you can change that. Most Linux desktops start out charmingly uncluttered. They display a handful of icons on an attractive background. These include shortcuts for launching applications, generally along the left side or bottom of the screen, and maybe another icon or two in the otherwise open area. The uncluttered desktop is generally a good thing. You can open folders using your file manager and move around to any group of files that you need to use or update. By changing a setting on Ubuntu (and related distributions), however, you can also set up your system to open with a specified set of files in view – and you don’t have to move them into your Desktop folder to do so. To most easily see how this setup is configured, open a terminal window and cd into a directory named .config. shs@firefly:~/.config$ ls dconf goa-1.0 libreoffice session eog gtk-3.0 nautilus update-notifier evolution htop neofetch user-dirs.dirs gnome-initial-setup-done ibus obs-studio user-dirs.locale gnome-session komparerc pulse yelp The user-dirs.dirs file is going to look something like this: # This file is written by xdg-user-dirs-update # If you want to change or add directories, just edit the line you're # interested in. All local changes will be retained on the next run. # Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped # homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an # absolute path. No other format is supported. # XDG_DESKTOP_DIR="$HOME/Desktop" XDG_DOWNLOAD_DIR="$HOME/Downloads" XDG_TEMPLATES_DIR="$HOME/Templates" XDG_PUBLICSHARE_DIR="$HOME/Public" XDG_DOCUMENTS_DIR="$HOME/Documents" XDG_MUSIC_DIR="$HOME/Music" XDG_PICTURES_DIR="$HOME/Pictures" XDG_VIDEOS_DIR="$HOME/Videos" The first setting in that file, XDG_DESKTOP_DIR, determines what files are displayed in the open area on your desktop. By default, this will be the contents of your Desktop folder (i.e., ~/Desktop). You can change this setting if you want to view your home directory or the contents of some other directory on your system – maybe files related to some project that you are focusing on. You should first save the original file with a command like: $ cp user-dirs.dirs user-dirs.dirs.SAVE After all, you will probably at some point want to go back to the uncluttered look, and this will make it easy. Once you’ve replaced “$HOME/Desktop” with “$HOME”, “$HOME/projects/db1” or even “$HOME/empty”, your next screen refresh or login should display the files from the selected location. The effect won’t be all that different from opening your file manager to the desired location, but might leave you reliably staring at just the right set of files. Whether you need to focus on a particular directory or escape the clutter of your normal desktop, it’s easy to do and easy to reverse. Other settings You’ve undoubtedly noticed that there are other settings in the user-dirs.dirs file as well. Some of these settings are likely used by various applications. My older Ubuntu had the same file, but all the settings resolved to “$HOME”, not to subdirectories from my home directory. My current Ubuntu system is using release 21.02 (Hirsute Hippo). Related content how-to How to examine files on Linux Linux provides very useful options for viewing file attributes, such as owners and permissions, as well as file content. By Sandra Henry Stocker Oct 24, 2024 6 mins Linux how-to 8 easy ways to reuse commands on Linux Typing the same command again and again can become tiresome. Here are a number of ways you can make repeating commands – or repeating commands but with some changes – a lot easier than you might expect. By Sandra Henry-Stocker Oct 15, 2024 5 mins Linux news SUSE Edge upgrade targets Kubernetes and Linux at the edge SUSE Edge 3.1 includes a new stack validation framework and an image builder tool that are aimed at improving the scalability and manageability of complex Kubernetes and Linux edge-computing deployments. By Sean Michael Kerner Oct 15, 2024 6 mins Edge Computing Linux Network Management Software how-to Lesser-known xargs command is a versatile time saver Boost your Linux command line options and simplify your work with xargs, a handy tool for a number of data manipulation tasks. By Sandra Henry Stocker Oct 11, 2024 6 mins Linux PODCASTS VIDEOS RESOURCES EVENTS NEWSLETTERS Newsletter Promo Module Test Description for newsletter promo module. Please enter a valid email address Subscribe