Re: [HS] recherche script batch pour doublons !

2020-02-09 Thread Contact

Bonjour

fslint (dans les dépôts) vient avec un utilitaire nommé findup

je n'ai jamais utilisé findup (mais j'ai utilisé fslint : ça marche bien)



Fslint est une boîte à outils pour nettoyer la charpie du système de
 fichiers. Il comprend une interface graphique GTK+ ainsi qu'une interface
en ligne de commande et peut être utilisé pour récupérer l'espace disque.
Il possède une interface pour la désinstallation des paquets, et il peut
trouver des choses comme :

   - les fichiers en double
 - les noms de fichiers problématiques
 - les fichiers temporaires
 - les mauvais liens symboliques
 - les répertoires vides
 - les binaires non dénudés




si ça peut aider


Le 10/02/2020 à 06:52, ptilou a écrit :

Bonjour,


J'ai plus de deux terra de données, du à une administration à la "légere" je me 
retrouve avec des doubles voir plus, ne portant pas les même: nom, date, etc ...

J'ai fait des sauvegardes, et je cherche un script batch libre, mais je peut 
utiliser perl, aussi, pour avoir un disque de travail plus petit !

Quelqu'un peut me donner le script ?

Merci





Re: [HS] recherche script batch pour doublons !

2020-02-09 Thread Manioul

Bonjour,

fdupes ?

On 09/02/2020 19:52, ptilou wrote:

Bonjour,


J'ai plus de deux terra de données, du à une administration à la "légere" je me 
retrouve avec des doubles voir plus, ne portant pas les même: nom, date, etc ...

J'ai fait des sauvegardes, et je cherche un script batch libre, mais je peut 
utiliser perl, aussi, pour avoir un disque de travail plus petit !

Quelqu'un peut me donner le script ?

Merci





[HS] recherche script batch pour doublons !

2020-02-09 Thread ptilou
Bonjour,


J'ai plus de deux terra de données, du à une administration à la "légere" je me 
retrouve avec des doubles voir plus, ne portant pas les même: nom, date, etc ...

J'ai fait des sauvegardes, et je cherche un script batch libre, mais je peut 
utiliser perl, aussi, pour avoir un disque de travail plus petit !

Quelqu'un peut me donner le script ?

Merci

-- 
ptilou



Re: Anyone with experience scanning with Epson

2020-02-09 Thread kaye n
Hello Friends! I'm the OP.

Problem solved.

One laptop. Two printers. Epson L220 (USB connected) and Epson L355 (wifi
connected).   I can now print and scan with both printers, one connected
via USB, and the other over wifi.

With regards to scanning, if I have been scanning with L220, then for some
reason I need to switch to wifi scanner L355 to scan something else, all I
need to do is edit /etc/sane.d/epkowa.conf by:

commenting out

*usb 0x04b8 0x08d1*
and uncommenting *net 192.168.X.XXX *(so I can switch to scanning over
wifi).

Unfortunately I'm not sure exactly what got it to work.  I can only tell
you what I installed, and what files I created and edited.

Weird as it is, it seems I have to install these two.  Again, not sure if
it was indeed the solution that got it working.

 *sudo dpkg --install imagescan_3.57.0-1epson4debian8_amd64.deb  *
(which is inside the core folder of this file:
*imagescan-bundle-debian-8-3.57.0.x64.deb.tar.gz)*

and

also using dpkg command on the deb files in the core and data folders of
this file:  *iscan-bundle-1.0.0.x64.deb.tar.gz*

Furthermore, here are some things that I'm not sure is necessary.  I will
leave it as is because everything is working fine and I'm too lazy to rule
out anything that's not needed.

In */etc/sane.d/dll.conf *, notice what is commented and uncommented.

#epjitsu
#epson
#epson2
#epsonds
epkowa

Also, created the files

*/etc/udev/rules.d/49-sane-missing-scanner.rules*
and



*/etc/udev/rules.d/myVendor.rules*
and added the following lines in them:





*SUBSYSTEM=="usb", ATTRS{idVendor}=="04b8", ATTRS{idProduct}==”08d1″,
MODE="0664", GROUP=”scanner”,
ENV{libsane_matched}=”yes"SUBSYSTEM=="usb_device", ATTRS{idVendor}=="04b8",
ATTRS{idProduct}==”08d1″, MODE="0664", GROUP=”scanner”,
ENV{libsane_matched}=”yes"*
That's about all the things I did.  Sorry I can't be more helpful.  Been
using Linux for years but compared to you guys I know next to nothing.

Thank you very much for all your input!

On Sun, Feb 9, 2020 at 8:07 PM Brian  wrote:

> On Sun 09 Feb 2020 at 10:20:54 -, Curt wrote:
>
> > On 2020-02-09, Brian  wrote:
> > >
> > > Against doing this is the fact that Epson does not provide a package
> > > for the L220 that employs the epkowa backend. That is because epkowa
> > > is not meant for that device. Maybe the OP has found this out by now.
> >
> > Did you tell the OP that? I missed it. Oh, I see you asked what file the
> > OP downloaded and that question was left hanging without a response.
> >
> > Epson only seems to provide a single generic package for their
> > scanners/multifunction printers.
>
> There is also an iscan-bundle, which has libsane-epkowa.
>
> > http://support.epson.net/linux/en/imagescanv3.php
>
> The imagescan bundle uses libsane-imagescan.
>
> > http://download.ebz.epson.net/man/linux/imagescanv3_e.html#sec6-1
> >
> > I was thrown off by the OP's error message:
> >
> >  Failed to open device 'epkowa:usb:002:003':
>
> The imagescan bundle is what is offered by Epson for the L220 at
>
>   http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX
>
> Permissions on the USB bus wouldn't have been top of my list to look
> at.
>
> > Maybe that's related to the (perhaps unwise) entry the OP added to
> > /etc/sane.d/epkowa.conf. It's true the installation manual linked above
> > makes no mention of it.
> >
> > > (Incidentally, the bug that the Ubuntu advice is targeting is one
> > > that was never present in Debian stable, testing or unstable).
> >
> > That too, I guess.
>
> Ubuntu took the SANE packages from experimental to put into 18.04 LTS.
> You reap what you sow.
>
> --
> Brian.
>
>


Re: Ocultar archivos o carpetas para Windows

2020-02-09 Thread JavierDebian




El 9/2/20 a las 14:26, Ricardo Alejandro García Gómez escribió:

Muy buen día

Me ha encantado debian, muchísimas gracias por su loable labor, con tal 
ya no requeriré para mí de Microsoft Windows.


