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 please read how to get help
futex
Level 1
Level 1
Posts: 24
Joined: Fri Apr 04, 2014 5:31 pm

No right clic and icon on the desktop

Postby futex » Mon Nov 27, 2017 8:12 am

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

User avatar
Moem
Level 12
Level 12
Posts: 4410
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: No right clic and icon on the desktop

Postby Moem » Mon Nov 27, 2017 8:15 am

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 1
Level 1
Posts: 24
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Postby futex » Mon Nov 27, 2017 8:25 am

arf yes sorry i forget, i'm on Linux Mint 18.2 Sonya

User avatar
Moem
Level 12
Level 12
Posts: 4410
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: No right clic and icon on the desktop

Postby Moem » Mon Nov 27, 2017 8:32 am

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 1
Level 1
Posts: 24
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Postby futex » Mon Nov 27, 2017 9:08 am

Cinnamon

User avatar
Moem
Level 12
Level 12
Posts: 4410
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: No right clic and icon on the desktop

Postby Moem » Mon Nov 27, 2017 9:32 am

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 22
Level 22
Posts: 16108
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Postby Cosmo. » Mon Nov 27, 2017 9:35 am

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 1
Level 1
Posts: 24
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Postby futex » Mon Nov 27, 2017 10:03 am

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 22
Level 22
Posts: 16108
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Postby Cosmo. » Mon Nov 27, 2017 6:39 pm

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 1
Level 1
Posts: 24
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Postby futex » Tue Nov 28, 2017 10:34 am

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 22
Level 22
Posts: 16108
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Postby Cosmo. » Tue Nov 28, 2017 3:09 pm

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 1
Level 1
Posts: 24
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Postby futex » Wed Nov 29, 2017 8:44 am

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 22
Level 22
Posts: 16108
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Postby Cosmo. » Wed Nov 29, 2017 10:30 am

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 1
Level 1
Posts: 24
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Postby futex » Thu Nov 30, 2017 12:39 pm

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 22
Level 22
Posts: 16108
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Postby Cosmo. » Thu Nov 30, 2017 4:02 pm

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 1
Level 1
Posts: 24
Joined: Fri Apr 04, 2014 5:31 pm

Re: No right clic and icon on the desktop

Postby futex » Fri Dec 01, 2017 8:46 am

i have try to remove .local and .config folder, and the problem is still the same.

Cosmo.
Level 22
Level 22
Posts: 16108
Joined: Sat Dec 06, 2014 7:34 am

Re: No right clic and icon on the desktop

Postby Cosmo. » Fri Dec 01, 2017 10:04 am

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.


Return to “Other topics”