home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux.suse      Suse is actually not that bad      138,051 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 137,173 of 138,051   
   Malcolm to Carlos E.R.   
   Re: Simple audio player.   
   20 Mar 21 09:58:33   
   
   From: malcolmlewis@cableone.net.invalid   
      
   On Sat, 20 Mar 2021 13:31:38 +0100   
   "Carlos E.R."  wrote:   
      
   > On 19/03/2021 23.37, Malcolm wrote:   
   > > On Fri, 19 Mar 2021 22:13:49 -0000 (UTC)   
   > > William Unruh  wrote:   
   > >   
   > >> On 2021-03-19, Malcolm  wrote:   
   > >>> On Thu, 18 Mar 2021 12:05:25 +0100   
   > >>> "Carlos E.R."  wrote:   
   > >>>   
   > >>>> Cron (or timer) is worse: no terminal assigned, so echoing the   
   > >>>> bell character will not sound.   
   > >>> Hi   
   > >>> The assign one in the service....?   
   > >>> Environment=TERM=linux   
   > >>   
   > >> No. That just tells the system what type of terminal emulator to   
   > >> use. It does not assign a tty to the service. Ie, when cron   
   > >> starts, where is it supposed to send the output and where get its   
   > >> input from. It assumes that there is nowhere to send the output to   
   > >> ( except perhaps to mail) and nowhere to get input from.   
   > >>>   
   > > Hi   
   > > Sure, that's just a snippet for assigning a terminal in a service.   
   > > As per my earlier posts shows a full systemd service on how I do it   
   > > with with the likes of htop running on tty12....  Have lots of   
   > > things running on tty's as have no need to log in, just switch...   
   >   
   >   
   > Wait, you are saying that the line:   
   >   
   >   
   > Environment=TERM=linux   
   >   
   >   
   > is a specific systemd concoction that actually assigns some type of   
   > virtual terminal to the timer job?   
   >   
   > Well, this is news to me. It was not clear in your post, either.   
   >   
   > That would solve the issue of doing a beep (which I can send to   
   > /dev/console instead), but does not solve the issue of having proper   
   > sound from a cron job (as the OP requested), or even a service (I   
   > want to play sound from services and it doesn't work - the samples I   
   > posted belong to systemd services I have).   
   >   
   > The solution would be running pulse as a global daemon so that users   
   > can access it before the desktop is running, or besides it.   
   >   
   Hi   
   It's a real terminal on the selected tty, so not sure console would   
   work....   
      
   Maybe this would help: https://bbs.archlinux.org/viewtopic.php?id=213751   
      
   --   
   Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)   
   Tumbleweed 20210318 | GNOME Shell 3.38.3 | 5.11.6-1-default   
   Intel DQ77MK  | Xeon E3-1245 V2 X8 @ 3.40 GHz | Intel/AMD/Nvidia   
   up 1 day 11:27, 2 users, load average: 2.32, 1.29, 0.71   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca