/usr/share/applications/google-chrome.desktop não aparece no menu "mostar aplicativos"

1. /usr/share/applications/google-chrome.desktop não aparece no menu "mostar aplicativos"

Cayo Mesquita Amorim
cayomesquita

(usa Slackware)

Enviado em 03/12/2018 - 23:47h

Boa noite, comunidade!

Não estou conseguindo exibir o ícone de atalho do aplicativo google-chrome no menu de aplicativos. Ubuntu 18.04.1 LTS

Obs.: há vários arquivos .desktop que estão no diretório applications e que não aparece no mostar aplicativos e há o inkscape q instalei "software ubuntu" q não encontro o .desktop dele.
Outra observação é q tenho uma partição separada /home que reutilizo quando vou atualizar/instalar o ubuntu.

Segue comando:

less /usr/share/applications/google-chrome.desktop:

[Desktop Entry]
Version=1.0
Name=Google Chrome
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
GenericName=Web Browser
GenericName[ar]=متصفح الشبكة
GenericName[bg]=Уеб браузър
GenericName[ca]=Navegador web
GenericName[cs]=WWW prohlížeč
GenericName[da]=Browser
GenericName[de]=Web-Browser
GenericName[el]=Περιηγητής ιστού
GenericName[en_GB]=Web Browser
GenericName[es]=Navegador web
GenericName[et]=Veebibrauser
GenericName[fi]=WWW-selain
GenericName[fr]=Navigateur Web
GenericName[gu]=વેબ બ્રાઉઝર
GenericName[he]=דפדפן אינטרנט
GenericName[hi]=वेब ब्राउज़र
GenericName[hu]=Webböngésző
GenericName[it]=Browser Web
GenericName[ja]=ウェブブラウザ
GenericName[kn]=ಜಾಲ ವೀಕ್ಷಕ
GenericName[ko]=웹 브라우저
GenericName[lt]=Žiniatinklio naršyklė
GenericName[lv]=Tīmekļa pārlūks
GenericName[ml]=വെബ് ബ്രൌസര്‍
GenericName[mr]=वेब ब्राऊजर
GenericName[nb]=Nettleser
GenericName[nl]=Webbrowser
GenericName[pl]=Przeglądarka WWW
GenericName[pt]=Navegador Web
GenericName[pt_BR]=Navegador da Internet
GenericName[ro]=Navigator de Internet
GenericName[ru]=Веб-браузер
GenericName[sl]=Spletni brskalnik
GenericName[sv]=Webbläsare
GenericName[ta]=இணைய உலாவி
GenericName[th]=เว็บเบราว์เซอร์
GenericName[tr]=Web Tarayıcı
GenericName[uk]=Навігатор Тенет
GenericName[zh_CN]=网页浏览器
GenericName[zh_HK]=網頁瀏覽器
GenericName[zh_TW]=網頁瀏覽器
# Not translated in KDE, from Epiphany 2.26.1-0ubuntu1.
GenericName[bn]=ওয়েব ব্রাউজার
GenericName[fil]=Web Browser
GenericName[hr]=Web preglednik
GenericName[id]=Browser Web
GenericName[or]=ଓ୍ବେବ ବ୍ରାଉଜର
GenericName[sk]=WWW prehliadač
GenericName[sr]=Интернет прегледник
GenericName[te]=మహాతల అన్వేషి
GenericName[vi]=Bộ duyệt Web
# Gnome and KDE 3 uses Comment.
Comment=Access the Internet
Comment[ar]=الدخول إلى الإنترنت
Comment[bg]=Достъп до интернет
Comment[bn]=ইন্টারনেটটি অ্যাক্সেস করুন
Comment[ca]=Accedeix a Internet
Comment[cs]=Přístup k internetu
Comment[da]=Få adgang til internettet
Comment[de]=Internetzugriff
Comment[el]=Πρόσβαση στο Διαδίκτυο
Comment[en_GB]=Access the Internet
Comment[es]=Accede a Internet.
Comment[et]=Pääs Internetti
Comment[fi]=Käytä internetiä
Comment[fil]=I-access ang Internet
Comment[fr]=Accéder à Internet
Comment[gu]=ઇંટરનેટ ઍક્સેસ કરો
Comment[he]=גישה אל האינטרנט
Comment[hi]=इंटरनेट तक पहुंच स्थापित करें
Comment[hr]=Pristup Internetu
Comment[hu]=Internetelérés
Comment[id]=Akses Internet
Comment[it]=Accesso a Internet
Comment[ja]=インターネットにアクセス
Comment[kn]=ಇಂಟರ್ನೆಟ್ ಅನ್ನು ಪ್ರವೇಶಿಸಿ
Comment[ko]=인터넷 연결
Comment[lt]=Interneto prieiga
Comment[lv]=Piekļūt internetam
Comment[ml]=ഇന്റര്‍‌നെറ്റ് ആക്‌സസ് ചെയ്യുക
Comment[mr]=इंटरनेटमध्ये प्रवेश करा
Comment[nb]=Gå til Internett
Comment[nl]=Verbinding maken met internet
Comment[or]=ଇଣ୍ଟର୍ନେଟ୍ ପ୍ରବେଶ କରନ୍ତୁ
Comment[pl]=Skorzystaj z internetu
Comment[pt]=Aceder à Internet
Comment[pt_BR]=Acessar a internet
Comment[ro]=Accesaţi Internetul
Comment[ru]=Доступ в Интернет
Comment[sk]=Prístup do siete Internet
Comment[sl]=Dostop do interneta
Comment[sr]=Приступите Интернету
Comment[sv]=Gå ut på Internet
Comment[ta]=இணையத்தை அணுகுதல்
Comment[te]=ఇంటర్నెట్‌ను ఆక్సెస్ చెయ్యండి
Comment[th]=เข้าถึงอินเทอร์เน็ต
Comment[tr]=İnternet'e erişin
Comment[uk]=Доступ до Інтернету
Comment[vi]=Truy cập Internet
Comment[zh_CN]=访问互联网
Comment[zh_HK]=連線到網際網路
Comment[zh_TW]=連線到網際網路
Exec=/usr/bin/google-chrome-stable %U
StartupNotify=true
Terminal=false
Icon=google-chrome
Type=Application
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;image/webp;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;
Actions=new-window;new-private-window;