He probado todos los escritorios disponibles para debian de las imágenes 
vivas y él que más me gusta es KDE Plasma.


Desafortunadamente, no puedo convencer a las personas de mi rededor para 
usar debian y requiero ocultar archivos o carpetas contenidos en 
memorias USB que uso con Windows.


Por favor, me podrían decir como oculto una carpeta o un archivo para 
Windows. Yo sé que para Linux es muy fácil: añadiendo un «.» antes del 
nombre del archivo o carpeta, o creando una lista dentro de un archivo 
de texto llamado «.hidden» en el directorio donde está alojado; ¿pero, 
preferiblemente mediante un método gráfico si es posible, cómo los 
oculto para Windows pues con ambos métodos continúan visibles?


Gracias por su atención.




Si el sistema de archivos es fat32 / ntfs, desde linux no se puede.
En un pendrive, si lo tuyo es reservado, particiona con formato ext3, y 
es casi imposible para un neófito tan siquiera ver qué tiene.

Y si es muy secreto, como los planos de una bomba H, encríptalos.

JAP



Re: Repair bootable USB stick

2020-02-09 Thread David Christensen

On 2020-02-09 14:27, Thomas Schmitt wrote:

   dd if=/dev/zero bs=512 count=2 of=/dev/sdc


When I want to zero-fill a USB flash drive:

1   1M = 1024*1024 byte blocks read and write much faster than 512 byte 
blocks.


2.  I zero-fill the whole flash drive (by omitting 'count'):

a.  Get rid of any leftovers from any source, known or unknown.

b.  Verifies fast.

c.  Once I have written an image:

i.  I know that non-zero bytes came from the image.

ii. If I take an image later, zeroes compress nicely.

3.  Debian provides human-readable /dev/disk/by-id device nodes.  Using 
them reduces the chance that I will blow away the wrong drive.



So, I would suggest the following (adjust device node to suit):

# time dd if=/dev/zero bs=1M 
of=/dev/disk/by-id/usb-SanDisk_Ultra_Fit_-0\:0



Optional:

4.  'status=progress'

5.  'time dd '


David



Re: W: Possible missing firmware

2020-02-09 Thread Jérémy Prego
bonjour,
   
Le 09/02/2020 à 19:33, TScholler a écrit :
> Bonjour, je viens de faire un update/upgrade sur ma debian buster et
> je me retrouve avec les lignes ci-dessous.
> Je crois comprendre qu'il doit s'agir d'un bogue mais je n'en connais
> pas trop la raison ni quoi faire.

il faut installer le paquet: firmware-amd-graphics, qui contient ses
firmware.

dans un pareil cas, apt-file peut aider afin de savoir quel(s) paquet(s)
installer :)
Jerem
>
> Merci d'avance de votre aide.
> TS
>
> update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_asd.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_sos.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_rlc.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_mec2.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_mec.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_me.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_pfp.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_ce.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_sdma1.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_sdma.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_uvd.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_vce.bin for
> module amdgpu
> W: Possible missing firmware /lib/firmware/amdgpu/vega20_smc.bin for
> module amdgpu
>



Re: Repair bootable USB stick

2020-02-09 Thread Thomas Schmitt
Hi,

dd brought your stick into this state. dd should get it out too.

  dd if=/dev/zero bs=512 count=2 of=/dev/sdc

should zap the MBR partition table and the GPT header block.
(Of course verify three times that /dev/sdc is the address of the stick
 before erasing its partition table.)

Then do

  hdparm -z /dev/sdc

or unplug and re-plug the USB stick.
A partition editor should afterwards perceive it as unpartitioned.


> I recently helped a friend install Mint on her computer, [...]
> I now have the problem that I can only format 3.9Gb of the drive.
> "Error deleting partition /dev/sdc1: Failed to read partition table on
> device '/dev/sdc/ (/dev/sdc: unrecognised disk label) (udisks-error-quark,
> 0)"

Mint 64bit ISOs have the same isohybrid layout as Debian amd64 ISOs.
I.e. MBR partition table with nested partitions and outer partition type 0
plus an invalid GPT.

It would be interesting to see whether a more conservative layout would
be more digestible to the partition editors offered by Debian.


Have a nice day :)

Thomas



Repair bootable USB stick

2020-02-09 Thread Jon Magee
I recently helped a friend install Mint on her computer, and I made a 
bootable USB stick using their .iso and dd. It's a 16Gb drive, and the 
.iso was 3.9Gb. I now have the problem that I can only format 3.9Gb of 
the drive.


I'm on Debian 10.2 with KDE. GNOME Disks utility recognizes the device 
as "16 Gb Thumb Drive / Sandisk Cruzer Glide," and it shows three 
partitions: a 2Gb ISO9660 for Mint, a 2.5Mb FAT, and 14Gb free space. It 
also shows partitioning as "Master boot record." But when I press "-" on 
the Mint partition I get the following error:


"Error deleting partition /dev/sdc1: Failed to read partition table on 
device '/dev/sdc/ (/dev/sdc: unrecognised disk label) 
(udisks-error-quark, 0)"


When I try to format the free space, I get this error:

"Don't know how to create partitions this partition table of type 
'(null)' (udisks-error-quark, 0)"


Originally I got an error from GNOME Disks that the device had no 
partition table. I tried the KDE partition editor to no avail. That app 
made a new MS-DOS partition table for the device, but it believed it was 
only 3.9G. Making that partition table has not changed the results in 
Disks, other than to change it from the no partition table error to the 
unrecognized disk label error.


Can anyone offer any help?

Thanks,
jon



Re: libreoffice crash

2020-02-09 Thread Ólafur Jens Sigurðsson
On Sun, Feb 09, 2020 at 01:04:18PM -, Curt wrote:
> On 2020-02-09, Ólafur Jens Sigurðsson  wrote:
> >> 
> >> Even easier is to, from the command line, start 'soffice --safe-mode'
> >
> > Hi, thanks for the suggestions but no luck, still crashes
> 
> I'm uncertain what version you're using in Buster (packages.debian.org
> is not responding from here), but another stab in the darkness would be
> to turn off opengl, which can be done in versions >= 5.3
> 
>  soffice --safe-mode 
>  Select "Configure" -> "Disable Hardware
>  Acceleration (OpenGL, OpenCL)"

Ahh, so sorry, my problem reporting skills are suboptimal at the moment
it seems.

The crash of libreoffice happens immediately, I don't get up any
interface. This is why I ran strace and pasted it in pastebin so someone
who knows how to read strace could perhaps find out what the problem is.

Cheers, Oli



