Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: How to start a program when screen saver starts?

  • Subject: Re: How to start a program when screen saver starts?
  • From: Filippo <no.spam@xxxxxxx>
  • Date: Sat, 11 Mar 2006 17:53:37 +0100
  • Newsgroups: comp.windows.x.kde
  • Organization: TDC Switzerland AG, http://www.sunrise.ch
  • References: <4412bbdf$0$723$5402220f@news.sunrise.ch> <duut8v$t9$1@godfrey.mcc.ac.uk>
  • User-agent: KNode/0.10.1
  • Xref: news.mcc.ac.uk comp.windows.x.kde:39177
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

[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index