Find the answer to your Linux question:
Results 1 to 2 of 2
Hi I have a win.scr that I like and run with wine.--wine /path/file.scr -s but it does not run long...sensitive mouse I guess is there a command or commands to ...
  1. #1
    Just Joined!
    Join Date
    Feb 2007
    Posts
    97

    keep program running

    Hi
    I have a win.scr that I like and run with wine.--wine /path/file.scr -s
    but it does not run long...sensitive mouse I guess

    is there a command or commands to keep it running until a mouse CLICK or KEY press. I cannot seem to figure it out...been reading lots

    thanks

    edit:
    this may require a script if a command is not possible
    but although I am reading a lot of text the answer is miles away
    bin#bash!
    /path/file.scr -s
    if input $ ; then exit
    elseif stay running
    LOL ya that works...NOT
    If it helps I have a linux saver as desktop wallpaper but I like this classic freeare occasionally.. but at that time I would like it to stay running until input

    adding:
    well I guess that's not going to happen...

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Location
    Córdoba (Spain)
    Posts
    1,513
    Quote Originally Posted by bucky View Post
    Hi
    I have a win.scr that I like and run with wine.--wine /path/file.scr -s
    but it does not run long...sensitive mouse I guess

    is there a command or commands to keep it running until a mouse CLICK or KEY press. I cannot seem to figure it out...been reading lots

    thanks

    edit:
    this may require a script if a command is not possible
    but although I am reading a lot of text the answer is miles away
    bin#bash!
    /path/file.scr -s
    if input $ ; then exit
    elseif stay running
    LOL ya that works...NOT
    If it helps I have a linux saver as desktop wallpaper but I like this classic freeare occasionally.. but at that time I would like it to stay running until input

    adding:
    well I guess that's not going to happen...
    I am not sure if I understand it correctly. The problem is that the screensaver plays and then stops, isn't it? If that's the case, then you can make a loop to launch it ad infinitum, though I have really no idea how will that look or how it would perform. I really never tried wine for this thing.

    Implementing a sentinel daemon that watches for keyboard/mouse activity and launches the relevant command wouldn't be a trivial task, though, and while there are native linux screensavers, I don't see a need either. Anyway, my favourite screensaver has been ported to all the OSs: the black screen.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...