Re: Cross debootstrap without root rights

2020-02-09 Thread Christoph Müllner
Hi Hector,

thanks for the pointer to debos.
That tool seems to fit quite well (especially the ability to invoke user
scripts for customizations),
although access to /dev/kvm is quite some price to pay (but already much
much better than root rights).

Thanks a lot,
Christoph

On Sun, Feb 9, 2020 at 6:14 PM Hector Oron  wrote:
>
> Hello Christoph,
>
> Missatge de Christoph Müllner  del dia dg., 9
> de febr. 2020 a les 12:55:
>
> > I was expecting that fakechroot and fakeroot will do the necessary
"magic"
> > to make chroot work for my use-case, but that's not the case (I need to
have libfakeroot.so
> > and libfakechroot.so in the target rootfs, but I could not find a
reliable way to get them in).
> >
> > I found some emails in the archives about similar use cases (from ~10
years ago).
> > But I failed to identify the solution in those cases.
>
> Nowadays I use debos if I need to create rootless filesystems, you can
> read the following article to get an idea how it works:
> https://ekaia.org/blog/2018/07/03/introducing-debos/
>
> Regards
> --
>  Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.


Re: Cross debootstrap without root rights

2020-02-09 Thread Christoph Müllner
Hi Jonas,

thanks for the pointer.
I was hoping for a solution like mmdebstrap.
Will give it a try or will at least use it as inspiration.

Thanks a lot,
Christoph


On Sun, Feb 9, 2020 at 1:25 PM Jonas Smedegaard  wrote:

> Hi Christoph,
>
> Quoting Christoph Müllner (2020-02-09 12:54:56)
> > I'd like to run the second stage of debootstrap without root rights,
> > but for another architecture (host is x86_64 and target is arm64).
> >
> > I know how to do all that with root rights (i.e qemu-aarch64-static
> > works perfectly here, also, I can recommend using qemu-debootstrap),
> > but I can't figure out a way how to do that without root rights.
> >
> > I was expecting that fakechroot and fakeroot will do the necessary
> > "magic" to make chroot work for my use-case, but that's not the case
> > (I need to have libfakeroot.so and libfakechroot.so in the target
> > rootfs, but I could not find a reliable way to get them in).
> >
> > I found some emails in the archives about similar use cases (from ~10
> > years ago). But I failed to identify the solution in those cases.
> >
> > Therefore I'd like to ask if anyone has a solution for my use case or
> > some hints/pointers.
>
> Have a look at mmdebstrap!
>
> The author of that tool - Johannes Schauer - has long fought for ways to
> eliminate the need for being root to bootstrap Debian, and mmdebstrap is
> as I understand it the state of the art of that!
>
>
>  - Jonas
>
> --
>  * Jonas Smedegaard - idealist & Internet-arkitekt
>  * Tlf.: +45 40843136  Website: http://dr.jones.dk/
>
>  [x] quote me freely  [ ] ask before reusing  [ ] keep private
>


Re: Ocultar archivos o carpetas para Windows

2020-02-09 Thread Juan Lavieri

Hola.


El 9/2/2020 a las 1:26 p. m., Ricardo Alejandro García Gómez escribió:

Muy buen día

Me ha encantado debian, muchísimas gracias por su loable labor, con tal 
ya no requeriré para mí de Microsoft Windows.


He probado todos los escritorios disponibles para debian de las imágenes 
vivas y él que más me gusta es KDE Plasma.


Desafortunadamente, no puedo convencer a las personas de mi rededor para 
usar debian y requiero ocultar archivos o carpetas contenidos en 
memorias USB que uso con Windows.




Creo que deberías nerle [OT] al título de la consulta ya que no tiene 
nada que ver con Debian.


Imagino que el pendrive está formateado como fat 32 por lo que no es 
mucho lo que puedas hacer.


Por favor, me podrían decir como oculto una carpeta o un archivo para 
Windows. Yo sé que para Linux es muy fácil: añadiendo un «.» antes del 
nombre del archivo o carpeta, o creando una lista dentro de un archivo 
de texto llamado «.hidden» en el directorio donde está alojado; ¿pero, 
preferiblemente mediante un método gráfico si es posible, cómo los 
oculto para Windows pues con ambos métodos continúan visibles?


Sin embargo te sugiero que le de un vistazo a esto, tal vez te ayude.

https://www.xataka.com/basics/como-proteger-un-disco-duro-o-un-usb-con-contrasena

Saludos.



Gracias por su atención.



--

Errar es de humanos, pero es mas humano culpar a los demás



Re: [OT] Sistema para realizar exámenes o pruebas on line

2020-02-09 Thread Felix Perez
El dom., 9 de feb. de 2020 a la(s) 14:06,  escribió:
>
> Felix saludos,
>
> (Espero que eso no salga de los asuntos permisibles de la lista debian... )
Por eso está marcado como [OT]

>
> Aunque no conozco lo que busca, era para contarle que hace poco hice un 
> programillo así como ejercicio de programación, en que se puede construir 
> ejercicios de tipo "rellenar los agujeros" y da una marca a cada pregunta. No 
> sé si quiere que basemos un sitio de exámines nuevo en algo así. Aquí lo 
> tienes:
> https://github.com/gdani2c4/ejdemem1

Gracias, pero no es lo que busco, los LMS, y otros tienen la
posibilidad de crear exámenes con alternativas, rellenar campos, etc,
llevar la cuenta y dar el resultado incluso con retroalimentación.  Lo
que busco es algo que sea dedicado solo a eso, no necesito implementar
un LMS completo para lo que necesito.

Gracias por tu atención.
PD.. Por favor no escribir al privado, siempre a la lista.  Gracias.

>
> -- Dani
>
> Feb 9, 2020, 16:42 by felix.listadeb...@gmail.com:
>
> > Hola estimados.
> >
> > ¿Alguien conoce, ha utilizado, ha implementado o administrado? Algún
> > sistema que permita crear exámenes o pruebas para disponer on line.
> >
> > He probado, los que traen algunos LMS (Chamilo, Moodle y otros) además
> > de  exelearning, pero no me teminan de convencer, supongo que puede
> > haber algo que haga solamente eso, construir exámenes y ponerlos a
> > disposición de los alumnos. De preferencia en un servidor con LAMP,
> > pero no me cierro a otro lenguaje o BD.
> >
> > De antemano gracias.
> >
> > --
> > usuario linux  #274354
> > normas de la lista:  http://wiki.debian.org/es/NormasLista
> > como hacer preguntas inteligentes:
> > http://www.sindominio.net/ayuda/preguntas-inteligentes.html
> >
>


