Re: [lubuntu-users] pcspkr bell issue
On Sun, 23 Oct 2016 17:41:57 -0500, Israel wrote: >maybe you need a bit of time after it loads... >perhaps running > >modprobe pcspkr && sleep 10 # or whatever amount you want No, I tried 'echo -e \\a' a long time after the script finished. >## the only real thing getting done would be sourcing your bashrc > >source ~/.bashrc ## you might need /home/user instead of ~ if you run >as root I didn't test this. >the other thing ???might?? be an issue is that xset *might* >need to be 'refreshed' with > >xset b on I didn't try this. >Though you could add > >xset q |grep bell I checked this and it always was ok. >Also... you might need to use setterm > >setterm --bleangth 1000 > >maybe even the --bfreq option... The output of xset q always was ok. For testing purpose I'll add those to the script, too, but I doubt that it will solve the issue. Thank you for the hints. Regards, Ralf -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
Re: [lubuntu-users] pcspkr bell issue
On 10/23/2016 01:25 PM, Ralf Mardorf wrote: > Hi, > > I'm using lubuntu-16.10-desktop-amd64.iso as live media. After the Lxde > session started I run a script [attached]. One thing done by the script > is enabling the PC speaker beep. > > If the script run for one time launched in lxterminal, the bell doesn't > work. Nothing pulseaudio related is shown by ps aux and lsmod shows that > pcspkr is loaded after the script run. All changes applied to lxterminal > and xfce4-terminal are applied, I just need to close and open > lxterminal, resp. just open xfce4-terminal for the first time. However, > the bell doesn't work. If I run the script for the second time, the bell > works, even without closing and opening a terminal again, but not > before I closed and opened lxterminal one time. > > If a mechanism would lock something as long as lxterminal is opened, > just closing and reopening the terminal should do the trick. I don't > understand why it works, if I close and reopen the terminal + run the > script a second time. As far as I can see nothing in this script and > the 126428 similar scripts I tested before, does something related to > the issue. Nothing that already is killed, purged and loaded gets > killed, purged or loaded a second time. > > Any idea how I could enable the bell by running a script just one time? > > Regards, > Ralf > > maybe you need a bit of time after it loads... perhaps running modprobe pcspkr && sleep 10 # or whatever amount you want ## the only real thing getting done would be sourcing your bashrc source ~/.bashrc ## you might need /home/user instead of ~ if you run as root printf \\a the other thing ???might?? be an issue is that xset *might* need to be 'refreshed' with xset b on Though you could add xset q |grep bell before the modprobe to see if you need that which you probably don't. Also... you might need to use setterm setterm --bleangth 1000 maybe even the --bfreq option... Just some guesses... I have never tried to enable the beep personally, only disable it :D -- Regards -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
[lubuntu-users] pcspkr bell issue
Hi, I'm using lubuntu-16.10-desktop-amd64.iso as live media. After the Lxde session started I run a script [attached]. One thing done by the script is enabling the PC speaker beep. If the script run for one time launched in lxterminal, the bell doesn't work. Nothing pulseaudio related is shown by ps aux and lsmod shows that pcspkr is loaded after the script run. All changes applied to lxterminal and xfce4-terminal are applied, I just need to close and open lxterminal, resp. just open xfce4-terminal for the first time. However, the bell doesn't work. If I run the script for the second time, the bell works, even without closing and opening a terminal again, but not before I closed and opened lxterminal one time. If a mechanism would lock something as long as lxterminal is opened, just closing and reopening the terminal should do the trick. I don't understand why it works, if I close and reopen the terminal + run the script a second time. As far as I can see nothing in this script and the 126428 similar scripts I tested before, does something related to the issue. Nothing that already is killed, purged and loaded gets killed, purged or loaded a second time. Any idea how I could enable the bell by running a script just one time? Regards, Ralf lubuntu_live.sh Description: application/shellscript -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
Re: [lubuntu-users] [lubuntu-devel] Security on Lubuntu PCs/Laptops
Hi Nio, On 23 October 2016 at 15:19, Nio Wiklundwrote: > I suggest that you read this somewhat old but still correct link > > https://wiki.ubuntu.com/BasicSecurity > > and the sticky threads at the Ubuntu Security Forum > > https://ubuntuforums.org/forumdisplay.php?f=338 Wow! That is very useful and helpful, thank you. I have read the above articles and some more that they referred to and added a new section on "Security and Good housekeeping" on my scribbles website Linux page ( https://sites.google.com/site/ianbruntlett/home/free-software/linux) Previously my reaction to networking was to run away screaming :) BW, Ian -- -- ACCU - Professionalism in programming - http://www.accu.org -- My writing - https://sites.google.com/site/ianbruntlett/ -- Free Software page - https://sites.google.com/site/ianbruntlett/home/free-software -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
Re: [lubuntu-users] [lubuntu-devel] Security on Lubuntu PCs/Laptops
Den 2016-10-23 kl. 15:42, skrev Ian Bruntlett: Hi, (Intro) I refurbish old PCs and laptops that people give me to refurbish and pass on (free) to people with mental health problems, their carers or their children. People give me unwanted hardware so I can do that. Sometimes I scrounge parts. Sometimes I buy parts and pay for them personally. (Refurbishing a computer) I run memtest86+ on it to check the memory. Then I use dban to comprehensively wipe the hard drive. Then I put Lubuntu on it. Also installed are:- my illustrated guide to Lubuntu, LibreOffice, GIMP, lubuntu-restricted-extras, gnome-games. (Actual question) Paul Chapple, one of my long-term lubuntu on a Dell laptop users asked me about viruses on Linux. I do know that Linux server computers sometimes get hacked over the Internet. I did a bit of research and found https://www.linux.com/learn/myth-busting-linux-immune-viruses . After that, is there anything else I should be aware of? TIA, Ian -- -- ACCU - Professionalism in programming - http://www.accu.org -- My writing - https://sites.google.com/site/ianbruntlett/ -- Free Software page - https://sites.google.com/site/ianbruntlett/home/free-software Hi Ian, I suggest that you read this somewhat old but still correct link https://wiki.ubuntu.com/BasicSecurity and the sticky threads at the Ubuntu Security Forum https://ubuntuforums.org/forumdisplay.php?f=338 Best regards Nio -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users
[lubuntu-users] Security on Lubuntu PCs/Laptops
Hi, (Intro) I refurbish old PCs and laptops that people give me to refurbish and pass on (free) to people with mental health problems, their carers or their children. People give me unwanted hardware so I can do that. Sometimes I scrounge parts. Sometimes I buy parts and pay for them personally. (Refurbishing a computer) I run memtest86+ on it to check the memory. Then I use dban to comprehensively wipe the hard drive. Then I put Lubuntu on it. Also installed are:- my illustrated guide to Lubuntu, LibreOffice, GIMP, lubuntu-restricted-extras, gnome-games. (Actual question) Paul Chapple, one of my long-term lubuntu on a Dell laptop users asked me about viruses on Linux. I do know that Linux server computers sometimes get hacked over the Internet. I did a bit of research and found https://www.linux.com/learn/myth-busting-linux-immune-viruses . After that, is there anything else I should be aware of? TIA, Ian -- -- ACCU - Professionalism in programming - http://www.accu.org -- My writing - https://sites.google.com/site/ianbruntlett/ -- Free Software page - https://sites.google.com/site/ianbruntlett/home/free-software -- Lubuntu-users mailing list Lubuntu-users@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/lubuntu-users