Re: exiftool
On 2022-07-19 17:08, Curt wrote: On 2022-07-19, mick crane wrote: I want to add AttributionURL and AttributionName https://exiftool.org/TagNames/XMP.html#cc says is to do with "XMP-cc" but not guessed the syntax as yet. exiftool -overwrite_original -XMP-cc:AttributionName="Creator" "file name.extension" exiftool -overwrite_original -XMP-cc:AttributionURL="Creator URL" "file name.extension" exiftool -overwrite_original -XMP-cc:license="http://creativecommons.org/licenses/by-sa/4.0/"; -XMP-cc:AttributionName="Creator" -XMP-cc:AttributionURL="http://creatorURL.com"; "file name.extension" https://libre-software.net/edit-metadata-exiftool/ I've been doing that before without the "-overwrite_original" but doesn't show up in Gimp metadata menu, is there when view with exiftool. only "exiftool -CopyrightNotice="License: Attribution-ShareAlike 4.0 International" file.png" Shows in Gimp>image>metadata cheers mick
Re: exiftool
On 2022-07-19 10:58, Andy Smith wrote: Hello, On Tue, Jul 19, 2022 at 10:03:05AM +0100, mick crane wrote: I'm sending a load of images to somebody and I want them to be Attribution-ShareAlike 4.0 International license Don't want to plaster over images so think to add to exif data. I've not done it personally but this seems to give an example of what you want using exiftool: https://photo.stackexchange.com/a/71428 I don't think it was my exif additions Gimp was complaining about but something else. It's happy enough now but struggling adding the exifdata. Gimp image>Metadata shows 3 tabs Exif, XMP, IPTC typing exiftool -CopyrightNotice="Licence: Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)" text is in IPTC tab of gimp. I want to add AttributionURL and AttributionName https://exiftool.org/TagNames/XMP.html#cc says is to do with "XMP-cc" but not guessed the syntax as yet. cheers mick
exiftool
Hi, exiftool is in the repository so I reckon is fair game for a question. I'm sending a load of images to somebody and I want them to be Attribution-ShareAlike 4.0 International license Don't want to plaster over images so think to add to exif data. If type. "exiftool -license="https://creativecommons.org/licenses/by-sa/4.0/"; ./filename" Gimp is complaining that metadata is not understood and do I want to import. Gimp Metadata viewer is of the form "Exif.Image.Compression Uncompressed" What is the correct form to add license to image with exiftool ?. See talk of XML but I don't understand that. mick
Re: cups broken
On 2022-07-13 18:21, gene heskett wrote: I give up, the driverless printer cups installs automaticaly cannot be deleted and has taken over from the brother drivers that work, preventing me from using the printer at all. So how do I disable the driverless junk? Is that a separate package that is removable? cups doesn't even offer to disable this non-working garbage. Thanks for any good clues. I've usually managed once discovered what CUPS thinks the printer is called. Not seen this documentation on github before. https://openprinting.github.io/cups/doc/admin.html mick
Re: nft newbie
On 2022-07-12 10:33, Gareth Evans wrote: On Tue 12 Jul 2022, at 10:19, Maximiliano Estudies In most cases it's a best practice to configure all chains with _policy drop_ and then add rules for the traffic that you want to allow All the nftables and PF howtos I have found take this approach. Why is it best practice? Is there any security advantage over rejection? I think it is just that 'reject' tells the remote system there is something listening. mick
Re: bash: which: command not found? + (E: Unable to locate package which? ...)
On 2022-07-08 12:48, Greg Wooledge wrote: https://wiki.debian.org/DebianAlternatives thanks mick
Re: bash: which: command not found? + (E: Unable to locate package which? ...)
On 2022-07-08 11:30, to...@tuxteam.de wrote: Not every binary is contained in a package called like it. That's what "apt-file" is for (in the same named package): tomas@trotzki:~$ apt-file search bin/which debian-goodies: /usr/bin/which-pkg-broke debian-goodies: /usr/bin/which-pkg-broke-build debianutils: /usr/bin/which emboss: /usr/bin/whichdb whichman: /usr/bin/whichman here on bookworm mick@pumpkin:~$ ls -la /usr/bin |grep which lrwxrwxrwx 1 root root 23 Jan 23 18:05 which -> /etc/alternatives/which -rwxr-xr-x 1 root root 946 May 1 17:47 which.debianutils mick@pumpkin:~$ what are these "alternatives" ? mick
Re: How's ...
On 2022-07-04 16:34, Dan Ritter wrote: Somebody needs to reimplement CPAN in Bash just so we can bootstrap a totally broken Perl without needing to run out and buy a new computer. I mean, how hard can it be (assuming you grok what CPAN actually *does*, which I don't yet, and know Bash, which I know just enough of to make Greg Wooledge hate me)? CPAN is a repository for Perl modules the same way that debian.org provides a repository for Debian packages. You can access it several different ways, but in general using the Debian dh-make-perl package to pull a CPAN module and convert it into a .deb will make you happiest, especially if you have to install it on more than one machine. or cpanm https://perlmaven.com/cpanm mick
Re: stopping job before shutdown.
On 2022-06-29 18:32, Dan Ritter wrote: to...@tuxteam.de wrote: On Wed, Jun 29, 2022 at 09:08:59AM -0400, gene heskett wrote: > On 6/29/22 08:35, mick crane wrote: > > hello, > > Because I don't trust that I've set up power saving properly with PC and > > monitor if leaving desk I turn off PC with power button on front. > > It usually is very quick and to start up again. > > There is printer attached to other PC. > > Recent update of bookworm when turning off PC with power button there is > > the message, > > " stopping job, make Cups quicker for external" or something like that. > > and it takes 1 minute 30 seconds to stop that and start shutdown. > > What could be causing that ? > > > > mick > > > That method of stopping the pc is quite dangerous to the hard drive, you > may kill the power while the journal is updating the drives contents, [...] I took that to mean that the button triggers an orderly shutdown (otherwise the PC wouldn't get a chance to output a message). Yes. Mick's problem is systemd's default timeout. whatever it was must have been doing it during idle time as it seems to have stopped doing it now. mick
stopping job before shutdown.
hello, Because I don't trust that I've set up power saving properly with PC and monitor if leaving desk I turn off PC with power button on front. It usually is very quick and to start up again. There is printer attached to other PC. Recent update of bookworm when turning off PC with power button there is the message, " stopping job, make Cups quicker for external" or something like that. and it takes 1 minute 30 seconds to stop that and start shutdown. What could be causing that ? mick
Re: Suggestions for rm
On 2022-06-24 08:37, Thomas Schmitt wrote: > After "rm -rf /" one probably has to re-install the system first, Once upon a time one of the distributions put you in / after "su" where typing "rm -rf ./*" is not the best thing to do. "N" You only do it once but I like the adjusted su behaviour that keeps you in PWD. mick
Re: how disable package upgrades before "Select and install software" on net.iso
On 2022-06-23 07:26, visqa...@yahoo.com wrote: hello debian users, twice installation failed due to error: WARNING **: Configuring 'pkgsel' failed with error code 100 i am trying to install using 11.3 net.iso on vm. i have seen couple of debian bugs, however they are closed with latest iso. how do i resolve issue this issue? searching the error message a couple of suggestions may be something to do with UEFI or secure boot. mick
Re: X coordinates displayed interactively.
On 2022-06-19 16:52, pe...@easthope.ca wrote: Hi, Is there a X utility which displays coordinates of the mouse pointer interactively? Updating coordinates constantly as the mouse is moved. CADD software does that within the application but I'm interested in the X display. Thx, ... P. https://stackoverflow.com/questions/21850145/monitor-mouse-coordinates-in-real-time-in-linux
Re: digikam import fails
On 2022-06-16 21:23, gene heskett wrote: gene@coyote:~$ gphoto2 Usage: gphoto2 [-?qvalLnPTDR] [-?|--help] [--usage] [--debug] [--debug-loglevel=STRING] [--debug-logfile=FILENAME] [-q|--quiet] [--hook-script=FILENAME] [--stdout] [--stdout-size] [--auto-detect] [--show-exif=STRING] [--show-info=STRING] [--summary] [--manual] [--about] [--storage-info] [--shell] [-v|--version] [--list-cameras] [--list-ports] [-a|--abilities] [--port=FILENAME] [--speed=SPEED] [--camera=MODEL] [--usbid=USBIDs] [--config] [--list-config] [--list-all-config] [--get-config=STRING] [--set-config=STRING] [--set-config-index=STRING] [--set-config-value=STRING] [--reset] [--keep] [--keep-raw] [--no-keep] [--wait-event=COUNT, SECONDS, MILLISECONDS or MATCHSTRING] [--wait-event-and-download=COUNT, SECONDS, MILLISECONDS or MATCHSTRING] [--capture-preview] [--show-preview] [-B|--bulb=SECONDS] [-F|--frames=COUNT] [-I|--interval=SECONDS] [--reset-interval] [--capture-image] [--trigger-capture] [--capture-image-and-download] [--capture-movie=COUNT or SECONDS] [--capture-sound] [--capture-tethered=COUNT, SECONDS, MILLISECONDS or MATCHSTRING] [-l|--list-folders] [-L|--list-files] [-m|--mkdir=DIRNAME] [-r|--rmdir=DIRNAME] [-n|--num-files] [-p|--get-file=RANGE] [-P|--get-all-files] [-t|--get-thumbnail=RANGE] [-T|--get-all-thumbnails] [--get-metadata=RANGE] [--get-all-metadata] [--upload-metadata=STRING] [--get-raw-data=RANGE] [--get-all-raw-data] [--get-audio-data=RANGE] [--get-all-audio-data] [-d|--delete-file=RANGE] [-D|--delete-all-files] [-u|--upload-file=FILENAME] [--filename=FILENAME_PATTERN] [-f|--folder=FOLDER] [-R|--recurse] [--no-recurse] [--new] [--force-overwrite] [--skip-existing] gene@coyote:~$ IOW, that didn't work either if its supposed to be gnomes answer to digikam. Next? Thanks Mick. Take care and stay well. It's ages since I did anything with cameras. In the past I've taken the card out and put it in a reader does "gphoto2 --auto-detect" do anything ? mick
Re: digikam import fails
On 2022-06-16 20:19, gene heskett wrote: The shell I ran digikam from is reporting screens full of missing this and that despite the installation of digikam pulling in: 0 upgraded, 261 newly installed, 0 to remove and 0 not upgraded. Need to get 273 MB of archives. After this operation, 726 MB of additional disk space will be used. Then when I run it, there are hundred of missing that and than lines spit out in the shell I launched it from. try gphoto2 ? if camera is on list http://gphoto.org/proj/libgphoto2/support.php should you not be able to mount it as a filesystem ? I like geeqie for viewing images. mick
Re: Epson printer page counting error
On 2022-06-16 13:31, Brian wrote: Believe it or believe it not, there are other rechniques to set up a print queue :). are these "rechniques" similar to the destructions ? mick
Re: Frozen mouse and keyboard
On 2022-06-15 09:21, Mick Ab wrote: I have a fairly new desktop PC running Debian 11. Recently there have been a few occasions when the PC has failed to be woken up in the morning after being left overnight. The mouse and keyboard are frozen. Sometimes the monitor appears to be off and on one occasion it was on. I have had a separate issue which I think might be the monitor power saver communicating with PC. If I turn off the monitor but leave PC on monitor will not wake up when turned back on. disconnecting the power supply to the monitor and plugging back in resolves that. It used to be that the monitor would not turn back on after going in standby mode so I have deselected all power savers in monitor menu. so rather than hard setting the PC, try power cycle the monitor mick
Re: Frozen mouse and keyboard
On 2022-06-15 09:21, Mick Ab wrote: I have a fairly new desktop PC running Debian 11. Recently there have been a few occasions when the PC has failed to be woken up in the morning after being left overnight. The mouse and keyboard are frozen. Sometimes the monitor appears to be off and on one occasion it was on. A hard reboot has been used to reset the PC, but it is not a good idea to keep doing that. There is also a worry that if there is a hardware fault, the situation might get worse over time. Has anyone any idea as to what may be causing the problem and what would be the best way to try and solve it ? I anticipate it might be difficult to solve the problem given that the fault is intermittent. I had similar and advice to change driver from radeon to amdgpu seemed to solve issue. list emails "system freeze", don't know how to do that archive link. mick
Re: user perms
On 2022-06-14 00:03, gene heskett wrote: I'm looking for a mailer that actually works. tbirds sort filters don't, and they think everybody uses only html, so word wrap doesn't work So I'm doing this by hand.. I'd have thought if you've got PCs in different buildings Dovecot, Roundcube, Seive on the PC with Apache on it would work for you. Think it uses postfix which seems automagically installed. I like it but really should upgrade. getmail from https://pyropus.ca./software/getmail/ for getting the mail mick
Re: perms
On 2022-06-13 19:11, Andrew M.A. Cater wrote: Hi Gene, For CUPS - you can use lpadmin from a terminal as a command line. Open a konsole terminal, su - inside it, then use lpadmin Just looking to see if I could remember how to add a cups printer noticed that I am in lpadmin group in /etc/group which might be why I look to be able to login as me in cups webpage "add printer". colours would likely be the colours of the shell and the editor rather than the terminal. I think I did this "select-editor" in mc and was presented with a choice. https://unix.stackexchange.com/questions/80845/how-to-set-default-editor-viewer-for-midnight-commander-to-sublime maybe there are things to do in [colors] section of ~/.config/mc/ini mick
Re: xterm. Was Re: 26th pass at installing 11-3, fails
On 2022-06-12 18:34, Roy J. Tellason, Sr. wrote: On Sunday 12 June 2022 12:54:19 pm mick crane wrote: As mentioned before, if it was me, I'd remove everything except the disk thing you want to boot with that has the OS on it and add and get things working one at a time afterwards. Were I running into these kinds of hassles, that would be my approach as well. The clue though is as somebody said that disabling this new fangled EFI doesn't seem to do what Gene (or I ) thinks it does. So having twigged that I'd initially have the installer do its thing. mick
Re: xterm. Was Re: 26th pass at installing 11-3, fails
On 2022-06-12 17:20, gene heskett wrote: I so want you to succeed and I can't be a lot of help. As mentioned before, if it was me, I'd remove everything except the disk thing you want to boot with that has the OS on it and add and get things working one at a time afterwards. mick -- Key ID4BFEBB31
Re: 26th pass at installing 11-3, fails
On 2022-06-09 22:15, gene heskett wrote: Posted once as the original .png of 81k, that didn't get thru the server, then I loaed it up in gimp and smunched it down to about 51k, ugly but still readable, and thats not made it thru the server either. Screenshot_1.jpg(~61 KB) was attached to your previous mail. Noticed as you say that 3 disks were scsi7. I have installed Debian to the wrong disk one time because of user error. The last time I think I physically disconnected other disks for installation. and added/identified others later by dmesg reported manufacturer and size. good luck mick
Re: google account say it will no longer deliver email
On 2022-06-09 03:09, DdB wrote: The Big Tech companies are busy to de-anonymise the internet in order to augment their knowledge/income even more, and in order to do that, it would be very convenient, if every user was forced to authenticate themself undoubtedly. But let's not talk about that. Let the "official reasonning" be based on "security". Great cover story, bcoz we like to trust the security mirage [Bruce Schneier]! I finally had to set up an app password for mail to work. During the process of discovering what to click on there was the statement. "Google will never use the content of your emails in order to select what ads you are shown." or words to that effect. mick -- Key ID4BFEBB31
concerning gmail and that
There was that Gernman guy who worked out how you could do images with a 360 view and he was jumped on by copyright lawyers. This computer, internet phenomenon, industrial change, is meant to be a communal effort. I saw that there are Requests For Comment which try to establish protocols how things work best. My gripe with these bandwagon jumpers like gmail is the taking of community concepts, monetising them and ignoring these RFCs. mick
Re: Alcatel Linkzone sold by T-Mobile, labeled "4G LTE HotSpot
On 2022-06-04 18:11, Richard Owlett wrote: I am using an Alcatel Linkzone sold by T-Mobile. Presume T-mobile is your carrier ? mick
Re: upgraded dddprint, my 3d printer driver today, to bullseye, but its main job isn't working.
On 2022-06-04 18:25, gene heskett wrote: But whats with lightdm? Better yet, where is the blanker configurer? I don't see any likely culprits in the applications menu's. Then I did find it,under power managment. Logical I guess but since driving a 3d printer can be a several day task, I turned it all to never. But it would be nice if I could enable it and it actually worked. On buster it worked as desired, dependably. I have similar issue with bookworm, lightdm, Xfce. thing will blank and become unresponsive. Think it might be the power management of the monitor v the OS power manager. mick.
Re: upgraded dddprint, my 3d printer driver today, to bullseye, but its main job isn't working.
On 2022-06-04 16:13, gene heskett wrote: Greetings all; From firmware 11-3 netinstall. On a Dell with an i5 and 16Gigs of memory. 2nd machine I've bullseye'd. Half a T SSD drive, your basic one pony show. 1. It can't access the 3d printer, but shows it as /dev/ttyACM0 in dmesg. cura-5.0 isn't too voluable about why. How do I set that up? Worked fine on buster, for older cura. bearing in mind I don't know what I'm doing, in https://www.debian.org/releases/bullseye/amd64/release-notes/ch-upgrading.en.html it says you can type "dpkg --audit" To see the status of packages. Dunno if that is helpful. mick
Re: google account say it will no longer deliver email
On 2022-06-01 18:04, Brian wrote: On Thu 12 May 2022 at 10:08:01 -, Virgo Pärna wrote: On Wed, 11 May 2022 20:09:14 +0200, Fero Dali wrote: > Sorry for misunderstanding: it seems that my account will continue to work but > ability to download mail with POP3 without OAUTH2 will be unavailable. > Actually, even without OAUTH2 it should be still possible. With two factor authentication enabled it is possible to generate app password for use with standard authentication. It's June 1st and my ability to collect mail via POP3 from gmail is unimpaired. No OAUTH2 or 2FA at this site. Whatever Google intended the situation to be after May 30th, it appears the interpretation by some users of their mail was off the mark. I'd just allowed non secure apps a year or so ago and seems to be still working. mick -- Key ID4BFEBB31
Re: regarding firewall discussion
On 2022-06-01 18:26, Joe wrote: On Tue, 31 May 2022 03:17:52 +0100 mick crane wrote: regarding firewall discussion I'm uncertain how firewalls are supposed to work. I think the idea is that nothing is accepted unless it is in response to a request. What's to stop some spurious instructions being sent in response to genuine request? Nothing really, but the reply can only come from the site you made the request to. Don't connect to untrustworthy sites. It is of course possible for a legitimate site to get hacked and some malware embedded in its pages or linked from them, but that will normally require JavaScript to run, and many people run browsers with JS disabled. It's quite rare for a professionally-run site to get defaced, as the terminology has it, but there's no way I would run a public-facing website, as I don't know enough to secure it (and I know that I don't know enough). There are other defences: use a proxy server which blocks anything suspicious, and so on. We're into application-level firewalls here, that actually parse the returned packets, beyond the scope of iptables and the like. Browsers usually have a number of configurations concerning third-party content, as well as plugins such as No-Script for Firefox. But a blanket ban on JS will result in many (most?) websites today not working. I despair of the 'web designers' who cannot display a single character on a user's browser without using JS. I have pfsense between me and the big bad world and I got some OINK code which I think is community based Snort list of undesirable addresses. It is described as "Legacy" so I don't know if there is something newer I should be doing. mick -- Key ID4BFEBB31
Re: regarding firewall discussion
On 2022-05-31 12:21, IL Ka wrote: What's to stop some spurious instructions being sent in response to genuine request? Packets do not contain instructions, only data. If your TCP/IP implementation doesn't have vulnerabilities any packet shouldn't be a problem. Firewall prevents technically legal packets from reaching software that shouldn't be accessible from the Internet. In most cases a hacker finds an opened port (port listened to by some daemon) and connects to it. Firewall prevents hacker from doing it. I have wondered since ages ago, likely on windows, I wanted to know about something, I forget what, and there was one result in Alta Vista or something. Go to website there is a message "GO AWAY". I go away but then curious go back and my computer crashes. mick -- Key ID4BFEBB31
regarding firewall discussion
regarding firewall discussion I'm uncertain how firewalls are supposed to work. I think the idea is that nothing is accepted unless it is in response to a request. What's to stop some spurious instructions being sent in response to genuine request? regards mick
Re: Apache2 404
On 2022-05-21 16:16, IL Ka wrote: My link to the second page is via a url "var/www/ ldmdomain.info/html/Picture1.html". should be http://ldmdomain.info/Picture1.html probably this likely depends on what apache thinks the DocumentRoot is ? mick -- Key ID4BFEBB31
Re: setting path for root after "sudo su" and "sudo" for Debian Bullseye (11)
On 2022-05-19 04:08, Greg Wooledge wrote: A much better workaround is to create the /etc/default/su file and put the line ALWAYS_SET_PATH yes well that's handy. "su -" puts you in /root whereas with that you stay in $PWD. cheers mick
Re: Permanent email address?
On 2022-05-17 01:44, rhkra...@gmail.com wrote: Thanks to all who replied! I'll need to think over what I want to do. I guess if I want to run a local MTA, I'd need either a static IP address (along with a domain) or I'm guessing I could use one of those services (and software) that lets you use a dynamic IP address (by doing something like updating you if your IP address changes. I think the way it worked was the dynamic ip people gave you namespace within a domain that they control then monitored your ipaddress from your ISP for changes and redirected requests to your name in their domain to that. mick -- Key ID4BFEBB31
Re: google account say it will no longer deliver email
On 2022-05-11 19:08, Brian wrote: On Wed 11 May 2022 at 19:04:01 +0100, mick crane wrote: On 2022-05-11 18:51, Brian wrote: > On Wed 11 May 2022 at 15:25:34 +0200, Fero Dali wrote: > > > I got a warning from google that my account will be discontinued. > > Where does google say that? It's about stopping phishing emails or something https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html That does not answer my question. It's all a mystery to me They seem to be saying that you need to use some double authentication and programs like getmail that use user, password for IMAP will stop working unless you get some sort of one off token from google but possible this token will not be a one off. mick -- Key ID4BFEBB31
Re: google account say it will no longer deliver email
On 2022-05-11 18:51, Brian wrote: On Wed 11 May 2022 at 15:25:34 +0200, Fero Dali wrote: I got a warning from google that my account will be discontinued. Where does google say that? It's about stopping phishing emails or something https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html mick -- Key ID4BFEBB31
Re: google account say it will no longer deliver email
On 2022-05-11 14:25, Fero Dali wrote: I got a warning from google that my account will be discontinued. On Wed, May 11, 2022 at 4:31 PM mick crane wrote: There's scripts been posted on the getmail mailing list to fix this. I ought to sort it out in the next day or so but it might be easier to stop using gmail. There's some other limiting thing coming in later apparently. google instructions here. https://support.google.com/accounts/answer/185833 I have read the link you posted and tried to make 2-Step Verification. Unfortunately on first step (after forced reloging) there is an issue. Believe it or not I do not use cell phone, and there are two more options which I also can not use (well one uses cell phone again, and other need some device I think which I do not have). So I guess this is the end of me using gmail :( And I need to find other email provider. I looked at web and found http://riseup.net But to create account there I also need an Invite Code. So, please, if anyone can give me an Invite Code for riseup.net I would be very grateful. Thanks
Re: google account say it will no longer deliver email
On 2022-05-11 14:25, Fero Dali wrote: I got a warning from google that my account will be discontinued. On May 30, you may lose access to apps that are using less secure sign-in technology To help keep your account secure, Google will no longer support the use of third-party apps or devices which ask you to sign in to your Google Account using only your username and password. Instead, you’ll need to sign in using Sign in with Google I have used a google account to read email from mailing lists. I am using fetchmail to get emails from google. Now it says it will discontinue this access to my mail. I do not want to use webmail (I need to receive my mail on my computer). Is there a way to somehow download emails from gmail as I used to after May 30? There's scripts been posted on the getmail mailing list to fix this. I ought to sort it out in the next day or so but it might be easier to stop using gmail. There's some other limiting thing coming in later apparently. google instructions here. https://support.google.com/accounts/answer/185833 mick -- Key ID4BFEBB31
Re: Networking pb
On 2022-05-08 22:58, Hussein Yahia wrote: Hi, I'm new to Linux, sorry if my question is naive. I just installed debian 11 on my computer. It's wire-connected to internet. I have another computer, a mac, which is connected through wifi. I can connect from my mac to the Linux desktop. But I can't connect from the Linux to the mac: when I go in the "Network" directory, the mac does not appear. I installed smb on the Linux desktop. Can you help me on that ? It's likely tidier rather than having server and client on both machines to have another something or other running Debian as server whose job is file sharing. via eg. ssh, a web browser. mick
Re: sane-backend for Epson EcoTank ET-2711
On 2022-05-04 14:12, Dieter Rohlfing wrote: Am Wed, 04 May 2022 11:42:39 +0100 schrieb mick crane : You can probably type "scanimage --help -A -d 'airscan:w0:EPSON ET-2710 Series'" to get a list of capabilities. This is the ET2711 specific output: Options specific to device `airscan:w0:EPSON ET-2710 Series': Standard: --resolution 100|300dpi [300] seems you should have 1200dpi available. No idea why not mick -- Key ID4BFEBB31
Re: sane-backend for Epson EcoTank ET-2711
On 2022-05-04 10:51, Dieter Rohlfing wrote: scanimage -L device `airscan:w0:EPSON ET-2710 Series' is a WSD EPSON ET-2710 Series ip=172.16.10.91 I'd have to familiarize myself with setting up scanning You can probably type "scanimage --help -A -d 'airscan:w0:EPSON ET-2710 Series'" to get a list of capabilities. mick -- Key ID4BFEBB31
Re: mariadb does not run
On 2022-05-02 13:34, Lucio Crusca wrote: Il 02/05/22 12:54, mick crane ha scritto: I don't know anything about this but https://dba.stackexchange.com/questions/184283/mariadb-10-1-galera-cluster-error says The source of this error Thanks but... it's not the same error, nor the same context. I just searched for $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=1/FAILURE) think that was the first one, there's a few others about wanting an IP address. mick -- Key ID4BFEBB31
Re: mariadb does not run
On 2022-05-02 09:55, Lucio Crusca wrote: Until yesterday I had mariadb 10.6 running on my system (bookworm/sid). It was behaving strangely, so I decided to stop it, uninstall it, remove all databases during uninstall (it's a developer system, so no real data to save there) and install it again. Before reinstalling it, I checked that /var/lib/mysql did not exist anymore. I even manually removed /etc/mysql along with all the contained files and purged dbconfig-common (just in case it matters), then I rebooted the system and finally I installed mariadb-server with its dependencies using aptitude. Installation went through without errors, but it did not ask me to set a password for the mariadb root user (maybe that's ok, I'm not sure). Any clues? I don't know anything about this but https://dba.stackexchange.com/questions/184283/mariadb-10-1-galera-cluster-error says The source of this error is due to the rsync program already in use, so the solution was to terminate it : Dunno if that helps ? mick -- Key ID4BFEBB31
Graphics::Magick
with bullseye previous Perl script use Graphics::Magick; my $bg=Graphics::Magick->new; $bg->Set(size=>"1000"."x"."1000"); $bg->ReadImage('xc:white'); $bg->Draw(primitive=>'rectangle',stroke=>'red',points=>"100,100 980,980"); $bg->Draw(primitive=>'rectangle',stroke=>'blue',points=>"20,20 400,400"); my $filename = "test.png"; $bg->Write(filename=>$filename); $bg=undef; would result in outlines of 2 rectangles overlaid on white. but with bookworm same thing results in 2 rectangles filled with black. to get same result have to change to $bg->Draw(primitive=>'rectangle',stroke=>'red',points=>"100,100 980,980",fill=>'false'); Is this because bookworm is work in progress ? regards mick -- Key ID4BFEBB31
Re: system freeze
On 2022-04-20 21:52, Felix Miata wrote: You left out the S part of inxi -SGayz, so we don't see the kernel parameters to confirm whether radeon.si_support=0 amdgpu.si_support=1 was in effect on the current boot. well that's 2 days, touch wood, and we have stability. many thanks. mick -- Key ID4BFEBB31
Re: system freeze
On 2022-04-20 21:52, Felix Miata wrote: You left out the S part of inxi -SGayz, so we don't see the kernel parameters to confirm whether radeon.si_support=0 amdgpu.si_support=1 was in effect on the current boot. Ah, it didn't change. seems "grub-mkconfig" isn't the thing to type. should be "update-grub" If adding "radeon.si_support=0 amdgpu.si_support=1" to menuitem in /boot/grub/grub_cfg to seems to have effect but resolution is 800x600 with no options to change in desktop settings/display whereas "update-grub" looks to sort all that out. mick@pumpkin:~$ inxi -SGayz System: Kernel: 5.16.0-6-amd64 arch: x86_64 bits: 64 compiler: gcc v: 11.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.16.0-6-amd64 root=UUID=1b68069c-ec94-4f42-a35e-6a845008eac7 ro radeon.si_support=0 amdgpu.si_support=1 Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.24 info: xfce4-panel wm: xfwm v: 4.16.1 vt: 7 dm: LightDM v: 1.26.0 Distro: Debian GNU/Linux bookworm/sid Graphics: Device-1: AMD Pitcairn LE GL [FirePro W5000] vendor: Dell driver: amdgpu v: kernel alternate: radeon pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: DP-1 empty: DP-2,DVI-I-1 bus-ID: 03:00.0 chip-ID: 1002:6809 class-ID: 0300 Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 driver: X: loaded: amdgpu unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0.0 screens: 1 Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48") s-diag: 1165mm (45.88") Monitor-1: DP-1 mapped: DisplayPort-0 model: LG (GoldStar) HDR 4K serial: built: 2021 res: 3840x2160 hz: 60 dpi: 163 gamma: 1.2 size: 600x340mm (23.62x13.39") diag: 690mm (27.2") ratio: 16:9 modes: max: 3840x2160 min: 640x480 OpenGL: renderer: ATI FirePro V(FireGL V) Graphics Adapter (PITCAIRN DRM 3.44.0 5.16.0-6-amd64 LLVM 13.0.1) v: 4.6 Mesa 21.3.8 direct render: Yes that looks like it's changed the driver ? mick -- Key ID4BFEBB31
Re: system freeze
On 2022-04-20 19:35, Felix Miata wrote: Section "Device" Identifier "DefaultDevice" Driver "amdgpu" EndSection I've changed /etc/default/grub #GRUB_CMDLINE_LINUX_DEFAULT="quiet" GRUB_CMDLINE_LINUX_DEFAULT="radeon.si_support=0 amdgpu.si_support=1" typed grub-mkconfig making file /etc/X11/xorg.conf.d/10-amdgpu.conf Section "Device" Identifier "DefaultDevice" Driver "amdgpu" EndSection On reboot there is message [failed]Failed to start Light Display Manager there is file /usr/share/X11/xorg.conf.d/10-amdgpu.conf Section "OutputClass" Identifier "AMDgpu" MatchDriver "amdgpu" Driver "amdgpu" EndSection putting that in /etc/X11/xorg.conf.d/10-amdgpu.conf X starts but driver doesn't seem to have changed? $ inxi -SGayz Graphics: Device-1: AMD Pitcairn LE GL [FirePro W5000] vendor: Dell driver: radeon v: kernel alternate: amdgpu pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: DP-1 empty: DP-2,DVI-I-1 bus-ID: 03:00.0 chip-ID: 1002:6809 class-ID: 0300 Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 driver: X: loaded: radeon unloaded: fbdev,modesetting,vesa gpu: radeon display-ID: :0.0 screens: 1 Is there some syntax error. Do I need this MatchDriver "amdgpu" and Identifier "DefaultDevice" cheers mick -- Key ID4BFEBB31
Re: system freeze
On 2022-04-20 17:34, Felix Miata wrote: mick crane composed on 2022-04-20 11:47 (UTC+0100): Graphics: Device-1: AMD Pitcairn LE GL [FirePro W5000] vendor: Dell driver: radeon v: kernel alternate: amdgpu pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: DP-1 empty: DP-2,DVI-I-1 bus-ID: 03:00.0 chip-ID: 1002:6809 class-ID: 0300 Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 driver: X: loaded: radeon unloaded: fbdev,modesetting,vesa gpu: radeon Your GPU has another driver option set. Currently you are using radeon kernel device driver with radeon DDX Xorg display driver. You may switch to the amdgpu kernel device driver, which supports both the amdgpu DDX display driver and the modesetting DIX display driver. To make the switch, append the following to the linu lines in /boot/grub/grub.cfg and GRUB_CMDLINE_LINUX_DEFAULT= in /etc/default/grub: radeon.si_support=0 amdgpu.si_support=1 I added that to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub but I can't see what to put in /boot/grub/grub.cfg because I'm not supposed to edit it and grub-mkconfig is automagical. Switching between the two Xorg drivers can be done via config file in /etc/X11/xorg.conf.d/ to specify either with a device line. what does that device line look like ? Because it's happening in web browser, I'm guessing GPU overheat is likely the cause. Taking the cover off the PC and aiming a large fan at the interior may be telling. Make sure the CPU fan, if present, is working, and the heat sink isn't loaded with accumulated dust and tobacco tar. If it is, then the PS would need cleaning too, as there it could cause voltage instability from overheating. It may be temperature, there was some dust and tobacco on the case fans but GPU heat sink is clean and fan spinning. I don't think this Dell Dimension PC will start up if the fans aren't working as when I got it one of the case fans wasn't working and I had to get a new unit. Have occasionally checked temperature with GUI sensor viewer but not caught it overheating GPU - 37C CPU - 40C cheers mick -- Key ID4BFEBB31
system freeze
hello, I frequently have the system freeze on me and I have to unplug it. It seems to only happen in a browser and *appears* to be triggered by using the mouse. If watching streamed youtube movie or reading blogs sometimes the screen goes black and everything is unresponsive and sometimes the screen and everything freezes but the audio keeps playing. I'd like it to stop doing that. It didn't seem to be an issue a while ago but now is happening once at least per day with bullseye and now with bookworm. I cannot find anything in logs that have looked for except $ journalctl -e Apr 20 10:30:58 pumpkin pulseaudio[852]: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) This may be that is just because I did have a bluetooth keyboard but it was so slow to wake up I changed to a usb keyboard and the bluetooth adapter is not there anymore and I should purge the bluetooth stuff. Is a wireless mouse whatever that is. I thought it might be the graphics card had gone defective but now I think it is something about the mouse It seems that the thing freezes before anything has a chance to write to a log. What steps can I take to isolate the problem ? mick@pumpkin:~$ inxi -SGayz System: Kernel: 5.16.0-6-amd64 arch: x86_64 bits: 64 compiler: gcc v: 11.2.0 parameters: BOOT_IMAGE=/boot/vmlinuz-5.16.0-6-amd64 root=UUID=1b68069c-ec94-4f42-a35e-6a845008eac7 ro quiet Desktop: Xfce v: 4.16.0 tk: Gtk v: 3.24.24 info: xfce4-panel wm: xfwm v: 4.16.1 vt: 7 dm: LightDM v: 1.26.0 Distro: Debian GNU/Linux bookworm/sid Graphics: Device-1: AMD Pitcairn LE GL [FirePro W5000] vendor: Dell driver: radeon v: kernel alternate: amdgpu pcie: gen: 3 speed: 8 GT/s lanes: 16 ports: active: DP-1 empty: DP-2,DVI-I-1 bus-ID: 03:00.0 chip-ID: 1002:6809 class-ID: 0300 Display: x11 server: X.Org v: 1.21.1.3 compositor: xfwm v: 4.16.1 driver: X: loaded: radeon unloaded: fbdev,modesetting,vesa gpu: radeon display-ID: :0.0 screens: 1 Screen-1: 0 s-res: 3840x2160 s-dpi: 96 s-size: 1016x571mm (40.00x22.48") s-diag: 1165mm (45.88") Monitor-1: DP-1 mapped: DisplayPort-0 model: LG (GoldStar) HDR 4K serial: built: 2021 res: 3840x2160 hz: 60 dpi: 163 gamma: 1.2 size: 600x340mm (23.62x13.39") diag: 690mm (27.2") ratio: 16:9 modes: max: 3840x2160 min: 640x480 OpenGL: renderer: AMD PITCAIRN (DRM 2.50.0 5.16.0-6-amd64 LLVM 13.0.1) v: 4.5 Mesa 21.3.8 direct render: Yes regards mick -- Key ID4BFEBB31
Re: Hello
On 2022-04-14 23:31, sergioyraul wrote: Im looking for a version debían gnome non-free with all private firmware but I install two versions Which I believe were non-free but they were not.can you give me a link that complies with that? If you have installed something that boots I *think* it is a matter of adding contrib and non-free to sources.list. https://wiki.debian.org/SourcesList#Example_sources.list mick -- Key ID4BFEBB31
Re: CUPS - how to match autodetected printers to physical ones
On 2022-04-10 01:21, The Wanderer wrote: avahi-browse -rt _ipp._tcp Does that get the information from CUPS? With printer connected via other PC (CUPS print server) there is no output from "avahi-browse -rt _ipp._tcp" mick -- Key ID4BFEBB31
Re: CUPS - how to match autodetected printers to physical ones
On 2022-04-08 17:10, Greg Wooledge wrote: If you don't want to read the background information, the question is: How is one *supposed* to figure out which autodetected printer is the correct one, apart from trial and error? I think you'd set up a printer on your machine with 'ipp://ip-address-of-print-server:631/printers/name-of-printer-as-written-on-sticker' but you are saying that wasn't the exact name ? There should be a way to query the print server of ip addresses by name. cheers mick
Re: webcamd
On 2022-03-21 21:39, Russell L. Harris wrote: I am having only limited success configuring the Debian webcamd package. I wish to display images from a Logitech web cam pointing out the window as a weathercam, uploading a new image about once a minute. I plan to upload the images to a subdirectory "webcam" of my weather website, www.example-weather.org/webcam. I am running Debian 11; but I also have machines running Debian 10 and Debian 9. I would like first to get things running in Apache on localhost before uploading to a shared host on hostgator.com. Ideally, the image would be on both. The example webcamd.conf calls for a font named "clean" to write dates on the pictures, but "fc-list" does not show "clean" installed. I have tried to specify "Monospace Regular" but that does not seem to work. My latest effort has the index_up.html and index_down.hthl displaying, but no photo. I also had the photo displaying without a date. Is there a webcam application more suitable for this application? RLH a solution would be to composite the date over the photo with Graphics Magick, Image Magick. mick -- Key ID4BFEBB31
Re: Can't use mc's editor
On 2022-03-21 21:26, gene heskett wrote: On Monday, 21 March 2022 16:46:01 EDT mick crane wrote: On 2022-03-21 18:08, Felix Miata wrote: > Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500): >> tinkering with mc's config files directly which can only be done if >> all >> instances of mc are closed. > > Not IME, at least for ini and hotlist, the former which I change > nearly as often > with mcedit as I do via menu. Hotlist I only do with mcedit. > > Mcedit is giving me no trouble. I use most than once a day most days. I don't *think* I changed mc's configuration for editor, maybe changed system default somehow. mick -- Key ID4BFEBB31 . And whatever I do to it, has zero effect. I know I've changed default editor for affect in mc from vi to nano but no idea how, maybe you can change it in ~/.profile Cheers, Gene Heskett. -- Key ID4BFEBB31
Re: Can't use mc's editor
On 2022-03-21 18:08, Felix Miata wrote: Nate Bargmann composed on 2022-03-21 12:35 (UTC-0500): tinkering with mc's config files directly which can only be done if all instances of mc are closed. Not IME, at least for ini and hotlist, the former which I change nearly as often with mcedit as I do via menu. Hotlist I only do with mcedit. Mcedit is giving me no trouble. I use most than once a day most days. I don't *think* I changed mc's configuration for editor, maybe changed system default somehow. mick -- Key ID4BFEBB31
Re: cups/avahi-daemon - worrying logs
On 2022-03-17 05:09, Richard Hector wrote: On 8/03/22 13:25, Richard Hector wrote: Hi all, I've recently set up a small box to run cups, to provide network access to a USB-only printer. It's a 32-bit machine running bullseye. I'm seeing log messages like these: Mar 7 15:47:47 whio avahi-daemon[310]: Record [Brother\032HL-2140\032\064\032whio._ipps._tcp.local#011IN#011SRV 0 0 631 whio.local ; ttl=120] not fitting in legacy unicast packet, dropping. Mar 7 15:47:47 whio avahi-daemon[310]: Record [whio.local#011IN#011 fe80::3e4a:92ff:fed3:9e16 ; ttl=120] not fitting in legacy unicast packet, dropping. Mar 7 15:47:48 whio avahi-daemon[310]: Record [Brother\032HL-2140\032\064\032whio._ipp._tcp.local#011IN#011SRV 0 0 631 whio.local ; ttl=120] not fitting in legacy unicast packet, dropping. Mar 7 15:47:48 whio avahi-daemon[310]: Record [whio.local#011IN#011 fe80::3e4a:92ff:fed3:9e16 ; ttl=120] not fitting in legacy unicast packet, dropping. Those link-local IPv6 addresses belong to the machine itself. It currently has no other IPv6 address(es) (other than loopback), but I should probably set that up. Any hints as to what's going on? Most of the hits I get from a web search are full of 'me too' with no answers. Nobody? Not even another 'me too'? :-) Any suggestions for further/better questions to ask, or info to provide? I have no idea. Could it be something to do with this old report ? https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=517683 I would probably fiddle about to get rid of the IPV6 thing. mick -- Key ID4BFEBB31
Re: Installing/Preparing Debian on a headless system
On 2022-03-15 12:41, Brian wrote: Attached is the relevant portion of my preseed.cfg up to partitioning. I do that manually. "d-i netcfg/wireless_essid string MI5_Listening_Station_102" =O) -- Key ID4BFEBB31
Re: Claws-mail Address Book Bug?
On 2022-03-13 16:02, Brad Rogers wrote: On Sun, 13 Mar 2022 11:51:03 -0400 Cindy Sue Causey wrote: Hello Cindy, said Google was considering court action over the use of its name as a Against who? I mean, since the term was used by everyone (for certain values of everyone), short of suing the *entire* population, what did they expect to achieve? Hoover never sued anyone for use of their name as a substitute for the term vacuuming. Nor did AVO sue for use of their name as a substitute for multimeter. Companies these days seem to be run by idiots. Clever idiots, yes. But idiots, just the same. :-) over 20 odd years ago a friend said his American friends were all complaining that their children wanted to be copyright lawyers. mick -- Key ID4BFEBB31
Re: voltage monitoring Q
On 2022-03-13 08:15, gene heskett wrote: Greetings all; This mobo is an ASUS Z370-AII, and I'd like to use gkrellm to monitor psu voltages and those fans that have tachs. But those are not detected by gkrellm, or any of the usual culprits. Temps are working fine. All of this did work on stretch, on this mobo. But now its running bullseye, and the last 2T seagate drive committed suicide last night so I have no backup facilities left, I assume it was a "shingled" drive, and they are the last seacrate drives I'll own... Ever. What do I install into a bullseye system, that will monitor the fans and psu voltages on this mobo? lm-sensors, mbmon and friends from the bullseye repos have been installed but apparently theres still a missing link. What might it be? with a quick look. sensor viewer that came along with default bullseye installation of Xfce looks to be xfce4-sensors. The GUI has temperatures but the tachometers tab is empty. "man Xfce4-sensors" doesn't really say how to get tachometer information. mick -- Key ID4BFEBB31
Re: got a mdadm puzzler
On 2022-03-10 12:18, gene heskett wrote: Greetings all; I just had a bad time rebooting with 2 combined problems.. excuse my ignorance but you seem to have a lot of problems because of doing stuff most haven't attempted. Is it possible the arrangement is over complicated and that you could more easily achieve what you want by allocating one task per PC and communicating with them over ssh ? regards mick -- Key ID4BFEBB31
Re: Google smtp and pop
On 2022-03-04 15:59, Marc Auslander wrote: Google has now said they are pulling the plug on userid/password authentication for apps. I use fetchmail and exim4 to get and send mail. Neither, AFAIK, supports OAUTH2. I'm also still on stretch but will update if I have to. So what suggestions does anyone have for dealing with OAUTH2 access to gmail? Seems you have to setup a separate per application password, not looked yet. mick -- Key ID4BFEBB31
Re: One-user system. Was "One user system."
On 2022-02-11 19:10, Andrei POPESCU wrote: On Jo, 10 feb 22, 11:11:01, rhkra...@gmail.com wrote: On Wednesday, February 09, 2022 06:08:16 AM Andrei POPESCU wrote: > I've switched to using sudo because it encourages me to use root only > when strictly required. That's a good idea, but I'll mention what I do -- I may have started before sudo existed (or, at least, before I knew about it). I use kde and keep several konsole (terminals) open, at on one, I open it as root and set the background to be a different color than the non-root konsole (a shade of yello). (Once you pick a color for the background (or any of variety of other user preferences), you can save those so, for example, every time I open a konsole as root, it gets those preferences. I did use to have a root window constantly open and "Ctrl-a r" is still opening a 'sudo -i' window in tmux. The trouble with that is that I would tend to use the root console for non-root things. Besides, it's annoying to 'cd' in the non-root terminal in some deep directory structure only to find out you need root permissions to do what you actually needed to do when you got there. I've su'ed first before diving into the file system if I thought I was going to edit something as root but now I think should "echo $PWD" when there. copy that, "su -" and "cd paste". mick -- Key ID4BFEBB31
Re: Thunderbird not allowing local accounts
On 2022-01-05 19:52, Dan Ritter wrote: As previously mentioned, the mechanism for that is now "set up dovecot or another IMAP server". the dovecot wiki is very good. https://wiki2.dovecot.org/TestInstallation mick -- Key ID4BFEBB31
Re: OpenSSH: cause of random kex_exchange_identification errors?
On 2022-02-02 14:44, Vincent Lefevre wrote: When I want to connect with SSH (ssh/scp) to some machine, I sometimes get errors, either kex_exchange_identification: Connection closed by remote host or kex_exchange_identification: read: Connection reset by peer immediately after the connection attempt. This happens randomly, and there are some periods where this happens quite often. The client machine doesn't seem to matter, and this issue also even occurs from machines on the local network. With ssh -vvv, the output ends with debug1: Local version string SSH-2.0-OpenSSH_8.7p1 Debian-4 kex_exchange_identification: read: Connection reset by peer Connection reset by [...] port 22 In the source, this corresponds to function kex_exchange_identification in kex.c: len = atomicio(read, ssh_packet_get_connection_in(ssh), &c, 1); if (len != 1 && errno == EPIPE) { error_f("Connection closed by remote host"); r = SSH_ERR_CONN_CLOSED; goto out; } else if (len != 1) { oerrno = errno; error_f("read: %.100s", strerror(errno)); r = SSH_ERR_SYSTEM_ERROR; goto out; } so either with EPIPE or with ECONNRESET, and this apparently occurs before the exchange of banners. I could reproduce the issue with telnet, which gives [...] Escape character is '^]'. Connection closed by foreign host. while one normally has SSH-2.0-OpenSSH_7.9p1 Debian-10+deb10u2 just after the "Escape character..." line. Note that this is different from a "Connection refused". Here, the connection is accepted, but immediately closed. The admin of the machine could see nothing particular in the logs. He eventually modified the MaxStartups value, but this did not solve the issue (but AFAIK, if this were the cause, there would have been something about it in the logs). The machine has enough available memory. Any idea about the possible cause of these random errors? I don't know what kex_exchange is but perhaps you have more than one entry/description for the remote machine in known_hosts or something and there's a bit of pot luck. mick -- Key ID4BFEBB31
Re: Printing lots of pages skips a few
On 2022-02-02 10:42, Pankaj Jangid wrote: Klaus Singvogel writes: Can you look at the webinterface of CUPS regarding the missing jobs? http://localhost:631/ -> Printer -> select your default printer (if more) -> finish job (or similar) I did that when I discovered that some pages were missing. Nothing there in unfinished jobs. Also I could identify and print those files separately; using "lp ". May be an issue with the printer reporting it has printed file when it hasn't. Perhaps try wait between each print instruction. mick -- Key ID4BFEBB31
Re: hostname is being reset, killing net on reboot
On 2022-01-26 15:31, Brian wrote: Having said that, 'ssh desktop.local' does not require much guidance. Is .local mDNS specific ? I thought we are supposed to not use .local for a home network. What is this ipv4only.arpa , are we supposed to use that. mick -- Key ID4BFEBB31
Re: "Package was removed from Debian because of a variable name" myth (?) (was: Re: Why did Norbert Preining (having maintained KDE) left Debian?)
On 2022-01-23 19:54, Polyna-Maude Racicot-Summerside wrote: I have no idea what are your plan to reach down the road but you may get much more than you expect. I think this is what is called gaslighting. mick -- Key ID4BFEBB31
Re: "Package was removed from Debian because of a variable name" myth (?) (was: Re: Why did Norbert Preining (having maintained KDE) left Debian?)
On 2022-01-23 11:56, Andy Smith wrote: Hi Mick, On Sun, Jan 23, 2022 at 11:52:12AM +, mick crane wrote: On 2022-01-23 11:38, Andy Smith wrote: > On Sun, Jan 23, 2022 at 11:17:25AM +0000, mick crane wrote: > > I was a little concerned about the direction of travel when that > > software > > got removed from the repository because of variable names. > > If you're referring to the WebOOB package, that was not why it was > removed and incorrect statements like that are not helpful. > > This diff might give you an idea of some of the problems with this > software (sadly broken TLS setup so have to click through warning): > > https://gitlab.com/woob/woob/-/merge_requests/228/diffs#85eabf8cd7ee0b4611976309bd723f6ad7b301c4_785_784 That'll be it. Thanks for confirming. So would you like to retract your statement that it was removed "because of variable names"? And hopefully now that's cleared up you will feel better about Debian's direction of travel. If you insist on continuing with this I haven't seen the code that was removed and no idea what it does. The reports at the time were that it was removed for sexist type variable names. Was it removed then for Anglo Saxon expletives in the comments ? mick -- Key ID4BFEBB31
Re: "Package was removed from Debian because of a variable name" myth (?) (was: Re: Why did Norbert Preining (having maintained KDE) left Debian?)
On 2022-01-23 11:38, Andy Smith wrote: Hello, On Sun, Jan 23, 2022 at 11:17:25AM +, mick crane wrote: I was a little concerned about the direction of travel when that software got removed from the repository because of variable names. If you're referring to the WebOOB package, that was not why it was removed and incorrect statements like that are not helpful. This diff might give you an idea of some of the problems with this software (sadly broken TLS setup so have to click through warning): https://gitlab.com/woob/woob/-/merge_requests/228/diffs#85eabf8cd7ee0b4611976309bd723f6ad7b301c4_785_784 If you are referring to some other package, I'm not recalling it. Can you remind me which one it was please? That'll be it. mick -- Key ID4BFEBB31
Re: Why did Norbert Preining (having maintained KDE) left Debian?
On 2022-01-23 08:19, deloptes wrote: Marco Möller wrote: I feel that a concise statement from Debian insiders would gain a lot to not provoke avoidable discussions and would right away defeat heat given off obstructively. As Thomas pointed out, there are hundreds of posts from years old discussions which appear to be the prelude to the current situation. Some of these public discussions have been quite controversial, partly also questioning if community processes are always taking place sufficiently transparent. Currently I find only a public statement from one party. This could harm the Debian project. Some concise statement from somebody in the Debian project with insights into the issue could prevent Debian from bad repute by declassifying which are the positions of the present disagreement. I am not aware of the current problem, but my personal observation is that there are more often such conflicts and I expect the number to rise in future. According my observation the problem is in lack of education in the fields of logic and rhetoric. The new generation (called milenials or gen Z or whatever) mostly brainwashed to the political left, but I do not exclude also the once to the right, are not able to have a meaningful debate. So what happens - again this is my personal opinion - they are not able to have a meaningful conversation over an issue and can not solve conflicts. Thus the only way is to break the communication. Sadly this is observable also in politics and I hope we do not end up in nuclear war. The first such experience I had was exactly the KDE project, when it released version 4. It was not possible to convince the developers that we need a working desktop and not just shiny one. So I had to abandon KDE. Since then I had this experience in many different situations especially with younger people. It is very sad! Again I see this problem mainly in the education, but it could have also relation to the family a person was raised in. All together it is sad that conflicts are not solved for one or another reason. This is probably an accurate observation. I was a little concerned about the direction of travel when that software got removed from the repository because of variable names. mick -- Key ID4BFEBB31
Re: tmux and nano in console
On 2021-12-22 18:00, Alexander V. Makartsev wrote: snipped lots of useful stuff. Also, I use Xfce and "xfce4-terminal" so my instructions may not work if your DE is different. Thanks very much I'll use those tips. I just started using tmux today and looks handy. Seems may be like screen as well which I've not really used either. I'm using because something doesn't seem to like something I've done and so far not having problems in console so likely something in X. cheers mick -- Key ID4BFEBB31
Re: tmux and nano in console
On 2021-12-22 15:34, Markus Schönhaber wrote: Since tmux knows how to cope with tmux' panes, what's wrong with using the copy/paste functionality tmux provides? OK missed that, got it now. cheers. mick -- Key ID4BFEBB31
tmux and nano in console
I'm trying to use the console to see if my editing problems go away. Want to copy lines from one file into another. Splitting the screen with tmux with the 2 files opened in nano the nano buffer is not shared. Seems can have more than one buffer in nano but the things I want are not in the same file. If use the mouse to select text in one file in one tmux window the selection goes across both windows/files. Is there a way in console to achieve copying lines from one file to another ? mick -- Key ID4BFEBB31
Re: keyboard setup
On 2021-12-20 19:11, Georgi Naplatanov wrote: did you try # dpkg-reconfigure keyboard-configuration # service keyboard-setup restart There is a wiki - https://wiki.debian.org/Keyboard yes sorry for the typing error, I was getting a bit frazzled at that stage. Although the keyboard was working in terminal /etc/default/keyboard was showing pc-105 as XKBMODEL so couldn't figure where else was been set. "dpkg-reconfigure keyboard-configuration" "dpkg-reconfigure console-setup" and clearing. XKBVARIANT="alt-intl" XKBOPTIONS="lv3:ralt_alt" in /etc/default/keyboard. in console seems to have done it. mick -- Key ID4BFEBB31
Re: keyboard setup
On 2021-12-20 19:11, Georgi Naplatanov wrote: On 12/20/21 18:03, mick crane wrote: Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.0-10-amd64 Architecture: x86-64 I'm still having trouble with random lines from elsewhere in the file I'm editing getting plonked a hundred or so lines away. Which is a pain as it can take a while to locate them. Want to use the console Ctrl+Alt+Fx for a bit and see if it's something to do with X Trouble is I can't get the console keyboard keys to do the same thing as in Xfce. I read that the keyboard map is supposed to be shared between console and X but not here. I try various things. "dpkg-reconfigure console-setup" "dpkg-reconfigure console-data" "dpkg-reconfigure keyboard-setup" "service keyboard-setup restart" reboot the PC nothing seems to work. this particular keyboard is small generic USB thing which works with Microsoft Office keyboard layout. but in console some keys are not what is on the key. eg "#" is UK Pound sign. "dpkg-reconfigure keyboard-setup" does have that layout as a selection. Is there something I need to do after selecting to get it to work ? mick Hi Mick, did you try # dpkg-reconfigure keyboard-configuration # service keyboard-setup restart There is a wiki - https://wiki.debian.org/Keyboard yes, sorry that was a typo in posting that's what I typed. dpkg-reconfigure keyboard-configuration service keyboard-setup restart selecting the layout microsoft office keyboard in Xfce settings->keyboard GUI is successful. but is not used by console. mick -- Key ID4BFEBB31
keyboard setup
Operating System: Debian GNU/Linux 11 (bullseye) Kernel: Linux 5.10.0-10-amd64 Architecture: x86-64 I'm still having trouble with random lines from elsewhere in the file I'm editing getting plonked a hundred or so lines away. Which is a pain as it can take a while to locate them. Want to use the console Ctrl+Alt+Fx for a bit and see if it's something to do with X Trouble is I can't get the console keyboard keys to do the same thing as in Xfce. I read that the keyboard map is supposed to be shared between console and X but not here. I try various things. "dpkg-reconfigure console-setup" "dpkg-reconfigure console-data" "dpkg-reconfigure keyboard-setup" "service keyboard-setup restart" reboot the PC nothing seems to work. this particular keyboard is small generic USB thing which works with Microsoft Office keyboard layout. but in console some keys are not what is on the key. eg "#" is UK Pound sign. "dpkg-reconfigure keyboard-setup" does have that layout as a selection. Is there something I need to do after selecting to get it to work ? mick -- Key ID4BFEBB31
Re: changed file while editing
On 2021-12-16 20:35, Greg Wooledge wrote: Be specific and detailed about what you do. Be clear in how you describe things. Otherwise, we can't help you. I try my best -- Key ID4BFEBB31
Re: changed file while editing
On 2021-12-16 18:04, mick crane wrote: On 2021-12-11 18:58, David Christensen wrote: When a computer gets to the point that it is doing weird things that I cannot understand, troubleshoot, or fix, I download the OS installer of choice, burn it to USB, make sure my configuration files are checked in to CVS, backup my data, remove the system disk, insert a blank system disk, do a fresh install, take an image of the system disk, boot, check out the old configuration files to a side directory, edit the new configuration files (rebooting and testing as I proceed), and restore data. This is the only way I know to get a "clean", and hopefully reliable, OS image. lovely. I've used vi for the last 3 days and it's happened once instead of multiple times. I'd love it to be user error, well to know what the use error is, but I've been using basic editing with vi/vim for years and this never happened before. Is it at all possible that running Perl executable file somehow shares the same memory as same file opened in vi and they get jumbled? I don't understand why the error is random words from elsewhere in the file get randomly inserted as opposed to garbage. I'm inclined to get another PC and see if it still does it. actually it happened twice I have used find and replace :%s/old/new/g but error there doesn't explain it line nowhere near editing changed from "}" to "f}" which makes no sense. mick -- Key ID4BFEBB31
Re: changed file while editing
On 2021-12-11 18:58, David Christensen wrote: When a computer gets to the point that it is doing weird things that I cannot understand, troubleshoot, or fix, I download the OS installer of choice, burn it to USB, make sure my configuration files are checked in to CVS, backup my data, remove the system disk, insert a blank system disk, do a fresh install, take an image of the system disk, boot, check out the old configuration files to a side directory, edit the new configuration files (rebooting and testing as I proceed), and restore data. This is the only way I know to get a "clean", and hopefully reliable, OS image. lovely. I've used vi for the last 3 days and it's happened once instead of multiple times. I'd love it to be user error, well to know what the use error is, but I've been using basic editing with vi/vim for years and this never happened before. Is it at all possible that running Perl executable file somehow shares the same memory as same file opened in vi and they get jumbled? I don't understand why the error is random words from elsewhere in the file get randomly inserted as opposed to garbage. I'm inclined to get another PC and see if it still does it. mick -- Key ID4BFEBB31
Re: changed file while editing
No comment on that, as I don't use a DE. Window manager, desktop environment,X I get confused about those. You don't have any of the desktop stuff but still can run a browser and that ? I think I'd like that better. Is there stuff you can delete to get that sort of function or need make a new installation? mick -- Key ID4BFEBB31
Re: changed file while editing
On 2021-12-11 19:39, David Wright wrote: On Sat 11 Dec 2021 at 15:29:02 (+), mick crane wrote: Mine are a bit different there, have Use middle mouse click to close tabs use middle mouse click to open URLS Auto hide mouse pointer Open new tab to the right of the active tab Audible bell Visual bell all unchecked except for Auto hide mouse pointer. No comment on that, as I don't use a DE. it happens again, bits of words from elsewhere in the file randomly inserted into the file. It's not garbage so I don't think is disk corruption or memory. Once again, you don't say whether these bits of words appear at random /times/, or in response to your keystrokes or mouseclicks or even mouse movements. As is executable eh? I sometimes run in other virtual terminal while opened in nano. Would that cause it? If I understand you correctly, then of course not. You should be able to run any number of different tasks at the same time, and switch between them at will, without the system getting confused. The other thing is I installed gd, think is called, and sometimes if want to copy a single line and change one letter I shift and drag pointer over the line then middle click to paste. Dunno if that could do it. never happened in vi/vim or happened before yesterday. I don't want to try to guess what it is you're running in this paragraph. So I'll ignore it, and carry on about nano. Before I continue, I'll warn you that I don't tend to configure editors to react to mouseclicks. So, for example, when I drag the mouse across some text in nano, the cursor does not move, but remains wherever it was. If I now paste that text with a mouseclick, the text gets inserted at that same cursor position, and /not/ at the place where you click the paste button. That /might/ appear to be "random" to someone who's used to having the text pasted at the position where they clicked the mouse. So I suggest you check whether the placement of your "bits of words" can be explained in this way. Another facility that I don't use is "click-to-focus", because I prefer to focus a window just by shoving the mouse inside it (no precision required). Click-to-focus has the odd effect of allowing keystrokes to be sent to one window while the mouse is actually in another window. You can even type text which can't be seen because a different window occludes it. Can you see clearly which window has focus on your system? Random bits of words are all over the place, nowhere near where I'm typing. I have been slagging off GCHQ and the Government online recently but I don't think it's that LOL. More likely some configuration issue. I'm going to use vi/vim for a couple of days and see if it happens again. -- Key ID4BFEBB31
Re: changed file while editing
On 2021-12-11 06:34, David Christensen wrote: On 12/10/21 7:44 PM, mick crane wrote: On 2021-12-11 03:07, David Wright wrote: On Fri 10 Dec 2021 at 22:37:22 (+), mick crane wrote: hello please excuse basic lack of understanding. I try to write some program in Perl I would find useful. Use of editing is very basic and usually I get by with vi/vim recently I try to get used to Nano. In another virtual terminal if copy one file to another or something, the command line words just now got randomly inserted into the file I'm editing in other virtual terminal. Which is distressing. I'm hoping it's just fat fingers and I managed to make some macro I didn't know about. What bothers me is that it seems random where the words go and wonder if opening 2 files in Nano share the same buffer or something and it gets mixed up. Is not a problem I saw before. Any explanation for that ? Well, I know nothing about XFCE terminals, but the obvious thing to check first is that your TERM settings are correct, otherwise the terminals, and nano, might not agree with you on where the cursor is, and where any inserted characters are heading for. ^L is always useful for restoring some sort of sanity, but only for as long as it remains the last keystroke you typed. If that's not the cause, then I think a more precise narrative is necessary for understanding what it is that you're actually doing. Advanced notice of next suggestion: are you typing vim commands into nano? (Easily done.) I do find myself going to type Esc i and Esc d a bit. When I closed all the terminals down there was something about a background process is still running. I think I must have started some process was alive in the other terminal somehow. Was very disconcerting. There was something about the terminal shortcuts overriding other shortcuts in MC as well and I think I've disabled all the terminal shortcuts via the graphical xfce xterm settings menu I adjust the Xfce Terminal settings by opening a Terminal, right-clicking on the Terminal window, and clicking Preferences on the pop-up menu: Misc Use middle mouse click to close tabs -> uncheck Auto-hide mount pointer -> check Rewrap terminal contents on resize -> check Automatically copy select to clipboard -> uncheck Mine are a bit different there, have Use middle mouse click to close tabs use middle mouse click to open URLS Auto hide mouse pointer Open new tab to the right of the active tab Audible bell Visual bell all unchecked except for Auto hide mouse pointer. it happens again, bits of words from elsewhere in the file randomly inserted into the file. It's not garbage so I don't think is disk corruption or memory. As is executable I sometimes run in other virtual terminal while opened in nano. Would that cause it? The other thing is I installed gd, think is called, and sometimes if want to copy a single line and change one letter I shift and drag pointer over the line then middle click to paste. Dunno if that could do it. never happened in vi/vim or happened before yesterday. mick -- Key ID4BFEBB31
Re: changed file while editing
On 2021-12-11 03:07, David Wright wrote: On Fri 10 Dec 2021 at 22:37:22 (+), mick crane wrote: hello please excuse basic lack of understanding. I try to write some program in Perl I would find useful. Use of editing is very basic and usually I get by with vi/vim recently I try to get used to Nano. In another virtual terminal if copy one file to another or something, the command line words just now got randomly inserted into the file I'm editing in other virtual terminal. Which is distressing. I'm hoping it's just fat fingers and I managed to make some macro I didn't know about. What bothers me is that it seems random where the words go and wonder if opening 2 files in Nano share the same buffer or something and it gets mixed up. Is not a problem I saw before. Any explanation for that ? Well, I know nothing about XFCE terminals, but the obvious thing to check first is that your TERM settings are correct, otherwise the terminals, and nano, might not agree with you on where the cursor is, and where any inserted characters are heading for. ^L is always useful for restoring some sort of sanity, but only for as long as it remains the last keystroke you typed. If that's not the cause, then I think a more precise narrative is necessary for understanding what it is that you're actually doing. Advanced notice of next suggestion: are you typing vim commands into nano? (Easily done.) I do find myself going to type Esc i and Esc d a bit. When I closed all the terminals down there was something about a background process is still running. I think I must have started some process was alive in the other terminal somehow. Was very disconcerting. There was something about the terminal shortcuts overriding other shortcuts in MC as well and I think I've disabled all the terminal shortcuts via the graphical xfce xterm settings menu Cheers, David. -- Key ID4BFEBB31
Re: changed file while editing
On 2021-12-11 01:10, David Christensen wrote: On 12/10/21 2:37 PM, mick crane wrote: hello please excuse basic lack of understanding. I try to write some program in Perl I would find useful. Use of editing is very basic and usually I get by with vi/vim recently I try to get used to Nano. In another virtual terminal if copy one file to another or something, the command line words just now got randomly inserted into the file I'm editing in other virtual terminal. Which is distressing. I'm hoping it's just fat fingers and I managed to make some macro I didn't know about. What bothers me is that it seems random where the words go and wonder if opening 2 files in Nano share the same buffer or something and it gets mixed up. Is not a problem I saw before. Any explanation for that ? mick Are you using console virtual terminals or are you running a graphical desktop? Is the virtual terminals you get in the xfce desktop -- Key ID4BFEBB31
Re: changed file while editing
On 2021-12-11 01:10, David Christensen wrote: On 12/10/21 2:37 PM, mick crane wrote: hello please excuse basic lack of understanding. I try to write some program in Perl I would find useful. Use of editing is very basic and usually I get by with vi/vim recently I try to get used to Nano. In another virtual terminal if copy one file to another or something, the command line words just now got randomly inserted into the file I'm editing in other virtual terminal. Which is distressing. I'm hoping it's just fat fingers and I managed to make some macro I didn't know about. What bothers me is that it seems random where the words go and wonder if opening 2 files in Nano share the same buffer or something and it gets mixed up. Is not a problem I saw before. Any explanation for that ? mick Are you using console virtual terminals or are you running a graphical desktop? I have two computers with Xfce graphical desktops: 2021-12-10 17:06:57 dpchrist@tinkywinky ~ $ cat /etc/debian_version ; uname -a ; dpkg-query -W xfce4 nano 9.13 Linux tinkywinky 4.9.0-16-amd64 #1 SMP Debian 4.9.272-2 (2021-07-19) x86_64 GNU/Linux nano2.7.4-1 xfce4 4.12.3 2021-12-10 17:07:02 dpchrist@laalaa ~ $ cat /etc/debian_version ; uname -a ; dpkg-query -W xfce4 nano 11.1 Linux laalaa 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux nano5.4-2 xfce4 4.16 Please run the above command on your computer (adjust for desktop, ornone), and post your console session (prompt, command entered, output obtained). mick@pumpkin:~$ cat /etc/debian_version ; uname -a ; dpkg-query -W xfce4 nano 11.1 Linux pumpkin 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux nano5.4-2 xfce4 4.16 -- Key ID4BFEBB31
changed file while editing
hello please excuse basic lack of understanding. I try to write some program in Perl I would find useful. Use of editing is very basic and usually I get by with vi/vim recently I try to get used to Nano. In another virtual terminal if copy one file to another or something, the command line words just now got randomly inserted into the file I'm editing in other virtual terminal. Which is distressing. I'm hoping it's just fat fingers and I managed to make some macro I didn't know about. What bothers me is that it seems random where the words go and wonder if opening 2 files in Nano share the same buffer or something and it gets mixed up. Is not a problem I saw before. Any explanation for that ? mick -- Key ID4BFEBB31
Re: rsync failing to back up to synology server
On 2021-11-13 10:42, Dan Ritter wrote: Sharon Kimble wrote: After enduring a home move, I'm now trying to restart my rsync backups to my synology server, but none are working! I have this command for backing up my emacs - - --8<---cut here---start->8--- /usr/bin/rsync -avhz --update --delete --partial --password-file="$PASS" ~/.emacs.d/ boudiccas@192.168.1.106::home/back-emacs/ - --8<---cut here---end--->8--- but every time it shows this error message - - --8<---cut here---start->8--- @ERROR: auth failed on module home rsync error: error starting client-server protocol (code 5) at main.c(1817) [sender=3.2.3] - --8<---cut here---end--->8--- It seems that its not getting the correct password to enable the backup to happen, but what password? Is it my password on my source machine, or the log-in password for my synology server, or what? I've tried various passwords, but I still can't get it to backup, so help please? rsync either uses ssh or its own protocol to connect across networks. Almost everyone uses ssh. Using double colons boudiccas@192.168.1.106::home/back-emacs indicates that you want the rsync protocol, which required rsync to be running in daemon mode on the other side. Use one colon there, which indicates SSH, and use boudicca's login password on the 192.168.1.106 box. If ssh boudiccas@192.168.1.106 doesn't work, debug that first. -dsr- when sorting mine out I found it handy to enable telnet while setting up ssh so I could go back and fix it when I invariably broke it. mick -- Key ID4BFEBB31
Re: Graphic rendering problem
On 2021-11-03 08:14, lina wrote: Hi all, I have a problem with the opening of Scribus, it is not specific towards Scribus since I also have problems using other graphic viewers such as Gaussian view. Something related to my graphic rendering but I don't know how to check, It would be great to get your advice about which files to look up for errors or mistakes. Thanks very much for your help, lina For viewing I like geeqie, does that work ? if installed scribus with apt it ought to say what's up. https://w.scribus.net/wiki/index.php/Requirements mick -- Key ID4BFEBB31
Re: which package is good for making poster
On 2021-11-02 20:05, Jerome BENOIT wrote: Hello, I guess she meant `academic poster' not `decorative poster'. Doing `academic poster' with a LaTeX package allow to share `LaTeX code' between articles, presentations, posters, ... "print it out on several papers" indicates artwork poster Like a big one of a4s stuck together. Maybe Scribus has something that does that rather than cutting up sections and saving separately. mick -- Key ID4BFEBB31
Re: which package is good for making poster
On 2021-11-02 14:09, lina wrote: Thanks all, I will check one by one and see how it works. Posters are usually a picture and some text. It doesn't have to be like that but normally it is. Do picture in Gimp, make transparent background if don't want in a box. Scribus, make image frame, import image, fit image to frame. make text box, write some text. mick -- Key ID4BFEBB31
Re: which package is good for making poster
On 2021-11-02 09:45, lina wrote: Hi all, I have to prepare a poster, I wonder which package is good for this work, I can print it out in several papers and attach them together later. Gimp and Scribus mick -- Key ID4BFEBB31
getmail6
It seems that the maintainer of getmail is getting unnecessary grief because users of getmail6 are requesting of him solutions for problems that are not of his making. It seems normal that when a project is forked that it is called something different to the name of the existing code. That would appear to be the sensible solution, to call getmail6 something else. Dogs like to fetch sticks and frisbees so maybe something to do with that. mick -- Key ID4BFEBB31
Re: A .profile puzzle
On 2021-10-17 19:09, Greg Wooledge wrote: On Sun, Oct 17, 2021 at 06:35:01PM +0200, deloptes wrote: > 2. and another pesky thing is starting a konsole to do work, needs a > $PATH modification that we used to put in ~.profile. But opening a > terminal hasn't called a ". .profile" since about jessie. So thats > another PITA. > > So, what has replaced .profile as the function for such as that in recent > releases? AFAIK bash is not reading profile when you login, but not sure - it could be also that it is not a login shell. AFAIK you should open the terminal with "bash --login" to read the profile. So try in the terminal "bash --login" I have put in my .profile alias bash='bash --login' long time ago OK, first thing first: that alias won't do *anything* useful. If Gene is talking about starting a terminal from his window manager or desktop environment, that terminal is going to run $SHELL which is /bin/bash. It will not look at his aliases, no matter where they're defined. It's just going to run bash. Not "bash --login". Now let's step back a bit. When you run an instance of a shell, there are two ways you can do it. You either run a "login shell", or a "non-login shell". The purpose of a login shell is to be executed when you login. That's the original intent. Back in the 70s and 80s, there was no such thing as a "desktop". There was just the shell. You logged in by connecting your terminal or your modem to the host system, and getting a textual prompt. After authentication, you were "logged in", and the system would run your account's shell with a "-" character in front of it. This is the ancient way that your system said "this should be a login shell, not a regular shell". It looks like this: unicorn:~$ ps -ft tty1 UID PIDPPID C STIME TTY TIME CMD root 699 1 0 Oct09 tty1 00:00:00 /bin/login -p -- greg 851 699 0 Oct09 tty1 00:00:00 -bash greg 863 851 0 Oct09 tty1 00:00:00 /bin/sh /usr/bin/startx [...] See where it says "-bash"? That's my login shell. The purpose of having a "login shell" and a "regular shell" is because you probably have some things that you need to do once per session, when you login. Like, setting up your environment variables. Or printing today's calendar, or today's message from the administration. All of those things are unnecessary in a regular shell. The environment is already set up, and you've already seen today's calendar or whatever. Any other time you started a shell, it would not have a "-" in front of its name, so it would be a regular shell. This included shell escapes from your text editor or mail reader or news reader or pager. Any time you escaped to a new shell from inside your editor, you didn't need to go through all the gyrations that a login shell did. You don't want to see the calendar again, etc. A decade or two later, some people developed a windowing system. In this windowing system, there's a terminal emulator. Normally when you run a terminal emulator, you run a shell inside it. (Not always, but usually.) This shell doesn't need to be a login shell. You're probably going to open half a dozen terminal emulators with shells in them, maybe more. You don't need to run the day's calendar, or set up the session environment, in every single terminal. All of that has been taken care of already. (Right?) So, in an X terminal emulator, you normally run a NON-login shell. Just a regular shell. That's how it's supposed to work. However. Some people found that they had a really hard time getting their initial environment set up during their X logins. This was common among newbies especially, because they didn't understand the new login procedure, and had no idea how to customize it. And where did we have a shit-load of Unix newbies? Universities. So, in the world of academia, there is a whole different paradigm. In this world, where everyone is expected to be incompetent, the old way of setting up your environment one time and inheriting it in every shell... that doesn't work. In the newbie-centric environment, where nobody knows how to do anything correctly, terminal emulators are configured to run login shells. There's an option for it, of course. The people who wrote xterm realized that one might wish to run either a regular shell or a login shell. So xterm has this option: -ls This option indicates that the shell that is started in the xterm window will be a login shell (i.e., the first character of argv[0] will be a dash, indicating to the shell that it should read the user's .login or .profile). Universities configured things so that their users' terminals would all run with this option, which means the users would get a login shell in each terminal. And then the users, who were all newbies and don't know any better, could simply be told "if you
Re: eMail Com Between Hosts on a Private Net
On 2021-10-20 19:16, Joe wrote: On Wed, 20 Oct 2021 11:46:11 -0500 "Martin McCormick" wrote: Also, I have put /etc/hosts files on Linux systems and a Mac and I believe there is a hosts file one can add to Windows systems for a similar effect. Indeed so, it is even in a folder called 'etc', which I think is in a 'drivers' folder. It's a while since I used it. There may be an existing default or example \etc\hosts file. The LMHosts file is also here, but of interest only to Windows networks for speeding up share lookups. Windows hosts file is in C:\Windows\System32\drivers\etc mick -- Key ID4BFEBB31
Re: Your Thoughts on Printer Replacement
On 2021-09-17 23:41, Charles Curley wrote: I have an HP Officejet Pro L7700, which is starting to show its age. Also HP has discontinued the standard size cartridges. I can get the large ones. I suspect I could buy a printer for what four large cartridges would cost me. Requirements: * I print rarely, and I do use color. The carts on the L7700 tend to go bad before they empty, Inkjet or laser? Or other? * Buster and Bullseye should both support any recommendations. I don't use Windows. I've had good results with HP over the years, and they support Linux well. Reccomendations? I use elderly HP LaserJet with a PC doing Cups server which is easy enough once you find out the name of the print queue. Did have a Xerox Phaser for colour which worked very well until it had an accident to do with gravity. mick -- Key ID4BFEBB31
Re: masked service file
On 2021-09-05 16:01, to...@tuxteam.de wrote: On Sun, Sep 05, 2021 at 01:56:30PM +, Andrew M.A. Cater wrote: [...] * play the ball not the man - don't engage in disguised personal attacks Yes, pretty please. Thank you, Andrew. I'm the original poster. It might help if I explain. Not a computer guy, I'm what you call an artist. Watched this stuff from the beginning, I'm the guy who told the computer graphics people what they needed to do if they wanted to do animation. "look, that thing is held all the way through, that thing is there for 18 frames, that thing is there for 5" "Oh we are going to need more memory, maybe we could use video tape ?" I love this stuff and I try to be helpful mick -- Key ID4BFEBB31
Re: masked service file
On 2021-09-05 16:01, to...@tuxteam.de wrote: On Sun, Sep 05, 2021 at 01:56:30PM +, Andrew M.A. Cater wrote: [...] * play the ball not the man - don't engage in disguised personal attacks Yes, pretty please. Thank you, Andrew. I am the OP -- Key ID4BFEBB31
Re: masked service file
On 2021-09-03 00:21, Brian wrote: On Fri 03 Sep 2021 at 00:03:08 +0100, mick crane wrote: On 2021-09-02 23:28, Brian wrote: [...] > Please go back and read your very first post. You asked three questions. > Which one has not been answered? Please understand you are talking to an idiot, you have to say things slowly for example if saned.service is >/dev/null why is it there at all ? That's a foutth question. We assume the other three questions have been addressed to your satisfaction. We aim for a happy user :). The fourth question and its answer was also touched on earlier. The file's presence allows all the instances spawned by saned@.service to be managed. additional questions then: Scanning with xsane is quite zippy but scanbd/press button is noticeably slower to kick off. Could this be to do with not passing options to scanimage ? can I take options from xSane to give to scanbd/scanimage ? are there reasons to use scanadf instead of scanimage? mick -- Key ID4BFEBB31
Re: masked service file
On 2021-09-02 23:28, Brian wrote: On Thu 02 Sep 2021 at 21:06:59 +0100, mick crane wrote: On 2021-09-02 17:57, Brian wrote: > Regarding Greg Wooledge's exhortations to provide information about > an issue: You were asked explicity to provide some; you never did. > As it happens, I do not think the problems you have encountered > have anything to do with saned. You have picked the wrong target. What does this even mean "You have picked the wrong target"? I've got one guy battering me for specifics when it should be clear what I'm saying. I've got another guy intimating I'm an idiot. I was quite happy when you could work stuff out from the documentation but then this systemd came along now I haven't a clue what's going on. Please go back and read your very first post. You asked three questions. Which one has not been answered? Please understand you are talking to an idiot, you have to say things slowly for example if saned.service is >/dev/null why is it there at all ? mick -- Key ID4BFEBB31