-- 
usuario linux  #274354
normas de la lista:  http://wiki.debian.org/es/NormasLista
como hacer preguntas inteligentes:
http://www.sindominio.net/ayuda/preguntas-inteligentes.html



W: Possible missing firmware

2020-02-09 Thread TScholler
Bonjour, je viens de faire un update/upgrade sur ma debian buster et je 
me retrouve avec les lignes ci-dessous.
Je crois comprendre qu'il doit s'agir d'un bogue mais je n'en connais 
pas trop la raison ni quoi faire.

Merci d'avance de votre aide.
TS

update-initramfs: Generating /boot/initrd.img-4.19.0-6-amd64
W: Possible missing firmware /lib/firmware/amdgpu/vega20_asd.bin for 
module amdgpu

W: Possible missing firmware /lib/firmware/amdgpu/vega20_sos.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_rlc.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_mec2.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_mec.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_me.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_pfp.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_ce.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_sdma1.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_sdma.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_uvd.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_vce.bin for
module amdgpu
W: Possible missing firmware /lib/firmware/amdgpu/vega20_smc.bin for
module amdgpu



Re: libreoffice crash

2020-02-09 Thread Kent West
On Sun, Feb 9, 2020 at 11:11 AM Ólafur Jens Sigurðsson 
wrote:

> On Sun, Feb 09, 2020 at 01:04:18PM -, Curt wrote:
> > On 2020-02-09, Ólafur Jens Sigurðsson  wrote:
> > >>
> > >> Even easier is to, from the command line, start 'soffice --safe-mode'
> > >
> > > Hi, thanks for the suggestions but no luck, still crashes
>


I run sid, and had pretty consistent crashing after an "aptitude
full-upgrade" a month or so back.Typically I'd leave a doc open while I
went and did something else for a while, and then come back to find that LO
was no longer open. I looked into it a bit, but not a lot, figuring, "Meh,
I run sid; expect brokenness."

Then after a week or two, another full-upgrade seems to have solved the
problem.

Sorry I don't have better info to help, but maybe there's a clue here that
means something to someone.

-- 
Kent West<")))><
Westing Peacefully - http://kentwest.blogspot.com


Ocultar archivos o carpetas para Windows

2020-02-09 Thread Ricardo Alejandro García Gómez
Muy buen día

Me ha encantado debian, muchísimas gracias por su loable labor, con tal ya
no requeriré para mí de Microsoft Windows.

He probado todos los escritorios disponibles para debian de las imágenes
vivas y él que más me gusta es KDE Plasma.

Desafortunadamente, no puedo convencer a las personas de mi rededor para
usar debian y requiero ocultar archivos o carpetas contenidos en memorias
USB que uso con Windows.

Por favor, me podrían decir como oculto una carpeta o un archivo para
Windows. Yo sé que para Linux es muy fácil: añadiendo un «.» antes del
nombre del archivo o carpeta, o creando una lista dentro de un archivo de
texto llamado «.hidden» en el directorio donde está alojado; ¿pero,
preferiblemente mediante un método gráfico si es posible, cómo los oculto
para Windows pues con ambos métodos continúan visibles?

Gracias por su atención.


Re: Cross debootstrap without root rights

2020-02-09 Thread Hector Oron
Hello Christoph,

Missatge de Christoph Müllner  del dia dg., 9
de febr. 2020 a les 12:55:

> I was expecting that fakechroot and fakeroot will do the necessary "magic"
> to make chroot work for my use-case, but that's not the case (I need to have 
> libfakeroot.so
> and libfakechroot.so in the target rootfs, but I could not find a reliable 
> way to get them in).
>
> I found some emails in the archives about similar use cases (from ~10 years 
> ago).
> But I failed to identify the solution in those cases.

Nowadays I use debos if I need to create rootless filesystems, you can
read the following article to get an idea how it works:
https://ekaia.org/blog/2018/07/03/introducing-debos/

Regards
-- 
 Héctor Orón  -.. . -... .. .- -.   -.. . ...- . .-.. --- .--. . .-.



Re: libreoffice crash

2020-02-09 Thread Ólafur Jens Sigurðsson
On Sun, Feb 09, 2020 at 01:04:18PM -, Curt wrote:
> On 2020-02-09, Ólafur Jens Sigurðsson  wrote:
> >> 
> >> Even easier is to, from the command line, start 'soffice --safe-mode'
> >
> > Hi, thanks for the suggestions but no luck, still crashes
> 
> I'm uncertain what version you're using in Buster (packages.debian.org
> is not responding from here), but another stab in the darkness would be
> to turn off opengl, which can be done in versions >= 5.3
> 
>  soffice --safe-mode 
>  Select "Configure" -> "Disable Hardware
>  Acceleration (OpenGL, OpenCL)"
> 
> or in versions 5.2 and older by editing the 'registrymodifications.xcu'
> file found in your user profile folder and setting the 'UseOpenGL' and
> 'ForceOpenGL' entries to false.

Well, dpkg -s libreoffice gives me "Version: 1:6.1.5-3+deb10u5", so that
is > 5.3 and soffice --safe-mode crashes on me so I can't disable HA from
there.

Cheers, Oli



[OT] Sistema para realizar exámenes o pruebas on line

2020-02-09 Thread Felix Perez
Hola estimados.

¿Alguien conoce, ha utilizado, ha implementado o administrado? Algún
sistema que permita crear exámenes o pruebas para disponer on line.

He probado, los que traen algunos LMS (Chamilo, Moodle y otros) además
de  exelearning, pero no me teminan de convencer, supongo que puede
haber algo que haga solamente eso, construir exámenes y ponerlos a
disposición de los alumnos. De preferencia en un servidor con LAMP,
pero no me cierro a otro lenguaje o BD.

De antemano gracias.

-- 
usuario linux  #274354
normas de la lista:  http://wiki.debian.org/es/NormasLista
como hacer preguntas inteligentes:
http://www.sindominio.net/ayuda/preguntas-inteligentes.html



Re: Cross debootstrap without root rights

2020-02-09 Thread Johannes Schauer
Hi,

(please CC me, I'm not subscribed to d-user@l.d.o)

Quoting Christoph Müllner (2020-02-09 12:54:56)
> I'd like to run the second stage of debootstrap without root rights, but for
> another architecture (host is x86_64 and target is arm64).
> 
> I know how to do all that with root rights (i.e qemu-aarch64-static works
> perfectly here, also, I can recommend using qemu-debootstrap), but I can't
> figure out a way how to do that without root rights.
> 
> I was expecting that fakechroot and fakeroot will do the necessary "magic" to
> make chroot work for my use-case, but that's not the case (I need to have
> libfakeroot.so and libfakechroot.so in the target rootfs, but I could not
> find a reliable way to get them in).
> 
> I found some emails in the archives about similar use cases (from ~10 years
> ago).  But I failed to identify the solution in those cases.
> 
> Therefore I'd like to ask if anyone has a solution for my use case or some
> hints/pointers.