[Desktop Action new-window]
Name=New Window
Name[am]=አዲስ መስኮት
Name[ar]=نافذة جديدة
Name[bg]=Нов прозорец
Name[bn]=নতুন উইন্ডো
Name[ca]=Finestra nova
Name[cs]=Nové okno
Name[da]=Nyt vindue
Name[de]=Neues Fenster
Name[el]=Νέο Παράθυρο
Name[en_GB]=New Window
Name[es]=Nueva ventana
Name[et]=Uus aken
Name[fa]=پنجره جدید
Name[fi]=Uusi ikkuna
Name[fil]=New Window
Name[fr]=Nouvelle fenêtre
Name[gu]=નવી વિંડો
Name[hi]=नई विंडो
Name[hr]=Novi prozor
Name[hu]=Új ablak
Name[id]=Jendela Baru
Name[it]=Nuova finestra
Name[iw]=חלון חדש
Name[ja]=新規ウインドウ
Name[kn]=ಹೊಸ ವಿಂಡೊ
Name[ko]=새 창
Name[lt]=Naujas langas
Name[lv]=Jauns logs
Name[ml]=പുതിയ വിന്‍ഡോ
Name[mr]=नवीन विंडो
Name[nl]=Nieuw venster
Name[no]=Nytt vindu
Name[pl]=Nowe okno
Name[pt]=Nova janela
Name[pt_BR]=Nova janela
Name[ro]=Fereastră nouă
Name[ru]=Новое окно
Name[sk]=Nové okno
Name[sl]=Novo okno
Name[sr]=Нови прозор
Name[sv]=Nytt fönster
Name[sw]=Dirisha Jipya
Name[ta]=புதிய சாளரம்
Name[te]=క్రొత్త విండో
Name[th]=หน้าต่างใหม่
Name[tr]=Yeni Pencere
Name[uk]=Нове вікно
Name[vi]=Cửa sổ Mới
Name[zh_CN]=新建窗口
Name[zh_TW]=開新視窗
Exec=/usr/bin/google-chrome-stable

