![]() |
ALSA config switch for LibreOffice - Printable Version +- Linux Lite Forums (https://www.linuxliteos.com/forums) +-- Forum: Development (https://www.linuxliteos.com/forums/forumdisplay.php?fid=7) +--- Forum: Linux Lite Software Development (https://www.linuxliteos.com/forums/forumdisplay.php?fid=30) +--- Thread: ALSA config switch for LibreOffice (/showthread.php?tid=5539) |
ALSA config switch for LibreOffice - trinidad - 08-23-2018 I'm script automating several items to use LibreOffice Calc from the terminal, successfully, but with one caveat. I get the ALSA library error when using the LL system sounds. I like the system sounds to be used, but I need a script for turning it off or on when Calc is started from the terminal. Either will work. A sample of the script is below. If I completely turn off system sounds it runs without errors. I want the syetm sounds to keep working. It would be nice to change the ALSA permissions for LibreOffice somehow. #!/bin/bash wget -q -P /home/user/test/temp/ "https://www.someapi.co/query?function=TIME_SERIES_INTRADAY&symbol=MSFT&interval=5min&apikey=...................&datatype=csv" libreoffice --calc /home/user/test/temp/* .csv Update: I am getting a 3617 error for Alsa which essentially points to an incomplete installation. I'm guessing LO Calc is only partially installed. TC Re: ALSA config switch for LibreOffice - kpanic - 08-24-2018 Try switching from ALSA (it is old and soon-to-be-deprecated, I think) to OSS or Pulseaudio. Code: sudo lsmod | grep oss Code: snd_pcm_oss 49152 0 Re: ALSA config switch for LibreOffice - trinidad - 08-25-2018 Thanks [member=7701]kpanic[/member] , but I am already aware of that, I believe this an XFCE specific DE configuration issue. There is no issue when starting Calc normally from the XFCE GUI. The system sounds all work. I am saying that for some reason starting Calc from the terminal causes it to attempt to use LOs old default ALSA queries, as if it seems to have no access (permission) to the existing XFCE system sound configurations in that environment, i/e it builds a GUI but not from a normal GUI startup for LO thus losing access to the system sound configurations. I'm sure it is the way the mod is starting/not starting that is the problem. If I am correct in that assumption the resolution could scripted for temporary exceptions, which is what I hope to do. Perhaps something beginning: --unaccept={UNO string} if indeed the sound connection is sent in such a fashion. TC |