yes, there are several solutions. Either:

a) You can use mmdebstrap which is a debootstrap replacement that focuses on
   not requiring superuser privileges and has foreign architecture support
   built in:

   $ mmdebstrap --arch=arm64 unstable debian-unstable.tar

b) There is a proof-of-concept that allows one to run debootstrap with
   unprivileged usernamespaces here: https://bugs.debian.org/829134 This will
   probably also work with --second-stage

c) Getting fakechroot and fakeroot to work with foreign architectures is tricky
   and requires the right libfakechroot.so being installed and several
   environment variables to be set differently. You can have a look at how
   mmdebstrap does this so that you can maybe replicate that for debootstrap:
   https://sources.debian.org/src/mmdebstrap/0.6.0-4/mmdebstrap/#L1942

Thanks!

cheers, josch


signature.asc
Description: signature


Re: Swaks usage.

2020-02-09 Thread peter
From: Celejar 
Date: Sun, 26 Jan 2020 12:07:26 -0500
> Take a look at:
> 
> https://www.hostgator.com/help/article/535-incorrect-authentication-data
> https://stackoverflow.com/questions/14297264/password-not-accepted-from-server-535-incorrect-authentication-data-when-send/44564332#44564332
> https://github.com/PHPMailer/PHPMailer/issues/1074

OK, thanks.  Also found this on the mail server.

 Secure SSL/TLS Settings (Recommended)
Username:   .@.ca
Password:   Use the email account’s password.
Incoming Server:mail.east.ca

IMAP Port: 993 POP3 Port: 995 

Outgoing Server:mail.east.ca

SMTP Port: 465 

IMAP, POP3, and SMTP require authentication.


The -au parameter in the earlier swaks command was wrong.  This succeeds.

peter@dalton:/home/peter$ swaks -a PLAIN,LOGIN -au pe...@east.ca \
-ap  -tlsc --port 465 -s mail.east.ca
=== Trying mail.east.ca:465...
=== Connected to mail.east.ca.
=== TLS started with cipher TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256
=== TLS no local certificate set
=== TLS peer DN="/OU=Domain Control Validated/OU=Hosted by HostGator.com, 
LLC./OU=PositiveSSL Wildcard/CN=*.websitewelcome.com"
<~  220-ccx.websitewelcome.com ESMTP Exim 4.92 #2 Sun, 09 Feb 2020 09:05:11 
-0600 
<~  220-We do not authorize the use of this system to transport unsolicited, 
<~  220 and/or bulk e-mail.
 ~> EHLO dalton.invalid
<~  250-ccx.websitewelcome.com Hello dalton.invalid [142.103.107.137]
<~  250-SIZE 52428800
<~  250-8BITMIME
<~  250-PIPELINING
<~  250-AUTH PLAIN LOGIN
<~  250 HELP
 ~> AUTH PLAIN 
 <~  235 Authentication succeeded
 ~> MAIL FROM:
<~  250 OK
 ~> RCPT TO:
<~  250 Accepted
 ~> DATA
<~  354 Enter message, ending with "." on a line by itself
 ~> Date: Sun, 09 Feb 2020 07:05:11 -0800
 ~> To: pe...@east.ca
 ~> From: peter@dalton.invalid
 ~> Subject: test Sun, 09 Feb 2020 07:05:11 -0800
 ~> Message-Id: <20200209070511.004076@dalton.invalid>
 ~> X-Mailer: swaks v20181104.0 jetmore.org/john/code/swaks/
 ~> 
 ~> This is a test mailing
 ~> 
 ~> 
 ~> .
<~  250 OK id=1j0o92-001FBJ-6E
 ~> QUIT
<~  221 ccx.websitewelcome.com closing connection
=== Connection closed with remote host.

Also works with the "-s ccx.websitewelcom.com".  There must be some 
advantage to the account specific server name.

Thanks,  ... P.

-- 
https://en.wikibooks.org/wiki/Medical_Machines
https://en.wikibooks.org/wiki/Oberon
Tel: +1 604 670 0140Bcc: peter at easthope. ca



Re: Cups no longer accepting remote connections for printing.

2020-02-09 Thread Brian
On Sun 09 Feb 2020 at 14:08:41 +, James Allsopp wrote:

> Hi,
> Thanks Brian, this is the server;
> 
> scheduler is running
> system default destination: HL-2030-series
> device for HL-2030-series: usb://Brother/HL-2030%20series?serial=L0J260292
> HL-2030-series accepting requests since Sun 23 Jul 2017 21:21:32 BST
> printer HL-2030-series is idle.  enabled since Sun 23 Jul 2017 21:21:32 BST

Nothing untoward here that I can see. You should, if this queue is
shared, be able to see its URI from the client with 'lpinfo -v' and
'lpstat -l -e'. What do they give?
 
> The is the client;
> scheduler is running
> no system default destination
> lpstat: Forbidden
> lpstat: Forbidden
> lpstat: Forbidden
> lpstat: Forbidden
> lpstat: Forbidden

I've never come across that before. "Forbidden" simply shouldn't happen.
It looks like the client is denying access to its cupsd.

A common way to access the print queue on the server is to set a queue
up on the client. The state of this *local queue* is shown by the lpstat
command run on the client. What is happening on the server is of no
consequence.

Are you using a client.conf in $HOME/.cups or /etc/cups?

Anything in /etc/cups/ppd?

What do you have for 'ls -l /etc/cups/cupsd.conf?

-- 
Brian.



Re: Cups no longer accepting remote connections for printing.

2020-02-09 Thread Klaus Singvogel
Hi,

James Allsopp wrote:
[...]
> 
> # Restrict access to the server...
> 
>   Order allow,deny
>   Allow localhost
>   Allow 192.168.1.*
> 
> ServerAlias *
> # Restrict access to the admin pages...
> 
>   Order allow,deny
>   Allow localhost
>   Allow  192.168.1.*
> 
> 

Don't mix DNS wildcard '*' with network netmask '/xx'
Both are different things and not compatible.

Correct is in your case: Allow 192.168.1.0/24

Regards,
Klaus.
-- 
Klaus Singvogel
GnuPG-Key-ID: 1024R/5068792D  1994-06-27



