Commit 240d0d6f authored by Jonathan Esk-Riddell's avatar Jonathan Esk-Riddell 🏄
Browse files

No icons on the desktop by default

Summary:
Don't add Home.desktop to links folder and don't add trash link.

Closes T7948

Test Plan: Start plasma as new user

Reviewers: #plasma, hein

Reviewed By: #plasma, hein

Subscribers: ngraham, broulik, hein, mart, zzag, plasma-devel

Tags: #plasma

Maniphest Tasks: T7948

Differential Revision: https://phabricator.kde.org/D10588
parent 176e79fc
......@@ -25,4 +25,3 @@ install(TARGETS desktopnotifier DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kded)
install( FILES desktop.protocol DESTINATION ${KDE_INSTALL_KSERVICES5DIR} )
install(FILES directory.desktop directory.trash DESTINATION ${KDE_INSTALL_DATADIR}/kio_desktop)
install(FILES Home.desktop DESTINATION ${KDE_INSTALL_DATADIR}/kio_desktop/DesktopLinks)
[Desktop Entry]
Encoding=UTF-8
Name=Home
Name[ca]=Inici
Name[ca@valencia]=Inici
Name[cs]=Můj adresář
Name[da]=Hjem
Name[de]=Persönlicher Ordner
Name[el]=Προσωπικός φάκελος
Name[en_GB]=Home
Name[es]=Inicio
Name[et]=Kodu
Name[eu]=Etxea
Name[fi]=Koti
Name[fr]=Dossier personnel
Name[gl]=Persoal
Name[he]=בית
Name[hu]=Saját mappa
Name[is]=Heimamappa
Name[it]=Home
Name[ja]=ホーム
Name[ko]=홈
Name[lt]=Pradžia
Name[nl]=Home
Name[nn]=Heim
Name[pa]=ਘਰ
Name[pl]=Katalog domowy
Name[pt]=Pasta Pessoal
Name[pt_BR]=Pasta Pessoal
Name[ru]=Домашняя папка
Name[se]=Ruoktu
Name[sk]=Domov
Name[sl]=Dom
Name[sr]=Домаће
Name[sr@ijekavian]=Домаће
Name[sr@ijekavianlatin]=Domaće
Name[sr@latin]=Domaće
Name[sv]=Hem
Name[tr]=Başlangıç
Name[uk]=Домівка
Name[x-test]=xxHomexx
Name[zh_CN]=主文件夹
Name[zh_TW]=家目錄
GenericName=Personal Files
GenericName[ca]=Fitxers personals
GenericName[ca@valencia]=Fitxers personals
GenericName[cs]=Osobní soubory
GenericName[da]=Personlige filer
GenericName[de]=Persönliche Dateien
GenericName[el]=Προσωπικά αρχεία
GenericName[en_GB]=Personal Files
GenericName[es]=Archivos personales
GenericName[et]=Isiklikud failid
GenericName[eu]=Fitxategi pertsonalak
GenericName[fi]=Omat tiedostot
GenericName[fr]=Fichiers personnels
GenericName[gl]=Ficheiros persoais
GenericName[he]=קבצים אישיים
GenericName[hu]=Személyes fájlok
GenericName[is]=Einkaskrár
GenericName[it]=File personali
GenericName[ja]=個人のファイル
GenericName[ko]=개인적인 파일
GenericName[lt]=Asmeniniai failai
GenericName[nl]=Persoonlijke bestanden
GenericName[nn]=Personlege filer
GenericName[pa]=ਨਿੱਜੀ ਫਾਇਲਾਂ
GenericName[pl]=Pliki osobiste
GenericName[pt]=Ficheiros Pessoais
GenericName[pt_BR]=Arquivos pessoais
GenericName[ru]=Личные файлы
GenericName[se]=Iežat fiillat
GenericName[sk]=Osobné súbory
GenericName[sl]=Osebne datoteke
GenericName[sr]=Лични фајлови
GenericName[sr@ijekavian]=Лични фајлови
GenericName[sr@ijekavianlatin]=Lični fajlovi
GenericName[sr@latin]=Lični fajlovi
GenericName[sv]=Personliga filer
GenericName[tr]=Kişisel Dosyalar
GenericName[uk]=Особисті файли
GenericName[x-test]=xxPersonal Filesxx
GenericName[zh_CN]=个人文件
GenericName[zh_TW]=個人檔案
URL[$e]=$HOME
Icon=user-home
Type=Link
......@@ -82,10 +82,6 @@ void DesktopProtocol::checkLocalInstall()
QFile::copy(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kio_desktop/directory.desktop")),
desktopPath + "/.directory");
// Copy the trash link
QFile::copy(QStandardPaths::locate(QStandardPaths::GenericDataLocation, QStringLiteral("kio_desktop/directory.trash")),
desktopPath + "/trash.desktop");
// Copy the desktop links
QSet<QString> links;
const auto dirs = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("kio_desktop/DesktopLinks"), QStandardPaths::LocateDirectory);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment