Roy Schestowitz wrote:
> __/ [ Filippo ] on Saturday 11 March 2006 12:00 \__
>
>> I would kde like to start ktorrent when the screen saver starts.
>> Is that possible, and how?
>
> A screen saver is merely an executable (perhaps with extra attributes).
> You could make ktorrent appear like a screen saver excitable or simply
> seek the directory which accommodates all the screen savers currently
> available for use. If you find that directory (use tools like 'find': $
> man find ), add a copy of the ktorrent executable to it and see if it
> appears in the list of
> screen savers under Control Center. I am not entirely sure this will
> work, but I have some hopes.
>
> Hope it helps,
>
> Roy
well, in my system, screen savers appear in the Control Center list if they
have a .desktop file here:
/opt/kde/share/applnk/System/ScreenSavers/
then the screen savers are in /opt/kde/bin
for example, I use Kclock as a screen saver, and I would like that ktorrent
is launched with it
this is the file: /opt/kde/share/applnk/System/ScreenSavers/KClock.desktop
[Desktop Entry]
Encoding=UTF-8
Exec=kclock.kss
Icon=kscreensaver
Type=Application
Actions=Setup;InWindow;Root;
X-KDE-Category=Miscellaneous
Name=Clock
(...)
[Desktop Action Setup]
Exec=kclock.kss -setup
Name=Setup...
(...)
Icon=kscreensaver
[Desktop Action InWindow]
Exec=kclock.kss -window-id %w
Name=Display in Specified Window
(...)
NoDisplay=true
[Desktop Action Root]
Exec=kclock.kss -root
Name=Display in Root Window
(...)
NoDisplay=true
--------------------
(...) = internationalisations; I omitted them
|
|