Re: Cups no longer accepting remote connections for printing.

2020-02-09 Thread James Allsopp
Hi,
Thanks Brian, this is the server;

scheduler is running
system default destination: HL-2030-series
device for HL-2030-series: usb://Brother/HL-2030%20series?serial=L0J260292
HL-2030-series accepting requests since Sun 23 Jul 2017 21:21:32 BST
printer HL-2030-series is idle.  enabled since Sun 23 Jul 2017 21:21:32 BST

The is the client;
scheduler is running
no system default destination
lpstat: Forbidden
lpstat: Forbidden
lpstat: Forbidden
lpstat: Forbidden
lpstat: Forbidden

Here's an nmap for the port on the server.
# nmap -sS -p631 hawaiian
Starting Nmap 7.70 ( https://nmap.org ) at 2020-02-09 14:07 GMT
Nmap scan report for hawaiian (192.168.1.206)
Host is up (0.022s latency).
Other addresses for hawaiian (not scanned): fde6:4511:f54::1a3
fde6:4511:f54::a55
rDNS record for 192.168.1.206: hawaiian.frankexchangeofviews.uk

PORTSTATE SERVICE
631/tcp open  ipp
MAC Address: 00:1D:7D:0D:2A:9D (Giga-byte Technology)

Nmap done: 1 IP address (1 host up) scanned in 0.53 seconds


On Sun, 9 Feb 2020 at 12:13, Brian  wrote:

> On Sun 09 Feb 2020 at 02:06:22 +, James Allsopp wrote:
>
> > HI,
> > My printer on a remote machine works when access from that machine, I've
> > checked port 631 isn't blocked using Xnat, but I can't work out why I
> can't
> > print.
> > All the user pages say forbidden, and a test page from my local cups
> hangs.
>
> Please give the printer make and model and the outputs of 'lpstat -t'
> on server and client.
>
> --
> Brian.
>
>


Re: Fresh install UEFI debian-10.2.0-amd64-xfce-CD-1 will not boot

2020-02-09 Thread Steve McIntyre
David wrote:

...

>Device to use as root file system  /dev/mapper/sda4_crypt
>Mount separate /boot parititionYes
>Mount separate /boot/efi parititionYes
>Rescue operations  Force GRUB installation to the 
>EFI removable media path
>   -> Yes
>Rescue operations  Reboot the system
>
>Power down at POST.  Remove debian-10.2.0-amd64-xfce-CD-1 USB
>stick.
>
>Power up.  Press F2 to enter Setup.  Boot sequence starts with
>"debian".  Exit.
>
>Boots into Debian GNU/Linux.

>Thanks!  :-)

\o/

-- 
Steve McIntyre, Cambridge, UK.st...@einval.com
  Armed with "Valor": "Centurion" represents quality of Discipline,
  Honor, Integrity and Loyalty. Now you don't have to be a Caesar to
  concord the digital world while feeling safe and proud.



OT Problema al borrar archivos en una partición montada con rclone

2020-02-09 Thread jerigondor

Hola a todos.

Acabo de descubrir el programa rclone, que sirve para administrar 
archivos hospedados en la nube.


Una de las opciones que trae es la posibilidad de montar el sistema de 
archivos de la nube como una unidad y tener acceso a golpe de click a 
través del explorador de archivos.


Monto la unidad con:

rclone mount nombre_del_sistema_remoto: /directorio_de_montaje

Se monta perfectamente, pero no me permite borrar archivos. Puedo crear 
nuevos archivos, modificar los existentes,renombrarlos,... pero no 
borrar. Y me refiero a borrar mediante la tecla SUPRIMIR, y que vaya a 
la papelera. Si borro en una terminal mediante rm o pulsando SUPRIMIR al 
mismo tiempo que MAYÚSCULAS (para que no vaya a la papelera), el archivo 
se borra sin problemas. Pero cuando pulso SUPRIMIR me aparece una 
ventana con el texto:




No se pudo crear la información de papelera para archivo 
/directorio_de_montaje/archivo.


Error de entrada/salida.



Después de intentar borrar aparece un archivo oculto llamado .Trash. 
Tanto éste como el archivo a eliminar son propiedad de mi usuario con 
permisos de lectura/escritura.


Iniciar el administrador de archivos a través de una terminal no me da 
mensajes de error al intentar borrar.


Una búsqueda en google tampoco arroja mucha luz sobre el asunto.

Mis datos tecnicos son:

Debian 10 Buster

Xfce (Con thunar como administrador de archivos)

rclone v1.45



A ver si alguien me puede echar una mano.

Saludos.



Re: libreoffice crash

2020-02-09 Thread Curt
On 2020-02-09, Ólafur Jens Sigurðsson  wrote:
>> 
>> Even easier is to, from the command line, start 'soffice --safe-mode'
>
> Hi, thanks for the suggestions but no luck, still crashes

I'm uncertain what version you're using in Buster (packages.debian.org
is not responding from here), but another stab in the darkness would be
to turn off opengl, which can be done in versions >= 5.3

 soffice --safe-mode 
 Select "Configure" -> "Disable Hardware
 Acceleration (OpenGL, OpenCL)"

or in versions 5.2 and older by editing the 'registrymodifications.xcu'
file found in your user profile folder and setting the 'UseOpenGL' and
'ForceOpenGL' entries to false.


> Cheers, Oli
>
>


-- 
"J'ai pour me guérir du jugement des autres toute la distance qui me sépare de
moi." Antonin Artaud




Re: Cross debootstrap without root rights

2020-02-09 Thread Jonas Smedegaard
[ sent again, without 8bit headers to please Debian MTAs ]

Hi Christoph,

Quoting Christoph Müllner (2020-02-09 12:54:56)
> I'd like to run the second stage of debootstrap without root rights, 
> but for another architecture (host is x86_64 and target is arm64).
> 
> I know how to do all that with root rights (i.e qemu-aarch64-static 
> works perfectly here, also, I can recommend using qemu-debootstrap), 
> but I can't figure out a way how to do that without root rights.
> 
> I was expecting that fakechroot and fakeroot will do the necessary 
> "magic" to make chroot work for my use-case, but that's not the case 
> (I need to have libfakeroot.so and libfakechroot.so in the target 
> rootfs, but I could not find a reliable way to get them in).
> 
> I found some emails in the archives about similar use cases (from ~10 
> years ago). But I failed to identify the solution in those cases.
> 
> Therefore I'd like to ask if anyone has a solution for my use case or 
> some hints/pointers.

Have a look at mmdebstrap!

