df problem (and work around) - kernel 5.15.0.102-generic
I had a problem with df on a cif mount. I Googled and found a work around. Thought this might interest others so including 2 links. TL;DR - There is a bug in 5.15.0.102-generic. Reverting to 5.15.0.101-generic solved the problem. I hope/assume this will be fixed in the next update. https://forums.linuxmint.com/viewtopic.php?t=417371 https://askubuntu.com/questions/1509987/cifs-on-22-04-lts-has-something-changed-between-kernel-5-15-0-101-generic-and -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: problem with cron on Kubuntu 22.04
THANK YOU Your guess was wrong, but sudo systemctl status cron (which I did not think of before) helped me find the problem. The service WAS running, but the output of that command showed that the owner of /etc/crontab was not root. A stupid mistake on my part - I copied the file from another computer and did not change the owner. But I would not have found the error without your help, so again - THANK YOU ! On Wed, 7 Feb 2024 11:43:46 -0500 "Mark E. Fuller" wrote: > If I had to hazard a guess, it has something to do with systemd (the > usual suspect) > > What does `|sudo systemctl status cron` return? > > If that shows the service being disabled or stopped, you'll of course > need to run `||sudo systemctl enable cron` to get it going at every > boot and |`|sudo systemctl start cron||` to start it immediately > > |On 07-Feb-24 11:23, Shlomo Solomon wrote: > > No - that did not change anything and, in any case, as I wrote, that > > exact line (including root) works on another Kubuntu 22.04 machine. > > > > It also worked on Kubuntu 20.04 before I did a new install of 22.04 > > > > > > > > On Wed, 7 Feb 2024 17:41:05 +0200 > > אורי wrote: > > > >> Try to remove the word "root" > >> אורי > >> u...@speedy.net > >> > >> > >> On Wed, Feb 7, 2024 at 5:18 PM Shlomo Solomon > >> wrote: > >> > >>> Sorry if this is a bit long, but I wanted to give as much > >>> information as I could and hope someone can help. > >>> > >>> > >>> On a new installation of Kubuntu 22.04, cron jobs are not running > >>> and this is driving me crazy. > >>> > >>> The cron daemon is running > >>> > >>> shoshana@shoshana:~/Desktop$ pgrep cron > >>> 827 > >>> > >>> I thought there might be a problem with a specific job so I > >>> created the following simple script (which DOES work). > >>> > >>> shoshana@shoshana:~/Desktop$ cat tstrun > >>> #!/usr/bin/sh > >>> cd /home/shoshana/Desktop > >>> echo "" >> tst.txt > >>> > >>> If I do: cd /home/shoshana/Desktop > >>>./tstrun > >>> the script works and I see in tst.txt > >>> > >>> I then deleted ALL jobs in crontab and added only the following to > >>> /etc/crontab > >>> */1 * * * * root /home/shoshana/Desktop/tstrun > >>> > >>> Nothing happens - nothing written in tst.txt > >>> > >>> I tried: > >>> sudo grep CRON /var/log/syslog and got no output > >>> > >>> I changed the script to: > >>> #!/usr/bin/sh > >>> echo "test echo from tstrun" > >>> cd /home/shoshana/Desktop > >>> echo "" >> tst.txt > >>> > >>> and changed the crontab line to: > >>> */1 * * * * root /home/shoshana/Desktop/tstrun >> > >>> /home/shoshana/Desktop/tstrun-log.txt > >>> > >>> still no output in tst.txt and also no output in > >>> /home/shoshana/Desktop/tstrun-log.txt > >>> > >>> And as expected, if I do: > >>> ./tstrun >> tstrun-log.txt > >>> I see the expected output in both files > >>> > >>> I also tried: > >>> shoshana@shoshana:~/Desktop$ sudo service cron stop > >>> shoshana@shoshana:~/Desktop$ sudo service cron start > >>> shoshana@shoshana:~/Desktop$ pgrep cron > >>> 3377 > >>> > >>> AND > >>> shoshana@shoshana:~/Desktop$ sudo systemctl stop cron > >>> shoshana@shoshana:~/Desktop$ sudo systemctl start cron > >>> shoshana@shoshana:~/Desktop$ pgrep cron > >>> 3413 > >>> > >>> > >>> But still no change. > >>> > >>> And just to be clear, on a different machine (also Kubuntu 22.04) > >>> all the above DOES work - output to both files and if I do: > >>> sudo grep CRON /var/log/syslog I get: > >>> Feb 7 17:13:01 solomon-laptop CRON[16619]: (root) CMD > >>> (/home/solomon/Desktop/tstrun) > >>> > >>> > >>> > >>> > >>> > >>> > >>> -- > >>> Shlomo Solomon > >>> http://the-solomons.net > >>> Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 > >>> ___ > >>> Linux-il mailing list --linux-il@cs.huji.ac.il > >>> To unsubscribe send an email tolinux-il-le...@cs.huji.ac.il > >>> > > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: problem with cron on Kubuntu 22.04
No - that did not change anything and, in any case, as I wrote, that exact line (including root) works on another Kubuntu 22.04 machine. It also worked on Kubuntu 20.04 before I did a new install of 22.04 On Wed, 7 Feb 2024 17:41:05 +0200 אורי wrote: > Try to remove the word "root" > אורי > u...@speedy.net > > > On Wed, Feb 7, 2024 at 5:18 PM Shlomo Solomon > wrote: > > > Sorry if this is a bit long, but I wanted to give as much > > information as I could and hope someone can help. > > > > > > On a new installation of Kubuntu 22.04, cron jobs are not running > > and this is driving me crazy. > > > > The cron daemon is running > > > > shoshana@shoshana:~/Desktop$ pgrep cron > > 827 > > > > I thought there might be a problem with a specific job so I created > > the following simple script (which DOES work). > > > > shoshana@shoshana:~/Desktop$ cat tstrun > > #!/usr/bin/sh > > cd /home/shoshana/Desktop > > echo "" >> tst.txt > > > > If I do: cd /home/shoshana/Desktop > > ./tstrun > > the script works and I see in tst.txt > > > > I then deleted ALL jobs in crontab and added only the following to > > /etc/crontab > > */1 * * * * root /home/shoshana/Desktop/tstrun > > > > Nothing happens - nothing written in tst.txt > > > > I tried: > > sudo grep CRON /var/log/syslog and got no output > > > > I changed the script to: > > #!/usr/bin/sh > > echo "test echo from tstrun" > > cd /home/shoshana/Desktop > > echo "" >> tst.txt > > > > and changed the crontab line to: > > */1 * * * * root /home/shoshana/Desktop/tstrun >> > > /home/shoshana/Desktop/tstrun-log.txt > > > > still no output in tst.txt and also no output in > > /home/shoshana/Desktop/tstrun-log.txt > > > > And as expected, if I do: > > ./tstrun >> tstrun-log.txt > > I see the expected output in both files > > > > I also tried: > > shoshana@shoshana:~/Desktop$ sudo service cron stop > > shoshana@shoshana:~/Desktop$ sudo service cron start > > shoshana@shoshana:~/Desktop$ pgrep cron > > 3377 > > > > AND > > shoshana@shoshana:~/Desktop$ sudo systemctl stop cron > > shoshana@shoshana:~/Desktop$ sudo systemctl start cron > > shoshana@shoshana:~/Desktop$ pgrep cron > > 3413 > > > > > > But still no change. > > > > And just to be clear, on a different machine (also Kubuntu 22.04) > > all the above DOES work - output to both files and if I do: > > sudo grep CRON /var/log/syslog I get: > > Feb 7 17:13:01 solomon-laptop CRON[16619]: (root) CMD > > (/home/solomon/Desktop/tstrun) > > > > > > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 > > ___ > > Linux-il mailing list -- linux-il@cs.huji.ac.il > > To unsubscribe send an email to linux-il-le...@cs.huji.ac.il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
problem with cron on Kubuntu 22.04
Sorry if this is a bit long, but I wanted to give as much information as I could and hope someone can help. On a new installation of Kubuntu 22.04, cron jobs are not running and this is driving me crazy. The cron daemon is running shoshana@shoshana:~/Desktop$ pgrep cron 827 I thought there might be a problem with a specific job so I created the following simple script (which DOES work). shoshana@shoshana:~/Desktop$ cat tstrun #!/usr/bin/sh cd /home/shoshana/Desktop echo "" >> tst.txt If I do: cd /home/shoshana/Desktop ./tstrun the script works and I see in tst.txt I then deleted ALL jobs in crontab and added only the following to /etc/crontab */1 * * * * root /home/shoshana/Desktop/tstrun Nothing happens - nothing written in tst.txt I tried: sudo grep CRON /var/log/syslog and got no output I changed the script to: #!/usr/bin/sh echo "test echo from tstrun" cd /home/shoshana/Desktop echo "" >> tst.txt and changed the crontab line to: */1 * * * * root /home/shoshana/Desktop/tstrun >> /home/shoshana/Desktop/tstrun-log.txt still no output in tst.txt and also no output in /home/shoshana/Desktop/tstrun-log.txt And as expected, if I do: ./tstrun >> tstrun-log.txt I see the expected output in both files I also tried: shoshana@shoshana:~/Desktop$ sudo service cron stop shoshana@shoshana:~/Desktop$ sudo service cron start shoshana@shoshana:~/Desktop$ pgrep cron 3377 AND shoshana@shoshana:~/Desktop$ sudo systemctl stop cron shoshana@shoshana:~/Desktop$ sudo systemctl start cron shoshana@shoshana:~/Desktop$ pgrep cron 3413 But still no change. And just to be clear, on a different machine (also Kubuntu 22.04) all the above DOES work - output to both files and if I do: sudo grep CRON /var/log/syslog I get: Feb 7 17:13:01 solomon-laptop CRON[16619]: (root) CMD (/home/solomon/Desktop/tstrun) -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: HP OfficeJet Pro 8023
About cleaning the printhead - no idea how to do it, but I'll look for information. In any case, nothing to lose since the printer is 8 years old so not under warranty. About not connecting to the internet - YES - that is how I was able to use non-original ink for 8 years since the firmware was never updated. I know that firmware update on HP often blocks the use of non-HP ink. On Sun, 24 Dec 2023 11:35:47 +0200 borissh1...@gmail.com wrote: > Hi, > > Before getting rid of the printer, if you are sure it's dead , try > mechanically cleaning the printhead (never use it on a device that > have warranty or can be fixed on other options ) . when you clean it > do not use hot water or solvents, this might damage the printhead, > ofc it wold kill your warranty. A cloged print head could be the > source for the failure. > > When dealing with HP , One should only use original ink (I think they > even had expiration date on them). New HP printers would outright > block non genuine ink (I think since 2021 ) . > > p.s. > > 1. Please , no matter which printer you buy , only use Offline > printers , and never connect them to the internet if you would like > you printer to avoid useless firmware updates like > https://kevin.deldycke.com/2020/11/revert-hp-printer-ban-on-third-party-ink-cartridges/ > The best option I found so far was to connect HP printers to rpi , > that way you always have a network printer (via cups) but you are > safe from automatic upgrades and security holes. > > 2. > https://www.techpowerup.com/237048/been-there-done-that-hp-new-firmware-update-locks-non-original-ink-cartridges > > On Sunday, 24 December 2023 1:16:51 IST Shlomo Solomon wrote: > > Original ink which costs more than the printer (!!!) is not an > > option. On my existing HP 8610, I used compatible ink for 8 years, > > so > > > > > > On Sun, 24 Dec 2023 01:11:22 +0200 > > אורי wrote: > > > > > If you use HP printer I strongly recommend using HP original ink, > > > which is more expensive but it's the only ink they officially > > > support. > > > > > > אורי > > > u...@speedy.net > > > > > > > > > On Sun, Dec 24, 2023 at 12:23 AM Shlomo Solomon > > > wrote: > > > > > > > My existing HP printer (8610) died after 8 years - does not > > > > recognize the Magenta ink. > > > > > > > > I'm looking at the HP OfficeJet Pro 8023 > > > > > > > > 2 questions: > > > > > > > > 1 - Has anyone had good (or bad) experience with this on Linux? > > > > I know that HP supports this printer on Linux, but I'm looking > > > > for first hand experience. > > > > > > > > 2 - Any comments about the availability of compatible ink? I > > > > found ink on several sites, but from experience, know that HP > > > > printers are sometimes fussy about non-original ink. > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > Shlomo Solomon > > > > http://the-solomons.net > > > > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 > > > > ___ > > > > Linux-il mailing list -- linux-il@cs.huji.ac.il > > > > To unsubscribe send an email to linux-il-le...@cs.huji.ac.il > > > > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 > > ___ > > Linux-il mailing list -- linux-il@cs.huji.ac.il > > To unsubscribe send an email to linux-il-le...@cs.huji.ac.il > > > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: HP OfficeJet Pro 8023
On Sun, 24 Dec 2023 10:13:47 +0200 Shachar Shemesh wrote: > If you're willing to spend a little more on the printer itself, there > are printers where the ink comes in liquid form rather than > cartridges. If you're doing a lot of printing, they are considerably > cheaper to operate. thanks - I know that, but again, not an option since I do not print enough to make such a printer worthwhile -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: HP OfficeJet Pro 8023
Good question. Mainly because I've had good experience with using HP on Linux. On the other hand, HP is notorious for causing problems with non-original ink, so maybe I should look elsewhere. Open to suggestions for an all-in-one that works well on Linux and does not try to force you to buy riginal ink. On Sun, 24 Dec 2023 09:47:25 +0200 Shachar Shemesh wrote: > If I may ask: why the fixation on HP? > > > On 24/12/2023 0:22, Shlomo Solomon wrote: > My existing HP printer (8610) died after 8 years - does not recognize > > the Magenta ink. > > > > I'm looking at the HP OfficeJet Pro 8023 > > > > 2 questions: > > > > 1 - Has anyone had good (or bad) experience with this on Linux? I > > know that HP supports this printer on Linux, but I'm looking for > > first hand experience. > > > > 2 - Any comments about the availability of compatible ink? I found > > ink on several sites, but from experience, know that HP printers are > > sometimes fussy about non-original ink. > > > > > > > > > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: HP OfficeJet Pro 8023
Original ink which costs more than the printer (!!!) is not an option. On my existing HP 8610, I used compatible ink for 8 years, so On Sun, 24 Dec 2023 01:11:22 +0200 אורי wrote: > If you use HP printer I strongly recommend using HP original ink, > which is more expensive but it's the only ink they officially support. > > אורי > u...@speedy.net > > > On Sun, Dec 24, 2023 at 12:23 AM Shlomo Solomon > wrote: > > > My existing HP printer (8610) died after 8 years - does not > > recognize the Magenta ink. > > > > I'm looking at the HP OfficeJet Pro 8023 > > > > 2 questions: > > > > 1 - Has anyone had good (or bad) experience with this on Linux? I > > know that HP supports this printer on Linux, but I'm looking for > > first hand experience. > > > > 2 - Any comments about the availability of compatible ink? I found > > ink on several sites, but from experience, know that HP printers are > > sometimes fussy about non-original ink. > > > > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 > > ___________ > > Linux-il mailing list -- linux-il@cs.huji.ac.il > > To unsubscribe send an email to linux-il-le...@cs.huji.ac.il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
HP OfficeJet Pro 8023
My existing HP printer (8610) died after 8 years - does not recognize the Magenta ink. I'm looking at the HP OfficeJet Pro 8023 2 questions: 1 - Has anyone had good (or bad) experience with this on Linux? I know that HP supports this printer on Linux, but I'm looking for first hand experience. 2 - Any comments about the availability of compatible ink? I found ink on several sites, but from experience, know that HP printers are sometimes fussy about non-original ink. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list -- linux-il@cs.huji.ac.il To unsubscribe send an email to linux-il-le...@cs.huji.ac.il
Re: Upgrading the Kernel
BTW - in addition to my previous answer, when I usded the method I suggested, I originally made an error and upgraded to a more advanced version (5.19.*) that was not supported by Ubuntu. Everything worked fine, but I did have a problem with VirtualBox so needed to "downgrade" to a supported version which is now 5.15.** On Thu, 13 Oct 2022 06:08:26 +0300 Shlomo Solomon wrote: > uname -rwill tell you the current version > I currently have 5.15.0-48-generic but do not remeber if that is > the latest (it was a couple of months ago) > > To upgrade, the following worked for me, although, for various > reasons I did it a bit differently: > https://linuxhint.com/install-upgrade-linux-kernel-ubuntu-linux-mint/ > > > > On Thu, 13 Oct 2022 03:03:44 +0300 > אורי wrote: > > > Hi, > > > > I have a remote Ubuntu 22.04 server. How do I check which kernel I'm > > using, and how do I upgrade the kernel to its latest stable version > > without risking the server? > > > > Thanks, > > Uri Rodberg, Speedy Net. > > אורי > > u...@speedy.net > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Upgrading the Kernel
uname -rwill tell you the current version I currently have 5.15.0-48-generic but do not remeber if that is the latest (it was a couple of months ago) To upgrade, the following worked for me, although, for various reasons I did it a bit differently: https://linuxhint.com/install-upgrade-linux-kernel-ubuntu-linux-mint/ On Thu, 13 Oct 2022 03:03:44 +0300 אורי wrote: > Hi, > > I have a remote Ubuntu 22.04 server. How do I check which kernel I'm > using, and how do I upgrade the kernel to its latest stable version > without risking the server? > > Thanks, > Uri Rodberg, Speedy Net. > אורי > u...@speedy.net -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Kubuntu kernel version
I recently read that Ubuntu 20.04 has upgraded from kernel 5.13 to 5.15 Although I regularly run: sudo apt update;sudo apt upgrade;sudo apt autoremove;sudo apt clean to keep my system up to date, I was still on 5.4 uname -r 5.4.0-122-generic I downloaded and ran ubuntu-mainline-kernel.sh and was asked if I wanted the latest kernel. After rebooting, I got: uname -r 5.19.0-051900-generic Since that seemed strange (5.19 and not 5.15), I found and ran the following: sudo apt-get install --install-recommends linux-generic-hwe-20.04 This installed the expected 5.15. Part of the output was: Setting up linux-generic-hwe-20.04 (5.15.0.43.46~20.04.14) But after rebooting, I'm still on 5.19 - I assume because this is a higher version and the GRUB entry was not removed. 2 questions: 1 - Is it normal that sudo apt update; sudo apt upgrade left me with a 5.4 kernel? It has been upgraded over time, but not to 5.13 and 5.15. 2 - Is there a problem having 5.19 instead of the recommended 5.15 and should I uninstall it? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
slightly OT - backup strategy
I recently lost some files because of a bad disk - hardware problem. I do regular backups so I was not really worried, but I now see that I have a problem with my backup strategy so I'd like to know how others handle/prevent what happened to me. I backup files using rsync and I basically have 2 types of backups. My most important files are backed up every night. I do incremental backups using:rsync -aqrlvtogS --ignore-errors --backup I keep about 4 months of backups. So if a file is damaged, missing or accidentally deleted, I can find a good file - even if, for example I screwed up the file and only discovered the problem a few days later. BUT, all the rest of my files - music, videos, pictures, etc are backed up daily and weekly on 2 different physical drives using: rsync -qrlvtogS --delete --ignore-errors I use --delete to prevent accumulating garbage on my backup disks. So here's the problem: Because of a hardware problem, several files on one of my disks were lost. As a result, the daily backup script "thought" that those files should be deleted from the daily backup. Unfortunately, I did not notice the problem. A few days later, those same files were also deleted from the weekly backup. So they are lost. So on one hand, I need --delete to avoid keeping backups of old garbage, but on the other hand, the --delete option does not know if I deleted the file or if it's gone because of a hardware problem. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Installation report: Bootstrapping a first installation bootable USB
As far as I know Etcher has a Windows version - never tried it, but it works well on Linux so should be a good alternative - and (at least the Linux version) has a nice GUI so should be good for a Windows user. On Wed, 13 Jul 2022 12:34:17 + "Daniel Shahaf" wrote: > I tried to walk a friend through using Windows 10 to create a bootable > Linux USB disk, so they'd install their first Linux box. > > Debian (and FreeBSD) recommend win32diskimager. Arch suggested a few > other tools, of which I tried Rufus 3.19 and "dd for windows". The > first and third didn't work at all; the second worked once but not > again on the same image. > > Rather than try a fourth tool, I went ahead and created the bootable > USB disk for my friend myself using good old dd(8) on one of my > existing Linux machines. > > Now I wonder how a random Windows user is supposed to bootstrap > themselves a bootable Linux USB disk. Perhaps my experience is not > representative. > > Cheers, > > Daniel > > ___ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT (but I don't know who else to ask) - e-mail forwarding
Sounds good, but "beta" so I'll keep an eye on that for the future. On Tue, 15 Mar 2022 09:26:03 +0200 Yuval Adam <_...@yuv.al> wrote: > Cloudflare have recently opened their new Email Routing product to a > public beta that also includes the free tier of their service. > > https://blog.cloudflare.com/email-routing-open-beta/ > > > On 3/15/22 08:14, Shlomo Solomon wrote: > I use my domain - the-solomons.net - for only one thing - e-mail > > forwarding. I do not have or need any other services such as site > > hosting, storage, "real" e-mail, etc. > > > > I'm about to renew and discovered that GoDaddy's prices have gone > > up, so I looked at options to transfer to another registrar. > > > > But, I discovered that in many cases, the 100 free e-mail forwarding > > addresses are subject to spam and/or virus filtering or do not > > forward certain attachments such as .zip. > > > > I want all my mail forwarded and certainly don't want .zip, etc to > > be dropped. > > > > Can anyone suggest a cheap registrar who will not "tamper" with my > > forwarded e-mail? > > > > -- > Yuval Adam > https://yuv.al -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT (but I don't know who else to ask) - e-mail forwarding
Thanks, but maybe I was not clear enough in defining my needs: 1 - I assume that siteground.com charges for the service, so that would be more expensive rather than cheaper 2 - Google mail is not a solution since the addresses I'm forwarding are not necessarily mine and not always Gmail. For example, if my son's email is t...@walla.com, I want to be able to send mail to t...@the-solomons.net and have it forwarded to t...@walla.com. On Tue, 15 Mar 2022 09:05:13 +0200 אורי wrote: > Hi, > > You can use Google mail (workspaces) for email forwarding. > > I also used siteground.com for email forwarding. I don't recommend > using a domain registrar since they only register domain names and > their email forwarding is not so good. > > You might also consider Amason SES. > > If you use Google, there are ways to forward also emails that are > filtered as spam. > > Good luck! > Uri. > אורי > u...@speedy.net > > > On Tue, Mar 15, 2022 at 8:15 AM Shlomo Solomon > wrote: > > > I use my domain - the-solomons.net - for only one thing - e-mail > > forwarding. I do not have or need any other services such as site > > hosting, storage, "real" e-mail, etc. > > > > I'm about to renew and discovered that GoDaddy's prices have gone > > up, so I looked at options to transfer to another registrar. > > > > But, I discovered that in many cases, the 100 free e-mail forwarding > > addresses are subject to spam and/or virus filtering or do not > > forward certain attachments such as .zip. > > > > I want all my mail forwarded and certainly don't want .zip, etc to > > be dropped. > > > > Can anyone suggest a cheap registrar who will not "tamper" with my > > forwarded e-mail? > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
OT (but I don't know who else to ask) - e-mail forwarding
I use my domain - the-solomons.net - for only one thing - e-mail forwarding. I do not have or need any other services such as site hosting, storage, "real" e-mail, etc. I'm about to renew and discovered that GoDaddy's prices have gone up, so I looked at options to transfer to another registrar. But, I discovered that in many cases, the 100 free e-mail forwarding addresses are subject to spam and/or virus filtering or do not forward certain attachments such as .zip. I want all my mail forwarded and certainly don't want .zip, etc to be dropped. Can anyone suggest a cheap registrar who will not "tamper" with my forwarded e-mail? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT (or maybe not) - what happened to lxer.com?
This is REALLY WIERD. I tried earlier from my phone and another computer and got the same "parking" site. But before trying what Shay and Shimi suggested, I tried again on my computer and the site is back to normal. WTF?? I wish I had taken a screen capture earlier to "prove" that I was not dreaming. :-) On Sat, 19 Feb 2022 21:27:10 +0200 Shay Gover wrote: > Did you try from another device on you network? > > On Sat, Feb 19, 2022 at 9:18 PM shimi wrote: > > > > > > > On Sat, Feb 19, 2022 at 7:04 PM Shlomo Solomon > > wrote: > > > >> Yehuda Deutsch - if you mean whois, I also get a normal response: > >>Domain Name: LXER.COM > >>Registry Domain ID: 109446700_DOMAIN_COM-VRSN > >>Registrar WHOIS Server: whois.enom.com > >>Registrar URL: http://www.enomdomains.com > >>Updated Date: 2022-01-06T10:42:51Z > >>Creation Date: 2004-01-06T22:15:59Z > >>Registry Expiry Date: 2023-01-06T22:15:59Z > >>Registrar: eNom, LLC > >> > >> > >> > >> But the site is not there. As Geoff Shang wrote, the site looks > >> like a landing site of some kind. > >> > >> > > I didn't know the site, but it doesn't look like a parking page for > > upselling an expired domain. > > > > Let's try to be more constructive in debugging this. First - are you > > getting to the site as published by the site's owner. > > > > First, you learn from WHOIS (and also from 'dig @a.gtld-servers.net > > ns lxer.com') that the nameservers for this site are: ns1.wmkt.net > > [66.232.124.26] ns2.wmkt.net [66.232.124.28] ns3.wmkt.net > > [66.232.124.30] > > > > Then you follow by 'dig @ns1.wmkt.net lxer.com'. You should be > > getting: > > > > $ dig @ns1.wmkt.net lxer.com > > > > ; <<>> DiG 9.16.25 <<>> @ns1.wmkt.net lxer.com > > ; (1 server found) > > ;; global options: +cmd > > ;; Got answer: > > ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1540 > > ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 3, ADDITIONAL: 4 > > ;; WARNING: recursion requested but not available > > > > ;; OPT PSEUDOSECTION: > > ; EDNS: version: 0, flags:; udp: 4096 > > ;; QUESTION SECTION: > > ;lxer.com. IN A > > > > ;; ANSWER SECTION: > > > > *lxer.com <http://lxer.com>. 3600IN A > > 66.232.124.26 * > > ;; AUTHORITY SECTION: > > lxer.com. 3600IN NS ns3.wmkt.net. > > lxer.com. 3600IN NS ns1.wmkt.net. > > lxer.com. 3600IN NS ns2.wmkt.net. > > > > ;; ADDITIONAL SECTION: > > ns1.wmkt.net. 86400 IN A 66.232.124.26 > > ns2.wmkt.net. 86400 IN A 66.232.124.28 > > ns3.wmkt.net. 86400 IN A 66.232.124.30 > > > > ;; Query time: 183 msec > > ;; SERVER: 66.232.124.26#53(66.232.124.26) > > ;; WHEN: Sat Feb 19 21:13:12 IST 2022 > > ;; MSG SIZE rcvd: 163 > > > > Now, run just 'dig lxer.com' - do you get the same IP? If not, > > something/someone is messing with your DNS. In that case make sure > > that the SERVER line indeed has the correct IP address I mentioned > > above (that I got from the glue records provided for wmkt.net by > > a.gtld-servers.net) > > > > If you do get the same IP, someone can still be messing with your > > traffic, because that site is HTTP and not HTTPS, so really no one > > can guarantee you're in fact talking with 66.232.124.26... > > > > HTH, > > > > -- Shimi > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT (or maybe not) - what happened to lxer.com?
Yehuda Deutsch - if you mean whois, I also get a normal response: Domain Name: LXER.COM Registry Domain ID: 109446700_DOMAIN_COM-VRSN Registrar WHOIS Server: whois.enom.com Registrar URL: http://www.enomdomains.com Updated Date: 2022-01-06T10:42:51Z Creation Date: 2004-01-06T22:15:59Z Registry Expiry Date: 2023-01-06T22:15:59Z Registrar: eNom, LLC But the site is not there. As Geoff Shang wrote, the site looks like a landing site of some kind. On www.zoominfo.com I found the following info: LXer is an independent news and opinion site started in 2004 by Dave Whitinger, a well-known personality in the free and open-source software community. The edi... Read More Headquarters Headquarters: 701 S Ridge Ave, Troy, Ohio, 45374, United States Phone Phone: (937) 332-3000 Website Website: www.lxer.com Employees Employees: 29 Revenue Revenue: $5 Million But, although there are also mentions of an editor and a publisher, I could not find any contact information. I did find that Dave Whitinger - the founder - is also involved with the National Gardening Association. I tried to contact him on that site. We'll see if I get an answer. On Fri, 18 Feb 2022 12:09:16 -0500 Yehuda Deutsch wrote: > That's weird, I am getting the website as I'd expect and the domain > does not seem to be in a deletion / redemption period > It was actually last updated a month ago and is good for another year > > Yehuda > -- > *Yehuda Deutsch | IT Developer* > > > On Fri, Feb 18, 2022 at 12:05 PM Geoff Shang > wrote: > > > On Fri, 18 Feb 2022, Shlomo Solomon wrote: > > > > > lxer.com is (was) a great site with links to recent articles about > > > Linux. > > > > > > In the past 2 days, all I see is a page with menu items such as > > > Linux News, Linux programming, etc. > > > > > > But clicking on any menu item just gives me a page with some > > > advertisements. > > > > Looks like one of those landing pages when a domain is for sale. > > > > Cheers, > > Geoff. > > > > > > ___________ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
OT (or maybe not) - what happened to lxer.com?
lxer.com is (was) a great site with links to recent articles about Linux. In the past 2 days, all I see is a page with menu items such as Linux News, Linux programming, etc. But clicking on any menu item just gives me a page with some advertisements. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
VCALENDAR reader
It always annoys me when people send me meeting invitations in VCAL format and "assume" I will be able to read and attend the meeting. I looked for an offline Linux VCAL reader and only found VERY old links to things that probably don't work. So I wrote a Python program to convert VCAL to human readable format. However, I do not have a large sample of VCAL files to test on. So if anyone would like to send me (privately - off the list) an invitation to a meeting or any VCAL files you can share for testing, that would be great. Once I'm sure it works, I'll be happy to share with anyone who's interested. Just as a sample, here's an "edited" version of the output of my program SUBJECT: Python class TIME: 25/01/2022 10:00 TO: 25/01/2022 11:00 ORGANIZER: Bob Dylanb...@dylan.com LOCATION: my office on the third floor ATTENDEES: Tom Jones MAIL: t...@jones.com * Shlomo MAIL: shl...@abcd.com DETAILS: Bob Dylan is inviting you to a Python lesson -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT: strange network problem
Not familiar with MAC, but is it possible the MAC is acting as a domain master or a DHCP server? On Mon, 10 Jan 2022 19:30:55 +0200 Erez D wrote: > I've encountered a network problem > > i have a mac and a win10 machine connected to a 4 port Gbit wifi6 AP > (switch mode). > a third eth from the AP goes to the router which is also a DHCP server > > everything works well until the mac goes to sleep. > when the mac goes to sleep, the win10 machine looses it's ip address > which becomes a 169. address > > as soon as i wake the mac up, the win machine regain a valid 10.0.0.x > ip > > i tried to replace the AP with a 4 port switch and got same results > > > any idea ? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Python on Ubuntu 18.04.6 LTS
NOT an answer to your question, but instead of a link to python3.8, I added 2 lines to .bash_aliases: alias p="python3.8" alias p2="python2.7" On Tue, 4 Jan 2022 06:07:43 +0200 אורי wrote: > Hi, > > /usr/bin/python is defined on my server as a link to the > deprecated python2.7, and I didn't want to break anything, so I > defined /usr/bin/_py as a link to python3.8. I wanted to check how > many bytes a giga and tera is, so I ran _py -c "print(1024**3)" and > _py -c "print(1024**4)". Then I checked _py -c "print(2**64)" and I > wanted to check _py -c "print(2**64**3)", which I thought will be > equal to _py -c "print(2**192)" (_py -c "print((2**64)**3)"), but no > - this gave me a number with 78914 digits and I'm glad it didn't > crash my server (4 or 5 or 6 would have crashed it). Since when > 2**64**3 is 2**(64**3) and not (2**64)**3? Anyway I also checked > 2**10**6 (==2**100) and I found out that it contains exactly 10% > digits of 6, and I even created a small program to calculate the > powers of 2 that give exactly 10% digits of 6. Are there powers of 2 > which give exactly 10% of each of the digits 0 to 9 (in decimal form)? > > for n in range(1, 10 ** 6 + 1): > a = 2 ** n > b = list(str(a)) > s = sum([1 if i == "6" else 0 for i in b]) > if (s * 10 == len(b)): > print(n, len(b), s) > > Thanks, > > אורי > u...@speedy.net -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: saving files on the network
On Tue, 28 Dec 2021 10:31:48 +0200 shimi wrote: > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > > user,credentials=/etc/samba/auth.pi.solomon 0 0 > > > > > CIFS file ownership is root unless you also specify in your mount > command -o uid= (or equivalent > uid=user in fstab options column) THANK YOU! How did I not know this? LibreOffice now saves files seamlessly to the share :-) -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: saving files on the network
I though of using some tool, but since I'm dealing with one directory, it seems like overkill and one line of rsync should solve the problem, although I'll probably add a few lines of "sanity" checks and logging :-) On Tue, 28 Dec 2021 10:49:43 +0200 Rabin Yasharzadehe wrote: > In that case use tools like SyncThing, which let you have a sync > folder across several computers. > and all the syncing is done in the background (almost live). > > -- > Rabin > > > On Tue, 28 Dec 2021 at 09:37, Shlomo Solomon > wrote: > > > On Tue, 28 Dec 2021 09:05:59 +0200 > > borissh1...@gmail.com wrote: > > > > > file locks that are so needed for binary files), or just to work > > > locally and then overwrite the original file. Multi connection > > > edits over the network is a guarantee for a headache later. > > > > Thanks. Although not really a "solution", I'm thinking of copying > > the entire content of the share to my machine (disk space is cheap) > > and creating, saving, changing, deleting files on my local copy. I > > would then have a cron job to rsync to the share once an hour. So > > effectively, the share would actually be a backup and rather than > > actually working on the share. > > > > To be clear, the reason for the share is to allow family members to > > save on the network share which is regularly backed-up since I know > > my wife and kids never back-up their computers. > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: saving files on the network
On Tue, 28 Dec 2021 09:05:59 +0200 borissh1...@gmail.com wrote: > file locks that are so needed for binary files), or just to work > locally and then overwrite the original file. Multi connection edits > over the network is a guarantee for a headache later. Thanks. Although not really a "solution", I'm thinking of copying the entire content of the share to my machine (disk space is cheap) and creating, saving, changing, deleting files on my local copy. I would then have a cron job to rsync to the share once an hour. So effectively, the share would actually be a backup and rather than actually working on the share. To be clear, the reason for the share is to allow family members to save on the network share which is regularly backed-up since I know my wife and kids never back-up their computers. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: saving files on the network
I think the relevant line in my /etc/fstab is the equivalent of what you suggested, but for some reason, all files "seem" to be owned by root, rather than the actual owner, so I use smb:// or fish:// in KDE Dolphin and then I can access files properly. The fstab line is: //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs user,credentials=/etc/samba/auth.pi.solomon 0 0 On Tue, 28 Dec 2021 01:25:54 +0200 Rabin Yasharzadehe wrote: > Do you have this problem when accessing the files when the share is > mounted using simply the mount command ? > > mount -t cifs //pi/public /mnt > > I know I had this problem, when Gnome/Mate mounted the shares via > fuse or gvfs which not all applications know how to work with. > > -- > Rabin > > > On Mon, 27 Dec 2021 at 18:02, Shlomo Solomon > wrote: > > > I have a shared disk on my Raspberry Pi accessed on my several > > computers as PI-PUBLIC. I access the drive using smb:// or fish:// > > or directly from the /mnt defined in /etc/fstab and can read, write, > > delete files from KDE programs - for example Kwrite, Okular, etc. > > > > I have 2 related(??) problems saving files to the share from a > > non-KDE program. > > > > Problem #1 > > In LibreOffice (for example) , I get: > > "Error saving the document Untitled 1: Object not accessible. The > > object cannot be accessed due to insufficient user rights." > > > > But I DO have user rights since KDE programs DO work. > > > > Some programs don't even "warn" that the file has not been saved. > > > > > > > > Problem #2 > > If I save to (for example) the Desktop, I can then drag-and-drop the > > file to the network drive, but if I later open it and want to make > > changes, when I try to save, I get a message box saying: > > "The file smb://solomon@pi/PI-PUBLIC/Documents/tst.odt has been > > modified. Do you want to upload the changes?" > > If I click un the "Upload" button, the change IS saved, but the > > extra step (and the fact that I cannot save a new document to the > > drive) are driving me crazy. > > > > I read somewhere that this is a known problem when using non-KDE > > programs in KDE Plasma - something to do with the kioslave, but have > > not found a solution. > > > > Any way to get around this? > > > > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
saving files on the network
I have a shared disk on my Raspberry Pi accessed on my several computers as PI-PUBLIC. I access the drive using smb:// or fish:// or directly from the /mnt defined in /etc/fstab and can read, write, delete files from KDE programs - for example Kwrite, Okular, etc. I have 2 related(??) problems saving files to the share from a non-KDE program. Problem #1 In LibreOffice (for example) , I get: "Error saving the document Untitled 1: Object not accessible. The object cannot be accessed due to insufficient user rights." But I DO have user rights since KDE programs DO work. Some programs don't even "warn" that the file has not been saved. Problem #2 If I save to (for example) the Desktop, I can then drag-and-drop the file to the network drive, but if I later open it and want to make changes, when I try to save, I get a message box saying: "The file smb://solomon@pi/PI-PUBLIC/Documents/tst.odt has been modified. Do you want to upload the changes?" If I click un the "Upload" button, the change IS saved, but the extra step (and the fact that I cannot save a new document to the drive) are driving me crazy. I read somewhere that this is a known problem when using non-KDE programs in KDE Plasma - something to do with the kioslave, but have not found a solution. Any way to get around this? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Telegram - locale error
They both work. But the "fun" was supposed to be trying a Linux program :-) On Fri, 3 Dec 2021 15:37:59 +0200 אורי wrote: > Try Telegram web. Or telegram on your mobile phone. > > אורי > u...@speedy.net > > > On Fri, Dec 3, 2021 at 12:34 PM Shlomo Solomon > wrote: > > > Already tried that and it did not work. > > > > The truth is that I don't even use Telegram, but when I heard it > > runs on Linux, I thought it would be fun to try. > > > > But it's not worth the time I've wasted on it, so I'm giving up. > > > > Thanks for your help. > > > > > > > > On Fri, 03 Dec 2021 12:25:29 +0200 > > borissh1...@gmail.com wrote: > > > > > 1. KDE (and qt) has another level of language config that is > > > loaded (system settings -> Regional settings -> Format) , try > > > disabling it. 2. your error look like a seccomp violation error. > > > > > > > > > > > > On Thursday, 2 December 2021 13:37:12 IST Shlomo Solomon wrote: > > > > I installed telegram from snap > > > > - sudo snap install telegram-desktop > > > > > > > > When I try running telegram from the KDE menu, nothing happens, > > > > but running dmesg shows: > > > > > > > > [2416340.605905] audit: type=1326 audit(1638444718.942:4956): > > > > auid=500 uid=500 gid=500 ses=1 pid=1860346 > > > > comm="telegram-deskto" > > > > exe="/snap/telegram-desktop/3343/usr/bin/telegram-desktop" > > > > sig=0 arch=c03e syscall=314 compat=0 ip=0x7f599ed3189d > > > > code=0x5 > > > > > > > > > > > > when I try running from a terminal, I see the same thing in > > > > dmesg and also get the following in the terminal: > > > > > > > > /bin/bash: warning: setlocale: LC_ALL: cannot change locale > > > > (en_US.UTF-8) > > > > > > > > > > > > I don't see any problems with my locale, but maybe I'm missing > > > > something: > > > > > > > > solomon@shlomo1:~$ locale > > > > LANG=en_US.UTF-8 > > > > LANGUAGE=en_US.UTF-8 > > > > LC_CTYPE="en_US.UTF-8" > > > > LC_NUMERIC="en_US.UTF-8" > > > > LC_TIME="en_US.UTF-8" > > > > LC_COLLATE="en_US.UTF-8" > > > > LC_MONETARY="en_US.UTF-8" > > > > LC_MESSAGES="en_US.UTF-8" > > > > LC_PAPER="en_US.UTF-8" > > > > LC_NAME="en_US.UTF-8" > > > > LC_ADDRESS="en_US.UTF-8" > > > > LC_TELEPHONE="en_US.UTF-8" > > > > LC_MEASUREMENT="en_US.UTF-8" > > > > LC_IDENTIFICATION="en_US.UTF-8" > > > > LC_ALL=en_US.UTF-8 > > > > > > > > Any help would be appreciated. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Telegram - locale error
In this case, Telegram (on Kubuntu) is installed with snap. I personally do not like snap and install from snap only if there is no native package. But, if I understand it correctly (and I may be wrong), there is some sort of "sandbox" here so the app is running with it's own environment, dependencies etc. That may be the reason none of the suggestions that I've received (on and off the list) have worked. On Fri, 3 Dec 2021 13:12:10 +0200 "Mark E. Fuller" wrote: > Well, on the topic of fun, I have been using Nheko Reborn as my > desktop client for Matrix chat and currently have an account with > Element One to bridge my WhatsApp, Signal, and Telegram all to the > same account - being able to have one window with all my chats on the > desktop has been great. > > I can't really comment on this particular problem, except that I have > had some problems on Fedora/KDE with Flatpaks and locale settings in > the past (keyboard layout not swapping in the app), which I solved by > going to an RPM for install instead. In that particular case it was > Slack, so I'm hoping to have it rolled into Matrix as well soon > enough... > > Mark E. Fuller, Ph.D. > HaShikma 19, Apt. 24 > Nesher 3681219, Israel > +972 (0)53-872-6579 > +49 (0)1577 1848188 > +1 401-236-4526 > mark.e.ful...@gmail.com > mark.e.ful...@gmx.de > ful...@stossrohr.net > @fuller:one.ems.host > https://www.stossrohr.net > PGP Fingerprint: 73F1 A30C BDF4 DB4B C75F FD0F D599 E76C FFCA BF60 > > On 03/12/2021 12:33, Shlomo Solomon wrote: > > Already tried that and it did not work. > > > > The truth is that I don't even use Telegram, but when I heard it > > runs on Linux, I thought it would be fun to try. > > > > But it's not worth the time I've wasted on it, so I'm giving up. > > > > Thanks for your help. > > > > > > > > On Fri, 03 Dec 2021 12:25:29 +0200 > > borissh1...@gmail.com wrote: > > > >> 1. KDE (and qt) has another level of language config that is loaded > >> (system settings -> Regional settings -> Format) , try disabling > >> it. 2. your error look like a seccomp violation error. > >> > >> > >> > >> On Thursday, 2 December 2021 13:37:12 IST Shlomo Solomon wrote: > >>> I installed telegram from snap > >>> - sudo snap install telegram-desktop > >>> > >>> When I try running telegram from the KDE menu, nothing happens, > >>> but running dmesg shows: > >>> > >>> [2416340.605905] audit: type=1326 audit(1638444718.942:4956): > >>> auid=500 uid=500 gid=500 ses=1 pid=1860346 comm="telegram-deskto" > >>> exe="/snap/telegram-desktop/3343/usr/bin/telegram-desktop" sig=0 > >>> arch=c03e syscall=314 compat=0 ip=0x7f599ed3189d code=0x5 > >>> > >>> > >>> when I try running from a terminal, I see the same thing in dmesg > >>> and also get the following in the terminal: > >>> > >>> /bin/bash: warning: setlocale: LC_ALL: cannot change locale > >>> (en_US.UTF-8) > >>> > >>> > >>> I don't see any problems with my locale, but maybe I'm missing > >>> something: > >>> > >>> solomon@shlomo1:~$ locale > >>> LANG=en_US.UTF-8 > >>> LANGUAGE=en_US.UTF-8 > >>> LC_CTYPE="en_US.UTF-8" > >>> LC_NUMERIC="en_US.UTF-8" > >>> LC_TIME="en_US.UTF-8" > >>> LC_COLLATE="en_US.UTF-8" > >>> LC_MONETARY="en_US.UTF-8" > >>> LC_MESSAGES="en_US.UTF-8" > >>> LC_PAPER="en_US.UTF-8" > >>> LC_NAME="en_US.UTF-8" > >>> LC_ADDRESS="en_US.UTF-8" > >>> LC_TELEPHONE="en_US.UTF-8" > >>> LC_MEASUREMENT="en_US.UTF-8" > >>> LC_IDENTIFICATION="en_US.UTF-8" > >>> LC_ALL=en_US.UTF-8 > >>> > >>> Any help would be appreciated. > >>> > >>> > >>> > >>> > >>> > >> > >> > >> > >> > > > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Telegram - locale error
Already tried that and it did not work. The truth is that I don't even use Telegram, but when I heard it runs on Linux, I thought it would be fun to try. But it's not worth the time I've wasted on it, so I'm giving up. Thanks for your help. On Fri, 03 Dec 2021 12:25:29 +0200 borissh1...@gmail.com wrote: > 1. KDE (and qt) has another level of language config that is loaded > (system settings -> Regional settings -> Format) , try disabling it. > 2. your error look like a seccomp violation error. > > > > On Thursday, 2 December 2021 13:37:12 IST Shlomo Solomon wrote: > > I installed telegram from snap > > - sudo snap install telegram-desktop > > > > When I try running telegram from the KDE menu, nothing happens, but > > running dmesg shows: > > > > [2416340.605905] audit: type=1326 audit(1638444718.942:4956): > > auid=500 uid=500 gid=500 ses=1 pid=1860346 comm="telegram-deskto" > > exe="/snap/telegram-desktop/3343/usr/bin/telegram-desktop" sig=0 > > arch=c03e syscall=314 compat=0 ip=0x7f599ed3189d code=0x5 > > > > > > when I try running from a terminal, I see the same thing in dmesg > > and also get the following in the terminal: > > > > /bin/bash: warning: setlocale: LC_ALL: cannot change locale > > (en_US.UTF-8) > > > > > > I don't see any problems with my locale, but maybe I'm missing > > something: > > > > solomon@shlomo1:~$ locale > > LANG=en_US.UTF-8 > > LANGUAGE=en_US.UTF-8 > > LC_CTYPE="en_US.UTF-8" > > LC_NUMERIC="en_US.UTF-8" > > LC_TIME="en_US.UTF-8" > > LC_COLLATE="en_US.UTF-8" > > LC_MONETARY="en_US.UTF-8" > > LC_MESSAGES="en_US.UTF-8" > > LC_PAPER="en_US.UTF-8" > > LC_NAME="en_US.UTF-8" > > LC_ADDRESS="en_US.UTF-8" > > LC_TELEPHONE="en_US.UTF-8" > > LC_MEASUREMENT="en_US.UTF-8" > > LC_IDENTIFICATION="en_US.UTF-8" > > LC_ALL=en_US.UTF-8 > > > > Any help would be appreciated. > > > > > > > > > > > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Telegram - locale error
I installed telegram from snap - sudo snap install telegram-desktop When I try running telegram from the KDE menu, nothing happens, but running dmesg shows: [2416340.605905] audit: type=1326 audit(1638444718.942:4956): auid=500 uid=500 gid=500 ses=1 pid=1860346 comm="telegram-deskto" exe="/snap/telegram-desktop/3343/usr/bin/telegram-desktop" sig=0 arch=c03e syscall=314 compat=0 ip=0x7f599ed3189d code=0x5 when I try running from a terminal, I see the same thing in dmesg and also get the following in the terminal: /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8) I don't see any problems with my locale, but maybe I'm missing something: solomon@shlomo1:~$ locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 Any help would be appreciated. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: multiple python versions
OK - to sum up: 1 - thanks to Omer and Dan 2 - it seems that I did understand the concept of virtual environments - as I wrote in my original post: > I know I can use venv to set up virtual environments for different > versions, but although I haven't tried it, I don't see how that would > solve the problem. 3 - based on the answers you both wrote, there's no solution to the "problem" of having to re-install modules. 4 - and it's probably not a good idea to try :-) 5 - based on all of the above, I'll probably pass on the idea of using 2 versions and wait for Kubuntu to move to 3.9, which will probably not be too far in the future. Again - thanks On Thu, 22 Jul 2021 20:07:20 +0300 Omer Zak wrote: > FALSE ECONOMICS ALERT! > FALSE ECONOMICS ALERT! > FALSE ECONOMICS ALERT! > > You say that "most modules DO work when moving to a newer version of > Python". > However when they do not work, it is a lot of work diagnosing the > problem and finding which module needs to have both versions installed > in parallel. > > It is better to spend the (relatively short and predictable) time > maintaining a full virtualenv for each project. And if you are short > on disk space, then today's disks are big and inexpensive - much less > expensive than the time you spend trying to save few megabytes by not > installing parallel versions. > > > > > On Thu, 2021-07-22 at 20:02 +0300, Shlomo Solomon wrote: > > On Thu, 22 Jul 2021 19:50:46 +0300 > > Omer Zak wrote: > > > > > Why do you want to avoid having to re-install modules for each > > > version/environment? > > > > > The short answer: too much work > > > > The slightly longer answer: Although there are certainly changes > > between versions of Python and/or modules, most modules DO work when > > moving to a newer version of Python. I don't remember re-installing > > everything when upgrading to a newer version of Python. > > > > But here, my problem is not upgrading, but keeping both versions. > > > > > > > > > > > In the general case, a module version is compatible only with a > > > subset > > > of Python versions, due to API changes from Python version to > > > Python > > > version. > > > > > > You also want to let each project decide with which module version > > > it > > > wants to work, due to potential incompatibilities between module > > > versions (it is no accident that pip freeze preserves installed > > > module > > > versions). > > > > > > > > > On Thu, 2021-07-22 at 19:37 +0300, Shlomo Solomon wrote: > > > > Omer Zak wrote: > > > > > The answer to your prayers is pyenv. > > > > > It allows you to install multiple Python versions in parallel, > > > > > and > > > > > for > > > > > each version you can maintain several virtualenvs. > > > > > > > > Dan Yasny wrote: > > > > > How about using virtualenv for alternative versions? > > > > > > > > Yes, I know about pyenv and virtualenv, but wouldn't I have to > > > > re-install modules for each version/environment? That's what I'm > > > > trying > > > > to avoid. > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: multiple python versions
On Thu, 22 Jul 2021 19:50:46 +0300 Omer Zak wrote: > Why do you want to avoid having to re-install modules for each > version/environment? > The short answer: too much work The slightly longer answer: Although there are certainly changes between versions of Python and/or modules, most modules DO work when moving to a newer version of Python. I don't remember re-installing everything when upgrading to a newer version of Python. But here, my problem is not upgrading, but keeping both versions. > In the general case, a module version is compatible only with a subset > of Python versions, due to API changes from Python version to Python > version. > > You also want to let each project decide with which module version it > wants to work, due to potential incompatibilities between module > versions (it is no accident that pip freeze preserves installed module > versions). > > > On Thu, 2021-07-22 at 19:37 +0300, Shlomo Solomon wrote: > > Omer Zak wrote: > > > The answer to your prayers is pyenv. > > > It allows you to install multiple Python versions in parallel, and > > > for > > > each version you can maintain several virtualenvs. > > > > Dan Yasny wrote: > > > How about using virtualenv for alternative versions? > > > > Yes, I know about pyenv and virtualenv, but wouldn't I have to > > re-install modules for each version/environment? That's what I'm > > trying > > to avoid. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: multiple python versions
I guess I don't completely understand the concept after all. If I setup a virtual environment for 3.9.6, how would it "know" that modules are installed in the 3.8 directory? As I wrote in my original post, without a virtual environment, in 3.9.6 I get: >>> import scapy Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'scapy' but the module does exist in 3.8: sudo pip3 install scapy Requirement already satisfied: scapy in /usr/local/lib/python3.8/dist-packages (2.4.4) So how do I tell the 3.9.6 environment to look for modules in the 3.8 directory? On Thu, 22 Jul 2021 12:41:41 -0400 Dan Yasny wrote: > why reinstall? Keep your versions venvs in place and hop in/out > > > On Thu, Jul 22, 2021 at 12:37 PM Shlomo Solomon > wrote: > > > Omer Zak wrote: > > > The answer to your prayers is pyenv. > > > It allows you to install multiple Python versions in parallel, > > > and for each version you can maintain several virtualenvs. > > > > Dan Yasny wrote: > > > How about using virtualenv for alternative versions? > > > > > > Yes, I know about pyenv and virtualenv, but wouldn't I have to > > re-install modules for each version/environment? That's what I'm > > trying to avoid. > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: multiple python versions
Omer Zak wrote: > The answer to your prayers is pyenv. > It allows you to install multiple Python versions in parallel, and for > each version you can maintain several virtualenvs. Dan Yasny wrote: > How about using virtualenv for alternative versions? Yes, I know about pyenv and virtualenv, but wouldn't I have to re-install modules for each version/environment? That's what I'm trying to avoid. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
multiple python versions
The default Kubuntu installation is 3.8.10 and I do not want to uninstall it since that could potentially "break" something. But for various reasons (not relevant to this discussion), I also have 3.9.6 installed. I can run either one of them, but in some cases, imports of modules that work in 3.8.10 don't work in 3.9.6. >>> import scapy Traceback (most recent call last): File "", line 1, in ModuleNotFoundError: No module named 'scapy' Although I don't want to re-install all modules, I "experimented" and got: sudo pip3 install scapy Requirement already satisfied: scapy in /usr/local/lib/python3.8/dist-packages (2.4.4) So even if I was willing to re-install everything, it would not work since the modules are already installed, but 3.9.6 does not "look" for them in the 3.8 directory. I know I can use venv to set up virtual environments for different versions, but although I haven't tried it, I don't see how that would solve the problem. Any ideas would be appreciated. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
strange problem with digits in Libreoffice
I have a problem in Libreoffice. If I type 123, that's what I see in the document. But if I type: שלום 123 I see:שלום 3 2 1 - extra spaces between the digits. This only happens in Hebrew, so hello 123 is OK. But there are no "real" spaces since I cannot delete them. Even stranger - If I export to a PDF, there are no digits!! I have 2 Kubuntu machines running the same version of Libreoffice (6.4.7.2). As far as I know both are configured the same, but I assume that there is some subtle difference that I'm missing since this problem occurs on only one of them. BTW - this only started recently, but I don't know exactly when (It's my wife's computer and she didn't notice it). -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: USB TV capture card
Answering my own question. UVC to the rescue. I bought a cheap UVC USB capture device and it works great. On Thu, 9 Jul 2020 14:06:24 +0300 Shlomo Solomon wrote: > I've asked this before, but I'm hoping that maybe I'll finally get an > answer :-) > > I have a **VERY** old PCI TV card (SAA7130 chip). Each time I consider > getting a new PC, I run up against the problem of today's motherboards > not having PCI slots. > > Can anyone suggest a USB device to replace what I have? Of course, THE > criteria is that it work with Linux :-) > > To be clear, I'm NOT looking for over-the-air TV or DVB-T or even a > tuner. All I want to do is to be able to connect to a YES "MEMIR" and > get video+audio in TVtime, Xawtv or whatever. > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
terrible audio on webcam
Let me start by saying that for years I've tried to get a "cheap" webcam to work on Linux with very little success, but UVC seems to have changed that. I bought a cheap camera on Aliexpress and it works perfectly - REAL plug-and-play. BUT that's only true of the video. The audio is unbelievably bad - all I get is a weird squeaky noise. It seems to be picking up just a few random frames and skipping most of the sound. 2 comments: 1 - it's not the hardware because it works fine on a Windows laptop 2 - I do have a work-around - I use the camera for video and a "regular" microphone connected to the sound card. But it would be nice to figure out what's wrong and how to fix the camera's audio. I've tested - and seen (actually heard) the same problem using zoom, cheese, webcamoid, arecord + aplay, audacity. I do see a problem in dmesg, but have no idea what to do about it. Here's the output: [1371995.047030] usb 1-5: new high-speed USB device number 96 using xhci_hcd [1371995.196029] usb 1-5: New USB device found, idVendor=1224, idProduct=2a25, bcdDevice= 1.00 [1371995.196035] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [1371995.196038] usb 1-5: Product: USB PHY 2.0 [1371995.196041] usb 1-5: Manufacturer: Jieli Technology [1371995.197540] uvcvideo: Found UVC 1.00 device USB PHY 2.0 (1224:2a25) [1371995.199845] input: USB PHY 2.0: USB CAMERA as /devices/pci:00/:00:14.0/usb1/1-5/1-5:1.0/input/input95 [1371995.205917] usb 1-5: failed to read current rate; disabling the check [1371995.208350] usb 1-5: Warning! Unlikely big volume range (=4096), cval->res is probably wrong. [1371995.208351] usb 1-5: [3] FU [Mic Capture Volume] ch = 1, val = 0/4096/1 [1371995.394425] xhci_hcd :00:14.0: WARN: buffer overrun event for slot 55 ep 4 on endpoint [1371995.394428] retire_capture_urb: 1714 callbacks suppressed [1371995.395424] xhci_hcd :00:14.0: WARN: buffer overrun event for slot 55 ep 4 on endpoint [1371995.398423] xhci_hcd :00:14.0: WARN: buffer overrun event for slot 55 ep 4 on endpoint and the "buffer overrun event" is then reported 1700 !!! times after that I've seen many references to retire_capture_urb: XXX callbacks suppressed - for example: https://www.spinics.net/lists/alsa-devel/msg119934.html But I have no idea how to fix this. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
problem mounting a share
I have a samba share on a Raspberry PI I can map it to a Windows 10 computer (and the PI does not ask for a password - as intended since this is a home network for the family). If I mount it on my Kubuntu machines, I DO need a password when mounting manually with: sudo mount //pi/PI-PUBLIC /mnt/PI-PUBLIC -o user,rw,username=MYUSER,password=PSWD or in fstab //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs user,username=MYUSER,password=PSWD 0 0 After mounting with either of the above, all files "seem" to be owned by root, even though that is not true. And obviously I cannot update or delete files. If I do smb://solomon@pi/PI-PUBLIC/ in Dolpin file manager, I'm also asked for a password, but then something strange happens. I CAN read and write files, but Dolphin does not show any permissions. And finally, the only solution that DOES work "correctly" in Dolphin is: fish://pi/media/PUBLIC/ BUT, I do have one "serious problem" with not being able to properly mount the share. Libreoffice and KIO slave do not "play well together" - a known issue - so the fish:// solution does not work. What am I missing here? I know using samba to communicate between a PI and Kubuntu is not the best way, but in the past, it did work for me and I don't know what I screwed up. smb.conf on the PI has not changed for MANY years, but I have done countless changes, updates and upgrades to the Kubuntu (and before that Mandriva) machines. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: sound problem on Kubuntu 20.04
THANK YOU! I started working on your list (most of which I had already tried, but did again to be on the safe side). And then I hit timidity apt-get purge timidity solved the problem again THANK YOU!!! On Thu, 10 Dec 2020 09:40:11 +0200 borissh1...@gmail.com wrote: > On Thursday, 10 December 2020 9:02:48 IST Shlomo Solomon wrote: > > On Thu, 10 Dec 2020 08:55:42 +0200 > > borissh1...@gmail.com wrote: > > > > I think you're right, but I have no idea how to fix it, or why it > > was not setup automatically. As I wrote earlier, in the LiveDVD I > > had sound. > > > > I hope that would be ok to ask, these questions are just for the > debugging steps . I understand you may have done them already but I > do not know the answers yet. > > Would you mind checking if it does happen to a brand new unix user ? > sometimes we modify our config files in home dir (and sometimes there > would be software that would that behind our back) . > > Would it be possible to give us the output of pacmd list-cards - > these will provide us the list of cards pulse audio sees ("hardware"). > > Check if any program holds the sound cards : fuser -v /dev/snd/* > > Do you have timtidy installed ? if so can you try removing it and > restarting the server and see if that unblock you ? timtidy is known > to have issues with pulseaudio in debian , so there could be a > similar problem with Ubuntu. > > Do you use fluidsynth ? can you try removing it ? > > Can you open the Pulse Audio control box , go to output devices and > there check if you have your analog output , if it is there try to > set it's port. If there are no hardware devices listed there (we > would also know that based on the command of pacmd list-cards) we > would need to check why it's missing and how we can add it. > > Have you configured manually pulse audio config > (/etc/pulse/default.pa , /etc/pulse/daemon.conf) ? > > Do you have the same pulseaudio packages installed - you can compare > lists on the existing OS and the live machine if both are running the > same OS (you can using dpkg --get-selections | grep pulse | grep -vvv > deinstall | cut -f1 to get the list on both sides). > > For your debugging you can try running : pulseaudio -k; pulseaudio > -v > > > > > > ___ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: sound problem on Kubuntu 20.04
pavucontrol was one of the first things I tried and no help But, on trying it again now, Boris mentioned (and I did not notice before), pavucontrol in fact lists dummy as the only device. On Thu, 10 Dec 2020 09:40:41 +0200 Tzafrir Cohen wrote: > On 10/12/2020 9:02, Shlomo Solomon wrote: > > > I think you're right, but I have no idea how to fix it, or why it > > was not setup automatically. As I wrote earlier, in the LiveDVD I > > had sound. > > Have you tried pavucontrol? (from package pavucontrol) It can help > clarify Pulseaudio's view of things. > > > But then again, if ALSA (as user root) does not see it, pulseaudio > has nothing to work with. And nowadays there's even another layer: > pipewire (pw-play, pw-cli, and such). But I have not yet heard of > problems caused at that level. > > > -- Tzafrir > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: sound problem on Kubuntu 20.04
On Thu, 10 Dec 2020 08:55:42 +0200 borissh1...@gmail.com wrote: I think you're right, but I have no idea how to fix it, or why it was not setup automatically. As I wrote earlier, in the LiveDVD I had sound. > > I think that it is set to a dummy output (meaning no sound would be > > played from your speakers/ headset) , it should be set to a port > > with something like "analog-output-speaker" . > > > > And there is no card definition too , I think pulseaudio did not > select your audio card at all. > > > > > ___ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: sound problem on Kubuntu 20.04
seems OK, but I'm sending the output - maybe I'm missing something: pacmd list-sinks 1 sink(s) available. * index: 2 name: driver: flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY state: SUSPENDED suspend cause: IDLE priority: 1000 volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB balance 0.00 base volume: 65536 / 100% / 0.00 dB volume steps: 65537 muted: no current latency: 0.00 ms max request: 344 KiB max rewind: 344 KiB monitor source: 2 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms module: 29 properties: device.description = "Dummy Output" device.class = "abstract" device.icon_name = "audio-card" And with a bluetooth speaker connected: pacmd list-sinks 1 sink(s) available. * index: 3 name: driver: flags: HARDWARE DECIBEL_VOLUME LATENCY state: SUSPENDED suspend cause: IDLE priority: 9050 volume: front-left: 93061 / 142% / 9.14 dB, front-right: 93061 / 142% / 9.14 dB balance 0.00 base volume: 65536 / 100% / 0.00 dB volume steps: 65537 muted: no current latency: 0.00 ms max request: 2 KiB max rewind: 0 KiB monitor source: 3 sample spec: s16le 2ch 44100Hz channel map: front-left,front-right Stereo used by: 0 linked by: 0 fixed latency: 39.51 ms card: 1 module: 30 properties: bluetooth.protocol = "a2dp_sink" device.description = "SENSOR S-1" device.string = "F4:4E:FD:19:AE:B6" device.api = "bluez" device.class = "sound" device.bus = "bluetooth" device.form_factor = "headset" bluez.path = "/org/bluez/hci0/dev_F4_4E_FD_19_AE_B6" bluez.class = "0x240404" bluez.alias = "SENSOR S-1" device.icon_name = "audio-headset-bluetooth" device.intended_roles = "phone" ports: headset-output: Headset (priority 0, latency offset 0 usec, available: unknown) properties: active port: On Thu, 10 Dec 2020 08:27:56 +0200 borissh1...@gmail.com wrote: > On Thursday, 10 December 2020 7:56:23 IST Shlomo Solomon wrote: > > I feel really stupid, but after hours of searching, I'm really > > lost. No idea what I'm missing. > > > > I had a nasty PBCAK bug with debian recently that might be the same > case for you, the default sink was sent to an inactive sink (muted). > > You can get your sinks by running pacmd list-sinks > > Check if that sink is set correctly to you, and is not muted (and > enabled ! ). > > > > > > > ___ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: sound problem on Kubuntu 20.04
sudo aplay alsa-utils . [sudo] password for solomon: alsa-utils: No such file or directory aplay -l List of PLAYBACK Hardware Devices card 0: PCH [HDA Intel PCH], device 0: ALC887-VD Analog [ALC887-VD Analog] Subdevices: 0/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4] Subdevices: 1/1 Subdevice #0: subdevice #0 On Thu, 10 Dec 2020 08:13:40 +0200 Tzafrir Cohen wrote: > Hi, > > On 10/12/2020 7:56, Shlomo Solomon wrote: > > > New computer - new install of Kubuntu 20.04 - no sound. > > > > I thought it might be a hardware problem since it's a new computer, > > but when I boot to a LiveDVD of the same distro, everything is fine. > > > Just to check one obvious thing: can you play directly with ALSA? As > root (so you don't have pulseaudio in the middle)? > > > aplay alsa-utils . > > > -- Tzafrir > > > ___ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
sound problem on Kubuntu 20.04
I feel really stupid, but after hours of searching, I'm really lost. No idea what I'm missing. New computer - new install of Kubuntu 20.04 - no sound. I thought it might be a hardware problem since it's a new computer, but when I boot to a LiveDVD of the same distro, everything is fine. When I connect a Bluetooth speaker, it's recognized and works. kmix does not show any devices alsamixer -c 0 shows: Card: HDA Intel PCH Chip: Realtek ALC887-VD cat /proc/asound/modules 0 snd_hda_intel cat /proc/asound/devices 1:: sequencer 2: [ 0- 0]: digital audio playback 3: [ 0- 0]: digital audio capture 4: [ 0- 3]: digital audio playback 5: [ 0- 7]: digital audio playback 6: [ 0- 8]: digital audio playback 7: [ 0- 9]: digital audio playback 8: [ 0-10]: digital audio playback 9: [ 0- 0]: hardware dependent 10: [ 0- 2]: hardware dependent 11: [ 0] : control 33:: timer I don't see anything unusual in dmesg [ 16.769816] snd_hda_intel :00:1f.3: enabling device ( -> 0002) [ 16.769946] snd_hda_intel :00:1f.3: Applying patch firmware 'hda-jack-retask.fw' [ 16.883625] snd_hda_intel :00:1f.3: bound :00:02.0 (ops i915_audio_component_bind_ops [ i915]) [ 16.999730] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC887-VD: line_outs=1 (0x14/0x0/ 0x0/0x0/0x0) type:line [ 16.999731] snd_hda_codec_realtek hdaudioC0D0:speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) [ 16.999731] snd_hda_codec_realtek hdaudioC0D0: hp_outs=1 (0x1b/0x0/0x0/0x0/0x0) [ 16.999732] snd_hda_codec_realtek hdaudioC0D0:mono: mono_out=0x0 [ 16.999732] snd_hda_codec_realtek hdaudioC0D0:inputs: [ 16.999733] snd_hda_codec_realtek hdaudioC0D0: Line=0x1a [ 17.033081] input: HDA Intel PCH Line as /devices/pci:00/:00:1f.3/sound/card0/input6 [ 17.033107] input: HDA Intel PCH Line Out as /devices/pci:00/:00:1f.3/sound/card0/input 7 [ 17.033133] input: HDA Intel PCH Front Headphone as /devices/pci:00/:00:1f.3/sound/card 0/input8 [ 17.033156] input: HDA Intel PCH HDMI/DP,pcm=3 as /devices/pci:00/:00:1f.3/sound/card0/ input9 [ 17.033177] input: HDA Intel PCH HDMI/DP,pcm=7 as /devices/pci:00/:00:1f.3/sound/card0/ input10 [ 17.033197] input: HDA Intel PCH HDMI/DP,pcm=8 as /devices/pci:00/:00:1f.3/sound/card0/ input11 [ 17.033217] input: HDA Intel PCH HDMI/DP,pcm=9 as /devices/pci:00/:00:1f.3/sound/card0/ input12 [ 17.033238] input: HDA Intel PCH HDMI/DP,pcm=10 as /devices/pci:00/:00:1f.3/sound/card0 /input13 -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.18.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
solved (was Re: ZOOM whiteboard on Kubuntu 20.04)
I re-installed ZOOM for the third time and now everything works perfectly. Einstein once said: “Insanity is doing the same thing over and over again and expecting different results.” But that's exactly what happened. I hate when this happens. :-( In any case - thanks to all who tried to help - on and off the list. On Tue, 25 Aug 2020 20:22:23 +0300 Shlomo Solomon wrote: > I've never used flatpack - I'll try it, but I honestly doubt that > that' will help. Since I have the same problem with the .deb and snap > versions, I really think that the problem is with Kubuntu - or some > setting that I'm missing. > > > > On Tue, 25 Aug 2020 20:01:17 +0300 > Efraim Flashner wrote: > > > I don't have any experience with kubuntu or using zoom on the > > desktop, but I do know that there's also a flatpak of zoom. Perhaps > > that one will work better. > > > > On Tue, Aug 25, 2020 at 07:55:59PM +0300, Shlomo Solomon wrote: > > > I recently upgraded from Kubuntu 18.04 to 20.04 and have a problem > > > with the whiteboard in ZOOM. > > > > > > Instead of a "whiteboard" I have a "blackboard". I can write on > > > the board (in white lines), but as soon as I release the mouse, > > > whatever I've written disappears. > > > If I share the "white/blackboard" with others, they also see it as > > > black but DO NOT see anything I write. > > > This problem is only with the whiteboard. I can share other > > > screens with no problem. > > > I looked at all the settings and found nothing helpful. > > > A Google search tells me that there could be a problem with my > > > GPU, but the symptoms are that all shared items are black and > > > that is NOT what happens. I ONLY have a problem with the > > > whiteboard. > > > > > > I should mention that in Kubuntu 18.04 everything worked > > > "out-of-the-box" after installing ZOOM from a .deb file (from the > > > ZOOM site). > > > > > > In 20.04 there is a snap install of ZOOM. I thought that the snap > > > might be the problem so I removed it and installed from the .deb > > > file but that did not solve the problem. > > > > > > Any help/ideas would be appreciated. > > > > > > > > > > > > -- > > > Shlomo Solomon > > > http://the-solomons.net > > > Claws Mail 3.17.5 - KDE Plasma 5.15.5 - Kubuntu 20.04 > > > > > > ___ > > > Linux-il mailing list > > > Linux-il@cs.huji.ac.il > > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.15.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: ZOOM whiteboard on Kubuntu 20.04
OK - not really connected to my original post, but after reading about flatpack, I understand that on K/ubuntu 20.04 using flatpack is non-trivial because there is some conflict between snap and flatpack. I do not know if this is true or why, but since I'm still in early days after upgrading from Kubuntu 18.04 to 20.04, I don't want to "break" anything. BTW - call me old school. but I really don't like snap either. Never could understand the move from .deb to snap and if possible I avoid snap (and now flatpack). On Tue, 25 Aug 2020 20:22:23 +0300 Shlomo Solomon wrote: > I've never used flatpack - I'll try it, but I honestly doubt that > that' will help. Since I have the same problem with the .deb and snap > versions, I really think that the problem is with Kubuntu - or some > setting that I'm missing. > > > > On Tue, 25 Aug 2020 20:01:17 +0300 > Efraim Flashner wrote: > > > I don't have any experience with kubuntu or using zoom on the > > desktop, but I do know that there's also a flatpak of zoom. Perhaps > > that one will work better. > > > > On Tue, Aug 25, 2020 at 07:55:59PM +0300, Shlomo Solomon wrote: > > > I recently upgraded from Kubuntu 18.04 to 20.04 and have a problem > > > with the whiteboard in ZOOM. > > > > > > Instead of a "whiteboard" I have a "blackboard". I can write on > > > the board (in white lines), but as soon as I release the mouse, > > > whatever I've written disappears. > > > If I share the "white/blackboard" with others, they also see it as > > > black but DO NOT see anything I write. > > > This problem is only with the whiteboard. I can share other > > > screens with no problem. > > > I looked at all the settings and found nothing helpful. > > > A Google search tells me that there could be a problem with my > > > GPU, but the symptoms are that all shared items are black and > > > that is NOT what happens. I ONLY have a problem with the > > > whiteboard. > > > > > > I should mention that in Kubuntu 18.04 everything worked > > > "out-of-the-box" after installing ZOOM from a .deb file (from the > > > ZOOM site). > > > > > > In 20.04 there is a snap install of ZOOM. I thought that the snap > > > might be the problem so I removed it and installed from the .deb > > > file but that did not solve the problem. > > > > > > Any help/ideas would be appreciated. > > > > > > > > > > > > -- > > > Shlomo Solomon > > > http://the-solomons.net > > > Claws Mail 3.17.5 - KDE Plasma 5.15.5 - Kubuntu 20.04 > > > > > > ___ > > > Linux-il mailing list > > > Linux-il@cs.huji.ac.il > > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.15.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: ZOOM whiteboard on Kubuntu 20.04
I've never used flatpack - I'll try it, but I honestly doubt that that' will help. Since I have the same problem with the .deb and snap versions, I really think that the problem is with Kubuntu - or some setting that I'm missing. On Tue, 25 Aug 2020 20:01:17 +0300 Efraim Flashner wrote: > I don't have any experience with kubuntu or using zoom on the desktop, > but I do know that there's also a flatpak of zoom. Perhaps that one > will work better. > > On Tue, Aug 25, 2020 at 07:55:59PM +0300, Shlomo Solomon wrote: > > I recently upgraded from Kubuntu 18.04 to 20.04 and have a problem > > with the whiteboard in ZOOM. > > > > Instead of a "whiteboard" I have a "blackboard". I can write on the > > board (in white lines), but as soon as I release the mouse, whatever > > I've written disappears. > > If I share the "white/blackboard" with others, they also see it as > > black but DO NOT see anything I write. > > This problem is only with the whiteboard. I can share other screens > > with no problem. > > I looked at all the settings and found nothing helpful. > > A Google search tells me that there could be a problem with my GPU, > > but the symptoms are that all shared items are black and that is > > NOT what happens. I ONLY have a problem with the whiteboard. > > > > I should mention that in Kubuntu 18.04 everything worked > > "out-of-the-box" after installing ZOOM from a .deb file (from the > > ZOOM site). > > > > In 20.04 there is a snap install of ZOOM. I thought that the snap > > might be the problem so I removed it and installed from the .deb > > file but that did not solve the problem. > > > > Any help/ideas would be appreciated. > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.17.5 - KDE Plasma 5.15.5 - Kubuntu 20.04 > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.15.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: ZOOM whiteboard on Kubuntu 20.04
not an option - I must use ZOOM for my work On Tue, 25 Aug 2020 20:11:31 +0300 Shay Gover wrote: > Use Openboard instead > > On Tue, Aug 25, 2020 at 8:02 PM Efraim Flashner > wrote: > > > I don't have any experience with kubuntu or using zoom on the > > desktop, but I do know that there's also a flatpak of zoom. Perhaps > > that one will work better. > > > > On Tue, Aug 25, 2020 at 07:55:59PM +0300, Shlomo Solomon wrote: > > > I recently upgraded from Kubuntu 18.04 to 20.04 and have a > > > problem with the whiteboard in ZOOM. > > > > > > Instead of a "whiteboard" I have a "blackboard". I can write on > > > the board (in white lines), but as soon as I release the mouse, > > > whatever I've written disappears. > > > If I share the "white/blackboard" with others, they also see it as > > > black but DO NOT see anything I write. > > > This problem is only with the whiteboard. I can share other > > > screens with no problem. > > > I looked at all the settings and found nothing helpful. > > > A Google search tells me that there could be a problem with my > > > GPU, but the symptoms are that all shared items are black and > > > that is NOT what happens. I ONLY have a problem with the > > > whiteboard. > > > > > > I should mention that in Kubuntu 18.04 everything worked > > > "out-of-the-box" after installing ZOOM from a .deb file (from the > > > ZOOM site). > > > > > > In 20.04 there is a snap install of ZOOM. I thought that the snap > > > might be the problem so I removed it and installed from the .deb > > > file but that did not solve the problem. > > > > > > Any help/ideas would be appreciated. > > > > > > > > > > > > -- > > > Shlomo Solomon > > > http://the-solomons.net > > > Claws Mail 3.17.5 - KDE Plasma 5.15.5 - Kubuntu 20.04 > > > > > > ___ > > > Linux-il mailing list > > > Linux-il@cs.huji.ac.il > > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > -- > > Efraim Flashner אפרים פלשנר > > GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 > > Confidentiality cannot be guaranteed on emails sent or received > > unencrypted ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.15.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
ZOOM whiteboard on Kubuntu 20.04
I recently upgraded from Kubuntu 18.04 to 20.04 and have a problem with the whiteboard in ZOOM. Instead of a "whiteboard" I have a "blackboard". I can write on the board (in white lines), but as soon as I release the mouse, whatever I've written disappears. If I share the "white/blackboard" with others, they also see it as black but DO NOT see anything I write. This problem is only with the whiteboard. I can share other screens with no problem. I looked at all the settings and found nothing helpful. A Google search tells me that there could be a problem with my GPU, but the symptoms are that all shared items are black and that is NOT what happens. I ONLY have a problem with the whiteboard. I should mention that in Kubuntu 18.04 everything worked "out-of-the-box" after installing ZOOM from a .deb file (from the ZOOM site). In 20.04 there is a snap install of ZOOM. I thought that the snap might be the problem so I removed it and installed from the .deb file but that did not solve the problem. Any help/ideas would be appreciated. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.17.5 - KDE Plasma 5.15.5 - Kubuntu 20.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: USB TV capture card
My current card connects with 3 red-white-yellow RCA (banana) pins to the MEMIR and TVtime sees them as composite2 and PAL-BG. The PCI TV card is also connected to the sound card on the motherboard, but I assume that in a USB card, that would probably not be relevant. If it was not clear in my previous post, I watch TV in a window - not full-screeen - so I'm not looking for a way to turn my computer monitor into a TV - just to capture TV output and use TVtime, Xawtv or whatever. On Thu, 9 Jul 2020 15:16:49 +0300 Yuval Adam <_...@yuv.al> wrote: > On 7/9/20 2:06 PM, Shlomo Solomon wrote:To be clear, I'm NOT looking > for over-the-air TV or DVB-T or even a > > tuner. All I want to do is to be able to connect to a YES "MEMIR" > > and get video+audio in TVtime, Xawtv or whatever. What interface > > are you working with? Composite (i.e. red/white/yellow "bananas")? > > HDMI?-- > Yuval Adam > https://yuv.al -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
USB TV capture card
I've asked this before, but I'm hoping that maybe I'll finally get an answer :-) I have a **VERY** old PCI TV card (SAA7130 chip). Each time I consider getting a new PC, I run up against the problem of today's motherboards not having PCI slots. Can anyone suggest a USB device to replace what I have? Of course, THE criteria is that it work with Linux :-) To be clear, I'm NOT looking for over-the-air TV or DVB-T or even a tuner. All I want to do is to be able to connect to a YES "MEMIR" and get video+audio in TVtime, Xawtv or whatever. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Lenovo ideapad 710S-13IKB bios/boot issue
On Wed, 29 Apr 2020 11:35:05 +0300 Gabor Szabo wrote: > Booting from disk on key: > I found a disk on key with Ubuntu 18.10 on it. > After plugging in and changing the boot order in the BIOS I managed > to boot from it. > I could even connect to the wifi, but I don't know how to access the > harddisk of the computer. > > sudo lsblk shows me > > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT > loop07:00 1.8G 1 loop /rofs > loop17:10 87.9M 1 loop /snap/core/5662 > loop27:20 140.9M 1 loop /snap/gnome-3-26-1604/70 > loop37:30 2.3M 1 loop /snap/gnome-calculator/238 > loop47:4013M 1 loop /snap/gnome-characters/124 > loop57:50 14.5M 1 loop /snap/gnome-logs/45 > loop67:60 3.7M 1 loop /snap/gnome-system-monitor/57 > loop77:70 42.1M 1 loop /snap/gtk-common-themes/701 > sda 8:01 14.3G 0 disk /cdrom > sda1 8:11 1.9G 0 part > sda2 8:21 2.4M 0 part > > where sda is the disk on key. > > At this point I was wondering how could I access the HD when running > Ubuntu from USB. > > any pointers, ideas are welcome > > Gabor I can't help with Windows, but your final question seems easy (or am I mis-understanding?). If you just want to access the hard drive, why not try sudo fdisk -l to get info about the drive and then either mount the relevant partition manually or add it to /etc/fstab on the USB drive? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Gmail and Claws
On Mon, 27 Apr 2020 09:39:12 +0300 Shlomi Fish wrote: > > BTW - Steve: While looking for other solutions, I found your > > article on "Escape From Kmail". Too bad I didn't see this article > > years ago because a few years ago I too spent about a week figuring > > out how to get rid of the monstrosity of KMail and Akonadi and move > > to Claws. > > > > > Steve and you were not alone: > > * https://github.com/shlomif/convert-away-from-kmail > > * > https://git.claws-mail.org/?p=claws.git;a=tree;f=tools;h=7404d880a11ff8308deb69bbf828df7c38d4d187;hb=HEAD > > I kinda miss the old pre-Akonadi kmail. :( . > > > So do I, but Claws comes pretty close to what KMail used to be :-) -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Gmail and Claws
Thanks to Steve, Ori and Moish for your help. All your suggestions seem good, but: 1 - I really did not want to make such major changes. If it ain't broke 2 - I'm just too tired or annoyed to have to waste so much of my and your time. Am I getting to old for this nonsense?? SO - I surrendered to Google and set up an app password, even though this forced me to first set up 2-factor authentication on my Google account. BTW - after setting up the app password, I dis-abled 2-factor, but Google in it's immense wisdom no longer allowed me to use the app password, so I had to go back to 2-factor and re-generate the app password. Still to early to tell how much 2-factor will interfere with my use of other Google products such as Drive, Youtube, Maps. But at least I have my mail back with no change to my old setup - except for the changed password. BTW - Steve: While looking for other solutions, I found your article on "Escape From Kmail". Too bad I didn't see this article years ago because a few years ago I too spent about a week figuring out how to get rid of the monstrosity of KMail and Akonadi and move to Claws. On a side note - I'm on Kubuntu 18.04 LTS and in preparation to upgrade to 20.04 LTS, I read that KMail and the entire KDE PIM are no longer the default on the new Kubuntu. Again - thanks for all your help And I will save this thread, in case I ever decide to do a major overhaul. On Sun, 26 Apr 2020 18:38:45 +0300 Moish wrote: > same here. > using dovcot to handle my local folders. > works like a charm for several years. > I use IMAP wqo expunge to keep a backup on gmail. > > Oh, one more thing. Try to change the frequency of pop check. > > BWT I use gmvault to download all mail from gmail to my pc. > > On 26/04/2020 10:35, Steve Litt wrote: > > On Sat, 25 Apr 2020 23:37:11 +0300 > > shlomo solomon wrote: > > > > > >>>> It's easy to access email by IMAP instead of POP. That may or may > >>>> not fix it, but either way, it gives you some info. > > > >> I don't use imap because I don't want to sync my Claws mail to > >> Gmail - just to download new mail. > > > > E, I can think of nothing grosser (American meaning, not > > "bigger") than syncing an email client to that rotten garbage bin > > called "gmail". But nowadays you can use IMAP just like POP: > > Download and expunge. The following is the part of my .fetchmailrc > > that retrieves then deletes my gmail litttest mail. I'm sure you > > can do the exact same thing direct from Claws. > > > > poll imap.gmail.com protocol IMAP > > user 'litttest aatt gmail.com' there is 'slitt' here > > pass 'my-ultra-secret-password' > > #portnumber 993 > > limit 5000 > > warnings 3200 > > expunge 60 > > mda "/usr/bin/procmail -d %T" > > fetchlimit 50 > > ssl; > > > > > > SteveT > > > > Steve Litt > > March 2020 featured book: Troubleshooting: Why Bother? > > http://www.troubleshooters.com/twb > > > > ___________ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > ___ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Gmail and Claws
I see what you're doing, but don't see how this would solve my problem. Moving from pop3 to imap would not change the fact that Google is not allowing me to login. And most probably, Ori is correct in his opinion that the problem is the login to Google services - not to pop3. Or do you think that procmail would be allowed to login where claws is not allowed? Just to remind you of what I wrote in my original post - this has worked fine for many years and since nothing has changed on my end, I have no reason to think that pop3 is the problem. On Sun, Apr 26, 2020 at 10:35 AM Steve Litt wrote: > > On Sat, 25 Apr 2020 23:37:11 +0300 > shlomo solomon wrote: > > > > >>It's easy to access email by IMAP instead of POP. That may or may > > >>not fix it, but either way, it gives you some info. > > > I don't use imap because I don't want to sync my Claws mail to Gmail - > > just to download new mail. > > E, I can think of nothing grosser (American meaning, not "bigger") > than syncing an email client to that rotten garbage bin called "gmail". > But nowadays you can use IMAP just like POP: Download and expunge. The > following is the part of my .fetchmailrc that retrieves then deletes my > gmail litttest mail. I'm sure you can do the exact same thing direct > from Claws. > > poll imap.gmail.com protocol IMAP > user 'litttest aatt gmail.com' there is 'slitt' here > pass 'my-ultra-secret-password' > #portnumber 993 > limit 5000 > warnings 3200 > expunge 60 > mda "/usr/bin/procmail -d %T" > fetchlimit 50 > ssl; > > > SteveT > > Steve Litt > March 2020 featured book: Troubleshooting: Why Bother? > http://www.troubleshooters.com/twb > > ___ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: message not getting through
And just to be clear, my message about messages not getting through also arrived (and I got an ack) On Sun, Apr 26, 2020 at 2:28 AM shlomo solomon wrote: > > Unlikely that this is connected to my previous problem (because I'm > sending from the GMail web mail), but, who knows > > Steve and Ori replied to my question about Gmail and Claws. > > I replied to both replies. > > My reply to Ori showed up immediately on the list archive, but I've > replied 4!!! times to Steve and don't see my reply on the archive. I > also did not get an acknowledgement (which is why I sent the message > again and again). ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
message not getting through
Unlikely that this is connected to my previous problem (because I'm sending from the GMail web mail), but, who knows Steve and Ori replied to my question about Gmail and Claws. I replied to both replies. My reply to Ori showed up immediately on the list archive, but I've replied 4!!! times to Steve and don't see my reply on the archive. I also did not get an acknowledgement (which is why I sent the message again and again). ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Gmail and Claws
Thanks for your very detailed answer. You make many valid points, but to summarize, I understand that you suggest I set up an app password and that may be what I'll have to do. BUT, as far as I've read, there IS a connection between the 2fa and app passwords settings. The Google support sites says: On the "Signing in to Google" panel, choose App Passwords. If you don’t see this option: - 2-Step Verification is not set up for your account. - 2-Step Verification is set up for security keys only. - Your account is through work, school, or other organization. - You’ve turned on Advanced Protection for your account. So setting this up may force me to use 2-factor to access other things, such as Google Drive. Just to be clear, I do not keep any sensitive data on Drive, so I really don't care if it's secure and adding 2 factor will be really inconvenient if it forces me to have my phone handy any time I want to access Drive on my desktop computer. BTW - concerning your mention of being out of the country, etc, that's certainly not the problem in these crazy Covid-19 days :-(. And I do not use tor or a VPN to access mail on Gmail or Claws. On Sun, Apr 26, 2020 at 12:50 AM Ori Berger wrote: > > On 25/04/2020 22:22, shlomo solomon wrote: > > > Google/Gmail has decided to drive me crazy and I hope someone can help. > > > > 5 - to allow this, I have Gmail set up to allow POP access and my > > Google account set up to allow "Less secure app access" (Google-speak > > for anything not provided or controlled by Google). > > No, that's not what allowing "Less secure app access" means. > > It used to be, that you had one password to an account (say, your gmail > account), and knowing that password would automatically give every > permission to whoever provided it. But as more and more things need to > interface these things today, it is now common to break the security > such that: > > a) There is still indeed one main account password (potentially aided by > a 2nd factor), however ... > > b) That account password is ONLY used with the main interface - in > Google's case, the "accounts.google.com" domain; and that once you log > in there > > c) You can delegate specific, limited access to different applications > through that interface. > > Now, as long as you're within the Google system (e.g. YouTube, Calendar, > Hangouts, etc.), this is all handled internally. But as soon as you exit > that system, e.g. by using Thunderbird or Claws, you have some friction > with the delegation step (c). > > One way supported by Google (and Facebook, and Apple, and others) is > OAuth2 - that app makes a request to Google for specific permissions; > You log in to accounts.google.com (after being redirected into it by > that app), and Google asks you to approve the specific permissions > requested by that app or website. If you do, that app/site gets a > "token" (for all practical purposes, a username+password for that > app/site uniquely generated for that approval process) that they can > use, but that is limited to exactly those permissions that the app > requested and that you approved. Thunderbird has a "Google" connector > these days which does exactly that. > > For older applications which do not support OAuth2, you can just go in > and generate an "App specific password" and specify those permissions > yourself; That's what you need to do for Claws. What you get is a > password that (assuming you asked for smtp/imap access) only works for > smtp/imap, and cannot be used to e.g. log into the Gmail web > applications and set up new forwards/filters. I do not know, but I > suspect, that they expect this password to be strictly used by one app - > e.g., I expect them to reject it if one day they see it being used from > Claws and the next day by Outlook; this information is sometimes > available directly in the protocol itself - e.g. claws and thunderbird > put a "User-Agent" mime header when they send a message - and is > sometimes inferred - e.g., if you have an X-MS-TNEF header, it's Outlook) > > The rationale behind this system is not to give Google more control > (it's not like you previously could add forwarding setup through > imap/pop3) - but rather to limit the probability that your main, > all-powerful, password would leak from systems like Thunderbird or Claws > or PEBKAC which Google cannot directly secure. (There is, of course, a > very busniessy reason here as well - sites like LinkedIn and Facebook > used to ask you for your mail username/password, "so we could make it > easier for you to see who of your contacts is in our system and send > them invites", which is a bad idea for everyone involved except &g
Gmail and Claws
Google/Gmail has decided to drive me crazy and I hope someone can help. Some background: 1 - my gmail address is shlomo.solo...@gmail.com 2 - all my mail is forwarded to my domain shl...@the-solomons.net 3 - For MANY years, I've used Claws mail (and before that KMail) as my client because I HATE webmail in general and Gmail specifically. 4 - Claws accesses my mail over POP3 and SMTP 5 - to allow this, I have Gmail set up to allow POP access and my Google account set up to allow "Less secure app access" (Google-speak for anything not provided or controlled by Google). 6 - This setup has worked for at least 20 years and I've made no recent changes so there's no OBVIOUS reason for it not to work now. BUT, in the past few weeks, Gmail has randomly refused to let Claws access my mail. Sometimes this lasts for a short time and sometimes for hours or even a day or more. The Claws log shows: * Account 'GMail': Connecting to POP3 server: pop.gmail.com:995... [21:49:25] POP< +OK Gpop ready for requests from 89.237.110.180 s20mb165349719wra [21:49:25] POP> USER shlomo.solo...@gmail.com [21:49:25] POP< +OK send PASS [21:49:25] POP> PASS [21:49:25] POP< -ERR [AUTH] Web login required: https://support.google.com/mail/answer/78754 *** error occurred on authentication *** Authentication failed. I've tried all the solutions mentioned on https://support.google.com/mail/answer/78754 and many more that I've found in various posts and sites, but nothing seems to work. Among other things, I've tried changing my password, turning POP access off and then back on, turning "less secure" off then back on, and more. The only thing I HAVE NOT tried (because I'm afraid it will make things worse rather than better) is to set up two-factor authentication and use an app password - I also have no idea how this works (or doesn't work) in Claws mail. And as I wrote above, after a while, the problem solves itself. And one more thing - I have additional Gmail accounts with the same setup and Gmail DOES allow Claws mail access, while denying access to my main account. So that's also weird. Any help would be greatly appreciated. ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: dependency hell OR it should not be this hard
After more than 20 years using Linux, I have ABSOLUTELY no thoughts about moving to Windows. My point was that a new user might be daunted by dependency hell. Whether we like it or not, Windows is the de-facto OS and if we want to see people moving to Linux, it's got to be better. On Mon, 12 Aug 2019 09:45:26 +0300 Jeremy Hoyland wrote: > Just to comment on your original post. > Don't think for one moment that things are any better in Windows. > The difference with APT issues is that there *is* something you can do > about it, and ultimately, the problem is resolvable by you. > In Windows things look a lot prettier, but I have often had an > installer fail with no reason given and then automatically roll-back > with no recourse. The solutions there often required manual editing > of the registry. I prefer APT any day. > > On Mon, 12 Aug 2019 at 08:18, Shlomo Solomon > wrote: > > > Thanks for your VERY detailed reply. Some of it was "over my head", > > but relevant and true - although I personally like and use KDE > > despite it being quite bloated for many years now. > > > > As an aside - I got rid of KMail, Akonadi and all their "friends" > > years ago. It's hard to believe that an email program has about 80 > > dependencies and "suggests" another 20 packages!!! > > > > As I wrote, I intentionally did not include too many details about > > the problem since I was not really looking for a solution. > > > > The short version - this seemed to be caused by a broken dependency > > and neither apt-get or dpkg were able to solve this until I manually > > deleted a few post-install scripts. So the "blame" should probably > > fall on the way apt-get and dpkg handle dependencies and/or such > > scripts, and not so much on the Kubuntu maintainers. > > > > Although I did save the relevant apt and dpkg logs, I don't think > > that contacting the Kubuntu maintainers will help because they will > > probably "blame" the software developers who packaged the > > monodevelop IDE (and provided there own PPA) - which never worked > > for me in the first place so I probably should have uninstalled it > > months ago :-). > > > > > > > > On Sun, 11 Aug 2019 21:17:39 -0400 > > Steve Litt wrote: > > > > > On Sun, 11 Aug 2019 09:05:24 +0300 > > > Shlomo Solomon wrote: > > > > > > > Let me start by saying that I'm not looking for a solution - I > > > > solved my problem. I'm just angry and letting off some steam. > > > > > > [snip successful attempts using a ~10 step apt/dpkg witch's brew] > > > > > > I feel your pain. Probably we all do. > > > > > > And it's likely the better people to let off steam at would be: > > > > > > 1) The maintainers of your distro > > > > > > 2) The maintainers of your "Desktop Environment", if any > > > > > > 3) The authors of the software concerned > > > > > > > > > DISTRO: > > > > > > Your complaint isn't very detailed, but the fact that you needed > > > apt to fix it suggests you're using a Debian derived distro. Most > > > Debian extension distros, such as Ubuntu, Mint and Knoppix, add > > > hypercomplexity in order to make them more magically "we do it all > > > for you" and "user friendly", or just to make things look pretty. > > > > > > Debian itself, once a simplistic distro, has been slowly > > > complexifying itself, first by defaulting to selecting of that > > > ball of confusion Gnome3, which itself has been complexifying at > > > a remarkable rate, and then by pledging allegiance to systemd: > > > The ultimate ball of confusion. > > > > > > About the only apt packaged distro I could recommend today, from a > > > dependency-sanity point of view, would be Devuan, which rejected > > > both Gnome3 and systemd. > > > > > > I find it amusing that Debian's solution to substituting a > > > non-systemd init system involves a many-step raindance where you > > > pin this package and hold back that package. > > > > > > Of course, Redhat and Redhat-derived distros are worse. > > > > > > Tell your distro maintainers to quit making package recommends > > > into hard requirements, and to find better solutions than secret > > > apt meetings with secret dpkg handshakes, or else consider not > > > packaging it at all. There are usually substitutes and > > > equival
Re: dependency hell OR it should not be this hard
Thanks for your VERY detailed reply. Some of it was "over my head", but relevant and true - although I personally like and use KDE despite it being quite bloated for many years now. As an aside - I got rid of KMail, Akonadi and all their "friends" years ago. It's hard to believe that an email program has about 80 dependencies and "suggests" another 20 packages!!! As I wrote, I intentionally did not include too many details about the problem since I was not really looking for a solution. The short version - this seemed to be caused by a broken dependency and neither apt-get or dpkg were able to solve this until I manually deleted a few post-install scripts. So the "blame" should probably fall on the way apt-get and dpkg handle dependencies and/or such scripts, and not so much on the Kubuntu maintainers. Although I did save the relevant apt and dpkg logs, I don't think that contacting the Kubuntu maintainers will help because they will probably "blame" the software developers who packaged the monodevelop IDE (and provided there own PPA) - which never worked for me in the first place so I probably should have uninstalled it months ago :-). On Sun, 11 Aug 2019 21:17:39 -0400 Steve Litt wrote: > On Sun, 11 Aug 2019 09:05:24 +0300 > Shlomo Solomon wrote: > > > Let me start by saying that I'm not looking for a solution - I > > solved my problem. I'm just angry and letting off some steam. > > [snip successful attempts using a ~10 step apt/dpkg witch's brew] > > I feel your pain. Probably we all do. > > And it's likely the better people to let off steam at would be: > > 1) The maintainers of your distro > > 2) The maintainers of your "Desktop Environment", if any > > 3) The authors of the software concerned > > > DISTRO: > > Your complaint isn't very detailed, but the fact that you needed apt > to fix it suggests you're using a Debian derived distro. Most Debian > extension distros, such as Ubuntu, Mint and Knoppix, add > hypercomplexity in order to make them more magically "we do it all > for you" and "user friendly", or just to make things look pretty. > > Debian itself, once a simplistic distro, has been slowly complexifying > itself, first by defaulting to selecting of that ball of > confusion Gnome3, which itself has been complexifying at a remarkable > rate, and then by pledging allegiance to systemd: The ultimate ball of > confusion. > > About the only apt packaged distro I could recommend today, from a > dependency-sanity point of view, would be Devuan, which rejected > both Gnome3 and systemd. > > I find it amusing that Debian's solution to substituting a non-systemd > init system involves a many-step raindance where you pin this package > and hold back that package. > > Of course, Redhat and Redhat-derived distros are worse. > > Tell your distro maintainers to quit making package recommends into > hard requirements, and to find better solutions than secret apt > meetings with secret dpkg handshakes, or else consider not packaging > it at all. There are usually substitutes and equivalents. > > > DESKTOP ENVIRONMENTS: > > Desktop environments, which bind a window manager and a bunch of > applications together, including all sorts of interdependencies and > promiscuous communications inside and outside of dbus, were obviously > a bad idea from the beginning, for people who want to control their > computers rather than the other way around. > > If you use a desktop environment, write to them and tell them to > reduce promiscuous communication and dependencies. They'll laugh at > you, of course: Their purpose on this earth is to create obscenely > interdependent black boxes. > > You can avoid a lot of this by going back to a window manager and > selecting your applications a-la-carte, trying mightily not to include > desktop environment apps. If enough people were to do this (not very > likely, most people are wedded to their "we do it all for you" > environments), the "desktop environments" might catch on and put more > of a priority on modularity and thin interfaces (or no interfaces > where not needed). > > I kicked KDE and every KDE app and library off my computer in > 2012-2013, and lived to tell about it. I've never used Gnome3, and > slowly but surely I've been kicking its apps and libraries off my > computer. Now I boss my computer around, not the other way around. > > > THE SOFTWARE AUTHORS: > > True story. When using Python writing a piece of free software > intended to be used by others, I needed one minor but not obvious how > to code functionality. So I asked how to code it on the Python IRC > channel. Not o
Re: dependency hell OR it should not be this hard
Thanks. I'm not familair with nixos and I certainly don't want to start a discussion of which distro is better, but I will comment: 1 - IF this works as stated on the nixos site, I hope it will spread to other distros 2 - changing distros because of a problem like I had is really overkill 3 - I don't really thing this would work in the situation I had (although as I said - I'm not familiar with nixos). It's true that I did not give details earlier, but I can add that it "seems" that something went wrong when I installed a package about 2 months ago, but everything worked OK until an update to that package (today) failed and left the system unstable. So I don't think going back to a breakpoint from months ago (if it were even possible) would b a viable solution since it that time I'm made MANY changes to the system - including installing other packages. Fixing a specific broken package or dependency should be a trivial thing. On Sun, 11 Aug 2019 10:42:23 +0300 Ari Becker wrote: > No, it doesn't have to be that hard. Plugging NixOS: > https://nixos.org/nixos/about.html which solves this issue by making > safe rollbacks as easy as rebooting and choosing the previous > immutable system configuration. > > On Sun, Aug 11, 2019 at 9:06 AM Shlomo Solomon > wrote: > > > Let me start by saying that I'm not looking for a solution - I > > solved my problem. I'm just angry and letting off some steam. > > > > I've been using Linux for over 20 years. I'm pretty sure a novice > > would have just quit and either deleted the whole mess or gone back > > to Windows. > > > > Fixing broken dependencies should not be that hard!! > > > > I won't bore you with what happened to me, but after trying GUI > > tools and also numerous combinations of commands such as: > > > > sudo apt-get --fix-broken install > > sudo apt autoremove > > sudo dpkg -P mono-complete > > sudo dpkg --remove --force-remove-reinstreq mono-complete > > sudo apt-get clean > > sudo apt-get autoclean > > sudo apt-get -u dist-upgrade > > sudo apt-get -o Dpkg::Options::="--force-overwrite" upgrade > > sudo apt-get -o Dpkg::Options::="--force-overwrite" -f install > > sudo dpkg -P --force-all mono-complete > > sudo dpkg --configure -a > > > > > > I discovered that there were some post removal scripts that were > > crashing dpkg and the solution was to manually remove several files > > from /var/lib/dpkg/info. > > > > WOW - isn't that a "pretty" way to go. > > > > > > > > > > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
dependency hell OR it should not be this hard
Let me start by saying that I'm not looking for a solution - I solved my problem. I'm just angry and letting off some steam. I've been using Linux for over 20 years. I'm pretty sure a novice would have just quit and either deleted the whole mess or gone back to Windows. Fixing broken dependencies should not be that hard!! I won't bore you with what happened to me, but after trying GUI tools and also numerous combinations of commands such as: sudo apt-get --fix-broken install sudo apt autoremove sudo dpkg -P mono-complete sudo dpkg --remove --force-remove-reinstreq mono-complete sudo apt-get clean sudo apt-get autoclean sudo apt-get -u dist-upgrade sudo apt-get -o Dpkg::Options::="--force-overwrite" upgrade sudo apt-get -o Dpkg::Options::="--force-overwrite" -f install sudo dpkg -P --force-all mono-complete sudo dpkg --configure -a I discovered that there were some post removal scripts that were crashing dpkg and the solution was to manually remove several files from /var/lib/dpkg/info. WOW - isn't that a "pretty" way to go. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: OT: micro to standard USB adapter
Thanks, but these are all OTG (not good because of the 5th wire) and/or type-C and/or mini (not standard to micro) and/or have a wire (I'm looking for an adapter - not a cable). On Fri, 2 Aug 2019 08:04:56 +0300 vordoo wrote: > https://www.amazon.com/micro-standard-usb-adapter/s?k=micro+usb+adapter > > https://www.ebay.com/sch/i.html?_sop=12&_fspt=1&_mPrRngCbx=1&_from=R40&_nkw=micro+usb+adapter&_sacat=0&_fosrp=1 > > > > On 8/1/19 4:54 PM, Shlomo Solomon wrote: > I guess this is only "partially" OT because it concerns connecting a > > raspberry PI Zero to a Ubuntu box over USB (USB networking). > > > > This works fine with a standard phone charger cable - Male Micro USB > > connects to the PI and Male standard USB connects to the computer. > > > > But since I didn't want the long cable, I thought I could replace it > > with an OTG adapter + a Male-Male USB connector. This DOES NOT work > > - probably because the 5th pin of the OTG adapter is connected to > > ground. > > > > My question: does anyone know where I can find a male micro to > > standard female (or male) USB adapter that is NOT wired as OTG? > > > > > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
OT: micro to standard USB adapter
I guess this is only "partially" OT because it concerns connecting a raspberry PI Zero to a Ubuntu box over USB (USB networking). This works fine with a standard phone charger cable - Male Micro USB connects to the PI and Male standard USB connects to the computer. But since I didn't want the long cable, I thought I could replace it with an OTG adapter + a Male-Male USB connector. This DOES NOT work - probably because the 5th pin of the OTG adapter is connected to ground. My question: does anyone know where I can find a male micro to standard female (or male) USB adapter that is NOT wired as OTG? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: sound problem on Kubuntu 18.04
On the motherboard On Fri, 5 Jul 2019 16:01:45 +0300 Rabin Yasharzadehe wrote: > Is the sound card is onboard device or is it on a USB port ? (like a > a DAC) -- > Rabin > > > On Thu, 4 Jul 2019 at 06:58, Shlomo Solomon > wrote: > > > Since moving to Kubuntu (almost a year ago), at random times there > > is no sound. It can happen a few times a day or sometimes only > > after a few days. I discovered that each time this happens, the > > PulseAudio profile has changed. > > > > My solution is an icon on the desktop that runs: > > pactl set-card-profile 1 output:analog-stereo+input:analog-stereo > > > > But, although I have a solution, I have no idea WHY this is > > happening. > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > _______ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: sound problem on Kubuntu 18.04
Thanks, but in that post, the sound stopped working completely. In my case, it goes off at random intervals. Also in that post, the problem turned out to be the alsamixer settings. As I wrote, I do have a work around with pactl set-card-profile, but it's just annoying not to know what the root problem is. On Fri, 5 Jul 2019 03:24:52 +0300 Shay Gover wrote: > Take a look here: > https://forum.manjaro.org/t/sound-randomly-stopped-working/54730/7 > > KDE version in that post is 5.13.4 but they say there that it's > pulseaudio related. > > > On Thu, Jul 4, 2019 at 3:55 PM Shlomo Solomon > wrote: > > > Everything is up to date (or at least as up to date as the Ubuntu > > repositories are), but here are the exact versions (from > > kinfocenter): > > > > Kubuntu 18.04 > > KDE Plasma 5.12.7 > > KDE Frameworks 5.44.0 > > QT 5.9.5 > > Kernel 4.15.0-54-generic > > OS Type 64-bit > > > > As I understand it, Plasma 5.12.8 is the latest LTS release, but is > > not available on Kubuntu. > > > > > > > > > > > > On Thu, 4 Jul 2019 15:17:12 +0300 > > Shay Gover wrote: > > > > > Please send KDE version. I had something like this last year (KDE > > > plasma on Arch). If you're on a stable and old version you may > > > suffer from the same bug. > > > > > > Shay > > > > > > On Thu, Jul 4, 2019, 06:58 Shlomo Solomon > > > wrote: > > > > > > > Since moving to Kubuntu (almost a year ago), at random times > > > > there is no sound. It can happen a few times a day or sometimes > > > > only after a few days. I discovered that each time this > > > > happens, the PulseAudio profile has changed. > > > > > > > > My solution is an icon on the desktop that runs: > > > > pactl set-card-profile 1 > > > > output:analog-stereo+input:analog-stereo > > > > > > > > But, although I have a solution, I have no idea WHY this is > > > > happening. > > > > > > > > > > > > > > > > -- > > > > Shlomo Solomon > > > > http://the-solomons.net > > > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > > > > > ___ > > > > Linux-il mailing list > > > > Linux-il@cs.huji.ac.il > > > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.16.0 - Kubuntu 18.04 > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: sound problem on Kubuntu 18.04
Everything is up to date (or at least as up to date as the Ubuntu repositories are), but here are the exact versions (from kinfocenter): Kubuntu 18.04 KDE Plasma 5.12.7 KDE Frameworks 5.44.0 QT 5.9.5 Kernel 4.15.0-54-generic OS Type 64-bit As I understand it, Plasma 5.12.8 is the latest LTS release, but is not available on Kubuntu. On Thu, 4 Jul 2019 15:17:12 +0300 Shay Gover wrote: > Please send KDE version. I had something like this last year (KDE > plasma on Arch). If you're on a stable and old version you may suffer > from the same bug. > > Shay > > On Thu, Jul 4, 2019, 06:58 Shlomo Solomon > wrote: > > > Since moving to Kubuntu (almost a year ago), at random times there > > is no sound. It can happen a few times a day or sometimes only > > after a few days. I discovered that each time this happens, the > > PulseAudio profile has changed. > > > > My solution is an icon on the desktop that runs: > > pactl set-card-profile 1 output:analog-stereo+input:analog-stereo > > > > But, although I have a solution, I have no idea WHY this is > > happening. > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > ___________ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
sound problem on Kubuntu 18.04
Since moving to Kubuntu (almost a year ago), at random times there is no sound. It can happen a few times a day or sometimes only after a few days. I discovered that each time this happens, the PulseAudio profile has changed. My solution is an icon on the desktop that runs: pactl set-card-profile 1 output:analog-stereo+input:analog-stereo But, although I have a solution, I have no idea WHY this is happening. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
What's so secure about sudo?
This has bothered me for years and I decided to "get it off my chest". For many years I used su to do administrative tasks, but "everyone" uses sudo and the claim is that it's more secure than actually logging in as root. In principal, of course, root login is not a good thing, but let's remember something I've never seen discussed. I would assume that on most systems the root password is MUCH more secure than that of a regular user. Now if I give user david sudo privileges, anyone who cracks david's (weak) password now has access to root privileges. And before anyone says that this is only a one-time authorization, what if the guy who cracked david's password now does: sudo passwd root So what's so secure about using sudo? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
scanning with a Pantum M6600
I have a Pantum M6600 multifunction printer - USB only - no WiFi. Printing works fine on my Kubuntu box (after installing a driver). I can also scan using xsane or gscantopdf. But when I press the physical scan button on the printer, I get a message on the printer's LCD screen: "PC unresponsive". I assume it's "looking for" a Windows PC. In fact, when I connect it to a Windows machine, the scan works and is saved in D:\Users\solomon\Pictures. Does anyone have an idea how to get this to work on Linux? Probably not relevant, but the output of usb-devices is: T: Bus=03 Lev=02 Prnt=03 Port=03 Cnt=02 Dev#= 22 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=232b ProdID=3f20 Rev=01.00 S: Manufacturer=Pantum S: Product=M6600 series S: SerialNumber=CB7B002213 C: #Ifs= 3 Cfg#= 1 Atr=c0 MxPwr=98mA I: If#= 0 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp I: If#= 1 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none) I: If#= 2 Alt= 0 #EPs= 2 Cls=07(print) Sub=01 Prot=02 Driver=usblp -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
moving Kubuntu to a new drive
The subject says it all. But a few more details. My 1Tb drive is about to die and I'm moving to a new 3Tb drive. The drive (/dev/sda) includes 5 partitions - / , /home , /boot/efi , /data , swap. Most of the bad blocks seem to be in the /data partition. Needless to say, I have good backups of everything on an external drive. There are many ways to do this and I'm not looking for instructions, but "opinions" about what would be most efficient. I've considered a few options - but each seem to have advantages and dis-advantages: 1 - A fresh install and then update configurations and copy whatever else I need from the old drive or from my backup drive. (Advantage - get rid of old junk, Dis-advantage - seems like a lot of work) 2 - dd - and then, of course enlarge the partitions and/or add new partitions to use the added 2Tb. (Advantage - safe, Dis-advantage - there are many bad blocks on the old drive so ...) 3 - ddrescue (Advantage - may be better at handling the bad blocks, Dis-advantage - how safe is this?) 4 - Clonezilla (I never used this so I don't know) I'm assuming that after solutions #2, #3 and #4 I would only need to switch the sda cable so the new drive would become /dev/sda and of course edit fstab to correct all the UUID= lines. I'd like to hear opinions about which of these solutions (or any other solution) is best. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: SOLVED but WHY? (was Re: problem with ownership of files on Samba share)
solomon@shlomo1:~$ apt-cache policy cifs-utils cifs-utils: Installed: 2:6.8-1 Candidate: 2:6.8-1 Version table: *** 2:6.8-1 500 500 http://il.archive.ubuntu.com/ubuntu bionic/main amd64 Packages 100 /var/lib/dpkg/status On Fri, 24 Aug 2018 13:11:05 +0300 Shay Gover wrote: > I think that in each case diffrent libraries are envolved. In the > second case it's cifs (what version?). > > On Fri, Aug 24, 2018, 09:57 Shlomo Solomon > wrote: > > > Answering my own post with a solution, but I don't know WHY this > > works. > > > > I discovered that if I access fish://pi/media/PUBLIC/ in Dolphin > > the file ownerships are shown correctly. > > > > Can anyone tell me why this works when the following 2 don't? > > > > > If I access /mnt/PI-PUBLIC in Dolphin, all the files "seem" to be > > > owned by root. > > > If I access smb://solomon@pi/PI-PUBLIC/ then all the files > > > "seem" to be owned by solomon. > > > > > > > > > > > > > > On Fri, 17 Aug 2018 10:58:06 +0300 > > Shlomo Solomon wrote: > > > > > Since moving from Mageia5 to Kubuntu 18.04 I have an annoying > > > problem. > > > > > > I have a Raspberry PI file server running Samba and sharing > > > PI-PUBLIC. Files are created (and owned) by various users. > > > > > > This is a mixed Linux and Windows network. > > > All Linux computers on the network (including the PI) have the > > > same users and UIDs, to prevent confusion about file ownership. > > > In the PI-PUBLIC section of smb.conf on the PI, all the relevant > > > users are listed as valid users = > > > > > > In Mageia I could mount the share with either of the > > > following /etc/fstab entries (note that pi is defined > > > in /etc/hosts): > > > > > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > > > username=solomon,password=mypassword,rw,user 0 0 > > > > > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > > > user,credentials=/etc/samba/auth.pi.solomon 0 0 > > > > > > But in Kubuntu, all the files "seem" to be owned by the wrong > > > user. If I access /mnt/PI-PUBLIC in Dolphin, all the files "seem" > > > to be owned by root. > > > If I access smb://solomon@pi/PI-PUBLIC/ then all the files > > > "seem" to be owned by solomon. > > > > > > > > > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: SOLVED but WHY? (was Re: problem with ownership of files on Samba share)
I think you're pointing me in the right direction, but still missing something. Here's the output of mount | grep PI-PUBLIC solomon@shlomo1:~$ mount | grep PI-PUBLIC //pi/PI-PUBLIC on /mnt/PI-PUBLIC type cifs (rw,nosuid,nodev,noexec,relatime,vers=default,cache=strict,username=solomon,domain=,uid=0,noforceuid,gid=0,noforcegid,addr=10.0.0.51,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1,user) uid=0,noforceuid,gid=0,noforcegidseemed strange, so I added my actual uid and gid to /etc/fstab. So instead of: //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs user,credentials=/etc/samba/auth.pi.solomon 0 0 I now have: //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs user,uid=500,gid=500,credentials=/etc/samba/auth.pi.solomon 0 0 The result: Both of the following incorrectly show all files as owned by solomon smb://solomon@pi/PI-PUBLIC/ /mnt/PI-PUBLIC/ Before the change, /mnt/PI-PUBLIC/ showed all files owned by root. But fish://pi/media/PUBLIC/still shows correct ownership On Fri, 24 Aug 2018 12:21:18 +0300 shimi wrote: > Maybe the Dolphin mount (via kio-smb I guess?) runs the mount command > with parameters like uid=$USER,gid=$USER ? > > Have you compared the options of the two mounts when they're both > mounted with "mount | grep PI-PUBLIC" ? > > On Fri, Aug 24, 2018 at 9:56 AM, Shlomo Solomon > wrote: > > > Answering my own post with a solution, but I don't know WHY this > > works. > > > > I discovered that if I access fish://pi/media/PUBLIC/ in Dolphin > > the file ownerships are shown correctly. > > > > Can anyone tell me why this works when the following 2 don't? > > > > > If I access /mnt/PI-PUBLIC in Dolphin, all the files "seem" to be > > > owned by root. > > > If I access smb://solomon@pi/PI-PUBLIC/ then all the files > > > "seem" to be owned by solomon. > > > > > > > > > > > > > > On Fri, 17 Aug 2018 10:58:06 +0300 > > Shlomo Solomon wrote: > > > > > Since moving from Mageia5 to Kubuntu 18.04 I have an annoying > > > problem. > > > > > > I have a Raspberry PI file server running Samba and sharing > > > PI-PUBLIC. Files are created (and owned) by various users. > > > > > > This is a mixed Linux and Windows network. > > > All Linux computers on the network (including the PI) have the > > > same users and UIDs, to prevent confusion about file ownership. > > > In the PI-PUBLIC section of smb.conf on the PI, all the relevant > > > users are listed as valid users = > > > > > > In Mageia I could mount the share with either of the > > > following /etc/fstab entries (note that pi is defined > > > in /etc/hosts): > > > > > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > > > username=solomon,password=mypassword,rw,user 0 0 > > > > > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > > > user,credentials=/etc/samba/auth.pi.solomon 0 0 > > > > > > But in Kubuntu, all the files "seem" to be owned by the wrong > > > user. If I access /mnt/PI-PUBLIC in Dolphin, all the files "seem" > > > to be owned by root. > > > If I access smb://solomon@pi/PI-PUBLIC/ then all the files > > > "seem" to be owned by solomon. > > > > > > > > > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
SOLVED but WHY? (was Re: problem with ownership of files on Samba share)
Answering my own post with a solution, but I don't know WHY this works. I discovered that if I access fish://pi/media/PUBLIC/ in Dolphin the file ownerships are shown correctly. Can anyone tell me why this works when the following 2 don't? > If I access /mnt/PI-PUBLIC in Dolphin, all the files "seem" to be > owned by root. > If I access smb://solomon@pi/PI-PUBLIC/ then all the files "seem" to > be owned by solomon. On Fri, 17 Aug 2018 10:58:06 +0300 Shlomo Solomon wrote: > Since moving from Mageia5 to Kubuntu 18.04 I have an annoying problem. > > I have a Raspberry PI file server running Samba and sharing > PI-PUBLIC. Files are created (and owned) by various users. > > This is a mixed Linux and Windows network. > All Linux computers on the network (including the PI) have the same > users and UIDs, to prevent confusion about file ownership. > In the PI-PUBLIC section of smb.conf on the PI, all the relevant users > are listed as valid users = > > In Mageia I could mount the share with either of the > following /etc/fstab entries (note that pi is defined in /etc/hosts): > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > username=solomon,password=mypassword,rw,user 0 0 > > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > user,credentials=/etc/samba/auth.pi.solomon 0 0 > > But in Kubuntu, all the files "seem" to be owned by the wrong user. > If I access /mnt/PI-PUBLIC in Dolphin, all the files "seem" to be > owned by root. > If I access smb://solomon@pi/PI-PUBLIC/ then all the files "seem" to > be owned by solomon. > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Hebrew file names in Libreoffice
Thanks for your input, but as I already wrote, deleting and re-generating the following files solved the problem: ~/.config/plasma-locale-settings.sh ~/.config/plasma-localerc So it was certainly a "locale" problem. BTW - from my experience, kde-link file permissions are rwxr--r-- and that's the case with mine too :-) On Fri, 17 Aug 2018 21:12:00 +0300 Amichai Rotman wrote: > It might be a permissions problem on the "kde-link" file. > > I haven't used KDE for years now, so I don't know where to look. In > unity, all launchers are in the ~/.config directory. > > Amichai > > בתאריך יום ה׳, 16 באוג׳ 2018 ב-13:41 מאת Shachar Shemesh < > shac...@shemesh.biz>: > > > On 16/08/2018 12:30, Shlomo Solomon wrote: > > > > After more research, I'm pretty sure this is a KDE-Libreoffice > > interaction problem, but don't know how to solve it. Here's a > > summary of what I know and tried - #6 is really interesting/strange. > > > > 1 - click on a Hebrew file name - libreoffice says file does not > > exist. 2 - click on Libreoffice icon + try to open a Hebrew name - > > same result 3 - run libreoffice from command line - works OK > > 4 - sudo libreoffice also works OK but that's a BAD solution > > 5 - created a KDE "link to application" and chose "run in terminal" > > - libreoffice says file does not exist > > 6 - created a KDE "link to application" and chose "run in > > terminal" + "run as a different user" - KDE asks for a password > > and libreoffice works OK.NOTE: As the "other" user I chose my > > regular username!!! 7 - I read that the libreoffice-kde can cause > > problems so I un-installed it, but that didn't help (and it made a > > mess of the file open/save dialogue). > > > > > > > > As I already wrote, locale is set to en_US.UTF-8 > > solomon@shlomo1:~$ localectl > >System Locale: LANG=en_US.utf8 > >VC Keymap: n/a > > X11 Layout: us > >X11 Model: pc105 > > solomon@shlomo1:~$ locale > > LANG=en_US.UTF-8 > > LANGUAGE=en_US.UTF-8 > > LC_CTYPE="en_US.UTF-8" > > LC_NUMERIC="en_US.UTF-8" > > LC_TIME="en_US.UTF-8" > > LC_COLLATE="en_US.UTF-8" > > LC_MONETARY="en_US.UTF-8" > > LC_MESSAGES="en_US.UTF-8" > > LC_PAPER="en_US.UTF-8" > > LC_NAME="en_US.UTF-8" > > LC_ADDRESS="en_US.UTF-8" > > LC_TELEPHONE="en_US.UTF-8" > > LC_MEASUREMENT="en_US.UTF-8" > > LC_IDENTIFICATION="en_US.UTF-8" > > LC_ALL=en_US.UTF-8 > > > > > > > > At this point, if you run libreoffice from the command line, does > > it then work? > > > > > > > > > > > > BTW - is there any significance to the fact that some of the above > > lines say "en_US.UTF-8" and others en_US.UTF-8? > > > > Any help would be appreciated > > > > > > > > Those with the quotes are inferred. > > > > For me, the problem was that some of those lines said > > "en_IL.UTF-8", which is a locale that does not exist. > > > > Shachar > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
problem with ownership of files on Samba share
Since moving from Mageia5 to Kubuntu 18.04 I have an annoying problem. I have a Raspberry PI file server running Samba and sharing PI-PUBLIC. Files are created (and owned) by various users. This is a mixed Linux and Windows network. All Linux computers on the network (including the PI) have the same users and UIDs, to prevent confusion about file ownership. In the PI-PUBLIC section of smb.conf on the PI, all the relevant users are listed as valid users = In Mageia I could mount the share with either of the following /etc/fstab entries (note that pi is defined in /etc/hosts): //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs username=solomon,password=mypassword,rw,user 0 0 //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs user,credentials=/etc/samba/auth.pi.solomon 0 0 But in Kubuntu, all the files "seem" to be owned by the wrong user. If I access /mnt/PI-PUBLIC in Dolphin, all the files "seem" to be owned by root. If I access smb://solomon@pi/PI-PUBLIC/ then all the files "seem" to be owned by solomon. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: SOLVED!!!! (was Re: Hebrew file names in Libreoffice)
On Thu, 16 Aug 2018 14:23:47 +0300 Omer Zak wrote: > Did you run 'diff' on the two plasma-locale* files from before and > after deletion & regeneration? > If yes, can you please share the results with the curious among us? The original files (which I deleted): ~/.config/plasma-localerc [Formats] LANG=en_IL [Translations] LANGUAGE=en_US ~/.config/plasma-locale-settings.sh export LANG=en_IL export LANGUAGE=en_US The new files after logoff-login: ~/.config/plasma-localerc [Translations] LANGUAGE=en_US ~/.config/plasma-locale-settings.sh export LANGUAGE=en_US -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
en_IL.UTF-8 (was Re: Hebrew file names in Libreoffice)
Why do you say that en_IL.UTF-8 does not exist? solomon@shlomo1:~$ localectl list-locales|grep en_IL en_IL en_IL.utf8 And in any case, you should be able to correct any problem with: localectl set-locale LANG=en_US.utf8 Probably not essential, but I personally also added the following lines to ~/.bashrc export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 On Thu, 16 Aug 2018 13:41:04 +0300 Shachar Shemesh wrote: > > BTW - is there any significance to the fact that some of the above > > lines say "en_US.UTF-8" and others en_US.UTF-8? > > > > Any help would be appreciated > > Those with the quotes are inferred. > > For me, the problem was that some of those lines said "en_IL.UTF-8", > which is a locale that does not exist. > > Shachar > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
SOLVED!!!! (was Re: Hebrew file names in Libreoffice)
After searching for any file that seems related to locale, I deleted the following files (after saving a backup - just in case): ~/.config/plasma-locale-settings.sh ~/.config/plasma-localerc They were re-generated on login. So it certainly WAS a KDE problem, but I have no idea why this solved the problem. On Thu, 16 Aug 2018 12:30:46 +0300 Shlomo Solomon wrote: > After more research, I'm pretty sure this is a KDE-Libreoffice > interaction problem, but don't know how to solve it. Here's a summary > of what I know and tried - #6 is really interesting/strange. > > 1 - click on a Hebrew file name - libreoffice says file does not > exist. 2 - click on Libreoffice icon + try to open a Hebrew name - > same result 3 - run libreoffice from command line - works OK > 4 - sudo libreoffice also works OK but that's a BAD solution > 5 - created a KDE "link to application" and chose "run in terminal" - > libreoffice says file does not exist > 6 - created a KDE "link to application" and chose "run in terminal" + > "run as a different user" - KDE asks for a password and libreoffice > works OK.NOTE: As the "other" user I chose my regular username!!! > 7 - I read that the libreoffice-kde can cause problems so I > un-installed it, but that didn't help (and it made a mess of the file > open/save dialogue). > > > > As I already wrote, locale is set to en_US.UTF-8 > > solomon@shlomo1:~$ localectl >System Locale: LANG=en_US.utf8 >VC Keymap: n/a > X11 Layout: us >X11 Model: pc105 > > solomon@shlomo1:~$ locale > LANG=en_US.UTF-8 > LANGUAGE=en_US.UTF-8 > LC_CTYPE="en_US.UTF-8" > LC_NUMERIC="en_US.UTF-8" > LC_TIME="en_US.UTF-8" > LC_COLLATE="en_US.UTF-8" > LC_MONETARY="en_US.UTF-8" > LC_MESSAGES="en_US.UTF-8" > LC_PAPER="en_US.UTF-8" > LC_NAME="en_US.UTF-8" > LC_ADDRESS="en_US.UTF-8" > LC_TELEPHONE="en_US.UTF-8" > LC_MEASUREMENT="en_US.UTF-8" > LC_IDENTIFICATION="en_US.UTF-8" > LC_ALL=en_US.UTF-8 > > BTW - is there any significance to the fact that some of the above > lines say "en_US.UTF-8" and others en_US.UTF-8? > > Any help would be appreciated > > > > > > On Wed, 15 Aug 2018 19:44:33 +0300 > Shlomo Solomon wrote: > > > Thanks. > > > > I did try adding Hebrew locale but that did not help and also had an > > un-expected side effect - Some programs (for example smbc) ran with > > a Hebrew interface. > > > > BTW - on my Mageia boxes, with en_US.UTF-8 Libreoffice works > > perfectly. > > > > > > > > On Wed, 15 Aug 2018 19:22:12 +0300 > > Shay Gover wrote: > > > > > Try adding Hebrew locale. > > > > > > On Wed, Aug 15, 2018 at 7:01 PM, Shlomo Solomon > > > wrote: > > > > > > > On my new Kubuntu 18.04 box, Libreoffice will not open files > > > > with Hebrew names - says file does not exist. > > > > > > > > On a Windows 10 machine Libreoffice has no problem with the same > > > > files. > > > > > > > > And a really strange thing - if I run Libreoffice from the > > > > command line instead of clicking on an icon or the KDE menu, it > > > > works fine. > > > > > > > > I thought this was a utf-8 problem, but my locale seems to be > > > > correct. > > > > > > > > $ locale > > > > LANG=en_US.UTF-8 > > > > LANGUAGE=en_US.UTF-8 > > > > LC_CTYPE="en_US.UTF-8" > > > > LC_NUMERIC="en_US.UTF-8" > > > > LC_TIME="en_US.UTF-8" > > > > LC_COLLATE="en_US.UTF-8" > > > > LC_MONETARY="en_US.UTF-8" > > > > LC_MESSAGES="en_US.UTF-8" > > > > LC_PAPER="en_US.UTF-8" > > > > LC_NAME="en_US.UTF-8" > > > > LC_ADDRESS="en_US.UTF-8" > > > > LC_TELEPHONE="en_US.UTF-8" > > > > LC_MEASUREMENT="en_US.UTF-8" > > > > LC_IDENTIFICATION="en_US.UTF-8" > > > > LC_ALL=en_US.UTF-8 > > > > > > > > What am I missing? > > > > > > > > -- > > > > Shlomo Solomon > > > > http://the-solomons.net > > > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > > > > > ___ > > > > Linux-il mailing list > > > > Linux-il@cs.huji.ac.il > > > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > > > > > > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Hebrew file names in Libreoffice
After more research, I'm pretty sure this is a KDE-Libreoffice interaction problem, but don't know how to solve it. Here's a summary of what I know and tried - #6 is really interesting/strange. 1 - click on a Hebrew file name - libreoffice says file does not exist. 2 - click on Libreoffice icon + try to open a Hebrew name - same result 3 - run libreoffice from command line - works OK 4 - sudo libreoffice also works OK but that's a BAD solution 5 - created a KDE "link to application" and chose "run in terminal" - libreoffice says file does not exist 6 - created a KDE "link to application" and chose "run in terminal" + "run as a different user" - KDE asks for a password and libreoffice works OK.NOTE: As the "other" user I chose my regular username!!! 7 - I read that the libreoffice-kde can cause problems so I un-installed it, but that didn't help (and it made a mess of the file open/save dialogue). As I already wrote, locale is set to en_US.UTF-8 solomon@shlomo1:~$ localectl System Locale: LANG=en_US.utf8 VC Keymap: n/a X11 Layout: us X11 Model: pc105 solomon@shlomo1:~$ locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 BTW - is there any significance to the fact that some of the above lines say "en_US.UTF-8" and others en_US.UTF-8? Any help would be appreciated On Wed, 15 Aug 2018 19:44:33 +0300 Shlomo Solomon wrote: > Thanks. > > I did try adding Hebrew locale but that did not help and also had an > un-expected side effect - Some programs (for example smbc) ran with > a Hebrew interface. > > BTW - on my Mageia boxes, with en_US.UTF-8 Libreoffice works > perfectly. > > > > On Wed, 15 Aug 2018 19:22:12 +0300 > Shay Gover wrote: > > > Try adding Hebrew locale. > > > > On Wed, Aug 15, 2018 at 7:01 PM, Shlomo Solomon > > wrote: > > > > > On my new Kubuntu 18.04 box, Libreoffice will not open files with > > > Hebrew names - says file does not exist. > > > > > > On a Windows 10 machine Libreoffice has no problem with the same > > > files. > > > > > > And a really strange thing - if I run Libreoffice from the command > > > line instead of clicking on an icon or the KDE menu, it works > > > fine. > > > > > > I thought this was a utf-8 problem, but my locale seems to be > > > correct. > > > > > > $ locale > > > LANG=en_US.UTF-8 > > > LANGUAGE=en_US.UTF-8 > > > LC_CTYPE="en_US.UTF-8" > > > LC_NUMERIC="en_US.UTF-8" > > > LC_TIME="en_US.UTF-8" > > > LC_COLLATE="en_US.UTF-8" > > > LC_MONETARY="en_US.UTF-8" > > > LC_MESSAGES="en_US.UTF-8" > > > LC_PAPER="en_US.UTF-8" > > > LC_NAME="en_US.UTF-8" > > > LC_ADDRESS="en_US.UTF-8" > > > LC_TELEPHONE="en_US.UTF-8" > > > LC_MEASUREMENT="en_US.UTF-8" > > > LC_IDENTIFICATION="en_US.UTF-8" > > > LC_ALL=en_US.UTF-8 > > > > > > What am I missing? > > > > > > -- > > > Shlomo Solomon > > > http://the-solomons.net > > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > > > ___ > > > Linux-il mailing list > > > Linux-il@cs.huji.ac.il > > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > > > > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Hebrew file names in Libreoffice
Thanks. I did try adding Hebrew locale but that did not help and also had an un-expected side effect - Some programs (for example smbc) ran with a Hebrew interface. BTW - on my Mageia boxes, with en_US.UTF-8 Libreoffice works perfectly. On Wed, 15 Aug 2018 19:22:12 +0300 Shay Gover wrote: > Try adding Hebrew locale. > > On Wed, Aug 15, 2018 at 7:01 PM, Shlomo Solomon > wrote: > > > On my new Kubuntu 18.04 box, Libreoffice will not open files with > > Hebrew names - says file does not exist. > > > > On a Windows 10 machine Libreoffice has no problem with the same > > files. > > > > And a really strange thing - if I run Libreoffice from the command > > line instead of clicking on an icon or the KDE menu, it works fine. > > > > I thought this was a utf-8 problem, but my locale seems to be > > correct. > > > > $ locale > > LANG=en_US.UTF-8 > > LANGUAGE=en_US.UTF-8 > > LC_CTYPE="en_US.UTF-8" > > LC_NUMERIC="en_US.UTF-8" > > LC_TIME="en_US.UTF-8" > > LC_COLLATE="en_US.UTF-8" > > LC_MONETARY="en_US.UTF-8" > > LC_MESSAGES="en_US.UTF-8" > > LC_PAPER="en_US.UTF-8" > > LC_NAME="en_US.UTF-8" > > LC_ADDRESS="en_US.UTF-8" > > LC_TELEPHONE="en_US.UTF-8" > > LC_MEASUREMENT="en_US.UTF-8" > > LC_IDENTIFICATION="en_US.UTF-8" > > LC_ALL=en_US.UTF-8 > > > > What am I missing? > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.16.0 - Kubuntu 18.04 > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Hebrew file names in Libreoffice
On my new Kubuntu 18.04 box, Libreoffice will not open files with Hebrew names - says file does not exist. On a Windows 10 machine Libreoffice has no problem with the same files. And a really strange thing - if I run Libreoffice from the command line instead of clicking on an icon or the KDE menu, it works fine. I thought this was a utf-8 problem, but my locale seems to be correct. $ locale LANG=en_US.UTF-8 LANGUAGE=en_US.UTF-8 LC_CTYPE="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_PAPER="en_US.UTF-8" LC_NAME="en_US.UTF-8" LC_ADDRESS="en_US.UTF-8" LC_TELEPHONE="en_US.UTF-8" LC_MEASUREMENT="en_US.UTF-8" LC_IDENTIFICATION="en_US.UTF-8" LC_ALL=en_US.UTF-8 What am I missing? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Mageia msec equivalent
Does anyone know of anything equivalent to Mageia's msec on Ubuntu/Kubuntu? For those not familiar with Mageia, I'm referring to a set of scripts, cron jobs and programs with a very nice GUI to handle, change and audit various security settings. Just a few examples: - allow a specific user to do certain tasks - report/or not when certain settings are changed - set permissions for specific files and/or types of files - and optionally "enforce" these permissions by resetting any un-authorized changes (done by a nightly cron job) - extensive and configurable logging and reporting -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Krusader - ROOT mode
I use single-click to select in Dolphin and Krusader. But in ROOT mode krusader I have not succeeded in changing the double-click to single-click. I tried all the options in the panel selection mode screen. -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
KDE-Services - store.kde.org
I just wanted to recommend a fantastic KDE service menu that I just installed - adds over 150 right-click menu items. Of course this can be customized since most people will only find some of them useful :-). https://store.kde.org/p/998464 -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
SOLVED (was: incorrect icons on Kubuntu desktop)
Answering my own post - in case this can help others. I found the problem. In Desktop Folder Settings, I un-checked Preview Thumbnails and everything is back to normal. On Mon, 6 Aug 2018 18:33:12 +0300 Shlomo Solomon wrote: > I have a few links to applications such as wireshark, krdc, Virtualbox > on my Kubuntu desktop. > > For some reason, today all of these links no longer have the correct > icon but "look like" text files. Strangely, in each icon I can see a > "preview" of some text. > > If I right-click > properties I see the correct icon. > > If I drag one of them to the panel, the icon appears correctly on the > panel. > > When I login, I can see the correct icons on the desktop for about one > second and then they all "magically" change to look like text file > icons again. > > Any idea what is causing this? > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
incorrect icons on Kubuntu desktop
I have a few links to applications such as wireshark, krdc, Virtualbox on my Kubuntu desktop. For some reason, today all of these links no longer have the correct icon but "look like" text files. Strangely, in each icon I can see a "preview" of some text. If I right-click > properties I see the correct icon. If I drag one of them to the panel, the icon appears correctly on the panel. When I login, I can see the correct icons on the desktop for about one second and then they all "magically" change to look like text file icons again. Any idea what is causing this? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.16.0 - Kubuntu 18.04 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: kubuntu minimum install
OK - I found the debsums command and discovered about 150!!! broken packages. I piped the results from debsums into apt-get install --reinstall and fixed this. Of course, now I'll have to manually un-install Kmail, Kaddressbook, etc which I didn't want in the first place. Can anyone suggest why there were so many broken packages? On Wed, 18 Jul 2018 08:09:56 +0300 Shlomo Solomon wrote: > I did a minimum install. But I see some strange behaviour regarding > some packages. > For example - I didn't install Kmail: > 1 - As expected I don't see it in the Application Launcher. > 2 - sudo dpkg -l|grep kmail shows that Kmail IS installed. > 3 - both Muon and Discover report that Kmail IS installed > 4 - I don't see the program in /usr/bin > 5 - which kmail does not give any output > > So what's going on here? > > BTW - same behaviour for knotes, korganizer, kaddressbook, kdepim > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.11.1 - KDE 4.14.30 - Dolphin 4.14.3 - LINUX Mageia 5 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
kubuntu minimum install
I did a minimum install. But I see some strange behaviour regarding some packages. For example - I didn't install Kmail: 1 - As expected I don't see it in the Application Launcher. 2 - sudo dpkg -l|grep kmail shows that Kmail IS installed. 3 - both Muon and Discover report that Kmail IS installed 4 - I don't see the program in /usr/bin 5 - which kmail does not give any output So what's going on here? BTW - same behaviour for knotes, korganizer, kaddressbook, kdepim -- Shlomo Solomon http://the-solomons.net Claws Mail 3.11.1 - KDE 4.14.30 - Dolphin 4.14.3 - LINUX Mageia 5 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: 2 (probably related) network problems
An update to what I wrote: In Dolphin I can do: smb://solomon@pi and I see all the files with correct owners and permissions. So this works, but NOT if I just click on the device in the left panel of Dolphin or if I access files from konsole. On Wed, 11 Jul 2018 10:32:03 +0300 Shlomo Solomon wrote: > I'm setting up a new Kubuntu laptop. > > problem 1: > When I run samba, I get: >could not find the program 'gksu' > I googled and learned that gksu is depricated, but I haven't been able > to figure out how to run samba. Also: > sudo system-config-samba says there are MANY errors > in /etc/samba/smb.conf which is strange because I didn't edit the > existing file. > > problem 2: > I usually mount a shared drive on my Raspberry Pi with the following > fstab entry: > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > user,credentials=/etc/samba/auth.pi.solomon 0 0 > > Since I don't have samba running, I did: > //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs > username=solomon,password=abc,rw,user 0 0 > > When I look at files on the mounted drive, the owner and permissions > are wrong. > For example a file that should be: > -rw-rw-r-- 1 solomon solomon 34 Jul 11 09:55 tst.txt > looks like this: > -rwxr-xr-x 1 root root 34 Jul 11 09:55 tst.txt > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.11.1 - KDE 4.14.30 - Dolphin 4.14.3 - LINUX Mageia 5 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
2 (probably related) network problems
I'm setting up a new Kubuntu laptop. problem 1: When I run samba, I get: could not find the program 'gksu' I googled and learned that gksu is depricated, but I haven't been able to figure out how to run samba. Also: sudo system-config-samba says there are MANY errors in /etc/samba/smb.conf which is strange because I didn't edit the existing file. problem 2: I usually mount a shared drive on my Raspberry Pi with the following fstab entry: //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs user,credentials=/etc/samba/auth.pi.solomon 0 0 Since I don't have samba running, I did: //pi/PI-PUBLIC /mnt/PI-PUBLIC cifs username=solomon,password=abc,rw,user 0 0 When I look at files on the mounted drive, the owner and permissions are wrong. For example a file that should be: -rw-rw-r-- 1 solomon solomon 34 Jul 11 09:55 tst.txt looks like this: -rwxr-xr-x 1 root root 34 Jul 11 09:55 tst.txt -- Shlomo Solomon http://the-solomons.net Claws Mail 3.11.1 - KDE 4.14.30 - Dolphin 4.14.3 - LINUX Mageia 5 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: raspberry PI - no X11
Thanks for the detailed explanation (in case this happens again). As I already wrote, I chose the "easy ???" way and re-installed and everything is back to normal. On Tue, 6 Feb 2018 20:06:14 +0200 Lior Okman <l...@okman.name> wrote: > Hi, > > Sorry, I just saw the thread right now. > > If it happens again: > > Your $HOME/.Xauthority file contains the authentication key that is > used to authenticate your X sessions. This file is manipulated with > the xauth command. When you ssh with the -X switch, it is supposed to > add an entry to your .Xauthority file to allow you to connect to the > X server - but it sometimes doesn't work. > > Best fix is to use xauth to delete the bad key and enter the correct > one - use xauth on your local host to find the correct value, and > then use xauth on the remote host to delete the bad key and add the > correct key. > > Easier fix is to simply delete the .Xauthority file on the remote > host and try to login again and let ssh recreate it. > > You could also copy the .Xauthority file from your main host to the > pi. > > :-) Or you could format the machine and hope for the best :-) > > -- > Regards, > Lior > > On Tue, Feb 6, 2018 at 11:35 AM, Shlomo Solomon > <shlomo.solo...@gmail.com> wrote: > > > I finally gave up and did a re-installed of Raspbian and everything > > is back to normal. Since I do regular backups of /home and /etc, I > > got everything back to normal with no major problems. > > > > > > On Tue, 6 Feb 2018 10:20:12 +0100 > > Tzafrir Cohen <tzaf...@cohens.org.il> wrote: > > > > > On Sun, Feb 04, 2018 at 11:54:01AM +0200, Shlomo Solomon wrote: > > > > I really don't know how I screwed this up, but I've been > > > > "playing" with this for hours with no success. > > > > > > > > I have a raspberry PI file server. I rarely use the GUI and > > > > when I do it's usually over VNC (I use KRDC) or with ssh -X. > > > > > > > > As of today: > > > > 1 - KRDC won't connect > > > > > > > > 2 - ssh -X pi@pi (pi is defined in /etc/hosts) gives only a > > > > console login and says: > > > > X11 connection rejected because of wrong authentication. > > > > > > > > > > What are the values of DISPLAY and XAUTHORITY when you connect via > > > ssh? > > > > > > > 3 - I connected a monitor directly to the PI and it will not > > > > accept the pi password when I try to login to X11 - but DOES > > > > accept the root password. So X11 is OK, but only for root - not > > > > the regular pi user. > > > > > > I must be missing something, but: how are the two related? In (2) > > > you try to authorize X11 programs on the pi to connect to an X > > > server running on your PC. > > > > > > In (3) you run an X server on the pi (and X11 clients running on > > > the pi that should connect to it). > > > > > > > > > > > -- > > Shlomo Solomon > > http://the-solomons.net > > Claws Mail 3.11.1 - KDE 4.14.30 - Dolphin 4.14.3 - LINUX Mageia 5 > > > > ___ > > Linux-il mailing list > > Linux-il@cs.huji.ac.il > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.11.1 - KDE 4.14.30 - Dolphin 4.14.3 - LINUX Mageia 5 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: raspberry PI - no X11
I finally gave up and did a re-installed of Raspbian and everything is back to normal. Since I do regular backups of /home and /etc, I got everything back to normal with no major problems. On Tue, 6 Feb 2018 10:20:12 +0100 Tzafrir Cohen <tzaf...@cohens.org.il> wrote: > On Sun, Feb 04, 2018 at 11:54:01AM +0200, Shlomo Solomon wrote: > > I really don't know how I screwed this up, but I've been "playing" > > with this for hours with no success. > > > > I have a raspberry PI file server. I rarely use the GUI and when I > > do it's usually over VNC (I use KRDC) or with ssh -X. > > > > As of today: > > 1 - KRDC won't connect > > > > 2 - ssh -X pi@pi (pi is defined in /etc/hosts) gives only a > > console login and says: > > X11 connection rejected because of wrong authentication. > > > > What are the values of DISPLAY and XAUTHORITY when you connect via > ssh? > > > 3 - I connected a monitor directly to the PI and it will not accept > > the pi password when I try to login to X11 - but DOES accept the > > root password. So X11 is OK, but only for root - not the regular pi > > user. > > I must be missing something, but: how are the two related? In (2) you > try to authorize X11 programs on the pi to connect to an X server > running on your PC. > > In (3) you run an X server on the pi (and X11 clients running on the > pi that should connect to it). > -- Shlomo Solomon http://the-solomons.net Claws Mail 3.11.1 - KDE 4.14.30 - Dolphin 4.14.3 - LINUX Mageia 5 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: raspberry PI - no X11
On Sun, 4 Feb 2018 12:26:41 +0200 shimi <linux...@shimi.net> wrote: > On Sun, Feb 4, 2018 at 11:54 AM, Shlomo Solomon > <shlomo.solo...@gmail.com> wrote: > > > I really don't know how I screwed this up, but I've been "playing" > > with this for hours with no success. > > > > I have a raspberry PI file server. I rarely use the GUI and when I > > do it's usually over VNC (I use KRDC) or with ssh -X. > > > > As of today: > > 1 - KRDC won't connect > > > > 2 - ssh -X pi@pi (pi is defined in /etc/hosts) gives only a > > console login and says: > > X11 connection rejected because of wrong authentication. > > > > 3 - I connected a monitor directly to the PI and it will not accept > > the pi password when I try to login to X11 - but DOES accept the > > root password. So X11 is OK, but only for root - not the regular pi > > user. > > > > > > > Not a Pi expert so I'll answer this as if it was a generic Linux > question... > > 1. You didn't mention if you tried to simply reset the pi user > password from root by invoking 'passwd pi'? > > 2. Assuming SSH authentication via public key (I have to assume > because I couldn't find the authentication method in the > question...), one has to make sure that the home directory of the > user authenticating to is with not-too-open permissions (for starters > the safest bet is chmod 700), likewise for all all ancestor > directories of said home directory, because if they're too open, > another user might be able to simply replace your homedir with > another homedir, and then log in as you; To discourage such > possibility, SSH blocks authentication whenever the permissions are > too wide. > > 3. If all the above fails (or you already tried and everything is in > order), I would look at /var/log/messages (or Pi equivalent) while > attempting to login to the user, to see if any hint is available > there. Also, over ssh, using 'ssh -v' might output something useful. > > HTH, > > -- Shimi Thanks, but the problem is not the pi password or ssh. I CAN login over ssh, but do not get X11. And this is exactly what happens when I connect a monitor and keyboard directly to the PI. Just in case, I added -v to the ssh command as you suggested and here are the last few lines of the output: debug1: Next authentication method: password pi@pi's password: debug1: Authentication succeeded (password). Authenticated to pi ([10.0.0.51]:22). debug1: channel 0: new [client-session] debug1: Requesting no-more-sessi...@openssh.com debug1: Entering interactive session. debug1: Requesting X11 forwarding with authentication spoofing. The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Sun Feb 4 11:25:07 2018 debug1: client_input_channel_open: ctype x11 rchan 3 win 65536 max 16384 debug1: client_request_x11: request from ::1 36814 debug1: channel 1: new [x11] debug1: confirm x11 X11 connection rejected because of wrong authentication. debug1: channel 1: free: x11, nchannels 2 -- Shlomo Solomon http://the-solomons.net Claws Mail 3.11.1 - KDE 4.14.30 - Dolphin 4.14.3 - LINUX Mageia 5 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
raspberry PI - no X11
I really don't know how I screwed this up, but I've been "playing" with this for hours with no success. I have a raspberry PI file server. I rarely use the GUI and when I do it's usually over VNC (I use KRDC) or with ssh -X. As of today: 1 - KRDC won't connect 2 - ssh -X pi@pi (pi is defined in /etc/hosts) gives only a console login and says: X11 connection rejected because of wrong authentication. 3 - I connected a monitor directly to the PI and it will not accept the pi password when I try to login to X11 - but DOES accept the root password. So X11 is OK, but only for root - not the regular pi user. What am I missing? -- Shlomo Solomon http://the-solomons.net Claws Mail 3.11.1 - KDE 4.14.30 - Dolphin 4.14.3 - LINUX Mageia 5 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
Re: Python - getch() and kbhit()
Hi Steve, It seems something was wrong with your attachment - all I see is: ./netneut_right.svg In reply to what you wrote, I was not looking for speed, efficiency or a way to eliminate a bottleneck, but to get as close to possible to a "drop in solution" to reproduce kbhit() and getch(). Why? Because as part of my teaching job I have to grade student submissions. The task my students had this week was a chat program and in order not to interfere with the actual sending of data over a socket, they need to use a non-blocking solution to get user input. Since they all used kbhit() and getch() under Windows, I needed to be able to make minimal changes to their submitted code. I cannot penalize them for using Windows, but on the other hand, re-writing their code would defeat the purpose of checking their homework. On Tue, 9 Jan 2018 18:37:38 -0500 Steve Litt <sl...@troubleshooters.com> wrote: > On Tue, 9 Jan 2018 10:36:51 +0200 > Shlomo Solomon <shlomo.solo...@gmail.com> wrote: > > > Since import msvcrt in Python is Windows specific, I adapted some > > code I found to provide kbhit() and getch() in Python under Linux. > > > > I'm attaching KBHIT.py which replaces msvcrt and a small program to > > demonstrate how to use it - KBHIT-test.py. > > > > The KBHIT.py documentation includes usage instructions and also a > > link to the code I borrowed and (I hope) improved. > > > > > > I've been using the attached code in my UMENU2 program so menu choices > can be selected with a single keystroke and no Enter key necessary. > What you've added is kbhit() so you can do non-blocking keyboard > reads, and of course the ability to handle both Posix and Windows > transparently. > > If I were to rewrite your KBHIT.py program, I'd rewrite it to carry a > lot less state. I'd get rid of _init_(), and I'd make getch(), kbhit() > and set_normal_term() class functions so the only reason for making > it a class is namespacing. The world's fastest typist is what, 200 > wpm which is about 3.1/second: There's plenty of time to go raw and > then go cooked for each character retrieved. It doesn't seem as > efficient, but the bottleneck is the typist and going raw then cooked > on each keystroke makes your code simpler, eliminates state, and > probably decreases the need for set_norm_term(). > > SteveT > > Steve Litt > December 2017 featured book: Thriving in Tough Times > http://www.troubleshooters.com/thrive -- Shlomo Solomon http://the-solomons.net Claws Mail 3.11.1 - KDE 4.14.30 - Dolphin 4.14.3 - LINUX Mageia 5 ___ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il