No right clic and icon on the desktop

Questions about other topics - please check if your question fits better in another category before posting here
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
futex
Level 2
Level 2
Posts: 60
Joined: Fri Apr 04, 2014 5:31 pm

No right clic and icon on the desktop

Post by futex »

Hello,

I cannot see the desktop icons on the screen (yes the option the selected on the parameter system) and the right click is disabled on it.
I haven't find where i can repair this, any idea to have it?

Thank you
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
Moem
Level 22
Level 22
Posts: 16229
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: No right clic and icon on the desktop

Post by Moem »

What is your specific version of Mint? No one can help you while we don't know your desktop environment.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
futex
Level 2
Level 2
Posts: 60
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Post by futex »

arf yes sorry i forget, i'm on Linux Mint 18.2 Sonya
User avatar
Moem
Level 22
Level 22
Posts: 16229
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: No right clic and icon on the desktop

Post by Moem »

futex wrote:arf yes sorry i forget, i'm on Linux Mint 18.2 Sonya
Like I said, we need your desktop environment. Cinnamon, Mate... ?
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
futex
Level 2
Level 2
Posts: 60
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Post by futex »

Cinnamon
User avatar
Moem
Level 22
Level 22
Posts: 16229
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: No right clic and icon on the desktop

Post by Moem »

Okay good. Thank you.
- Is your menu working?
- Is your panel looking normal?
- Does the problem persist after a reboot?
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Post by Cosmo. »

This sounds, as if the needed background process is missing. Usually this should launch automatically when you log into our account. So log out and back in for a first attempt.

If this does not help open a terminal and enter nemo-desktop and see, what happens. At least the right click menu should be available, the icons might have been disabled in the desktop settings.
futex
Level 2
Level 2
Posts: 60
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Post by futex »

Cosmo. wrote:This sounds, as if the needed background process is missing. Usually this should launch automatically when you log into our account. So log out and back in for a first attempt.

If this does not help open a terminal and enter nemo-desktop and see, what happens. At least the right click menu should be available, the icons might have been disabled in the desktop settings.
You'r right, this process doesn't launch at login on my machine. If i run it manually the icon and right clic runs. I have try to logoff login, reboot the machine, but it doesn't start himself.

I have this error when i launch it manually, but i don't think it explain something useful

Code: Select all

./nemo-desktop                           ✓ 
Nemo-Share-Message: Called "net usershare info" but it failed: « net usershare » a retourné l'erreur 255 : mkdir failed on directory /var/run/samba/msg.lock: Permission denied
net usershare: cannot open usershare directory /var/lib/samba/usershares. Error No such file or directory
Please ask your system administrator to enable user sharing.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Post by Cosmo. »

The error message is harmless and not related with your problem.

The net step is to investigate into the reason, why nemo-desktop does not start automatically. The cause cen be in the system or in your account. To find that out create a fresh new user account for testing, reboot and log into the test account. Do now changes inside, just see if the desktop icons appear and if the context menu on the desktop works as expected.
futex
Level 2
Level 2
Posts: 60
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Post by futex »

I have created a new user, and the icons and right click run for him. That's meen, as you say, there is a problem in my profile.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Post by Cosmo. »

Next step is to find the culprit inside of the account. Often it is a matter of wrong permissions and ownership of files and folders. The following investigates into it (no changes will get done so far). Do the following:

Mark the following command and press ctrl-c

Code: Select all

find $HOME ! -user $USER -type f
open a terminal and press ctrl-shift-V
Mark the complete result inclusive the command with the mouse and press ctrl-shift-C
In the forum click the Code-button above the text box, than press ctrl-v.

Report in case, that there is no output.
futex
Level 2
Level 2
Posts: 60
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Post by futex »

I have these files:

Code: Select all

/home/futex/.dbus/session-bus/3ece700ad59d44038f463c876dda1f5a-0
/home/futex/.pwntools-cache/update
.. lot of private files in Documents
find: ‘/home/futex/.cache/dconf’: Permission denied
find: ‘/home/futex/.config/eog’: Permission denied
/home/futex/.config/QtProject.conf
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Post by Cosmo. »

I expected especially the first item.

To correct the wrong ownership:
Mark the following command completely and make sure, that you do not miss any sign, than press ctrl-c

Code: Select all

find /home/$SUDO_USER ! -user $SUDO_USER -exec chown $SUDO_USER:$SUDO_USER '{}' \;
Open a terminal and enter

Code: Select all

sudo -i
and press the Enter-key; you get prompted for your password, enter it.
Now still in the same terminal press ctrl-shift-V
Run this command and wait until it has finished. It does not produce a readable output.
Press twice ctrl-d
Immediately log off and back into your account.

Wrong ownership has a cause, usually it is the wrong usage of sudo. So remember for the future: Never(!) launch any graphical program with sudo, only with gksudo (and only, if really needed; using (gk) sudo is no Swiss army knife for solving problems).
futex
Level 2
Level 2
Posts: 60
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Post by futex »

I have changed the permission on all the file now the command

Code: Select all

find $HOME ! -user $USER -type f 
return no files.

But after a logout/login the problem is steel here. nemo-desktop doesn't start.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Post by Cosmo. »

So it seems to be a setting in your account, which gives the problem.

The most suspicious folders are usually the folders .config and .local in your home. Try this:
Open the file manager and make hidden files visible (ctrl-h).
Rename the folder .config to .config.bak and accordingly also the folder .local
Immediately log out and back into the account. Note the the 2 folders get automatically recreated with default content. You can delete the new folders, if you want to revert the renaming.
futex
Level 2
Level 2
Posts: 60
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Post by futex »

i have try to remove .local and .config folder, and the problem is still the same.
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Post by Cosmo. »

You could try the same method with the other hidden folders (starting with a dot in the name), but the more effective method is to create a new permanent user account and copy all document files over from the old account. Note, that the copy process has to be done from inside of the new account. Note also, that you must ensure, that the new account must be a member of the sudo group, otherwise you would not be able to administer the system, after the old account has been removed.
Locked

Return to “Other topics”