[Solved] Desktop Environment in Ubuntu 20.04

Sureshwar

New Member
Joined
Jan 17, 2021
Messages
5
Reaction score
0
Credits
49
I am a newbie in Linux.
I have Ubuntu 20.04.2 LTS, upgraded from original 18.04 Version.
After logging in, the display used to be of the contents of folder 'Desktop' under 'Home'.
But since two days, the display upon logging in has changed to the contents of 'Home'. I do not undestand what mistake/error I comitted.
I want to go back to my original display - that of 'Desktop' folder.
How to do it please?
 


@Sureshwar , g'day :)

Can you use GNOME Screenshot (in your Menu under screenshot) to take a screenshot of your Desktop and attach it to a Post up here? (choose full size, not thumbnail)

I am from Australia and have to log off shortly but someone will be able to help.

Cheers

Chris Turner
wizardfromoz
 
Take a look at your user-dirs.dirs file it is a hidden file located in your .config folder
Code:
sudo gedit /home/USERNAME/.config/user-dirs.dirs

where it says USERNAME put the name you login with - the file should look like

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"

It is the first line XDG_DESKTOP_DIR="$HOME/Desktop"

does it show something different?
 
Take a look at your user-dirs.dirs file it is a hidden file located in your .config folder
Code:
sudo gedit /home/USERNAME/.config/user-dirs.dirs

where it says USERNAME put the name you login with - the file should look like

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"

It is the first line XDG_DESKTOP_DIR="$HOME/Desktop"

does it show something different?
Thanks a lot for your suggestion.
The line appears as -
XDG_DESKTOP_DIR="$HOME/"

Is this THE problem Sir?

Sureshwar
 
Thanks a lot for your suggestion.
The line appears as -
XDG_DESKTOP_DIR="$HOME/"

Is this THE problem Sir?

Sureshwar
Yes it is - the Desktop portion is missing - that is why it is no longer showing - simply add it using the above code and save the file then reboot should be fine afterwards
it should read
XDG_DESKTOP_DIR="$HOME/Desktop"
 
He
@Sureshwar , g'day :)

Can you use GNOME Screenshot (in your Menu under screenshot) to take a screenshot of your Desktop and attach it to a Post up here? (choose full size, not thumbnail)

I am from Australia and have to log off shortly but someone will be able to help.

Cheers

Chris Turner
wizardfromoz
Here it is Sir -
 

Attachments

  • Screenshot from 2021-05-24 08-07-59.png
    Screenshot from 2021-05-24 08-07-59.png
    129.3 KB · Views: 312
Thanks @Sureshwar , I'll keep that handy.

Stick with Lord Boltar's suggestions for now, and I'll watch as well. :)

Wizard
 
Yes it is - the Desktop portion is missing - that is why it is no longer showing - simply add it using the above code and save the file then reboot should be fine afterwards
it should read
XDG_DESKTOP_DIR="$HOME/Desktop"
Yessir!!! - Thank you so much Sir!
This has solved the problem!!!!
Thanks again!
:)!

Sureshwar
 

Members online


Latest posts

Top