Announcement

Collapse
No announcement yet.

Type= "Application" but no Exec line.

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Type= "Application" but no Exec line.

    After completing installation of screensaver KOceanSaver, it is necessary to run the command kbuildsycoca4, to enable it to appear in
    System Settings-Screensavers.

    The command did not work-this message appears:
    Code:
    kbuildsycoca4 running...
    kbuildsycoca4(23519)/kdecore (services) KServicePrivate::init: The desktop entry file  "/home/bumpy/.local/share/applications/solid_[B]audiocd.desktop"  has Type= "Application"  but no Exec line.[/B]
    kbuildsycoca4(23519) KBuildServiceFactory::createEntry: Invalid Service :  "/home/bumpy/.local/share/applications/solid_audiocd.desktop"
    Any ideas on fixing this?

    #2
    Yes, edit (as root) /usr/share/kde4/apps/solid/actions/solid_audiocd.desktop

    Code:
    [Desktop Entry]
    X-KDE-Solid-Predicate=[StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Audio']
    Actions=open;
    Type=Service
    X-KDE-Priority=TopLevel
    
    
    [Desktop Action open]
    Exec=kioclient exec audiocd:/?device=%d
    Icon=system-file-manager
    Name=Open with File Manager
    It should look like this (probably with a whole lot more languages in ti...)

    Please Read Me

    Comment


      #3
      This is a bit beyond me!
      Would you mind showing me "the whole code string as typed in Konsole"? I'm afraid of screwing up my system!!

      Comment


        #4
        Code:
        bumpy@Peterputer:/$ [Desktop Entry]X-KDE-Solid-Predicate=[StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Audio']
        [Desktop: command not found
        bumpy@Peterputer:/$ Actions=open;
        bumpy@Peterputer:/$ Type=Service
        bumpy@Peterputer:/$ X-KDE-Priority=TopLevel
        X-KDE-Priority=TopLevel: command not found
        bumpy@Peterputer:/$ [Desktop Action open]
        [Desktop: command not found
        bumpy@Peterputer:/$ Exec=kioclient exec audiocd:/?device=%d
        bash: /audiocd:/?device=%d: No such file or directory
        bumpy@Peterputer:/$ Icon=system-file-manager
        bumpy@Peterputer:/$ Name=Open with File Manager
        No command 'with' found, did you mean:
         Command 'wish' from package 'tk' (main)
         Command 'wit' from package 'wit' (universe)
        with: command not found
        bumpy@Peterputer:/$
        This doesnt look right!

        Comment


          #5
          No, no, edit the file...

          Cut-n-paste this command into a terminal:

          kdesudo kate /usr/share/kde4/apps/solid/actions/solid_audiocd.desktop

          This will ask you for your password. and then open up with the contents of the file displayed. It should look like the code I posted above. If it doesn't, edit it to make it look like the above and then save and exit and try to rebuild kbuildsyscoca5 again.

          Please Read Me

          Comment


            #6
            Code:
            bumpy@Peterputer:~$ kdesudo kate /usr/share/kde4/apps/solid/actions/solid_audiocd.desktop
            Bus::open: Can not get ibus-daemon's address. 
            IBusInputContext::createInputContext: no connection to ibus-daemon 
            QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
            kate(27333)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType  "Kate/Plugin"  not found 
            QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
            QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
            QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
            QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus
            Bus::open: Can not get ibus-daemon's address. 
            IBusInputContext::createInputContext: no connection to ibus-daemon 
            QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
            QFileSystemWatcher: failed to add paths: /root/.kde/share/config/activitymanager-pluginsrc
            solid_audio.desktop - Kate
            Code:
            X-KDE-Solid-Predicate=[StorageVolume.ignored == false AND OpticalDisc.availableContent == 'Audio']
            Actions=open;
            Type=Service
            X-KDE-Priority=TopLevel
            
            [Desktop Action open]
            Exec=kioclient exec audiocd:/?device=%d
            Icon=system-file-manager
            Name=Open with File Manager
            Name[bg]=Отваряне с файлов мениджър
            Name[bs]=Otvori menadžerom datoteka
            Name[ca]=Obre amb el gestor de fitxers
            Name[ca@valencia]=Obri amb el gestor de fitxers
            Name[cs]=Otevřít ve správci souborů
            Name[da]=Åbn med filhåndtering
            Name[de]=Mit Dateimanager öffnen
            Name[el]=Άνοιγμα με διαχειριστή αρχείων
            Name[en_GB]=Open with File Manager
            Name[es]=Abrir con el gestor de archivos
            Name[et]=Avamine failihalduriga
            Name[fi]=Avaa tiedostonhallinnassa
            Name[fr]=Ouvrir avec le gestionnaire de fichiers
            Name[ga]=Oscail le Bainisteoir Comhad
            Name[gl]=Abrir co xestor de ficheiros
            Name[hu]=Megnyitás fájlkezelővel
            Name[ia]=Aperi con un gerente de file
            Name[is]=Opna með skráastjóra
            Name[it]=Apri con il gestore dei file
            Name[ja]=ファイルマネージャで開く
            Name[kk]=Файл менеджерінде ашу
            Name[km]=បើក​ជា​មួយ​កម្មវិធី​គ្រប់គ្រង​ឯកសារ
            Name[ko]=파일 관리자로 열기
            Name[lt]=Atverti su failų tvarkykle
            Name[mr]=फाईल व्यवस्थापकात उघडा
            Name[nb]=Åpne med filbehandler
            Name[nds]=Mit Dateipleger opmaken
            Name[nl]=Openen met bestandsbeheerder
            Name[nn]=Opna i filhandsamar
            Name[pa]=ਫਾਇਲ ਮੈਨੇਜਰ ਵਿੱਚ ਖੋਲ੍ਹੋ
            Name[pl]=Otwórz do zarządzania plikami
            Name[pt]=Abrir com o Gestor de Ficheiros
            Name[pt_BR]=Abrir com o gerenciador de arquivos
            Name[ro]=Deschide cu gestionarul de fișiere
            Name[ru]=Открыть в диспетчере файлов
            Name[sk]=Otvoriť v správcovi súborov
            Name[sl]=Odpri v upravljalniku datotek
            Name[sr]=Отвори менаџером фајлова
            Name[sr@ijekavian]=Отвори менаџером фајлова
            Name[sr@ijekavianlatin]=Otvori menadžerom fajlova
            Name[sr@latin]=Otvori menadžerom fajlova
            Name[sv]=Öppna med filhanterare
            Name[tr]=Dosya Yöneticisi ile Aç
            Name[ug]=ھۆججەت باشقۇرغۇدا ئاچ
            Name[uk]=Відкрити за допомогою менеджера файлів
            Name[x-test]=xxOpen with File Managerxx
            Name[zh_CN]=用文件管理器打开
            Name[zh_TW]=使用檔案管理員開啟
            kdesudo - Konsole
            bumpy@Peterputer:~$ kdesudo kate /usr/share/kde4/apps/solid/actions/solid_audiocd.desktop
            Bus:pen: Can not get ibus-daemon's address.
            IBusInputContext::createInputContext: no connection to ibus-daemon
            QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
            kate(27333)/kdecore (trader) KServiceTypeTrader::defaultOffers: KServiceTypeTrader: serviceType "Kate/Plugin" not found
            QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
            QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
            QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
            QFileSystemWatcher: failed to add paths: /root/.config/ibus/bus
            Bus:pen: Can not get ibus-daemon's address.
            IBusInputContext::createInputContext: no connection to ibus-daemon
            QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory
            QFileSystemWatcher: failed to add paths: /root/.kde/share/config/activitymanager-pluginsrc


            Does that look correct?
            Last edited by Bumpalot; Jul 31, 2015, 02:39 PM. Reason: adding more info

            Comment

            Working...
            X