[Desktop Action new-private-window]
Name=New Incognito Window
Name[ar]=نافذة جديدة للتصفح المتخفي
Name[bg]=Нов прозорец „инкогнито“
Name[bn]=নতুন ছদ্মবেশী উইন্ডো
Name[ca]=Finestra d'incògnit nova
Name[cs]=Nové anonymní okno
Name[da]=Nyt inkognitovindue
Name[de]=Neues Inkognito-Fenster
Name[el]=Νέο παράθυρο για ανώνυμη περιήγηση
Name[en_GB]=New Incognito window
Name[es]=Nueva ventana de incógnito
Name[et]=Uus inkognito aken
Name[fa]=پنجره جدید حالت ناشناس
Name[fi]=Uusi incognito-ikkuna
Name[fil]=Bagong Incognito window
Name[fr]=Nouvelle fenêtre de navigation privée
Name[gu]=નવી છુપી વિંડો
Name[hi]=नई गुप्त विंडो
Name[hr]=Novi anoniman prozor
Name[hu]=Új Inkognitóablak
Name[id]=Jendela Penyamaran baru
Name[it]=Nuova finestra di navigazione in incognito
Name[iw]=חלון חדש לגלישה בסתר
Name[ja]=新しいシークレット ウィンドウ
Name[kn]=ಹೊಸ ಅಜ್ಞಾತ ವಿಂಡೋ
Name[ko]=새 시크릿 창
Name[lt]=Naujas inkognito langas
Name[lv]=Jauns inkognito režīma logs
Name[ml]=പുതിയ വേഷ പ്രച്ഛന്ന വിന്‍ഡോ
Name[mr]=नवीन गुप्त विंडो
Name[nl]=Nieuw incognitovenster
Name[no]=Nytt inkognitovindu
Name[pl]=Nowe okno incognito
Name[pt]=Nova janela de navegação anónima
Name[pt_BR]=Nova janela anônima
Name[ro]=Fereastră nouă incognito
Name[ru]=Новое окно в режиме инкогнито
Name[sk]=Nové okno inkognito
Name[sl]=Novo okno brez beleženja zgodovine
Name[sr]=Нови прозор за прегледање без архивирања
Name[sv]=Nytt inkognitofönster
Name[ta]=புதிய மறைநிலைச் சாளரம்
Name[te]=క్రొత్త అజ్ఞాత విండో
Name[th]=หน้าต่างใหม่ที่ไม่ระบุตัวตน
Name[tr]=Yeni Gizli pencere
Name[uk]=Нове вікно в режимі анонімного перегляду
Name[vi]=Cửa sổ ẩn danh mới
Name[zh_CN]=新建隐身窗口
Name[zh_TW]=新增無痕式視窗
Exec=/usr/bin/google-chrome-stable --incognito


  


2. Re: /usr/share/applications/google-chrome.desktop não aparece no menu "mostar aplicativos"

Matheus
pylm

(usa Gentoo)

Enviado em 04/12/2018 - 14:56h

Verifique as permissões, se estiverem diferentes de algum arquivo que apareça no menu então copie-as:


chmod --reference=arquivo1 chrome.desktop



3. Re: /usr/share/applications/google-chrome.desktop não aparece no menu "mostar aplicativos"

Cayo Mesquita Amorim
cayomesquita

(usa Slackware)

Enviado em 11/12/2018 - 22:23h

Obrigado pela resposta

Porém todos os arquivos estão com a mesma permissão. Outra curiosidade é q os aplicativos que aparecem no "mostrar aplicativos" não correspondem a esses arquivos no diretório abaixo. Pois aparece o inkscape e ele não esta no diretório abaixo.

