Re: mdadm usage

2021-01-01 Thread Richard Hector

On 31/12/20 7:29 am, Marc Auslander wrote:

IMHO, there are two levels of backup.  The more common use is to undo
user error - deleting the wrong thing or changing something and wanting
to back out.  For that, backups on the same system are the most
convenient.  And if its on the same system, and you have raid1, you
don't need a separate physical drive.


Backing up to (or restoring from) the same drive will be slow. 
Especially if it's spinning disks, with seek time considerations.


Richard



Re: I have a Gigabyte GA-A320M-H is there a BUG in this motherboard?

2021-01-01 Thread Richard Owlett

Your question is more appropriate on debian-user.
I've copied this to debian-user@lists.debian.org .

On 01/01/2021 11:42 PM, ike wrote:

I have a Gigabyte GA-A320M-H I have tried to install Debian 10.7 . I
have enable Iommu and CSM. When the menu comes up it does not matter
what I select after I hit enter the screen is just a mess can you help
me please. After I press enter the screen is just lines dots and a
mess.
I under stand there is a BUG in Lommu if so how do I fix it. I am not
an expert with this so be patient with me please.
Thank you Isaac Shields
nejek...@bigpond.com








Re: Open Source Flash Alternatives

2021-01-01 Thread Ming
On Fri, Jan 01, 2021 at 06:17:32PM -0500, Kenneth Parker wrote:
> On Fri, Jan 1, 2021, 10:29 AM Kenneth Parker  wrote:
> 
> > Since Adobe Flash is going the way of the Dodo Bird, I thought I'd check
> > up on Open Source Alternatives, since I have some Standalone .swf files
> > (games, etc).
> >
> > Two came up in my searches, Lightspark (which seems to be, mainly a
> > Plug-in), and Ghu Gnash, which I like better, since it works as a
> > Standalone Program.  Unfortunately, it doesn't seem available in Bullseye
> > (and Search didn't find it for Buster either).  It DOES show up in Stretch,
> > but that's on a different machine than where my .swf files are.
> >
> 
> Update:  I just installed Stretch in QEMU-KVM in my "Knockabout" Mint 20
> system and was able to install Gnash on it.  I did a bit of research into
> Gnu Gnash, seeing that it may not be currently maintained.  I wonder if
> that decision was made before Flash was going Extinct?
> 
> I don't consider this closed, because of the large number of Standalone
> .swf files. But I have something to test and, may contact gnu.org about
> Gnash.
> 

I just find the last commit of Gnash (almost two years ago)[1], It did
say "Gnash is currently not being actively maintained".

For an alternative to Adobe Flash, Ruffle[2] is indeed worth watching, but
they seem to have been in the proof-of-concept stage for a long time.

[1]: 
http://git.savannah.gnu.org/cgit/gnash.git/commit/?id=583ccbc1275c7701dc4843ec12142ff86bb305b4
[2]: https://github.com/ruffle-rs/ruffle

-- 
OpenPGP fingerprint: 3C47 5977 4819 267E DD64  C7E4 6332 5675 A739 C74E


signature.asc
Description: PGP signature


Re: Open Source Flash Alternatives

2021-01-01 Thread Patrick Bartek
On Fri, 1 Jan 2021 18:17:32 -0500
Kenneth Parker  wrote:

> On Fri, Jan 1, 2021, 10:29 AM Kenneth Parker 
> wrote:
> 
> > Since Adobe Flash is going the way of the Dodo Bird, I thought I'd
> > check up on Open Source Alternatives, since I have some
> > Standalone .swf files (games, etc).
> >
> > Two came up in my searches, Lightspark (which seems to be, mainly a
> > Plug-in), and Ghu Gnash, which I like better, since it works as a
> > Standalone Program.  Unfortunately, it doesn't seem available in
> > Bullseye (and Search didn't find it for Buster either).  It DOES
> > show up in Stretch, but that's on a different machine than where
> > my .swf files are. 
> 
> Update:  I just installed Stretch in QEMU-KVM in my "Knockabout" Mint
> 20 system and was able to install Gnash on it.  I did a bit of
> research into Gnu Gnash, seeing that it may not be currently
> maintained.  I wonder if that decision was made before Flash was
> going Extinct?
> 
> I don't consider this closed, because of the large number of
> Standalone .swf files. But I have something to test and, may contact
> gnu.org about Gnash.

Take a look at Ruffle, a "Flash player emulator" or so they say.
Open source. Available for Windows, Mac and Linux.  Haven't tried it
myself. No old Flash files laying around to test.

  https://ruffle.rs/

B



[Résolu]: openvpn --route-up et --route-pre-down

2021-01-01 Thread Jean-Marc
Le 2/01/21 à 00:07, no way a écrit :
> Salut,
> 
> Il te manque pas le shebang (#!/bin/bash) dans ton script bash ??

BINGO !

Bon, si j'ajoute un shebang #!/bin/bash, openvpn ne me donne plus de
message d'erreur mais mon script ne fait rien.

Si j'utilise #!/bin/sh, alors ça fonctionne.

Bon, c'est résolu.

Merci.

-- 
Jean-Marc



OpenPGP_signature
Description: OpenPGP digital signature


Nvidia Optimus, Debian 10, and Firefox ESR crashes

2021-01-01 Thread David Christensen

debian-users:

I have a Dell Latitude E6520 with Nvidia Optimus graphics:

https://en.wikipedia.org/wiki/Nvidia_Optimus


STFW and RTFM:

https://wiki.debian.org/NVIDIA%20Optimus

-> Using only the integrated GPU

https://wiki.debian.org/NVIDIA%20Optimus#UsingOnlyOneGPU


I have disabled Optimus in the CMOS Setup:

Video -> Optimus -> Enable Optimus -> unchecked


I have installed Debian 10:

2021-01-01 12:18:07 root@dipsy ~
# cat /etc/debian_version
10.7

2021-01-01 12:18:19 root@dipsy ~
# uname -a
Linux dipsy 4.19.0-12-amd64 #1 SMP Debian 4.19.152-1 (2020-10-18) x86_64 
GNU/Linux


2021-01-01 12:29:44 root@dipsy ~
# dpkg-query -W xorg
xorg1:7.7+19

2021-01-01 12:30:14 root@dipsy ~
# dpkg-query -W xfce4
xfce4   4.12.5

2021-01-01 12:18:23 root@dipsy ~
# dpkg-query -W firefox-esr
firefox-esr 78.6.0esr-1~deb10u1

2021-01-01 12:42:23 root@dipsy ~
# lscpu
Architecture:x86_64
CPU op-mode(s):  32-bit, 64-bit
Byte Order:  Little Endian
Address sizes:   36 bits physical, 48 bits virtual
CPU(s):  4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):   1
NUMA node(s):1
Vendor ID:   GenuineIntel
CPU family:  6
Model:   42
Model name:  Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz
Stepping:7
CPU MHz: 1021.254
CPU max MHz: 3300.
CPU min MHz: 800.
BogoMIPS:4390.20
Virtualization:  VT-x
L1d cache:   32K
L1i cache:   32K
L2 cache:256K
L3 cache:6144K
NUMA node0 CPU(s):   0-3
Flags:   fpu vme de pse tsc msr pae mce cx8 apic sep mtrr 
pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe 
syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl 
xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor 
ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic 
popcnt tsc_deadline_timer aes xsave avx lahf_lm epb pti tpr_shadow vnmi 
flexpriority ept vpid xsaveopt dtherm ida arat pln pts


2021-01-01 12:18:31 root@dipsy ~
# lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor 
Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core 
Processor Family PCI Express Root Port (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series 
Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network 
Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset 
Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset 
Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 2 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 3 (rev b4)
00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 4 (rev b4)
00:1c.5 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset 
Family PCI Express Root Port 6 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset 
Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM67 Express Chipset Family LPC 
Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset 
Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family 
SMBus Controller (rev 04)
01:00.0 VGA compatible controller: NVIDIA Corporation GF119M [NVS 4200M] 
(rev a1)
01:00.1 Audio device: NVIDIA Corporation GF119 HDMI Audio Controller 
(rev a1)
03:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 
[Taylor Peak] (rev 34)
0b:00.0 FireWire (IEEE 1394): O2 Micro, Inc. 1394 OHCI Compliant Host 
Controller (rev 05)
0b:00.1 SD Host controller: O2 Micro, Inc. OZ600RJ0/OZ900RJ0/OZ600RJS 
SD/MMC Card Reader Controller (rev 05)
0b:00.2 Mass storage controller: O2 Micro, Inc. O2 Flash Memory Card 
(rev 05)



After a random amount of time (minutes to hours) of watching videos on 
YouTube in full screen mode via a KVM switch:


https://www.iogear.com/product/GCS78KIT


On an external monitor:

https://www.viewsonic.com/me/products/lcd/VX2260wm.php


The system will crash:

-  Video is stuck on one frame.

-  Audio continues playing.

-  Mouse pointer is visible and moves with mouse movement.

-  Mouse clicks have no effect.

-  Keyboard input has no effect.


I can SSH into the computer after the crash.


The X log shows the problems starting here:

2021-01-01 15:45:09 root@dipsy ~
# tail -n 117 /var/log/Xorg.0.log | head -n 13
[   553.029] (II) modeset(0): EDID vendor "SEC", prod id 

'apt upgrade' doet iets anders dan 'apt-get upgrade'

2021-01-01 Thread Cecil Westerhof
Wanneer ik 'apt upgrade' doe, dan krijg ik:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  cups-pk-helper gir1.2-atk-1.0 gir1.2-gdkpixbuf-2.0 gir1.2-gtk-3.0 
gir1.2-notify-0.7 gir1.2-packagekitglib-1.0 gir1.2-pango-1.0
  gir1.2-polkit-1.0 gir1.2-secret-1 libappstream4 libpackagekit-glib2-18 
libpangoxft-1.0-0 libstemmer0d packagekit packagekit-tools
  python3-cairo python3-certifi python3-chardet python3-cups 
python3-cupshelpers python3-idna python3-requests python3-smbc
  python3-urllib3 system-config-printer system-config-printer-common 
system-config-printer-udev
The following packages will be upgraded:
  chromium chromium-common chromium-driver chromium-l10n chromium-sandbox 
chromium-shell
6 upgraded, 27 newly installed, 0 to remove and 0 not upgraded.
Need to get 106 MB of archives.
After this operation, 38.4 MB of additional disk space will be used.
Do you want to continue? [Y/n]

Terwijl wanneer ik 'apt-get upgrade' doe ik krijg:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  chromium chromium-common chromium-driver chromium-l10n chromium-sandbox 
chromium-shell
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.

Ik weet het niet 100% zeker, maar volgens mij gebeurd dit pas sinds
kort. Er staat me bij dat apt van de week is geupdated.

Wat is hier aan de hand en is er wat tegen te doen?

-- 
Cecil Westerhof
Senior Software Engineer
LinkedIn: http://www.linkedin.com/in/cecilwesterhof



Re: Open Source Flash Alternatives

2021-01-01 Thread Kenneth Parker
On Fri, Jan 1, 2021, 10:29 AM Kenneth Parker  wrote:

> Since Adobe Flash is going the way of the Dodo Bird, I thought I'd check
> up on Open Source Alternatives, since I have some Standalone .swf files
> (games, etc).
>
> Two came up in my searches, Lightspark (which seems to be, mainly a
> Plug-in), and Ghu Gnash, which I like better, since it works as a
> Standalone Program.  Unfortunately, it doesn't seem available in Bullseye
> (and Search didn't find it for Buster either).  It DOES show up in Stretch,
> but that's on a different machine than where my .swf files are.
>

Update:  I just installed Stretch in QEMU-KVM in my "Knockabout" Mint 20
system and was able to install Gnash on it.  I did a bit of research into
Gnu Gnash, seeing that it may not be currently maintained.  I wonder if
that decision was made before Flash was going Extinct?

I don't consider this closed, because of the large number of Standalone
.swf files. But I have something to test and, may contact gnu.org about
Gnash.

Kenneth Parker

>


Re: openvpn --route-up et --route-pre-down

2021-01-01 Thread no way
Salut,

Il te manque pas le shebang (#!/bin/bash) dans ton script bash ??

On Sat, Jan 2, 2021 at 12:02 AM Jean-Marc  wrote:

> Le 1/01/21 à 18:28, NoSpam a écrit :
> > Perso j'utilise
> >
> > script-security 2
> > up "/etc/openvpn/update-routeAndmask"
> > down "/etc/openvpn/update-routeAndmask"
>
> À peu de chose près, ce que j'ai fait aussi :
> script-security 2
>
> up /etc/openvpn/client/neutrinet/neutrinet-test
>
>
> $ cat /etc/openvpn/client/neutrinet/neutrinet-test
>
> /bin/echo test logging > /tmp/openvpn.log
>
>
> $ cat /tmp/openvpn.log
>
> test logging
>
>
> Ce simple script n'est jamais exécuté quand le client openvpn démarre.
>
> Les dernières lignes du log sont celles-ci :
> [...]
> /etc/openvpn/client/neutrinet/neutrinet-test tun0 1500 1570
> 80.67.181.137 255.255.255.128 init
>
> WARNING: Failed running command (--up/--down): could not execute
> external program
>
> Exiting due to fatal error
>
>
>
>
> --
> Jean-Marc
>
>


Re: openvpn --route-up et --route-pre-down

2021-01-01 Thread Jean-Marc
Le 1/01/21 à 18:28, NoSpam a écrit :
> Perso j'utilise
> 
> script-security 2
> up "/etc/openvpn/update-routeAndmask"
> down "/etc/openvpn/update-routeAndmask"

À peu de chose près, ce que j'ai fait aussi :
script-security 2

up /etc/openvpn/client/neutrinet/neutrinet-test


$ cat /etc/openvpn/client/neutrinet/neutrinet-test

/bin/echo test logging > /tmp/openvpn.log


$ cat /tmp/openvpn.log

test logging


Ce simple script n'est jamais exécuté quand le client openvpn démarre.

Les dernières lignes du log sont celles-ci :
[...]
/etc/openvpn/client/neutrinet/neutrinet-test tun0 1500 1570
80.67.181.137 255.255.255.128 init

WARNING: Failed running command (--up/--down): could not execute
external program

Exiting due to fatal error




-- 
Jean-Marc



OpenPGP_signature
Description: OpenPGP digital signature


Re: mdadm usage

2021-01-01 Thread deloptes
Andy Smith wrote:

> That is a really strange comment to me. No SSDs have batteries.
> Almost no RAID cards have batteries anymore. Supercapacitors have
> obsoleted the battery for such purposes. All SSD power loss
> protection is supercaps. And if you try to buy a modern RAID card
> with a BBU you will mostly just find cards with supercaps instead.
> But OP was asking about SSDs not RAID cards so even that nuance
> doesn't make much sense.
> 
> But okay, your SSD doesn't have pink elephants either. Samsung can
> dance around that fact all they want.

I have LSI controllers that support SATA II. This is a custom build home
server (small business server) one friend assembled for me 8y ago.
It fits my needs perfectly well. I deliberately did not buy a server as they
consume much more power. This one is running at 70-80Watt when normal and
100-120 when for example compiling something. Also noise factor is very low
compared to a real server. Of course there are limits
(memory/CPU/periferals). The machine is on UPS - I don't care about tantal
super caps. 
Each LSI card has a 6 bay cage attached and I have raided 6x2TB WD RED
spinning discs (for data) and 2x1TB WD RED spinning discs (for OS)

I somehow can not convince myself that I need to replace any of these with
SSDs.
I don't want the cheapest but also not unnecessary expensive drives, I just
find it hard to evaluate which drives are reliable.

I saw there are 1TB WD RED SSDs targeting NAS for about €120,-
 WESTERN DIGITAL WD RED SA500 NAS 1TB SATA (WDS100T1R0A)





Re: Label printer Debian compatible

2021-01-01 Thread Tom Browder
On Fri, Jan 1, 2021 at 11:58 Russell L. Harris  wrote:

> On Fri, Jan 01, 2021 at 05:26:15AM -0600, Tom Browder wrote:
> >On Thu, Dec 31, 2020 at 21:12 Russell L. Harris 
> wrote:
> >
> >OKI Microline 320 Turbo via USB
> >CUPS ("raw" = no driver)
> >tractor-feed labels
> >
> >
> >Forgive my ignorance, but how would I get data to the printer in the form
> I
> >want?  Am I going to have to use some low-level format or proprietary
> codes for
> >the device?
>
> Tom,
>
> My scheme is crude, but it works for the 9-pin printer with 3-1/2 x
> 1-7/16 labels (Avery # 4060).
>
> I keep a directory in which each file is a 9-line (unformatted)
> address label, as per this template:
>
> 1 - alignment: this line should print
> 2
> 3 - print line #1
> 4 - print line #2
> 5 - print line #3
> 6 - print line #4
> 7 - print line #5
> 8
> 9 - blank line with Carriage Return at end
>
> and this sample (rlh-pobox):
>
>
>
> Russell L. Harris
> Post Office Box 89
> Smithville, Texas 78957
>
>
>
> To print three copies of the label, I use the command:
>
> lpr -P oki -# 3 rlh-pobox
>
> Printing 3 labels positions one above the tear-off point.
>
> Sometimes when printing several label files, the printer starts on the
> wrong line (not the first line of the label), necessitating alignment.
> Perhaps I miscounted lines on some of the labels.
>
> I use the local panel on the printer to select the font and pitch.
>
> I can provide CUPS setup, but with some difficulty due to a stroke I
> suffered two months ago which severely inhibits my ability to type.
>
> RLH


Thanks, Russell.

-Tom


Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-01 Thread Charles Curley
On Fri, 1 Jan 2021 19:52:40 +0100
 wrote:

> > >   ahost ~# ln -s ~auser/.Xauthority .Xauthority  
> > 
> > Bingo! That, rather than copying .Xauthority, gave me a fix.  
> 
> Huh? That is strange. I mean: great it worked for you, but I'd
> like to learn what is going on there :-)

I quite agree. Someone else will have to answer that.

We will see if it continues to work -- or continues to be necessary --
across multiple installations.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/


pgpnHBnGxsVRu.pgp
Description: OpenPGP digital signature


Re: Webcam resolution in VLC (and elsewhere)

2021-01-01 Thread Celejar
On Fri, 1 Jan 2021 12:41:38 -0500
Michael Stone  wrote:

> On Fri, Jan 01, 2021 at 09:50:00AM -0500, Celejar wrote:
> >On Thu, 31 Dec 2020 11:13:54 -0500
> >Michael Stone  wrote:
> >
> >> On Thu, Dec 31, 2020 at 10:59:36AM -0500, Celejar wrote:
> >> >I don't know how to evaluate this. But still, if the camera is
> >> >reporting 720p, shouldn't the applications default to that?
> >>
> >> The optical quality on most small web cams is so bad that increasing the
> >> resolution just means significantly more bandwidth is used to produce a
> >> picture that's visually indistinguishable from the lower resolution
> >> version. Most video chat applications will downsample a high res image
> >> anyway, so generating a high res stream is just making more work. There
> >> are cameras and applications where the increased resolution matter, but
> >> they're the exception IME.
> >
> >Very interesting, thanks. Zoom does offer standard HD and even FHD in
> >some cases:
> 
> "Note: Due to recent events with COVID-19, meetings in 720p-quality 
> video are only available to Pro account users or higher, and only for 
> meetings with a maximum of 2 participants; 1080p quality is for 
> special-use cases currently."

Yes - that's what it says on the page that I linked to. And I have a
Pro account at work, and I often have extended one-on-one meetings with
a total of exactly two participants ;)

https://support.zoom.us/hc/en-us/articles/115002595343-Video-enhancements#h_01EEEKVD06W1QDZ5GXCS2B9KYN

Celejar



Re: [OT] Sectores defectuosos detectados con Smartd en disco con PROXMOX instalado.

2021-01-01 Thread Ramses
El 1 de enero de 2021 21:49:47 CET, "Camaleón"  escribió:
>El 2021-01-01 a las 21:07 +0100, Ramses escribió:
>
>> Hola a tod@s,
>> 
>> Tengo un equipo de pruebas, con PROXMOX instalado, que ha sufrido
>varios apagados por corte de luz.
>> 
>> Al arrancar me notifica errores de sectores defectuosos detectados
>por Smartd y me salían muchos mensajes por consola informando de
>mensajes de lectura en sectores.
>> 
>> He reinstalado el equipo, a ver si recuperaba los sectores, y ahora
>no me salen los mensajes por Consola, pero el PROXMOX, me envía un
>mensaje diario de información:
>> 
>> 
>> The following warning/error was logged by the smartd daemon:
>> 
>> Device: /dev/sda [SAT], 22 Offline uncorrectable sectors
>> 
>> Device info:
>> WDC WD20EARX-00PASB0, S/N:WD-WCAZAD977112, WWN:5-0014ee-1af59b858,
>FW:51.0AB51, 2.00 TB
>> 
>> For details see host's SYSLOG.
>> 
>> You can also use the smartctl utility for further investigation.
>> 
>> 
>> Pongo la consulta aquí porque PROXMOX está montado sobre Debian y lo
>mismo me podéis echar una mano.
>> 
>> He estado leyendo y creo que, arrancando con un Live-CD de Debian,
>con badblocks y fsck podría intentar recuperar los sectores
>defectuosos, ¿o toca cambiar el disco?.
>> 
>> ¿Alguien con experiencia en este tema que me pueda pasar los comandos
>exactos para intentar recuperar los sectores?
>
>Lo mejor es que uses la herramienta de WD para detectar errores, o 
>SeaTools de Seagate (es una LiveCD), que si detecta algún sector 
>defectuoso lo marcará para que no lo lea el disco duro. Eso sí, si el 
>disco está dañado y los sectores van aumentando, tendrás que 
>reemplazarlo.
>
>https://www.seagate.com/es/es/support/game-drives/playstation/seatools-dos-master/
>
>Saludos,

Camaleón, el disco es un WD: 

- ¿Se puede usar la herramienta de Seagate?

- ¿Esas herramientas son destructivas?

- ¿Entonces con badblocks y fsck, que creo que tiene alguna forma no 
destructiva, nada?


Saludos y gracias.



Re: [OT] Sectores defectuosos detectados con Smartd en disco con PROXMOX instalado.

2021-01-01 Thread Camaleón
El 2021-01-01 a las 21:07 +0100, Ramses escribió:

> Hola a tod@s,
> 
> Tengo un equipo de pruebas, con PROXMOX instalado, que ha sufrido varios 
> apagados por corte de luz.
> 
> Al arrancar me notifica errores de sectores defectuosos detectados por Smartd 
> y me salían muchos mensajes por consola informando de mensajes de lectura en 
> sectores.
> 
> He reinstalado el equipo, a ver si recuperaba los sectores, y ahora no me 
> salen los mensajes por Consola, pero el PROXMOX, me envía un mensaje diario 
> de información:
> 
> 
> The following warning/error was logged by the smartd daemon:
> 
> Device: /dev/sda [SAT], 22 Offline uncorrectable sectors
> 
> Device info:
> WDC WD20EARX-00PASB0, S/N:WD-WCAZAD977112, WWN:5-0014ee-1af59b858, 
> FW:51.0AB51, 2.00 TB
> 
> For details see host's SYSLOG.
> 
> You can also use the smartctl utility for further investigation.
> 
> 
> Pongo la consulta aquí porque PROXMOX está montado sobre Debian y lo mismo me 
> podéis echar una mano.
> 
> He estado leyendo y creo que, arrancando con un Live-CD de Debian, con 
> badblocks y fsck podría intentar recuperar los sectores defectuosos, ¿o toca 
> cambiar el disco?.
> 
> ¿Alguien con experiencia en este tema que me pueda pasar los comandos exactos 
> para intentar recuperar los sectores?

Lo mejor es que uses la herramienta de WD para detectar errores, o 
SeaTools de Seagate (es una LiveCD), que si detecta algún sector 
defectuoso lo marcará para que no lo lea el disco duro. Eso sí, si el 
disco está dañado y los sectores van aumentando, tendrás que 
reemplazarlo.

https://www.seagate.com/es/es/support/game-drives/playstation/seatools-dos-master/

Saludos,

-- 
Camaleón 



Re: recommendations for supported, affordable hardware raid controller.

2021-01-01 Thread Michael Stone

On Fri, Jan 01, 2021 at 01:06:47PM -0500, Steven Mainor wrote:
I'm looking for recommendations for a 6 or 8 port SATA hardware raid 
controller that will hopefully be supported by the kernel and/or open 
source drivers to put in my desktop computer. Any input welcome, 
thanks.


Revenue generating system? Areca with a BBU. I wouldn't spend that much 
myself on a home system, and I also don't have a home system large 
enough that there'd be a noticeable performance difference even after 
spending the money. Where something like that is helpful is if you have 
a large number of disks in a RAID6--the nvram cache keeps the write 
performance from being terrible. There are ways to do that now with 
linux software RAID, but the additional complication and less common 
configuration makes the easy hardware solution very attractive. If 
you're doing RAID1 or you don't highly value small block write 
performance then the md software solution will do just as well. 
Depending on your requirements you might also consider lvm mirrors; the 
nice thing about those especially in a home environment is that you can 
selectively mirror critical data and stripe stuff you don't care if you 
lose and relatively easily reallocate storage between different 
strategies on the fly. 



[OT] Sectores defectuosos detectados con Smartd en disco con PROXMOX instalado.

2021-01-01 Thread Ramses
Hola a tod@s,

Tengo un equipo de pruebas, con PROXMOX instalado, que ha sufrido varios 
apagados por corte de luz.

Al arrancar me notifica errores de sectores defectuosos detectados por Smartd y 
me salían muchos mensajes por consola informando de mensajes de lectura en 
sectores.

He reinstalado el equipo, a ver si recuperaba los sectores, y ahora no me salen 
los mensajes por Consola, pero el PROXMOX, me envía un mensaje diario de 
información:


The following warning/error was logged by the smartd daemon:

Device: /dev/sda [SAT], 22 Offline uncorrectable sectors

Device info:
WDC WD20EARX-00PASB0, S/N:WD-WCAZAD977112, WWN:5-0014ee-1af59b858, FW:51.0AB51, 
2.00 TB

For details see host's SYSLOG.

You can also use the smartctl utility for further investigation.


Pongo la consulta aquí porque PROXMOX está montado sobre Debian y lo mismo me 
podéis echar una mano.

He estado leyendo y creo que, arrancando con un Live-CD de Debian, con 
badblocks y fsck podría intentar recuperar los sectores defectuosos, ¿o toca 
cambiar el disco?.

¿Alguien con experiencia en este tema que me pueda pasar los comandos exactos 
para intentar recuperar los sectores?


Gracias y saludos



Re: recommendations for supported, affordable hardware raid controller.

2021-01-01 Thread David Christensen

On 2021-01-01 10:06, Steven Mainor wrote:
I'm looking for recommendations for a 6 or 8 port SATA hardware raid 
controller that will hopefully be supported by the kernel and/or open 
source drivers to put in my desktop computer. Any input welcome, thanks.


Why?


What is your computer?


What Debian?


What Linux?


What application(s)?


What is your network/ environment?


David



Re: recommendations for supported, affordable hardware raid controller.

2021-01-01 Thread Sven Hartge
Dan Ritter  wrote:
> Steven Mainor wrote: 

>> I'm looking for recommendations for a 6 or 8 port SATA hardware raid
>> controller that will hopefully be supported by the kernel and/or open
>> source drivers to put in my desktop computer. Any input welcome,
>> thanks.

> Having used them for 20+ years now, I strongly recommend against
> hardware RAID controllers. Hardware SAS/SATA interfaces with mdadm or
> ZFS are better in every one of my use cases.

I second that motion.

Unless using Windows or ESXi outside VSAN you better avoid RAID
controllers. More hassle than gain, IMHO.

Grüße,
Sven.

-- 
Sigmentation fault. Core dumped.



Re: recommendations for supported, affordable hardware raid controller.

2021-01-01 Thread Alexander V. Makartsev

On 01.01.2021 23:06, Steven Mainor wrote:
I'm looking for recommendations for a 6 or 8 port SATA hardware raid 
controller that will hopefully be supported by the kernel and/or open 
source drivers to put in my desktop computer. Any input welcome, thanks.


Over the years I've been fond of RAID adapters from LSI Logic (now 
bought by Broadcom) [1] and Intel [2].
They have good support, nice and clean internal software used to manage 
arrays and settings.
However, depending on what your goals are, they could be an overkill for 
a desktop PC and you might be better look for HBA (Host Bus Adapter) to 
connect disks in JBOD (pass-through mode) and use software RAID 
solutions supported by OS of your choice.



[1] https://www.broadcom.com/products/storage
[2] https://www.intel.com/content/www/us/en/products/servers/raid.html

--
With kindest regards, Alexander.

⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Debian - The universal operating system
⢿⡄⠘⠷⠚⠋⠀ https://www.debian.org
⠈⠳⣄



Re: recommendations for supported, affordable hardware raid controller.

2021-01-01 Thread Dan Ritter
Steven Mainor wrote: 
> I'm looking for recommendations for a 6 or 8 port SATA hardware raid
> controller that will hopefully be supported by the kernel and/or open source
> drivers to put in my desktop computer. Any input welcome, thanks.

Having used them for 20+ years now, I strongly recommend against
hardware RAID controllers. Hardware SAS/SATA interfaces with
mdadm or ZFS are better in every one of my use cases.

That said, the best devices of these kinds are basically the
same:

LSI 2000 and 3000 series
Broadcom BR93xx
Areca anything
Carefully picked Adaptecs

-dsr-



Re: [SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-01 Thread tomas
On Fri, Jan 01, 2021 at 10:24:44AM -0700, Charles Curley wrote:
> On Thu, 31 Dec 2020 22:30:34 -0600
> David Wright  wrote:
> 
> >   $ /bin/su -
> >   Password:
> >   ahost ~# xeyes -display :0.0
> >   Xlib: connection to ":0.0" refused by server
> >   Xlib: Client is not authorized to connect to Server
> >   Error: Can't open display: :0.0
> >   ahost ~# ln -s ~auser/.Xauthority .Xauthority
> 
> Bingo! That, rather than copying .Xauthority, gave me a fix.

Huh? That is strange. I mean: great it worked for you, but I'd
like to learn what is going on there :-)

> Thank you.
> Now to automate carrying $DISPLAY over. Probably with an alias for su:
> 
> alias su="su -w DISPLAY"
> 
> 
> > Whitelisting with -w should do nothing for you—knowing the display's
> > location doesn't authorise you to use it.
> 
> True, but that gets $DISPLAY set up for root.

Alternatively you can tweak your /etc/security/pam_env.conf (or 
$HOME/.pam_environment).

See man pam_env(7) and man pam_env.conf(5) for details.

Cheers
 - t


signature.asc
Description: Digital signature


recommendations for supported, affordable hardware raid controller.

2021-01-01 Thread Steven Mainor
I'm looking for recommendations for a 6 or 8 port SATA hardware raid 
controller that will hopefully be supported by the kernel and/or open 
source drivers to put in my desktop computer. Any input welcome, thanks.


--
Steven Mainor

0x9477C19B.asc
Description: application/pgp-keys


signature.asc
Description: OpenPGP digital signature


[SOLUTION] Re: Bullseye: setting and using $DISPLAY after su -

2021-01-01 Thread Charles Curley
On Thu, 31 Dec 2020 22:30:34 -0600
David Wright  wrote:

>   $ /bin/su -
>   Password:
>   ahost ~# xeyes -display :0.0
>   Xlib: connection to ":0.0" refused by server
>   Xlib: Client is not authorized to connect to Server
>   Error: Can't open display: :0.0
>   ahost ~# ln -s ~auser/.Xauthority .Xauthority

Bingo! That, rather than copying .Xauthority, gave me a fix. Thank you.
Now to automate carrying $DISPLAY over. Probably with an alias for su:

alias su="su -w DISPLAY"


> Whitelisting with -w should do nothing for you—knowing the display's
> location doesn't authorise you to use it.

True, but that gets $DISPLAY set up for root.

-- 
Does anybody read signatures any more?

https://charlescurley.com
https://charlescurley.com/blog/



Re: Webcam resolution in VLC (and elsewhere)

2021-01-01 Thread Michael Stone

On Fri, Jan 01, 2021 at 09:50:00AM -0500, Celejar wrote:

On Thu, 31 Dec 2020 11:13:54 -0500
Michael Stone  wrote:


On Thu, Dec 31, 2020 at 10:59:36AM -0500, Celejar wrote:
>I don't know how to evaluate this. But still, if the camera is
>reporting 720p, shouldn't the applications default to that?

The optical quality on most small web cams is so bad that increasing the
resolution just means significantly more bandwidth is used to produce a
picture that's visually indistinguishable from the lower resolution
version. Most video chat applications will downsample a high res image
anyway, so generating a high res stream is just making more work. There
are cameras and applications where the increased resolution matter, but
they're the exception IME.


Very interesting, thanks. Zoom does offer standard HD and even FHD in
some cases:


"Note: Due to recent events with COVID-19, meetings in 720p-quality 
video are only available to Pro account users or higher, and only for 
meetings with a maximum of 2 participants; 1080p quality is for 
special-use cases currently."




Re: openvpn --route-up et --route-pre-down

2021-01-01 Thread NoSpam

Bonjour et bonne année à tous

Le 01/01/2021 à 16:09, Jean-Marc a écrit :

salut la liste,

quelqu'un connaît un peu openvpn ?

J'ai un serveur Debian stable avec un client openvpn.

J'essaie sans succès d'appeler 2 scripts pendant l'init de mon vpn.

J'utilise les paramètres route-up et route-pre-down pour ce faire, j'ai,
comme indiqué dans le man, changé la valeur de script-security à 2 pour
permettre l'appel de scripts persos mais ça ne fonctionne pas.

Je me retrouve avec l'erreur suivante :

WARNING: Failed running command (--route-up): could not execute external
program

Si j'exécute les scripts à la main, pas de soucis.

J'ai cherché sur le net mais je n'ai rien trouvé de bien probant.

Toute suggestion bienvenue.

Debian 10.7
Linux 4.19.0-13-armmp #1 SMP Debian 4.19.160-2 (2020-11-28) armv7l GNU/Linux

openvpn 2.4.7-1


Perso j'utilise

script-security 2
up "/etc/openvpn/update-routeAndmask"
down "/etc/openvpn/update-routeAndmask"

--
Daniel



Re: who is tracking me?

2021-01-01 Thread ghe2001
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256



‐‐‐ Original Message ‐‐‐
On Friday, January 1, 2021 8:58 AM, Mike McClain  wrote:

> My old PIII died and I replaced it with a Raspberry PI running
> the Raspbian derivative of Debian.
> It's clear just from the cookies that PaleMoon browser and
> Chromium call home every time they are used.
> The number of other apps that are keeping history of my
> usage/transactions that I see no need for is many.
> What tools need I use to see what sites on the Inet are contacted?

Firefox and the EFF addOn, Privacy Badger?

(Didn't know that about Chromium...)

--
Glenn English
-BEGIN PGP SIGNATURE-
Version: ProtonMail

wsBzBAEBCAAGBQJf71NpACEJEJ/XhjGCrIwyFiEELKJzD0JScCVjQA2Xn9eG
MYKsjDIwMgf/Qm/yoJKXOUjo2vrtZyXiUJWxlll2Xyommlo+7kY9qe2+Dgym
dFhTs9Vrt+8yi3DyJbFfuc9xtyIvoy01i8+FI7gfBdntaVoio0b8vcoW8Yid
hLkOlR0mpKM1WwOh45Z6ZAOOE87YNap/B1lt1bZieMxDsDurMzPrWdX5sbs8
uF5IaoR2CqVRonqycEPD5fQc6/fhdGzEMML1DWVW0ybJuee8h/bTtcDUKC0d
qg4+ilbe3E4khDW9AAAD8A4L0j1sjZGNje7lJ1AD4q6joVBArFTN8ZU5ge9A
l2bxiit2mWVfO7L08s8+O79S4TepPx/PtsekR63RILKChF6/6PlQ7g==
=GrG+
-END PGP SIGNATURE-



Re: who is tracking me?

2021-01-01 Thread Dan Ritter
Mike McClain wrote: 
> My old PIII died and I replaced it with a Raspberry PI running
> the Raspbian derivative of Debian.
> It's clear just from the cookies that PaleMoon browser and
> Chromium call home every time they are used.
> The number of other apps that are keeping history of my
> usage/transactions that I see no need for is many.
> What tools need I use to see what sites on the Inet are contacted?


You can do an awful lot, depending on how much work you want to 
put into it.

Installing uBlock Origin on your browser is a minimal step. Turn
on the logging.

You can take charge of your DNS in a number of ways.

You can record all your network activity.

How deep down the rabbit hole do you want to go?

-dsr-



Re: who is tracking me?

2021-01-01 Thread Nicholas Geovanis
I use the kernel packet filtering rules to examine outgoing packets'
destinations. You can do this in real-time and block or rewrite outgoing
packets if you wish.

On Fri, Jan 1, 2021, 10:21 AM Mike McClain  wrote:

> My old PIII died and I replaced it with a Raspberry PI running
> the Raspbian derivative of Debian.
> It's clear just from the cookies that PaleMoon browser and
> Chromium call home every time they are used.
> The number of other apps that are keeping history of my
> usage/transactions that I see no need for is many.
> What tools need I use to see what sites on the Inet are contacted?
> Thanks,
> Mike
> --
> "Most people are about as happy as they make up their minds to be."
> - Abraham Lincoln
>
>


Re: who is tracking me?

2021-01-01 Thread Weaver
On 02-01-2021 01:58, Mike McClain wrote:
> My old PIII died and I replaced it with a Raspberry PI running
> the Raspbian derivative of Debian.
> It's clear just from the cookies that PaleMoon browser and
> Chromium call home every time they are used.
> The number of other apps that are keeping history of my
> usage/transactions that I see no need for is many.
> What tools need I use to see what sites on the Inet are contacted?

Well, this one's for Firefox, but that's more secure than most:

https://addons.mozilla.org/en-US/firefox/addon/lightbeam-3-0/

Dropping by Adobe, and then checking out who they associate with is
interesting.

Using duckduckgo for searching, rather than Google helps a lot.
And installing NoScript works.
Cheers!

Harry.

-- 
`We'll know our disinformation program is complete when
 everything the American public believes is false'.
 -- William Casey, CIA Director (first staff meeting, 1981)



who is tracking me?

2021-01-01 Thread Mike McClain
My old PIII died and I replaced it with a Raspberry PI running
the Raspbian derivative of Debian.
It's clear just from the cookies that PaleMoon browser and
Chromium call home every time they are used.
The number of other apps that are keeping history of my
usage/transactions that I see no need for is many.
What tools need I use to see what sites on the Inet are contacted?
Thanks,
Mike
--
"Most people are about as happy as they make up their minds to be."
- Abraham Lincoln



openvpn --route-up et --route-pre-down

2021-01-01 Thread Jean-Marc
salut la liste,

quelqu'un connaît un peu openvpn ?

J'ai un serveur Debian stable avec un client openvpn.

J'essaie sans succès d'appeler 2 scripts pendant l'init de mon vpn.

J'utilise les paramètres route-up et route-pre-down pour ce faire, j'ai,
comme indiqué dans le man, changé la valeur de script-security à 2 pour
permettre l'appel de scripts persos mais ça ne fonctionne pas.

Je me retrouve avec l'erreur suivante :

WARNING: Failed running command (--route-up): could not execute external
program

Si j'exécute les scripts à la main, pas de soucis.

J'ai cherché sur le net mais je n'ai rien trouvé de bien probant.

Toute suggestion bienvenue.

Debian 10.7
Linux 4.19.0-13-armmp #1 SMP Debian 4.19.160-2 (2020-11-28) armv7l GNU/Linux

openvpn 2.4.7-1


-- 
Jean-Marc



Open Source Flash Alternatives

2021-01-01 Thread Kenneth Parker
Since Adobe Flash is going the way of the Dodo Bird, I thought I'd check up
on Open Source Alternatives, since I have some Standalone .swf files
(games, etc).

Two came up in my searches, Lightspark (which seems to be, mainly a
Plug-in), and Ghu Gnash, which I like better, since it works as a
Standalone Program.  Unfortunately, it doesn't seem available in Bullseye
(and Search didn't find it for Buster either).  It DOES show up in Stretch,
but that's on a different machine than where my .swf files are.

What's up?

Thanks!

Kenneth Parker


Re: Webcam resolution in VLC (and elsewhere)

2021-01-01 Thread Celejar
On Thu, 31 Dec 2020 11:13:54 -0500
Michael Stone  wrote:

> On Thu, Dec 31, 2020 at 10:59:36AM -0500, Celejar wrote:
> >I don't know how to evaluate this. But still, if the camera is
> >reporting 720p, shouldn't the applications default to that?
> 
> The optical quality on most small web cams is so bad that increasing the 
> resolution just means significantly more bandwidth is used to produce a 
> picture that's visually indistinguishable from the lower resolution 
> version. Most video chat applications will downsample a high res image 
> anyway, so generating a high res stream is just making more work. There 
> are cameras and applications where the increased resolution matter, but 
> they're the exception IME.

Very interesting, thanks. Zoom does offer standard HD and even FHD in
some cases:

https://support.zoom.us/hc/en-us/articles/115002595343-Video-enhancements#h_01EEEKVD06W1QDZ5GXCS2B9KYN
https://support.zoom.us/hc/en-us/articles/207347086-Group-HD

Celejar



Re: Webcam resolution in VLC (and elsewhere)

2021-01-01 Thread Celejar
On Thu, 31 Dec 2020 21:48:33 +0100
Eugen Dedu  wrote:

> Hi Celejar,
> 
> To find out the capabilities of your camera, you can install v4l-utils 
> and execute:
> v4l2-ctl --list-devices
> v4l2-ctl -d /dev/video0 --list-formats
> v4l2-ctl -d /dev/video0 --list-formats-ext
> Check also the other /dev/video* files.
> 
> Another method is to use qv4l2 (provided by the homonym package), which 
> is very user-friendly and I think it uses v4l2-ctl to find information.

Thanks. I used the lsusb method described here:

https://askubuntu.com/questions/214977/how-can-i-find-out-the-supported-webcam-resolutions

> The above information comes from 
> https://wiki.archlinux.org/index.php/webcam_setup.
> 
> Cheese and vlc must not be used to find out available resolutions.  On 
> my Dell built-in webcam both show 640x480 and below, whereas my camera 
> supports 1280x720, as given by the laptop specification and 
> v4l2-ctl/qv4l2.  As about why do these applications use this resolution, 
> I do not have any idea.

Interesting. On my machine, Cheese does seem to correctly list the
available resolutions.

Thanks again,

Celejar



Re: Firefox ESR is not properly rendering Google pages

2021-01-01 Thread The Wanderer
On 2021-01-01 at 07:45, Bineeth C R wrote:

> Firefox ESR is not properly rendering Google pages,
> 
> I've started observing this issue after switching to Debian Testing,
> recently.
> 
> Please refer to the screenshot below.
> 
> [image: image.png]

That's not something specific to Firefox, or to Google. Those glyphs are
what gets displayed when you don't have the correct font installed for
that Unicode code point.

Each of those blocks probably represents the name of a language, that
doesn't use Roman letters, written in that language itself.

If this only started happening recently, I'd guess either it's a
coincidence of timing (i.e., Google happens to have started displaying
those languages on its front page during the same time period), or
something different about your browser config is now telling Google that
it should display those languages there when your previous config did
not do so.

What you need to do is identify those languages, then identify the
character sets they use, then identify fonts which contain glyphs for
those character sets, then install those fonts. (And then at least
reload the page, if not outright restart the browser.)

Reco already suggested one font package (pair) to install for at least
one such language; whether that will be enough for all of the ones in
use there I don't know.


The language for a given glyph can usually be identified well enough by
searching for 'Unicode [glyph hex values]'. For example, the hex value
pair displayed in the very last glyph in that image is '0A 40'; a Google
search for 'Unicode 0a40' reveals that that glyph is from Gurmukhi.

From there, 'apt-cache search gurmukhi' finds two relevant package sets:
'fonts-guru-extra' and the 'fonts-noto-*' packages which Reco already
suggested.

If you encounter similar "missing" glyphs displayed as hex-value boxes
like that in the future, even with those font packages already present,
the same basic approach should let you get them displaying.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw



signature.asc
Description: OpenPGP digital signature


Re: Firefox ESR is not properly rendering Google pages

2021-01-01 Thread Reco
Hi.

On Fri, Jan 01, 2021 at 06:15:37PM +0530, Bineeth C R wrote:
> Firefox ESR is not properly rendering Google pages,

It's rather - firefox lacks the proper font to display Devanagari and
other languages referenced by your screenshot.

Judging from the result of "fc-list :charset=0939", you need to install
"fonts-noto-core" and "fonts-noto-ui-core", if you want to display those
glyphs.

Reco



Firefox ESR is not properly rendering Google pages

2021-01-01 Thread Bineeth C R
> Firefox ESR is not properly rendering Google pages,
>
> I've started observing this issue after switching to Debian Testing,
> recently.
>
> Please refer to the screenshot below.
>
> [image: image.png]
>
> Tried installing *firefox-esr-l10n-all* and clear the
> cache/history/cookies. But, still no luck.
>
> Any help would be appreciated.
>
> --
> Thanks in advance,
> Bineeth
>
>
>


Re: Label printer Debian compatible

2021-01-01 Thread Jeremy Ardley


On 1/1/21 7:20 pm, Tom Browder wrote:



On Thu, Dec 31, 2020 at 16:40 Jeremy Ardley > wrote:

On 1/1/21 6:12 am, Tom Browder wrote:


Has anyone had any success driving a mailing label printer for
mailing labels from either a LAN or direct connection with a
Linux box?


...


I I have a label printer running under cups on my Debian linux
system. I



Jeremy, that sounds great. A few questions:

+ exact model of printer
+ would you share the cups and driver info?

Thanks.

-Tom


No probs. I'll look at publishing code and cups config on github(?)

My exact model is GPrinter 1324D but it's part of a family of printers 
with the same characteristics and command set. There are other 
manufacturers who have the same command set. From my research there are 
only 2 or 3 major command sets for label printers.


There is a windows driver for the GPrinter that can be used to print to 
a CUPS printer share.


--
Jeremy




OpenPGP_signature
Description: OpenPGP digital signature


Re: Unresolved mime type.............

2021-01-01 Thread Charlie
On Fri, 1 Jan 2021 01:26:47 -0800 (PST)
didier gaumet  wrote:

> Hello,
> 
> An unknown MIME type in a desktop environment does not prevent a file
> to be open by an application that can manage it but it prevents
> double-clicking the file because there is no known prefered
> application to open it.
> 
> The MIME page of the Debian wiki:
>  https://wiki.debian.org/MIME
> (if you are using Plasma) the KDE file association page:
>  https://docs.kde.org/trunk5/en/kde-workspace/kcontrol5/filetypes/index.html 
> 

Thank you for the links.
Much appreciated,
Charlie

-- 
Registered Linux User:- 329524

***

To bear trials with a calm mind robs misfortune of its strength
and burden. ---Seneca

***
Debian GNU/Linux - Magic indeed.

-



Re: Label printer Debian compatible

2021-01-01 Thread Tom Browder
On Thu, Dec 31, 2020 at 16:40 Jeremy Ardley  wrote:
On 1/1/21 6:12 am, Tom Browder wrote:

> Has anyone had any success driving a mailing label printer for mailing
> labels from either a LAN or direct connection with a Linux box?
>
> ...

> I I have a label printer running under cups on my Debian linux system. I
>
>
Jeremy, that sounds great. A few questions:

+ exact model of printer
+ would you share the cups and driver info?

Thanks.

-Tom


Re: Unresolved mime type.............

2021-01-01 Thread didier gaumet
Hello,

An unknown MIME type in a desktop environment does not prevent a file to be 
open by an application that can manage it but it prevents double-clicking the 
file because there is no known prefered application to open it.

The MIME page of the Debian wiki:
 https://wiki.debian.org/MIME
(if you are using Plasma) the KDE file association page:
 https://docs.kde.org/trunk5/en/kde-workspace/kcontrol5/filetypes/index.html 



Re: Bullseye: setting and using $DISPLAY after su -

2021-01-01 Thread tomas
On Thu, Dec 31, 2020 at 05:15:40PM -0500, Greg Wooledge wrote:

[...]

> > Most probably you have to copy  the user's [1] ~/.Xauthority file to
> > root's home.
> 
> More typically, since root can usually read the user's files,[2] all
> that's needed is to export the XAUTHORITY variable with the full pathname
> of the user's .Xauthority file.

This will do too, of course.

Cheers
 - t


signature.asc
Description: Digital signature