The author of that tool - Johannes Schauer - has long fought for ways to 
eliminate the need for being root to bootstrap Debian, and mmdebstrap is 
as I understand it the state of the art of that!


 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private


signature.asc
Description: signature


Re: Cups no longer accepting remote connections for printing.

2020-02-09 Thread Brian
On Sun 09 Feb 2020 at 02:06:22 +, James Allsopp wrote:

> HI,
> My printer on a remote machine works when access from that machine, I've
> checked port 631 isn't blocked using Xnat, but I can't work out why I can't
> print.
> All the user pages say forbidden, and a test page from my local cups hangs.

Please give the printer make and model and the outputs of 'lpstat -t'
on server and client.

-- 
Brian. 



Re: Anyone with experience scanning with Epson

2020-02-09 Thread Brian
On Sun 09 Feb 2020 at 10:20:54 -, Curt wrote:

> On 2020-02-09, Brian  wrote:
> >
> > Against doing this is the fact that Epson does not provide a package
> > for the L220 that employs the epkowa backend. That is because epkowa
> > is not meant for that device. Maybe the OP has found this out by now.
> 
> Did you tell the OP that? I missed it. Oh, I see you asked what file the
> OP downloaded and that question was left hanging without a response.
> 
> Epson only seems to provide a single generic package for their
> scanners/multifunction printers.

There is also an iscan-bundle, which has libsane-epkowa.

> http://support.epson.net/linux/en/imagescanv3.php

The imagescan bundle uses libsane-imagescan.

> http://download.ebz.epson.net/man/linux/imagescanv3_e.html#sec6-1
> 
> I was thrown off by the OP's error message:
> 
>  Failed to open device 'epkowa:usb:002:003':

The imagescan bundle is what is offered by Epson for the L220 at

  http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX

Permissions on the USB bus wouldn't have been top of my list to look
at.
 
> Maybe that's related to the (perhaps unwise) entry the OP added to
> /etc/sane.d/epkowa.conf. It's true the installation manual linked above
> makes no mention of it.
> 
> > (Incidentally, the bug that the Ubuntu advice is targeting is one
> > that was never present in Debian stable, testing or unstable).
> 
> That too, I guess.

Ubuntu took the SANE packages from experimental to put into 18.04 LTS.
You reap what you sow.

-- 
Brian.



Cross debootstrap without root rights

2020-02-09 Thread Christoph Müllner
Hi Debian users,

I'd like to run the second stage of debootstrap without root rights,
but for another architecture (host is x86_64 and target is arm64).

I know how to do all that with root rights (i.e qemu-aarch64-static works
perfectly here,
also, I can recommend using qemu-debootstrap), but I can't figure out a way
how to do
that without root rights.

I was expecting that fakechroot and fakeroot will do the necessary "magic"
to make chroot work for my use-case, but that's not the case (I need to
have libfakeroot.so
and libfakechroot.so in the target rootfs, but I could not find a reliable
way to get them in).

I found some emails in the archives about similar use cases (from ~10 years
ago).
But I failed to identify the solution in those cases.

Therefore I'd like to ask if anyone has a solution for my use case or some
hints/pointers.

Thanks,
Christoph


Re: [1/2HS] Mysql et le symbole Euro €

2020-02-09 Thread Jean-Michel OLTRA


Bonjour,


Le dimanche 09 février 2020, Erwann Le Bras a écrit...


> on ne mets jamais l'unité dans une base de données...
> on inscrit simplement les montants en base, c'est à la présentation des
> données qu'on rajoute l'unité, ce qui permet de les manipuler comme on veut.

Tu peux la mettre dans une colonne à part, ou via un id dans une table
séparée. C'est quand même préférable de savoir dans quelle unité fut
enregistré ledit montant.

-- 
jm



Re: libreoffice crash

2020-02-09 Thread Ólafur Jens Sigurðsson
On Sun, Feb 09, 2020 at 10:04:45AM +, Brad Rogers wrote:
> On Sun, 9 Feb 2020 09:22:47 - (UTC)
> Curt  wrote:
> 
> Hello Curt,
> 
> >You might try moving your old config out of the way as a stab
> >in the dark to see if that might improve things.
> 
> Even easier is to, from the command line, start 'soffice --safe-mode'

Hi, thanks for the suggestions but no luck, still crashes

Cheers, Oli



Re: printen via nas

2020-02-09 Thread Fred



Op 09-02-2020 om 08:15 schreef Frans van Berckel:


Terug naar 2012, een mooie check list ...

https://forums.linuxmint.com/viewtopic.php?f=51=80901=20

Heb je er zowel lpr als cupswrapper opgezet?

Met vriendelijke groet,


Ja dat heb ik.

Inmiddels heb ik de link die jij gestuurd hebt doorgenomen en met 
aanpassing van apt install lib32z1 i.p.v  ia32-libs en sudo mkdir 
/var/spool/lpd werkte het printen nu wel.
Dit is echter vanaf de laptop met die nieuwe installatie. De laptop met 
de oudere maar eveneens met 'Buster' installatie print nog steeds niet.


Overigens waren daar de genoemde /var/spool/lpd en /usr/share/cups/model 
wel aanwezig.
Maar de installatie van bovengenoemde lib heeft er niet toe geleid dat 
het printen ook van deze laptop werkte.


In elk geval is de nas uit te sluiten als boosdoener en kan ik me 
richten op de laptop met de oude installatie.


mvg Fred




Re: Anyone with experience scanning with Epson

2020-02-09 Thread Curt
On 2020-02-09, Brian  wrote:
>
> Against doing this is the fact that Epson does not provide a package
> for the L220 that employs the epkowa backend. That is because epkowa
> is not meant for that device. Maybe the OP has found this out by now.

Did you tell the OP that? I missed it. Oh, I see you asked what file the
OP downloaded and that question was left hanging without a response.

Epson only seems to provide a single generic package for their
scanners/multifunction printers.

http://support.epson.net/linux/en/imagescanv3.php
http://download.ebz.epson.net/man/linux/imagescanv3_e.html#sec6-1

I was thrown off by the OP's error message:

 Failed to open device 'epkowa:usb:002:003':

Maybe that's related to the (perhaps unwise) entry the OP added to
/etc/sane.d/epkowa.conf. It's true the installation manual linked above
makes no mention of it.

> (Incidentally, the bug that the Ubuntu advice is targeting is one
> that was never present in Debian stable, testing or unstable).

That too, I guess. 



-- 
"J'ai pour me guérir du jugement des autres toute la distance qui me sépare de
moi." Antonin Artaud




