PDA

View Full Version : [ubuntu] context menu missing options - desktop not working



t825143
November 18th, 2017, 02:33 AM
Hi,
I upgraded from ubuntu 17.04 to ubuntu 17.10
I use "ubuntu on xorg" as default DE
but when my desktop is loaded it is with a limited functionality

issues:

I log in and no icons appear on the Desktop (I toggled ON in tweak / desktop icons) but no change
if i create a "file or folder" from nautilus in ~/Desktop it shows in nautilus Desktop folder but nothing appear on the Desktop itself
my context menu is missing a lot of options, I do not have the options to create a folder, a file or open with....etc.....(see screenshot below)
my mouse drag to select files (the shade thingy) does not work at all on the Desktop, if i click the left mouse and drag the mouse.... the select shade does not appear at all but I can select multiple files or folders from within nautilus


troubleshoot steps taken:

tried to login on all DE available at the login screen "classic gnome", "ubuntu on xorg", "gnome on xorg" all have the same symptoms described above only DE working is Unity
a standard user that was upgraded with the admin account with issues..the standard account works fine on all DE
created a new admin user and all DE works fine


conclusion
my admin account have a limited functionality related to the Desktop
while other accounts that was upgraded or newly created works fine on all DE



how can I fix the desktop issues of this account ?




screenshot of the context menu available (right click)
277555

goodyone
November 18th, 2017, 03:08 AM
go to settings than to the dock and set up

again?
November 18th, 2017, 10:46 AM
In a terminal run...

dconf write /org/gnome/desktop/background/show-desktop-icons true
If still not drawing the desktop try logging out and back in.

No luck, try running...

nautilus-desktop

t825143
November 18th, 2017, 05:08 PM
thank you for the response


In a terminal run...

dconf write /org/gnome/desktop/background/show-desktop-icons true
If still not drawing the desktop try logging out and back in.
this did not solve the issue




No luck, try running...

nautilus-desktop

tried this from terminal and all icons appeared and missing context menu are available

but I get this multiple times in the terminal window

(nautilus-desktop:724): CRITICAL **: nautilus_menu_provider_get_background_items: assertion 'NAUTILUS_IS_MENU_PROVIDER (provider)' failed

277570


but when I close the terminal everything go back to what it was



how can I make this permanent ?

again?
November 19th, 2017, 02:00 AM
Quick solution would be to add a nautilus-desktop entry to startup applications and log out.
277574

If you want to look into it further here's some info.
When "/org/gnome/desktop/background/show-desktop-icons" is set to true, nautilus-desktop should autostart in 17.10 due to the
AutostartCondition set in the file /etc/xdg/autostart/nautilus-autostart.desktop

In 17.04 /etc/xdg/autostart/nautilus-autostart.desktop uses nautilus -n to draw the desktop.
In 17.10 /etc/xdg/autostart/nautilus-autostart.desktop uses nautilus-desktop to draw the desktop.
Error may have something to do with upgrading.

Compare your file.

glen@GU17:~$ cat /etc/xdg/autostart/nautilus-autostart.desktop
[Desktop Entry]
Type=Application
Name[af]=Lęers
Name[an]=Fichers
Name[ar]=الملفات
Name[as]=ফাইলসমূহ
Name[ast]=Ficheros
Name[be]=Файлы
Name[bg]=Файлове
Name[bn]=ফাইল
Name[bn_IN]=ফাইল
Name[bs]=Datoteke
Name[ca]=Fitxers
Name[ca@valencia]=Fitxers
Name[crh]=Dosyeler
Name[cs]=Soubory
Name[da]=Filer
Name[de]=Dateien
Name[el]=Αρχεία
Name[en_CA]=Files
Name[en_GB]=Files
Name[eo]=Dosieroj
Name[es]=Archivos
Name[et]=Failid
Name[eu]=Fitxategiak
Name[fa]=پرونده*ها
Name[fi]=Tiedostot
Name[fr]=Fichiers
Name[fur]=File
Name[ga]=Comhaid
Name[gd]=Faidhlichean
Name[gl]=Ficheiros
Name[gu]=ફાઇલો
Name[he]=קבצים
Name[hi]=फ़ाइल
Name[hr]=Datoteke
Name[hu]=Fájlok
Name[id]=Berkas
Name[is]=Skrár
Name[it]=File
Name[ja]=ファイル
Name[kk]=Файлдар
Name[kn]=ಕಡತಗಳು
Name[ko]=파일
Name[ky]=Файлдар
Name[ln]=Ba Fisyé
Name[lt]=Failai
Name[lv]=Datnes
Name[mk]=Датотеки
Name[ml]=ഫയലുകള്*
Name[mr]=फाइल्स्
Name[ms]=Fail-fail
Name[nb]=Filer
Name[ne]=फाइलहरू
Name[nl]=Bestanden
Name[nn]=Filer
Name[oc]=Fichičrs
Name[or]=ଫାଇଲଗୁଡିକ
Name[pa]=ਫਾਇਲਾਂ
Name[pl]=Pliki
Name[pt]=Ficheiros
Name[pt_BR]=Arquivos
Name[ro]=Fișiere
Name[ru]=Файлы
Name[sk]=Súbory
Name[sl]=Datoteke
Name[sr]=Датотеке
Name[sr@latin]=Datoteke
Name[sv]=Filer
Name[ta]=கோப்புகள்
Name[te]=దస్త్రాలు
Name[tg]=Файлҳо
Name[th]=แฟ้ม
Name[tr]=Dosyalar
Name[ug]=ھۆججەتلەر
Name[uk]=Файли
Name[vi]=Tập tin
Name[zh_CN]=文件
Name[zh_HK]=檔案
Name[zh_TW]=檔案
Name=Files
Exec=nautilus-desktop
OnlyShowIn=GNOME;Unity;
AutostartCondition=GSettings org.gnome.desktop.background show-desktop-icons
NoDisplay=true

t825143
November 19th, 2017, 06:08 PM
yes this what I figured it out too, I put an entry in startup and it worked...just it is not elegant...

looked in /etc/xdg/autostart/nautilus-autostart.desktop
I have the file nautilus-autostart.desktop
and the content is exactly as the one you inserted (line by line)

but I copied your code and created a new nautilus-autostart.desktop
reboot system..and now it worked...

so strange .. nautilus-autostart.desktop is a system wide and works fine for the other users except the upgraded admin account

thanks again..

RESOLVED