ls -ls no diretorio /usr/share/applications
total 812
4 -rw-r--r-- 1 root root 291 nov 2 12:19 apport-gtk.desktop
4 -rw-r--r-- 1 root root 125 mai 19 2016 apturl.desktop
12 -rw-r--r-- 1 root root 8605 mar 14 2018 bluetooth-sendto.desktop
4 -rw-r--r-- 1 root root 510 mar 21 2018 cheese.desktop
4 -rw-r--r-- 1 root root 480 dez 4 00:07 code.desktop
4 -rw-r--r-- 1 root root 366 dez 4 00:07 code-url-handler.desktop
4 -rw-r--r-- 1 root root 336 jul 18 12:04 com.canonical.launcher.amazon.desktop
0 lrwxrwxrwx 1 root root 24 nov 6 13:31 defaults.list -> /etc/gnome/defaults.list
16 -rw-r--r-- 1 root root 14629 abr 14 2018 eog.desktop
4 -rw-r--r-- 1 root root 1215 out 15 06:42 evince.desktop
4 -rw-r--r-- 1 root root 466 out 15 06:42 evince-previewer.desktop
4 -rw-r--r-- 1 root root 1244 nov 6 15:49 evolution-calendar.desktop
16 -rw-r--r-- 1 root root 15186 mar 21 2018 file-roller.desktop
12 -rw-r--r-- 1 root root 9259 nov 16 13:04 firefox.desktop
4 -rw-r--r-- 1 root root 215 mar 12 2018 gcr-prompter.desktop
4 -rw-r--r-- 1 root root 712 mar 12 2018 gcr-viewer.desktop
4 -rw-r--r-- 1 root root 710 abr 13 2018 gedit.desktop
4 -rw-r--r-- 1 root root 319 jul 20 2017 geoclue-where-am-i.desktop
4 -rw-r--r-- 1 root root 1164 fev 24 2018 gkbd-keyboard-display.desktop
4 -rw-r--r-- 1 root root 667 ago 7 20:48 gnome-background-panel.desktop
4 -rw-r--r-- 1 root root 817 ago 7 20:48 gnome-bluetooth-panel.desktop
4 -rw-r--r-- 1 root root 823 ago 7 20:48 gnome-color-panel.desktop
4 -rw-r--r-- 1 root root 639 ago 7 20:48 gnome-control-center.desktop
4 -rw-r--r-- 1 root root 631 ago 7 20:48 gnome-datetime-panel.desktop
4 -rw-r--r-- 1 root root 780 ago 7 20:48 gnome-default-apps-panel.desktop
4 -rw-r--r-- 1 root root 1685 jul 5 11:23 gnome-disk-image-mounter.desktop
4 -rw-r--r-- 1 root root 1746 jul 5 11:23 gnome-disk-image-writer.desktop
4 -rw-r--r-- 1 root root 890 ago 7 20:48 gnome-display-panel.desktop
4 -rw-r--r-- 1 root root 992 ago 7 20:48 gnome-info-overview-panel.desktop
0 lrwxrwxrwx 1 root root 55 out 31 09:01 gnome-initial-setup.desktop -> ../gdm/greeter/applications/gnome-initial-setup.desktop
4 -rw-r--r-- 1 root root 852 ago 7 20:48 gnome-keyboard-panel.desktop
4 -rw-r--r-- 1 root root 494 mai 20 2018 gnome-language-selector.desktop
4 -rw-r--r-- 1 root root 297 fev 4 2018 gnome-mahjongg.desktop
16 -rw-r--r-- 1 root root 14539 set 28 10:30 gnome-mines.desktop
4 -rw-r--r-- 1 root root 854 ago 7 20:48 gnome-mouse-panel.desktop
4 -rw-r--r-- 1 root root 807 ago 7 20:48 gnome-network-panel.desktop
4 -rw-r--r-- 1 root root 896 ago 7 20:48 gnome-notifications-panel.desktop
4 -rw-r--r-- 1 root root 1002 ago 7 20:48 gnome-online-accounts-panel.desktop
4 -rw-r--r-- 1 root root 833 ago 7 20:48 gnome-power-panel.desktop
4 -rw-r--r-- 1 root root 732 ago 7 20:48 gnome-printers-panel.desktop
4 -rw-r--r-- 1 root root 883 ago 7 20:48 gnome-privacy-panel.desktop
4 -rw-r--r-- 1 root root 853 ago 7 20:48 gnome-region-panel.desktop
4 -rw-r--r-- 1 root root 845 ago 7 20:48 gnome-removable-media-panel.desktop
4 -rw-r--r-- 1 root root 836 ago 7 20:48 gnome-search-panel.desktop
4 -rw-r--r-- 1 root root 476 mai 2 2018 gnome-session-properties.desktop
4 -rw-r--r-- 1 root root 749 ago 7 20:48 gnome-sharing-panel.desktop
4 -rw-r--r-- 1 root root 371 nov 6 15:49 gnome-shell-extension-prefs.desktop
4 -rw-r--r-- 1 root root 2059 set 19 11:27 gnome-software-local-file.desktop
4 -rw-r--r-- 1 root root 832 ago 7 20:48 gnome-sound-panel.desktop
4 -rw-r--r-- 1 root root 1404 mar 10 2018 gnome-sudoku.desktop
4 -rw-r--r-- 1 root root 642 mai 30 2018 gnome-terminal.desktop
4 -rw-r--r-- 1 root root 690 ago 7 20:48 gnome-thunderbolt-panel.desktop
4 -rw-r--r-- 1 root root 583 ago 7 20:48 gnome-ubuntu-panel.desktop
4 -rw-r--r-- 1 root root 960 ago 7 20:48 gnome-universal-access-panel.desktop
4 -rw-r--r-- 1 root root 826 ago 7 20:48 gnome-user-accounts-panel.desktop
4 -rw-r--r-- 1 root root 817 ago 7 20:48 gnome-wacom-panel.desktop
4 -rw-r--r-- 1 root root 800 ago 7 20:48 gnome-wifi-panel.desktop
12 -rw-r--r-- 1 root root 8411 nov 16 02:54 google-chrome.desktop
4 -rw-r--r-- 1 root root 423 fev 25 2018 hplj1020.desktop
4 -rw-r--r-- 1 root root 286 abr 17 2018 ibus-setup.desktop
4 -rw-r--r-- 1 root root 205 jan 14 2017 ibus-setup-table.desktop
4 -rw-r--r-- 1 root root 969 jun 10 2018 im-config.desktop
24 -rw-r--r-- 1 root root 22453 ago 30 06:49 libreoffice-calc.desktop
20 -rw-r--r-- 1 root root 19479 ago 30 06:49 libreoffice-draw.desktop
24 -rw-r--r-- 1 root root 22552 ago 30 06:49 libreoffice-impress.desktop
20 -rw-r--r-- 1 root root 18389 ago 30 06:49 libreoffice-math.desktop
24 -rw-r--r-- 1 root root 21175 ago 30 06:49 libreoffice-startcenter.desktop
24 -rw-r--r-- 1 root root 21390 ago 30 06:49 libreoffice-writer.desktop
8 -rw-r--r-- 1 root root 4676 ago 30 06:49 libreoffice-xsltfilter.desktop
28 -rw-r--r-- 1 root root 25076 dez 4 00:08 mimeinfo.cache
4 -rw-r--r-- 1 root root 328 out 8 13:30 mount-archive.desktop
4 -rw-r--r-- 1 root root 494 out 31 09:19 mutter.desktop
4 -rw-r--r-- 1 root root 2013 out 8 13:30 nautilus-autorun-software.desktop
4 -rw-r--r-- 1 root root 319 out 8 13:30 nautilus-classic.desktop
4 -rw-r--r-- 1 root root 2186 out 8 13:30 nautilus.desktop
4 -rw-r--r-- 1 root root 464 out 8 13:30 nautilus-folder-handler.desktop
4 -rw-r--r-- 1 root root 500 out 8 13:30 nautilus-home.desktop
4 -rw-r--r-- 1 root root 350 jan 22 2018 nm-applet.desktop
4 -rw-r--r-- 1 root root 439 jan 22 2018 nm-connection-editor.desktop
4 -rw-r--r-- 1 root root 216 fev 3 2018 notification-daemon.desktop
20 -rw-r--r-- 1 root root 16968 mar 13 2018 org.gnome.baobab.desktop
4 -rw-r--r-- 1 root root 1787 mai 25 2018 org.gnome.Calendar.desktop
4 -rw-r--r-- 1 root root 522 mar 21 2018 org.gnome.Cheese.desktop
12 -rw-r--r-- 1 root root 9443 mar 16 2018 org.gnome.DejaDup.desktop
4 -rw-r--r-- 1 root root 1496 jul 5 11:23 org.gnome.DiskUtility.desktop
20 -rw-r--r-- 1 root root 16485 mar 21 2018 org.gnome.FileRoller.desktop
12 -rw-r--r-- 1 root root 11100 mar 18 2018 org.gnome.font-viewer.desktop
4 -rw-r--r-- 1 root root 743 abr 13 2018 org.gnome.gedit.desktop
4 -rw-r--r-- 1 root root 2692 out 8 13:30 org.gnome.Nautilus.desktop
12 -rw-r--r-- 1 root root 11386 jan 31 2018 org.gnome.PowerStats.desktop
24 -rw-r--r-- 1 root root 22681 out 12 2017 org.gnome.Screenshot.desktop
4 -rw-r--r-- 1 root root 492 nov 6 15:49 org.gnome.Shell.desktop
4 -rw-r--r-- 1 root root 1686 nov 6 15:49 org.gnome.Shell.PortalHelper.desktop
4 -rw-r--r-- 1 root root 2077 set 19 11:27 org.gnome.Software.desktop
4 -rw-r--r-- 1 root root 1922 set 19 11:27 org.gnome.Software.Editor.desktop
4 -rw-r--r-- 1 root root 633 mai 30 2018 org.gnome.Terminal.desktop
4 -rw-r--r-- 1 root root 1529 abr 11 2018 org.gnome.Todo.desktop
24 -rw-r--r-- 1 root root 22195 nov 13 13:17 org.gnome.Totem.desktop
8 -rw-r--r-- 1 root root 5125 abr 10 2018 org.remmina.Remmina.desktop
4 -rw-r--r-- 1 root root 220 out 22 08:32 python3.6.desktop
4 -rw-r--r-- 1 root root 231 abr 10 2018 remmina-file.desktop
4 -rw-r--r-- 1 root root 1226 mar 26 2018 rhythmbox.desktop
4 -rw-r--r-- 1 root root 622 mar 26 2018 rhythmbox-device.desktop
4 -rw-r--r-- 1 root root 506 dez 16 2017 seahorse.desktop
4 -rw-r--r-- 1 root root 1254 abr 11 2018 shotwell.desktop
4 -rw-r--r-- 1 root root 1608 abr 11 2018 shotwell-viewer.desktop
12 -rw-r--r-- 1 root root 10609 mar 26 2018 simple-scan.desktop
4 -rw-r--r-- 1 root root 344 ago 17 06:56 software-properties-drivers.desktop
4 -rw-r--r-- 1 root root 580 ago 17 06:56 software-properties-gtk.desktop
4 -rw-r--r-- 1 root root 447 mar 12 2018 sol.desktop
4 -rw-r--r-- 1 root root 399 nov 30 06:31 syntevo-smartgit.desktop
4 -rw-r--r-- 1 root root 518 abr 3 2018 system-config-printer.desktop
12 -rw-r--r-- 1 root root 10062 set 11 18:39 thunderbird.desktop
20 -rw-r--r-- 1 root root 19763 nov 13 13:17 totem.desktop
8 -rw-r--r-- 1 root root 4493 fev 6 2018 transmission-gtk.desktop
4 -rw-r--r-- 1 root root 321 jul 18 12:04 ubuntu-amazon-default.desktop
4 -rw-r--r-- 1 root root 302 jul 20 07:26 update-manager.desktop
4 -rw-r--r-- 1 root root 288 abr 9 2018 usb-creator-gtk.desktop
4 -rw-r--r-- 1 root root 3617 abr 10 2018 vim.desktop
4 -rw-r--r-- 1 root root 354 fev 22 2018 vino-server.desktop
4 -rw-r--r-- 1 root root 513 abr 13 2018 yelp.desktop






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts