THE files controlling the default directories created in Linux for most desktops are found in:


If enabled in conf is "True" the system will restablish the default directories, local
    control is found in  ~/.config/user-dirs.dirs
--> more /etc/xdg/user-dirs.conf 
# This controls the behaviour of xdg-user-dirs-update which is run on user login
# You can also have per-user config in ~/.config/user-dirs.conf, or specify
# the XDG_CONFIG_HOME and/or XDG_CONFIG_DIRS to override this

# enabled=True  #  disabling this will stop automatic recreation of directories for users

# This sets the filename encoding to use. You can specify an explicit
# encoding, or "locale" which means the encoding of the users locale
# will be used

    removing the DESKTOP (Desktop) Directory from Linux should be as simple as commenting it out...
    in the file below the single commented lines were enabled on a system, the sys admin manually removed
    them each time a new account was created.  This sort of thing used to be managed by /etc/skel/
    # recommend creating a dated copy of this and related files to allow restoration if something breaks
    #   cp /etc/xdg/user-dirs.defaults /etc/xdg/HOLD_user-dirs.defaults_2017-12-28.bak 

    commenting out the files will typically leave a few icons on the desktop - computer, drives and trash,
        on SuSE with a MATE desktop these appear to be created by Caja - or other file manager GUI tools.  
        They didn't consume a lot of real estate and appear useful - but removing them would require finding
        the configuration files for the various file managers and commenting them out.
--> more /etc/xdg/user-dirs.defaults 
#  # Default settings for user directories
#  #
#  # The values are relative pathnames from the home directory and
#  # will be translated on a per-path-element basis into the users locale
#  # Another alternative is:
#  #MUSIC=Documents/Music
#  #PICTURES=Documents/Pictures
#  #VIDEOS=Documents/Videos

    # recommend renaming this and related files to allow restoration if something breaks
    #   mv /home/luser/.config/user-dirs.dirs /home/luser/.config/HOLD_user-dirs.dirs_2017-12-28 

--> more /home/luser/.config/user-dirs.dirs
# 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.

--> more /home/luser/.config/user-dirs.locale
------------------------------------------------ Today's Date:

Simply Linux: Basics  Full Size Jeep Buyer's Guide Using BASH on Windows 10
Practical Suggestions for Microsoft Windows
Linux Tackles Microsoft
12 hour Video Course by john:
The Art of Linux System Administration
published by O'Reilly Media
Study Guide for the LPIC-2 Certification Exams
search for:
on the internet, or:
BibleTech- Bible overview

overview of mankind's history
Biblical history:
"Promises and Prophets"



"Jeep is America's
only real sports car."
-Enzo Ferrari

Diesels +

One Page Overview of Linux Commands

click for an image of the 5 essential Linux commands

An Intro to Linux
AMSOIL product guide,
or, AMSOIL web, or 1-800-956-5695,
use customer #283461

Amsoil dealer since 1983
purchase AMSOIL in WA at:
- Midway Auto - SR9 Clearview/Snohomish
- Northland Diesel - Bellingham
- Grumpy's Gun Repair - Granite Falls

SJ - 1962-1991

XJ - 1984-2001

WJ - 1999-2004

KJ - 2002-2007

WK - 2005-2010

Find the recommended
AMSOIL synthetics
for your Jeep

CJ-10A - 1984-1986


MJ - 1984-1992

Willys - 1946-1965

Other Jeeps (FC)