Re: Anyone with experience scanning with Epson

2020-02-09 Thread deloptes
Renato Gallo wrote:

> try iscan or simple-scan

+1

using iscan works perfectly fine, but I am not sure how recent and working
is the latest version you can find. I had to patch 2.30.1 when moved to
stretch mainly because libpng16 replaced libpng12. I am using E 330 for
couple of years already.





AirPrint Was: printen via nas

2020-02-09 Thread Geert Stappers
On Sat, Feb 08, 2020 at 08:41:17PM +0100, Paul van der Vlis wrote:
> Op 08-02-2020 om 19:47 schreef Geert Stappers:
> > On Sat, Feb 08, 2020 at 07:08:09PM +0100, Paul van der Vlis wrote:
> >>   ... prima tekst n.a.v. 32/64 bit geneuzel ...
> >>
> >> Koop in het vervolg beter een printer die wel goed ondersteund wordt.
> > 
> > Ik ben ook voorstander van "kies met je portomonee"
> > Maar dat is nu niet relevant.
> > 
> >> Bijvoorbeeld een printer met air-print.
> > 
> > Mijn inziens heeft  Original Poster een printer die Linux support heeft.
> 
> Inderdaad, maar met closed source drivers. Het werkt vaak, maar wie zegt
> dat het nog werkt na een upgrade?  Bij Linux gaat het om open source,
> closed source software gaan draaien brengt regelmatig geen geluk.
> 
> > En printers op zolder is een goede reden om printer via USB aan NAS
> > te sluiten (i.p.v. WIFI te gaan gebruiken)
> 
> Air-print is een netwerk protocol, wat ook via kabels functioneert.

Ah, OK.
Dank voor de aanvulling.


> Het zorgt ervoor dat een printer helemaal automagisch ingesteld wordt,
> tenminste als poort 5353 UDP open staat op een computer en Avahi en Cups
> draaien.
> 
> Als je op bezoek komt, contact maakt met het lokale netwerk, zul je
> (afhankelijk van je desktop) een bericht op je scherm zien: "nieuw
> printer gevonden, wilt u deze toevoegen?". Je klikt erop en je kunt er
> naar toe printen. Het goede nieuws is dat bijna alle nieuwe printers dit
> tegenwoordig ondersteunen!


Voor wat het waard is
Wikipedia artikel https://en.wikipedia.org/wiki/AirPrint


Groeten
Geert Stappers
-- 
Leven en laten leven



Re: libreoffice crash

2020-02-09 Thread Brad Rogers
On Sun, 9 Feb 2020 09:22:47 - (UTC)
Curt  wrote:

Hello Curt,

>You might try moving your old config out of the way as a stab
>in the dark to see if that might improve things.

Even easier is to, from the command line, start 'soffice --safe-mode'

-- 
 Regards  _
 / )   "The blindingly obvious is
/ _)radnever immediately apparent"
The public gets what the public wants
Going Underground - The Jam


pgpWSWzH2Kb1l.pgp
Description: OpenPGP digital signature


Re: [1/2HS] Mysql et le symbole Euro €

2020-02-09 Thread Erwann Le Bras

Ohhh!

on ne mets jamais l'unité dans une base de données...
on inscrit simplement les montants en base, c'est à la présentation des 
données qu'on rajoute l'unité, ce qui permet de les manipuler comme on veut.


Erwann

Le 03/02/2020 à 13:28, ajh-valmer a écrit :

Bonjour,

Depuis peu, lorsque j'INSERT ou UPDATE une table MySQL,
via scripts PHP et SQL, je mets le montant  : "30"
et apparait dans le champ via phpmyadmin : "30¤".
Pareil si j'écris "30€".

Pourtant, si j'interroge la table (SELECT),
apparait bien dans le navigateur "30€".

L'interclassement est UTF8_general_ci.
Si je mets : latin1_general_ci, pareil.

Ce problème fait suite à un upgrade de mysql.

Merci,

A. Valmer



Re: Anyone with experience scanning with Epson

2020-02-09 Thread Brian
On Sat 08 Feb 2020 at 09:48:19 -, Curt wrote:

> On 2020-02-07, kaye n  wrote:
> >
> > Hello Friends!
> >
> > I'm running:
> > Kernel: 4.19.0-6-amd64 x86_64
> > bits: 64
> > Desktop: Xfce 4.12.4
> > Distro: Debian GNU/Linux 10 (buster)
> >
> > My printer is an Epson L220.  It's connected to my laptop's USB port.
> >
> > The command lsusb shows:
> > Bus 002 Device 003: ID *04b8:08d1* Seiko Epson Corp.
> >
> > Therefore in the file, /etc/sane.d/epkowa.conf
> > I added this line:
> >
> >
> > *usb 0x04b8 0x08d1*
> > The printer can print just fine, but ImageScan and XSane would not run.
> >
> > ImageScan says:
> > Could not send command to scanner. Check the scanner's status.
> >
> > XSane says:
> > Failed to open device 'epkowa:usb:002:003':
> > Access to resource has been denied.
> >
> > Thank you for your time!
> >
> 
> You might try one or both of the workarounds in the Epson
> troubleshooting section here
> 
>  https://help.ubuntu.com/community/sane_Troubleshooting
> 
> They seem to advise trying the first workaround first (and then, if that
> fails, the iscan workaround in addition to that). Here's the first
> workaround listed (which appears to deal with your permission problems):
> 
>   sudo ln -sfr /usr/lib/sane/libsane-epk* /usr/lib/x86_64-linux-gnu/sane/

Against doing this is the fact that Epson does not provide a package
for the L220 that employs the epkowa backend. That is because epkowa
is not meant for that device. Maybe the OP has found this out by now.

(Incidentally, the bug that the Ubuntu advice is targeting is one
that was never present in Debian stable, testing or unstable).

-- 
Brian.



Re: libreoffice crash

2020-02-09 Thread Curt
On 2020-02-08, Ólafur Jens Sigurðsson  wrote:
> Hi, I upgraded my system to Buster finally but after that then
> LibreOffice crashes on me. I have tried to uninstall it and reinstall,
> no luck there. I tried as a different user, same crash there.
>
> I am out of ideas. I have pasted an strace -f of opening localc from the
> command line https://pastebin.com/Ev55tVUH

> Any ideas on what could be the problem here?

You might try moving your old config out of the way as a stab
in the dark to see if that might improve things.

 mv ~/.config/libreoffice{,.old}

> TIA, Oli
>
>


-- 
"J'ai pour me guérir du jugement des autres toute la distance qui me sépare de
moi." Antonin Artaud