https://bugs.kde.org/show_bug.cgi?id=426125

--- Comment #6 from Keven L. Ates <atesc...@gmail.com> ---
Reviewing comment 3, there was no instruction for running a ".desktop" file in
a terminal.  However, searches indicated this might be done.  The result of
such a run follow.  The command to run a desktop file from a terminal is:

  kioclient5 exec <your.desktop>

The TermTest.desktop file:
NOTE: The <user> (the current user) in the "Path=" line is a holder for an
actual user directory and the "Bin" directory from the "Exec=" and "Path="
lines exists in the <user> directory.

> [Desktop Entry]
> Comment[en_US]=
> Comment=
> Exec=xyzzy --config ~/Bin/test.cfg
> GenericName[en_US]=
> GenericName=
> Icon=network-server-database
> MimeType=
> Name[en_US]=TermTest
> Name=TermTest
> Path=/home/<user>/Bin
> StartupNotify=true
> Terminal=true
> TerminalOptions=\s--noclose
> Type=Application
> X-DBUS-ServiceName=
> X-DBUS-StartupType=none
> X-KDE-RunOnDiscreteGpu=false
> X-KDE-SubstituteUID=false
> X-KDE-Username=

Executing the TermTest.desktop file in a terminal with the QT Logging Rules:

>~$ cd Desktop
>~/Desktop$ export QT_LOGGING_RULES="*kio*=true;"
>~/Desktop$ kioclient5 exec TermTest.desktop
>kf5.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/recentlyused.so" 
>supports protocols ("recentlyused")
>kf5.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/ftp.so" supports 
>protocols ("ftp")
>kf5.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/audiocd.so" 
>supports protocols ("audiocd")
>kf5.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/remote.so" 
>supports protocols ("remote")
>kf5.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/file.so" supports 
>protocols ("file")
>kf5.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/http.so" supports 
>protocols ("http", "https", "webdav", "webdavs")
>kf5.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/gdrive.so" 
>supports protocols ("gdrive")
>kf5.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/trash.so" 
>supports protocols ("trash")
>kf5.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/help.so" supports 
>protocols ("help")
>kf5.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/ghelp.so" 
>supports protocols ("ghelp")
>kf5.kio.core: "/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/kdeconnect.so" 
>supports protocols ("kdeconnect")
>~/Desktop$ "Could not find binary: " "xyzzy"

Additionally, as show in the "Exec=" line, this process erroneously produces a
~/Bin/test.cfg file containing a default konsolerc configuration:

> [Desktop Entry]
> DefaultProfile=
> 
> [Favorite Profiles]
> Favorites=
> 
> [MainWindow]
> State=AAAA/wAAAAD9AAAAAAAAAoAAAAHCAAAABAAAAAQAAAAIAAAACPwAAAAA
> ToolBarsMovable=Disabled

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to