Re: copy/paste in vim (in terminal)

2020-08-10 Thread Thomas Schmitt
Hi,

Richard Hector wrote:
> I used to be able to use my mouse to select/paste 'normally' (for X),
> when using vim in a terminal.

Sounds like "set mouse=a" is active.

Do in a running vim
  :set mouse-=a
and check whether you get better copy+paste behavior.
If it helps, put
  set mouse-=a
into your ~/.vimrc or globally into /usr/share/vim/vimrc.


> If I'm using gvim, it's fine.

Check ~/.gvimrc and /usr/share/vim/gvimrc for "set mouse".
Maybe you find something better than my proposal.


Have a nice day :)

Thomas



Re: Montar recursos samba remotos con cuentas de usuario regular

2020-08-10 Thread Camaleón
El 2020-08-10 a las 20:53 +0200, jEsuSdA 8) escribió:

> Quiero hacer un script que permita a un usuario regular de una máquina
> conectarse a unas carpetas remotas compartidas vía samba.

Distinto es «conectarse» (acceder) que «montar».

El acceso a un recurso remoto samba no requiere de malabares por parte 
del cliente (p. ej., mediante el explorador de archivos y el protocolo 
smb://), pero el uso de la orden «mount -t», sí.

> He hecho pruebas con mount.cifs y funciona perfectamente, pero sólo desde
> una cuenta de root.
> 
> No me interesa meter a ninguno de esos usuarios al grupo sudoers, pues sólo
> quiero que puedan montar y desmontar esos recursos y no tengan más
> privilegios.
> 
> ¿Alguna idea de si es posible y cómo podría proceder?

Es un artículo antiguo y quizá haya habido cambios en samba4, pero te 
puede dar alguna idea:

Allowing a user to mount a samba share from fstab
https://serverfault.com/questions/70762/allowing-a-user-to-mount-a-samba-share-from-fstab

Este es de la wiki de Samba, estará actualizado:

Mounting samba shares from a unix client
https://wiki.samba.org/index.php/Mounting_samba_shares_from_a_unix_client

Saludos,

-- 
Camaleón 



copy/paste in vim (in terminal)

2020-08-10 Thread Richard Hector
Hi all,

This often annoys me, but usually not to the point of posting about it.

I used to be able to use my mouse to select/paste 'normally' (for X),
when using vim in a terminal. More recently (a few years?), it doesn't
seem to work. If I'm using gvim, it's fine. If I'm using anything else
in a terminal, it's fine. Actually I think I can paste _into_ vim in a
terminal, but have to use the menus to do it, rather than just middle-click.

Any tips on getting the old behaviour back? Or reasons/tips why I
shouldn't, and what to do instead?

I'm using xfce4-terminal, and this generally only applies when I'm
editing on a remote server, or editing as root - otherwise I usually use
gvim.

Thanks,
Richard



Re: Keyboards, was Is there a way to corrupt the BIOS …, Some keys … do not work

2020-08-10 Thread David Wright
These problems sound somewhat similar.

On Sat 08 Aug 2020 at 16:24:59 (+0200), Albretch Mueller wrote:
>  I found those links but not thorough Information:
>  https://linux.slashdot.org/story/02/06/15/1416224/a-web-browser-in-your-bios
>  https://stackoverflow.com/questions/7531000/javascript-access-to-hardware
> 
>  Here is my problem:
> 
>  I browse the Internet using a USB wifi dongle and Windows and then
> take out the drive and use Linux for my own business.
> 
>  I removed the network and bluetooth cards, as well as the wireless
> antenna of that laptop, but I still notice that when I writing both
> code and on to the shell characters are miswritten or not written at
> all or apparently charaters get written in "temperamental" ways that
> hit to some "memory"/"intelligence".
> 
>  I also know that keyboards have internal memory chips.
>  https://en.wikipedia.org/wiki/Keyboard_controller_(computing)
> https://reverseengineering.stackexchange.com/questions/6388/storing-files-on-keyboard-memory
>  How can you reset/wipe the keyboard controller?
> 
>  How could this be explained "technically"?
> 
>  What do you think might be "technically" going on?

On Mon 10 Aug 2020 at 13:56:43 (+0200), Eugen Dedu wrote:
> 
> I have a Dell Latitude 5580 laptop, and have been a happy debian
> unstable user for 20 years.  I have a very weird problem with its
> builtin keyboard which slows down my work significantly (ctrl-c,
> ctrl-x, ENTER etc. do not work):
> 
> Since several months ago some keys on my keyboard do not work, in all
> the applications (e.g. gnome-terminal, emacs, thundebird, firefox).
> When I press on them, very often nothing happens (usually, I press on
> them for 10 seconds to make appear the character), sometimes the key
> appears twice, and sometimes it works flawlessly.  When it works, it
> works for several minutes or several hours; similarly, when it does
> not work, it does not for several minutes or hours or days.  I use
> very often suspend/resume, I also use xmodmap and awesome window
> manager, but I suppose this is irrelevant.
> 
> The problematic keys are found on the last row: xcvm,. (but zbn work)
> and the bottom keys (ctrl, alt, window, however space works always
> correctly), plus ENTER key.
> 
> I have always thought that it is a X problem which will get fixed.
> Interesting, a few days ago I noticed that on grub I have the same
> problem: c and ENTER did not work.  So now I wonder if it is not a
> hardware problem, however sometimes it works for a long time!
> 
> I have looked at Xorg.0.log, without seeing anything wrong.
> 
> How can I track down where the problem is, and fix it?

Both these sound rather hardware-ish to me. I hope Albretch hasn't
zapped something with static when making the modifications.

Take a look at this reference. The user suspected the keyboard and
even replaced it twice without fixing the problem. It turned out
that the connection between the keyboard ribbon and the mobo was
bad. So Albretch might want to reseat some of the connectors.
I hope Eugen's Dell laptop is simpler to open up than the Lenovo
I'm typing on, if that's the course of action chosen.

https://www.dell.com/community/Laptops-General-Read-Only/XPS-M1330-laptop-keyboard-bottom-row-enter-spacebar-not-working/td-p/5163670

Cheers,
David.



Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-10 Thread David Wright
On Tue 04 Aug 2020 at 08:38:37 (-0400), Michael Stone wrote:
> On Mon, Aug 03, 2020 at 10:52:58PM -0500, David Wright wrote:
> > My main router doesn't have the facility to run that client. My
> > cascaded router does (to just those two services), but that one
> > has a broken WAN port (hence its rôle). So I presume I'd be expected
> > to run No-IP's own software on my home PC.
> 
> or just use a generic client written in perl or python. some people
> really seem to be looking for ways to complicate this.

I just can't see the point in complicating this more than I have to.

$ cat /etc/cron.daily/send-hotmail 
#!/bin/sh
[ -x /root/.cron/send-hotmail.sh ] || exit 0
/root/.cron/send-hotmail.sh
$ cat /root/.cron/send-hotmail.sh 
#!/bin/sh
mailx -s 'ZZZ---ZZZ' myfreeacco...@hotmail.co.uk < /etc/mailname
$ 

… sends my home's IP address each day to a location I can read from
anywhere. Naturally it breaks the Subject line's "third-party server"
condition, but judging from others' comments, this appears to be
a matter mainly of semantics, calling servers "peers".

Some might say that having to register for an email account (if you
haven't already got one) is just the same as registering at one of
these free dynamic DNS services. Having looked at them, I would
beg to differ; and I've had a much greater and varied use out of this
free email account than I would get from the dDNS service.

I'm also not interested in using DHT services (which must also run
on "third-party servers/peers").

Cheers,
David.



Re: Are the assigned capacities sufficient for my setup?

2020-08-10 Thread David Wright
On Sun 02 Aug 2020 at 16:35:14 (-0500), Leslie Rhorer wrote:
> On 8/2/2020 2:54 PM, David Wright wrote:
> > >   I never said it does.  It does take up a little space, but not a
> > > significant amount.  What does take up space is /home, which can get
> > > to be huge.  Even on a laptop, making /home a part of the largest
> > > partition is a good idea.
> > 
> > What it sharing the partition with /home? And what is it's
> > mountpoint?
> 
>   On my big servers, it doesn't have a mount point.  For consistency
> sake, the mount point for the data array on all the servers is /RAID,
> and the array is /dev/md0, which consists of varying numbers of
> individual drives (eight drives each plus one spare for the big
> servers) in a RAID 6 array.  On md0, I have a directory named home,
> which of course becomes /RAID/home when the md0 array is mounted.  On
> all the systems, I have two SSDs set up with three partitions each,
> the first two of which are assembled int RAID 1 arrays.  The second
> array, /dev/md2, is mounted on /, and a symlink points from /home to
> /RAID/home.

I think it's quite clear that we're talking about differences of scale
that, as I said, make this more appropriate for the NAS thread, and
not this one, where the OP was apportioning a disk with about 300GB
of free space available.

> > > Giving it its own partition permanently
> > > sequesters any space allocated to the purpose, to no particular
> > > advantage.  Making it simply a directory on the largest drive target
> > > frees up all the unused space for other use.  Even on most laptops,
> > > the largest partition is usually not /,
> > 
> > Which one is, usually?
> 
>   The data target.  On my servers, this is /RAID, which is anywhere
> from 9T to 48T.  On my workstations, this varies some depending upon
> whether the system is multi-boot or single boot, but it is usually
> named /DATA. It may be NTFS or EXT4.  It may r may not be a separate
> physical target, whether it is an array, a separate drive, or a
> separate partition on one drive.

For most laptops, the data "target" is going to be directories in
/home//, and for people who don't separate /home from /, that's
going to be the / partition. Those who have chosen to dual-boot might
have set up a shared data partition, which is then quite likely to be
the largest.

> > > and in any case, as mentioned
> > > previously, it is generally better for / and /home to be on separate
> > > targets.
> > 
> > In the previous post, we had "data array" aka "data repository",
> > SSDs for booting, and a NAS or file server (whose data repository
> > needs to be huge), plus a "single set of array spindles".
> > 
> > With that wide choice, I'm not clear what "targets" are, nor how
> 
>   A file system target is a logical storage location where a file
> system can be created.  It can be an unpartitioned drive, a partition
> on a drive, an array, a tmpfs system, a RAM drive, or a loop device.

OK, so in the context of a laptop, this is typically going to be,
simply, partitions. Most people probably won't set up an array.

> > all these different items are arranged with respect to the PC
> > itself (or which are entirely separate entities).
> 
>   In Linux, it can be done just about anyway one likes, although some
> topologies are rather senseless.

That's what I would call the idea (from the other thread) of putting a
laptop's /home on an external drive, RAID or not. But then again,
perhaps not for someone who's never travelled around giving
presentations from one, as so many people have been doing for years.

> > >   Journalling is only a safety mechanism if the file system is being
> > > written.  Since /boot is to all intents and purposes never written,
> > > journaling does nothing for it.  The /boot partition can be mounted
> > > read-only, as a matter of fact.
> > 
> > What are the benefits of /boot on a RAID?
> 
>   The same as any other data repository.  RAID 0 would make no sense at
> all, because /boot is rather tiny, and RAID 0 offers no redundancy at
> all.  RAID 1 is perfect, however, allowing double or triple (or more)
> drive redundancy, virtually guaranteeing the system will boot even if
> a drive (or even two or three drives) fails.  Higher level RAID
> targets don't really provide any significant features for the boot
> system, and especially not /boot.  They really don't provide much for
> /, either, given its relatively small requirements.
> 
> > Does that mean that a RAID
> > has to be assembled even before the PC can boot up?
> 
>   Not if it is a RAID 1.  A RAID 1 member is identical to any other
> target except for the addition of an MD superblock.  The I/O system
> only needs to be able to read the filesystem.  It can be completely
> ignorant of the RAID 1 superblock - at least for superblock versions
> 1.0 and above.  On a non-EFI, non-ZFS system, everything the system
> needs to boot is in the /boot directory.
> 
>   Indeed, the RAID 1 

Re: Qt5 & SQLite

2020-08-10 Thread Felix Perez
El lun., 10 de ago. de 2020 a la(s) 17:21, JavierDebian
(javier.debian.bb...@gmail.com) escribió:
>
>
>
> El 10/8/20 a las 17:25, Felix Perez escribió:
> > 2.- Sistema administración de sucursales cadena productos avícolas.
> > Cada sucursal actuaba de forma independiente, al final del día sistema
> > enviaba reporte de ventas e inventario al servidor central el cual
> > procedía a cuadrar y contabilizar todo.  Incuso este sistema cuando
> > inicio era manual, había que enviar el reporte por fax a contabilidad
> > y ahí se cuadraba todo. Con el paso del tiempo solo se fue adaptando a
> > las nuevas tecnología pero ppalmente era lo mismo.
>
> Es EXACTAMENTE esto lo que tengo que hacer. No es avícola la empresa,
> pero es el mismo principio.
> Pasa que el sistema en Clipper ya no da, pues hay que emular un DOS para
> que corra.
> Ya está viejo y con ganas.
>
> Cliper tenía su "sistema db" encima, y facilongo. De hecho, era
> transparente al usuario de dónde estaba físicamente la base de datos.
> Y era UN SOLO programa.
>
El sistema del cual te cuento estaba hecho con BBX, corriendo emulado
en un windows 95 o 98 no recuerdo, ese usaban los clientes, el
servidor era un Digital o NCR corriendo un SCO, las BDs era tipo DBF,
eso si no me falla la memoria.

> El hecho de montar un servidor de base de datos, complica un poco, por
> eso busco algo que sea fácil de montar, o invisible al usuario final.
> Hay que recordar que los usuarios son enemigos del programador, y van a
> hacer todo lo que le digas que NO hagan, y dejarán de lado todo lo que
> es mandatorio hacer.
>

La solución que estudiamos en su momento, fue que los clientes
locales, al cerrar el día generaban un reporte, el reporte se enviaba
a casa matriz junto a una copia de la BD, se almacenaban las copias de
la BD para auditoría y los reportes alimentaban el servidor central,
un RH (no recuerdo versión), propusimos instalar un Mysql.  No me
acuerdo que lenguaje se propuso, pero parece que querían seguir
utilzando BBx ya que tenían un par de desarrolladores con mucha
experiencia en él.
Todo el sistema el antiguo y el nuevo eran transparentes para el
usuario, a punta de batch del lado de windows y de scripts del lado
del servidor.  Lo único que fallaba era cuando se cortaba la energía
eléctrica en algún local y este no contaba con UPS o generador.
Se me ocurre Firebird embebido o sqlite en los clientes locales, y un
servidor central con Mysql o Postgresql.

> Por lo que si antes de usar el programa deben arrancar un demonio que
> corra la base de datos sé que voy a tener problema.
>

Deberás automatizar todo lo que puedas, no darle opciones al usuario.

Suerte, espero que te sirvan un poco mis recuerdos.

> JAP
>


-- 
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: Lenovo S205 boot

2020-08-10 Thread David
On Tue, 11 Aug 2020 at 09:48, Russell L. Harris  wrote:

> So is my processor AMD or Atom?

The best way to answer this question is to run the command
cat /proc/cpuinfo

and perhaps share its output with us here.



Re: Some keys on the keyboard do not work

2020-08-10 Thread Stefan Monnier
> IIRC, this is about a keyboard on a laptop -- I would not put any part of 
> that 
> in a dishwasher.

You sure can, tho you'll want to put only the keyboard (many other parts
of a laptop can go safely into the dishwasher, actually, but indeed you
probably don't want to put the whole laptop in).


Stefan



Re: How to properly import the configuration of the Buster kernel into own development ?

2020-08-10 Thread songbird
Thomas Schmitt wrote:
...
> More progress:
>
> i wrote:
>> >   $ ls -l /mnt/iso/victim
>> >   -rwxr-xr-x 1 root root 35424 Aug 26  1904 /mnt/iso/victim
>
> Now
>
>   $ ls -l /mnt/iso/victim
>   -rwxr-xr-x 1 root root 35424 Oct  1  2040 /mnt/iso/victim
>
> (What a difference time64_t instead of int can make ...)
>
> --
>
> Have a nice day :)

  always interesting!  :)


  songbird



Re: Lenovo S205 boot

2020-08-10 Thread Russell L. Harris

On Mon, Aug 10, 2020 at 09:34:01PM +, Andrew Cater wrote:

Aha - it might be one of the strange generation of machines (way back) that had
32 bit UEFI/BIOS and a 64 bit capable Atom processor - maybe back as far as the
Sandy Bridge series ... a long time ago anyway. Use, specifically, the Debian
i386/amd64 multiarch netboot to install this and it works and installs the 32
bit Grub [BIOS] /Grub2 [UEFI] and 64 bit userland.

Have done this once on an old Toshiba - this was the only way to get this
machine to boot.



Perhaps I missed something.

The label on the bottom of the machine reads:

   Lenovo IdeaPad S205
   Model Name: 1038
   Mfg Date:  11/06/03

The netinstall image I used was:
debian-bullseye-DI-alpha2-amd64-netinst.iso; that installation brings
up the grub> prompt, and allows me to boot by typing in the commands:

   grub> root=(hd0,gpt2)
   grub> linux /vmlinuz root=/dev/sda2
   grub> initrd /initrd.img
   grub> boot

But X does not start.  However, when press alt-F3 and open a terminal
window, I can log in as a normal user and then I can become a
superuser.

The command:
   # dmesg |grep amd
produces the output:
   amd_nb: x86/cpu/AMD: CPU erratum 688 worked around

So is my processor AMD or Atom?  Should I install with another
netinstall image?  if so, from where may I download it?

RLH



Re: Some keys on the keyboard do not work

2020-08-10 Thread rhkramer
IIRC, this is about a keyboard on a laptop -- I would not put any part of that 
in a dishwasher.

On Monday, August 10, 2020 07:04:39 PM Stefan Monnier wrote:
> > I suspect it is a hardware problem, and what I would do is get the manual
> > for the laptop and look into how hard it might be to clean the keyboard.
> 
> Definitely a good idea, since it's easy to do and can solve the problem
> (depending on the problem's origin, obviously).
> 
> > You might try blowing out (or vacuuming) the keyboard (with canned air or
> > a vacuum cleaner / blower with tools with small orifices).
> 
> Another thing you can do is to *wash* it.  E.g. in a dishwasher.
> It may sound odd/scary but it works really well.
> Just make sure the keyboard is *really* dry before plugging it back in
> (and try to avoid the dry-cycle since it can be too hot (especially if
> you use the lower-rack)).  Your favorite search engine may give you
> other tips about this practice.
> 
> 
> Stefan "who's done it a few times with his beloved Thinkpad
> keyboards"



Re: [OT] Remote SSH (dynamic IP) without third-party server

2020-08-10 Thread martin f krafft

This may be of interest to the OP: https://github.com/noffle/airpipe

--
 .''`.   martin f. krafft  @martinkrafft
: :'  :  proud Debian developer
`. `'`   http://people.debian.org/~madduck
  `-  Debian - when you have better things to do than fixing systems
 
stupidity management for the superuser

is a user space issue in unix systems.
 -- alan cox


digital_signature_gpg.asc
Description: Digital GPG signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)


Re: Some keys on the keyboard do not work

2020-08-10 Thread Stefan Monnier
> I suspect it is a hardware problem, and what I would do is get the manual for 
> the laptop and look into how hard it might be to clean the keyboard.

Definitely a good idea, since it's easy to do and can solve the problem
(depending on the problem's origin, obviously).

> You might try blowing out (or vacuuming) the keyboard (with canned air or a 
> vacuum cleaner / blower with tools with small orifices).

Another thing you can do is to *wash* it.  E.g. in a dishwasher.
It may sound odd/scary but it works really well.
Just make sure the keyboard is *really* dry before plugging it back in
(and try to avoid the dry-cycle since it can be too hot (especially if
you use the lower-rack)).  Your favorite search engine may give you
other tips about this practice.


Stefan "who's done it a few times with his beloved Thinkpad
keyboards"



Re: how to find out HorizSync, VertRefresh and resolution used by X

2020-08-10 Thread Long Wind
 Thank 007 and Dan!
 lxrandr seems better than others .
On Tuesday, August 11, 2020, 3:55:30 AM GMT+8, Dan Ritter 
 wrote:  
 
 0...@caiway.net wrote: 
> On Mon, 10 Aug 2020 19:25:39 + (UTC)
> Long Wind  wrote:
> 
> >  is there some gui tool that can change screen resolution and refresh
> > rate? i use twm 
> 
> gvidm is the one I use, very usefull. I use it with fluxbox.

arandr, lxrandr, autorandr are all similar.

-dsr-

  

Re: Lenovo S205 boot

2020-08-10 Thread Andrew Cater
Aha - it might be one of the strange generation of machines (way back) that
had 32 bit UEFI/BIOS and a 64 bit capable Atom processor - maybe back as
far as the Sandy Bridge series ... a long time ago anyway. Use,
specifically, the Debian i386/amd64 multiarch netboot to install this and
it works and installs the 32 bit Grub [BIOS] /Grub2 [UEFI] and 64 bit
userland.

Have done this once on an old Toshiba - this was the only way to get this
machine to boot.

On Mon, Aug 10, 2020 at 5:23 PM Russell L. Harris 
wrote:

> On Mon, Aug 10, 2020 at 05:38:52PM +0200, Sven Hoexter wrote:
> >On Tue, Aug 04, 2020 at 05:52:10PM +, Russell L. Harris wrote:
> >If going back to i386 is an option for you, the department of
> >workarounds has an option.
>
> Again, at this point, my only hope for the machine (other than to toss
> it in the dumpster) is for it to provide a reasonable environment for
> composition when away from home.
>
> For me, composition requires emacs, LaTeX or TeXLive, xdvi, and
> (hopefully) a dictionary, together with a means such as ssh or rsync
> to transfer documents to the desktop machine when I arrive back home.
> The only other necessity is the ability to use the "Dvorak Classic"
> keymap (which differs from the Dvorak ANSI map offered by the
> installer).
>
> As to the touchpad, I find a touchpad awkward at best; it is better to
> pack along a USB mouse.
>
> Years ago my first attempt to install Debian overwrote the W$7
> installation; otherwise, I might market the machine to a Window$ user.
>
> RLH
>
>


Re: Montar recursos samba remotos con cuentas de usuario regular

2020-08-10 Thread JavierDebian




El 10/8/20 a las 15:53, jEsuSdA 8) escribió:

Hola!

Estimados amigos, necesito vuestra ayuda:


Quiero hacer un script que permita a un usuario regular de una máquina 
conectarse a unas carpetas remotas compartidas vía samba.


He hecho pruebas con mount.cifs y funciona perfectamente, pero sólo 
desde una cuenta de root.


No me interesa meter a ninguno de esos usuarios al grupo sudoers, pues 
sólo quiero que puedan montar y desmontar esos recursos y no tengan más 
privilegios.


¿Alguna idea de si es posible y cómo podría proceder?


Muchas gracias! ;)




https://blog.carreralinux.com.ar/2016/03/curso-gratuito-linux-como-conectarse-a-directorio-compartido-en-windows/

Si la red Windows NO está sobre un ADS, esto sigue siendo válido.

JAP



Re: Qt5 & SQLite

2020-08-10 Thread JavierDebian




El 10/8/20 a las 17:25, Felix Perez escribió:

2.- Sistema administración de sucursales cadena productos avícolas.
Cada sucursal actuaba de forma independiente, al final del día sistema
enviaba reporte de ventas e inventario al servidor central el cual
procedía a cuadrar y contabilizar todo.  Incuso este sistema cuando
inicio era manual, había que enviar el reporte por fax a contabilidad
y ahí se cuadraba todo. Con el paso del tiempo solo se fue adaptando a
las nuevas tecnología pero ppalmente era lo mismo.


Es EXACTAMENTE esto lo que tengo que hacer. No es avícola la empresa, 
pero es el mismo principio.
Pasa que el sistema en Clipper ya no da, pues hay que emular un DOS para 
que corra.

Ya está viejo y con ganas.

Cliper tenía su "sistema db" encima, y facilongo. De hecho, era 
transparente al usuario de dónde estaba físicamente la base de datos.

Y era UN SOLO programa.

El hecho de montar un servidor de base de datos, complica un poco, por 
eso busco algo que sea fácil de montar, o invisible al usuario final.
Hay que recordar que los usuarios son enemigos del programador, y van a 
hacer todo lo que le digas que NO hagan, y dejarán de lado todo lo que 
es mandatorio hacer.


Por lo que si antes de usar el programa deben arrancar un demonio que 
corra la base de datos sé que voy a tener problema.


JAP



Re: Can't start Gimp in Bullseye

2020-08-10 Thread Kent West
On Mon, Aug 10, 2020 at 1:49 PM Joachim Fahnenmüller 
wrote:

> Am 10.08.20 um 17:39 schrieb Kent West:
> > On Mon, Aug 10, 2020 at 10:20 AM Joachim Fahnenmüller <
> jfahnenmuel...@web.de>
> > wrote:
> >
> >> Hi everybody,
> >>
> >> since I upgraded to Bullseye, Gimp does not start any more. I get the
> >> following:
> >>
> >> joachim@peter:~$ gimp
> >> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> >> available (required by gimp)
> >> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> >> available (required by /usr/lib/libgimpwidgets-2.0.so.0)
> >> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> >> available (required by /usr/lib/libgimpcolor-2.0.so.0)
> >> gimp: symbol lookup error: gimp: undefined symbol:
> gegl_rectangle_subtract
> >>
> >> Any idea?
> >>
> >>
> > What happens with:
> >
> > ~$ ls -lah /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0
> > lrwxrwxrwx 1 root root 22 Jun 13 10:36
> > /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0 -> libbabl-0.1.so.0.177.1
> >
> >
>
>
> joachim@peter:~$ ls -lah /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0
> lrwxrwxrwx 1 root root 22 Jun 13  2019
> /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0 -> libbabl-0.1.so.0.165.1
>
>

You might try:

$ cd /usr/bin
$ ldd gimp

and look for any "not found" lines.

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


Re: Can't start Gimp in Bullseye

2020-08-10 Thread Weaver
On 11-08-2020 01:19, Joachim Fahnenmüller wrote:
> Hi everybody,
> 
> since I upgraded to Bullseye, Gimp does not start any more. I get the
> following:
> 
> joachim@peter:~$ gimp
> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> available (required by gimp)
> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> available (required by /usr/lib/libgimpwidgets-2.0.so.0)
> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> available (required by /usr/lib/libgimpcolor-2.0.so.0)
> gimp: symbol lookup error: gimp: undefined symbol: gegl_rectangle_subtract
> 
> Any idea?

No problem here, so it looks like an upgrade mishap.
What version of GIMP are you running?
Any messages in your package manager?

-- 
`Religion is regarded by the common people as true,
by the wise as false,
and by the rulers as useful'.

— Lucius Annæus Seneca.

Terrorism, the new religion.

Registered Linux User: 554515



Re: Qt5 & SQLite

2020-08-10 Thread Felix Perez
El lun., 10 de ago. de 2020 a la(s) 09:37, JavierDebian
(javier.debian.bb...@gmail.com) escribió:
>
>
>
> El 10/8/20 a las 04:08, Felix Perez escribió:
> > Aplicación en local o a través de red mediante cliente servidor?
> >
> > MariaDB/Mysql en local encuentro que no funciona fluído, puede que sea idea 
> > mía.
> > Postgresql un cañon, quizás para lo que quieras hacer.
> > Podrías revisar Firebird embebido o cliente servidor pero en local,
> > Firebird es mucho más que sqlite.
> >
> > Saludos Javier,
>
> Ahí está el clavo.
> La aplicación debería hacer las DOS cosas.
>
> Me explico mejor.
> La van a usar unas 60 sucursales.
> De las 60, unas 40 son apenas un localcito, normalmente con pobre acceso
> a la red, o ninguno. Deben registrar documentación, y luego, remitirlo a
> casa central. La remisión es en forma diferida de un paquete de archivos
> comprimidos, por correo electrónico; puede ser un minuto después de
> producirlo, o dos o tres días después. Por lo que se trata de un mono
> usuario, todo en una sola computadora
> 20 de ellas, son más que un local, y trabaja más de una terminal en
> forma simultánea; normalmente 2 o 3. Eso debe ser en red el uso de la
> aplicación, y la remisión de informes, por un tema de compatibilidad,
> también es diferida, pero acá suele ser apenas se produce el paquete.
>
> Por lo que la aplicación debe ser perfectamente capaz de funcionar en
> forma local, pero permitir un pequeño escalado a redes pequeñas.
>
> El paquete remitido, ése está fácil. La central que los recibe los toma
> y los inyecta a una base Oracle.
>
> El problema, es que por la infraestructura de la empresa, no puedo
> asegurar 100% de comunicación de red para hacer algo basado en web; el
> 90% de los locales chicos tienen casi nula conexión.
> El programa actual, en sus inicios, la remisión de datos funcionaba a
> diskette vía correo físico. Ahora se remite por correo electrónico vía
> telefonía celular una vez al día.
> Además, no se necesita tanta inmediatez; 24 hs de demora sigue siendo
> más aceptable que el gasto de conectividad vía celular de 8 horas
> diarias en 30 locales.
>
> Me pongo a ver lo de Firebird; no tengo ni idea.
>
> JAP
>
Mira te relato dos experiencias con dos sistemas, puede darte ideas.
1.- Sistema admin de restaurantes Aloha, funciona con un servidor
central, y con los clientes enviando la info al servidor, para generar
comandas y boletas, cuando se cae la red el cliente sigue operando
emitiendo comanda para preparar platos y detalle para cobrar, cuando
se reactiva la red, el cliente envía toda la información almacenada al
server central para que este pueda actualizar y cuadrar informes y
contabilizaciones.
2.- Sistema administración de sucursales cadena productos avícolas.
Cada sucursal actuaba de forma independiente, al final del día sistema
enviaba reporte de ventas e inventario al servidor central el cual
procedía a cuadrar y contabilizar todo.  Incuso este sistema cuando
inicio era manual, había que enviar el reporte por fax a contabilidad
y ahí se cuadraba todo. Con el paso del tiempo solo se fue adaptando a
las nuevas tecnología pero ppalmente era lo mismo.

Saludos.

-- 
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: how to find out HorizSync, VertRefresh and resolution used by X

2020-08-10 Thread Dan Ritter
0...@caiway.net wrote: 
> On Mon, 10 Aug 2020 19:25:39 + (UTC)
> Long Wind  wrote:
> 
> >  is there some gui tool that can change screen resolution and refresh
> > rate? i use twm 
> 
> gvidm is the one I use, very usefull. I use it with fluxbox.

arandr, lxrandr, autorandr are all similar.

-dsr-



Re: how to find out HorizSync, VertRefresh and resolution used by X

2020-08-10 Thread 0...@caiway.net
On Mon, 10 Aug 2020 19:25:39 + (UTC)
Long Wind  wrote:

>  is there some gui tool that can change screen resolution and refresh
> rate? i use twm 

gvidm is the one I use, very usefull. I use it with fluxbox.

description:

Running gvidm will pop up a list of available modes and allows the user
to select one if desired. This makes it perfect for running from an
application menu or a hotkey, so you don't have to use ram for an applet
constantly running. If you are running dual or multi-head displays, it
will give you a list of screens so you can select the appropriate one.



Re: Re : Re: [HS] Dégafamiser l'internet

2020-08-10 Thread François Boisson
Le Tue, 4 Aug 2020 10:32:45 +0200
Bureau LxVx  a écrit:

> > de ses données personnelles; Il y a aussi les moteurs de recherche Qwant 
> NON, qwant n'est "plus" le moteur si honnête qu'il le disait (bcp
> d'articles à ce sujet dans les mois précédents) :
> https://www.lalettrea.fr/entreprises_conseil-et-services/2020/07/20/datas-proces-et-paradis-fiscaux--le-delicat-droit-d-inventaire-de-qwant,109245405-ge0
> 
> > *Qwant dépend fortement de Microsoft Bing*
> >
> > L'un des plus gros problèmes à souligner dans la démarche interne de
> > l’entreprise est sa forte dépendance de Microsoft. Oui, l’entreprise
[...]
> > moteur de recherche de Microsoft Bing. Pourquoi Qwant utilise les
> > technologies américaines pour ensuite essayer de rivaliser avec elles ?
> https://www.developpez.com/actu/268567/Qwant-enquete-sur-les-deboires-du-Google-francais-hauts-salaires-deficit-subventions-utilisation-de-Bing-et-Bing-Ads/
> 
> Il nous reste heureusement Startpage, duckduckgo, searx  et pour les
> écolos Ecosia et Lilo
> 

Il n'y a aucune contradiction à revendiquer la recherche anonyme sans
récupération de données et utiliser le moteur Bing ou autre. Bing, Google et
autres ont des moteurs de recherche efficaces et surtout une indexation des
pages internet quasiment complète et que Qwant mettra un certain temps à
constituer. Que Qwant utilise Bing pour compléter ces recherches peut se
faire de manière complètement anonyme et permet de fournir un résultat
valable. 

Quant à Lilo (que j'utilise), la page de résultats mentionne clairement
"Résultats de Microsoft" car lilo utilise Bing et ne cherche pas,
contrairement à Qwant, à développer son propre moteur. En revanche là aussi,
en se plaçant entre bing et l'utilisateur, les données utilisateur sont
masquées. La pub est faite uniquement à partir de termes de la recherche
d'après eux. Ce sont les revenus de cette pub qui partant à 50% dans
l'associatif humanitaire et/ou écologique font la spécificité de Lilo.


 François Boisson

PS: Pour se dé"GAFA"iser, l'assocation téléphone android + DAVX + nextcloud +
navigateur lilo + K9 mail pour un téléphone est une bonne idée...



Re: Montar recursos samba remotos con cuentas de usuario regular

2020-08-10 Thread Roberto C . Sánchez
On Mon, Aug 10, 2020 at 08:53:54PM +0200, jEsuSdA 8) wrote:
> Hola!
> 
> Estimados amigos, necesito vuestra ayuda:
> 
> 
> Quiero hacer un script que permita a un usuario regular de una máquina
> conectarse a unas carpetas remotas compartidas vía samba.
> 
> He hecho pruebas con mount.cifs y funciona perfectamente, pero sólo desde
> una cuenta de root.
> 
> No me interesa meter a ninguno de esos usuarios al grupo sudoers, pues sólo
> quiero que puedan montar y desmontar esos recursos y no tengan más
> privilegios.
> 
> ¿Alguna idea de si es posible y cómo podría proceder?
> 
¿Quizás buscas a fusesmb?

> 
> Muchas gracias! ;)
> 
De nada.

Saludos,

-Roberto

-- 
Roberto C. Sánchez



Montar recursos samba remotos con cuentas de usuario regular

2020-08-10 Thread jEsuSdA 8)

Hola!

Estimados amigos, necesito vuestra ayuda:


Quiero hacer un script que permita a un usuario regular de una máquina 
conectarse a unas carpetas remotas compartidas vía samba.


He hecho pruebas con mount.cifs y funciona perfectamente, pero sólo 
desde una cuenta de root.


No me interesa meter a ninguno de esos usuarios al grupo sudoers, pues 
sólo quiero que puedan montar y desmontar esos recursos y no tengan más 
privilegios.


¿Alguna idea de si es posible y cómo podría proceder?


Muchas gracias! ;)



Re: Can't start Gimp in Bullseye

2020-08-10 Thread Joachim Fahnenmüller

Am 10.08.20 um 17:39 schrieb Kent West:

On Mon, Aug 10, 2020 at 10:20 AM Joachim Fahnenmüller 
wrote:


Hi everybody,

since I upgraded to Bullseye, Gimp does not start any more. I get the
following:

joachim@peter:~$ gimp
gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
available (required by gimp)
gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
available (required by /usr/lib/libgimpwidgets-2.0.so.0)
gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
available (required by /usr/lib/libgimpcolor-2.0.so.0)
gimp: symbol lookup error: gimp: undefined symbol: gegl_rectangle_subtract

Any idea?



What happens with:

~$ ls -lah /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0
lrwxrwxrwx 1 root root 22 Jun 13 10:36
/usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0 -> libbabl-0.1.so.0.177.1





joachim@peter:~$ ls -lah /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0
lrwxrwxrwx 1 root root 22 Jun 13  2019
/usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0 -> libbabl-0.1.so.0.165.1



Re: Some keys on the keyboard do not work

2020-08-10 Thread Doug McGarrett




On 8/10/20 7:56 AM, Eugen Dedu wrote:

Hi,

I have a Dell Latitude 5580 laptop, and have been a happy debian 
unstable user for 20 years.  I have a very weird problem with its 
builtin keyboard which slows down my work significantly (ctrl-c, 
ctrl-x, ENTER etc. do not work):


Since several months ago some keys on my keyboard do not work, in all 
the applications (e.g. gnome-terminal, emacs, thundebird, firefox). 
When I press on them, very often nothing happens (usually, I press on 
them for 10 seconds to make appear the character), sometimes the key 
appears twice, and sometimes it works flawlessly.  When it works, it 
works for several minutes or several hours; similarly, when it does 
not work, it does not for several minutes or hours or days.  I use 
very often suspend/resume, I also use xmodmap and awesome window 
manager, but I suppose this is irrelevant.


The problematic keys are found on the last row: xcvm,. (but zbn work) 
and the bottom keys (ctrl, alt, window, however space works always 
correctly), plus ENTER key.


I have always thought that it is a X problem which will get fixed. 
Interesting, a few days ago I noticed that on grub I have the same 
problem: c and ENTER did not work.  So now I wonder if it is not a 
hardware problem, however sometimes it works for a long time!


I have looked at Xorg.0.log, without seeing anything wrong.

How can I track down where the problem is, and fix it?

Thanks,
Eugen

For a quick answer, why not borrow a keyboard from some friend, or even 
a friendly dealer, and see if the problem goes away?

--doug, WA2SAY



Re: xterm no title (buster)

2020-08-10 Thread tomas
On Mon, Aug 10, 2020 at 07:16:34PM +0200, Marc SCHAEFER wrote:
> On Mon, Aug 10, 2020 at 07:03:26PM +0200, Marc SCHAEFER wrote:
> > Should I try with another window-manager?  I will also double-check that
> > the other working buster MATE installation uses marco.
> 
> The bug is NOT present with compiz.
> 
> The bug IS NOT present on a fresh buster install with marco.
> 
> I tried
> 
>   for i in .???*; do find $i -name '*marco*' -print; done
> 
> to see if any local marco-specific config existed, but could not find any.

Marco has a man page (online here [1]). In a typical [censored]
style, Marco has no config file: its config is woven into the
dumpster fire^H^H^H^H^H^H^H^H^H^H^H^H^H gconf database. As to
which config items there are relevant and what effect they
have, the man page implicitly seems to have the words "good
luck".

But perhaps, just perhaps, you manage to find there how title
bar fonts and colouring.

My favourite hypotheses are those two: Marco is using a font
to render those titles which it somehow can't display or it
is displaying things fine, but with the same foreground and
background colours.

But I'm more than willing to take a third hypothesis into my
collection :)

Cheers
[1] https://manpages.debian.org/buster/marco/x-window-manager.1.en.html
 - t


signature.asc
Description: Digital signature


Re: Lenovo S205 boot

2020-08-10 Thread Russell L. Harris

On Mon, Aug 10, 2020 at 05:38:52PM +0200, Sven Hoexter wrote:

On Tue, Aug 04, 2020 at 05:52:10PM +, Russell L. Harris wrote:
If going back to i386 is an option for you, the department of
workarounds has an option.


Again, at this point, my only hope for the machine (other than to toss
it in the dumpster) is for it to provide a reasonable environment for
composition when away from home.

For me, composition requires emacs, LaTeX or TeXLive, xdvi, and
(hopefully) a dictionary, together with a means such as ssh or rsync
to transfer documents to the desktop machine when I arrive back home.
The only other necessity is the ability to use the "Dvorak Classic"
keymap (which differs from the Dvorak ANSI map offered by the
installer).

As to the touchpad, I find a touchpad awkward at best; it is better to
pack along a USB mouse.

Years ago my first attempt to install Debian overwrote the W$7
installation; otherwise, I might market the machine to a Window$ user.

RLH



Re: xterm no title (buster)

2020-08-10 Thread Marc SCHAEFER
On Mon, Aug 10, 2020 at 07:03:26PM +0200, Marc SCHAEFER wrote:
> Should I try with another window-manager?  I will also double-check that
> the other working buster MATE installation uses marco.

The bug is NOT present with compiz.

The bug IS NOT present on a fresh buster install with marco.

I tried

  for i in .???*; do find $i -name '*marco*' -print; done

to see if any local marco-specific config existed, but could not find any.



Re: xterm no title (buster)

2020-08-10 Thread Marc SCHAEFER
On Mon, Aug 10, 2020 at 01:47:08PM +0200, to...@tuxteam.de wrote:
> Have you tried another "classic" X program? For example xmag or xeyes?

Yes, they fail miserably.

> xterm in a special way, or the decorations of all "classic" X programs
> fail in the same way.

I would guess that.

Should I try with another window-manager?  I will also double-check that
the other working buster MATE installation uses marco.



Re: Can't start Gimp in Bullseye

2020-08-10 Thread Kent West
On Mon, Aug 10, 2020 at 10:39 AM Kent West  wrote:

>
>
> On Mon, Aug 10, 2020 at 10:20 AM Joachim Fahnenmüller <
> jfahnenmuel...@web.de> wrote:
>
>> Hi everybody,
>>
>> since I upgraded to Bullseye, Gimp does not start any more. I get the
>> following:
>>
>> joachim@peter:~$ gimp
>> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
>> available (required by gimp)
>> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
>> available (required by /usr/lib/libgimpwidgets-2.0.so.0)
>> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
>> available (required by /usr/lib/libgimpcolor-2.0.so.0)
>> gimp: symbol lookup error: gimp: undefined symbol: gegl_rectangle_subtract
>>
>> Any idea?
>>
>>
> What happens with:
>
> ~$ ls -lah /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0
> lrwxrwxrwx 1 root root 22 Jun 13 10:36
> /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0 -> libbabl-0.1.so.0.177.1
>
>
~$ apt-file search libbabl-0.1.so.0.177.1
libbabl-0.1-0: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0.177.1

~$ aptitude search libbabl
i A libbabl-0.1-0- Dynamic, any to any,
pixel format conversion library

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


Re: Can't start Gimp in Bullseye

2020-08-10 Thread Kent West
On Mon, Aug 10, 2020 at 10:20 AM Joachim Fahnenmüller 
wrote:

> Hi everybody,
>
> since I upgraded to Bullseye, Gimp does not start any more. I get the
> following:
>
> joachim@peter:~$ gimp
> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> available (required by gimp)
> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> available (required by /usr/lib/libgimpwidgets-2.0.so.0)
> gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
> available (required by /usr/lib/libgimpcolor-2.0.so.0)
> gimp: symbol lookup error: gimp: undefined symbol: gegl_rectangle_subtract
>
> Any idea?
>
>
What happens with:

~$ ls -lah /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0
lrwxrwxrwx 1 root root 22 Jun 13 10:36
/usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0 -> libbabl-0.1.so.0.177.1


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


Re: Are the assigned capacities sufficient for my setup?

2020-08-10 Thread Daniel Barclay

gajuph4pre@yahoo,

Andy Smith wrote:

Hello,

On Tue, Jul 28, 2020 at 08:53:57PM +, gajuph4...@yahoo.com wrote:

I have manually partitioned my hard disk drive as follows:

/boot is assigned 200MB
/root is assigned 10GB
/swap is assigned 20GB
/home is assigned 35GB
/var is assigned 10GB
/usr is assigned 5GB
/usr-local is assigned 5GB
/opt is assigned 5GB
/srv is assigned 5GB


This is a terrible idea. It's near impossible to predict how your
usage will evolve so almost certainly one or more of these will fill
while others remain near empty.

If you want to do this, use LVM and pick minimal capacities for all


Definitely.  If you really want to have separate file systems for all
those mount points (and maybe even if you only have a few separate ones),
use LVM.

Instead of having your mount points' file systems directly on real disk
partitions, which are harder to re-size, sometimes needing time-consuming
copying to empty space on a disk, you'd have your file systems on
virtual partitions (LVM logical volumes) that can be re-sized easily.
(LVM uses the real disk partitions as LVM physical volumes, from which
space can be allocated to the LVM logical volumes.


One suggestion:  When you set things up, learn how to extend a logical
volume and enlarge its contained file system and then write down
instructions/reminders for yourself.  When you run out of space in some
file system in the middle of doing something else (likely months down the
road), you probably won't remember the LVM details you haven't thought
about since you set things up.

(I have my file systems set up on LVM logical volumes, the LVM physical
volumes set up on RAID arrays, and the RAID arrays set up on pairs of
partitions on my two disks.  Having detailed instructions, for, e.g.,
enlarging a file system and for replacing a failed disk, already written
down saved a lot of time and headaches and avoided mistakes.)


Daniel





the above, leaving the majority unallocated. You can then grow
logical volumes as needed and the problem goes away.

Cheers,
Andy





Re: Lenovo S205 boot

2020-08-10 Thread Sven Hoexter
On Tue, Aug 04, 2020 at 05:52:10PM +, Russell L. Harris wrote:
> On Tue, Aug 04, 2020 at 07:04:13PM +0200, Sven Hoexter wrote:
> > so far I can only confirm that the grub installation fails with
> > both stable and testing. It seems something is at odds with writing
> > the efivars. I did not yet get around to try again if I can switch
> > the installation back to using grub-legacy somehow.
> 
> I would not mind going back to Wheezy, if necessary.

If going back to i386 is an option for you, the department of
workarounds has an option.

I could install with the i386 non-free bullseye iso from
https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/bullseye_di_alpha2/i386/iso-cd/

Basically that forces a BIOS mode installation, but be aware
grub2 also in BIOS mode does not boot on this device.

So what I did was just before the installer asks for your
confirmation to reboot I switched to the shell on tty and did
roughly the following:
mount -o bind /sys /target/sys
mount -o bind /dev /target/dev
mount -o bind /proc /target/proc
chroot /target /bin/bash
apt install grub-legacy
dpkg --purge grub-pc grub-pc-bin grub2-common
update-grub
grub-install /dev/sda

exit & reboot.
That basically replaces the known to not work grub2 with the old
grub which already worked in the past.

Did not yet move on from here. So in my bug that is so far two
bugs:
a) the touchpad does not work in the graphical installer
b) grub2 does not work in EFI and BIOS mode

You can probably afterwards also install an amd64 kernel image so
you have a i386 userland with at least a 64bit kernel running.

For the sake of random testing I also tried Ubuntu 20.04 and Fedora 32 and
in both cases the grub2 efi installation fails as well. Quite sure
that is a general issue between the UEFI on this device and grub2 which
for some unknown reason worked or was workaround in the old grub.

Not sure if that helps you to move on in any direction with this
device.

Sven



Re: Qt5 & SQLite

2020-08-10 Thread JavierDebian




El 10/8/20 a las 10:36, JavierDebian escribió:

Me pongo a ver lo de Firebird; no tengo ni idea.



Está interesante esto de Firebird... y más el paquetito FlameRobin...

JAP



Re: Responsible Vulnerability Disclosure

2020-08-10 Thread Dan Ritter
Parshwa Bhavsar wrote: 
> Hello there,
> 
> Is there any update on this?
> 
> > Description :-
> >
> > A malicious user can have access to some admin data through this
> > vulnerability.
> > This vulnerability is also called "Directory Listening".
> >
> >
> > Vulnerable URL :-
> >
> > http://ftp.debian.org/debian/pool/main/n/nautilus-admin/

That's not an administrative system. That's software
distribution, for a package called "nautilus-admin".

There's no security impact here. 

-dsr-



Can't start Gimp in Bullseye

2020-08-10 Thread Joachim Fahnenmüller

Hi everybody,

since I upgraded to Bullseye, Gimp does not start any more. I get the
following:

joachim@peter:~$ gimp
gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
available (required by gimp)
gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
available (required by /usr/lib/libgimpwidgets-2.0.so.0)
gimp: /usr/lib/x86_64-linux-gnu/libbabl-0.1.so.0: no version information
available (required by /usr/lib/libgimpcolor-2.0.so.0)
gimp: symbol lookup error: gimp: undefined symbol: gegl_rectangle_subtract

Any idea?

Regards, Joachim



Re: Responsible Vulnerability Disclosure

2020-08-10 Thread Parshwa Bhavsar
Hello there,

Is there any update on this?

On Fri, 7 Aug 2020, 12:30 am Parshwa Bhavsar, 
wrote:

> Hello There,
> I am Parshwa Bhavsar.
> I have found a Vulnerability called "Sensitive Information Disclosure".
>
> Report :-
>
> Description :-
>
> A malicious user can have access to some admin data through this
> vulnerability.
> This vulnerability is also called "Directory Listening".
>
>
> Vulnerable URL :-
>
> http://ftp.debian.org/debian/pool/main/n/nautilus-admin/
>
>
> Steps to reproduce :-
>
> Open the vulnerable URL in your browser , you will notice that some of the
> admin files have been publicly accessed.
>
> PoC :-
> Attached ScreenShot.
>
>
> Impact :-
>
> A malicious user will use this information to plan furthermore attacks.
> It also refers to data leak to the non-authorized party.
>
>
> Mitigation:-
>
> Restrict non-authorized users to access this file.
>
> Hope, You will patch it soon :)
>
> Thanks & Regards,
> Parshwa Bhavsar
>
>


Re: Qt5 & SQLite

2020-08-10 Thread JavierDebian




El 10/8/20 a las 07:49, Galvatorix Torixgalva escribió:

Hola,

aparte de lo que te han comentado los compañeros de la lista queria 
añadir lo siguiente: si necesitas mostrar graficos 2D/3D tambien tienes 
la libreria SDL


SDL es "solo" para graficos 2D, pero si tienes cierta habilidad puedes 
simular las 3D.


Solo comentartelo, por si en algun caso te puede interesar dicha opcion.

Un saludo



Nada de 2D ni 3d. Sólo datos administrativos contables.

JAP



Re: Qt5 & SQLite

2020-08-10 Thread JavierDebian




El 10/8/20 a las 04:08, Felix Perez escribió:

Aplicación en local o a través de red mediante cliente servidor?

MariaDB/Mysql en local encuentro que no funciona fluído, puede que sea idea mía.
Postgresql un cañon, quizás para lo que quieras hacer.
Podrías revisar Firebird embebido o cliente servidor pero en local,
Firebird es mucho más que sqlite.

Saludos Javier,


Ahí está el clavo.
La aplicación debería hacer las DOS cosas.

Me explico mejor.
La van a usar unas 60 sucursales.
De las 60, unas 40 son apenas un localcito, normalmente con pobre acceso 
a la red, o ninguno. Deben registrar documentación, y luego, remitirlo a 
casa central. La remisión es en forma diferida de un paquete de archivos 
comprimidos, por correo electrónico; puede ser un minuto después de 
producirlo, o dos o tres días después. Por lo que se trata de un mono 
usuario, todo en una sola computadora
20 de ellas, son más que un local, y trabaja más de una terminal en 
forma simultánea; normalmente 2 o 3. Eso debe ser en red el uso de la 
aplicación, y la remisión de informes, por un tema de compatibilidad, 
también es diferida, pero acá suele ser apenas se produce el paquete.


Por lo que la aplicación debe ser perfectamente capaz de funcionar en 
forma local, pero permitir un pequeño escalado a redes pequeñas.


El paquete remitido, ése está fácil. La central que los recibe los toma 
y los inyecta a una base Oracle.


El problema, es que por la infraestructura de la empresa, no puedo 
asegurar 100% de comunicación de red para hacer algo basado en web; el 
90% de los locales chicos tienen casi nula conexión.
El programa actual, en sus inicios, la remisión de datos funcionaba a 
diskette vía correo físico. Ahora se remite por correo electrónico vía 
telefonía celular una vez al día.
Además, no se necesita tanta inmediatez; 24 hs de demora sigue siendo 
más aceptable que el gasto de conectividad vía celular de 8 horas 
diarias en 30 locales.


Me pongo a ver lo de Firebird; no tengo ni idea.

JAP



No scancodes for some buttons

2020-08-10 Thread George Shuklin
I've got a very odd wireless keyboard. It look like TV remote, but is an 
actual keyboard inside. Some buttons work perfectly (VolumeUp, 
VolumeDown), some are not.


I've dug into this topic, and found that there is a set of buttons which 
does not produce both scancodes and input events (scancodes in console 
ignores them, evtest ignores them).


As the last effort I used usmon kernel module and Wireshark, and I found 
that 'silent' keys are actually cause the same number of USB events as 
working ones.


The problem is that I have no idea how to read wireshark/usb output. 
I've started from 'working keys' and I can't understand a thing. What is 
URB? How to read dump if I can't find a 'button code' (for working keys) 
in the dump?



Can someone help me with 101 on usb keyboards? Some kind of high-level 
overview with terminology, etc...





Re: Some keys on the keyboard do not work

2020-08-10 Thread rhkramer
On Monday, August 10, 2020 07:56:43 AM Eugen Dedu wrote:
> I have a Dell Latitude 5580 laptop, and have been a happy debian
> unstable user for 20 years.  I have a very weird problem with its
> builtin keyboard which slows down my work significantly (ctrl-c, ctrl-x,
> ENTER etc. do not work):
> 
> Since several months ago some keys on my keyboard do not work, in all
> the applications (e.g. gnome-terminal, emacs, thundebird, firefox).
> When I press on them, very often nothing happens (usually, I press on
> them for 10 seconds to make appear the character), sometimes the key
> appears twice, and sometimes it works flawlessly.  When it works, it
> works for several minutes or several hours; similarly, when it does not
> work, it does not for several minutes or hours or days.  I use very
> often suspend/resume, I also use xmodmap and awesome window manager, but
> I suppose this is irrelevant.
> 
> The problematic keys are found on the last row: xcvm,. (but zbn work)
> and the bottom keys (ctrl, alt, window, however space works always
> correctly), plus ENTER key.
> 
> I have always thought that it is a X problem which will get fixed.
> Interesting, a few days ago I noticed that on grub I have the same
> problem: c and ENTER did not work.  So now I wonder if it is not a
> hardware problem, however sometimes it works for a long time!
> 
> I have looked at Xorg.0.log, without seeing anything wrong.
> 
> How can I track down where the problem is, and fix it?

I hesitate to suggest what I'm going to suggest -- so I'd suggest you wait 
until you hear any responses from people that can suggest either a software fix 
or a software test.  (Oh, see last line, maybe try plugging in an external 
keyboard (if that is possible) and see if you have the same problem.)

I suspect it is a hardware problem, and what I would do is get the manual for 
the laptop and look into how hard it might be to clean the keyboard.

You might try blowing out (or vacuuming) the keyboard (with canned air or a 
vacuum cleaner / blower with tools with small orifices).

But if that doesn't work, and no one has a better suggestion, I'd look into 
trying to disassemble the keyboard to some extent and examining it and trying 
to clean it.

I used to do this often with desktop keyboards, I guess I've been better 
lately at keeping them clean.  Laptop keyboards can be much more difficult to 
dis- and re-assemble and keep them working.

Hmm, one test I can think of -- try plugging in an external keyboard and see 
if you have the same problems (if there is a USB port (or other port for an 
external keyboard).









Re: Some keys on the keyboard do not work

2020-08-10 Thread Stefan Krusche
Dear Eugen,

Am Montag 10 August 2020 schrieb Eugen Dedu:
> Hi,
>
> I have a Dell Latitude 5580 laptop, and have been a happy debian
> unstable user for 20 years.  I have a very weird problem with its
> builtin keyboard which slows down my work significantly (ctrl-c,
> ctrl-x, ENTER etc. do not work):
>
> Since several months ago some keys on my keyboard do not work, in all
> the applications (e.g. gnome-terminal, emacs, thundebird, firefox).
> When I press on them, very often nothing happens (usually, I press on
> them for 10 seconds to make appear the character), sometimes the key
> appears twice, and sometimes it works flawlessly.  When it works, it
> works for several minutes or several hours; similarly, when it does
> not work, it does not for several minutes or hours or days.  I use
> very often suspend/resume, I also use xmodmap and awesome window
> manager, but I suppose this is irrelevant.
>
> The problematic keys are found on the last row: xcvm,. (but zbn work)
> and the bottom keys (ctrl, alt, window, however space works always
> correctly), plus ENTER key.
>
> I have always thought that it is a X problem which will get fixed.
> Interesting, a few days ago I noticed that on grub I have the same
> problem: c and ENTER did not work.  So now I wonder if it is not a
> hardware problem, however sometimes it works for a long time!

Just recently I discovered that a keyboard doesn't do anything when I
hit one of these keys (german qwertz layout): qwer uiop 789+

They are all on the same row and I believe something broke inside the
keyboard (I remember vaguely it having let fall down off the desk).

Haven't investigated yet.

>
> I have looked at Xorg.0.log, without seeing anything wrong.
>
> How can I track down where the problem is, and fix it?

Maybe test with another external keyboard?!

HTH

Kind regards,
Stefan



Some keys on the keyboard do not work

2020-08-10 Thread Eugen Dedu

Hi,

I have a Dell Latitude 5580 laptop, and have been a happy debian 
unstable user for 20 years.  I have a very weird problem with its 
builtin keyboard which slows down my work significantly (ctrl-c, ctrl-x, 
ENTER etc. do not work):


Since several months ago some keys on my keyboard do not work, in all 
the applications (e.g. gnome-terminal, emacs, thundebird, firefox). 
When I press on them, very often nothing happens (usually, I press on 
them for 10 seconds to make appear the character), sometimes the key 
appears twice, and sometimes it works flawlessly.  When it works, it 
works for several minutes or several hours; similarly, when it does not 
work, it does not for several minutes or hours or days.  I use very 
often suspend/resume, I also use xmodmap and awesome window manager, but 
I suppose this is irrelevant.


The problematic keys are found on the last row: xcvm,. (but zbn work) 
and the bottom keys (ctrl, alt, window, however space works always 
correctly), plus ENTER key.


I have always thought that it is a X problem which will get fixed. 
Interesting, a few days ago I noticed that on grub I have the same 
problem: c and ENTER did not work.  So now I wonder if it is not a 
hardware problem, however sometimes it works for a long time!


I have looked at Xorg.0.log, without seeing anything wrong.

How can I track down where the problem is, and fix it?

Thanks,
Eugen



Re: how to find out HorizSync, VertRefresh and resolution used by X

2020-08-10 Thread Dan Ritter
Long Wind wrote: 
> which command can showHorizSync, VertRefresh and screen resolution 


It will be in your xorg.0.log, which is either in
~/.local/share/xorg or
/var/log/

If you just want the refresh rate and resolution, xrandr will
tell you.

-dsr-



Re: xterm no title (buster)

2020-08-10 Thread tomas
On Mon, Aug 10, 2020 at 12:14:30PM +0200, Marc SCHAEFER wrote:
> On Sun, Aug 09, 2020 at 09:59:12AM +0200, to...@tuxteam.de wrote:
> > To verify/falsify that, you might run xprop on your xterm window.
> > The property you are looking for is called WM_NAME. You can even
> 
> xprop | grep WM_NAME
> WM_NAME(STRING) = "schaefer@reliand: /home/schaefer"

So xterm is "setting" [1] its title correctly.

> > use xprop to /set/ the window property -- this way you can be sure
> 
> xprop -f WM_NAME 8s -set WM_NAME "toto"

This is to be expected, after what you found out above.

[...]

Given that evidence, my guess is that the window manager is somehow
botching the title bar dispay. Either it tries to use some non-existent
font, or it's writing with the same background and foreground colour
or something.

Have you tried another "classic" X program? For example xmag or xeyes?

This may be a hint -- either your window manager is specifically treating
xterm in a special way, or the decorations of all "classic" X programs
fail in the same way.

Cheers

[1] Of course it cannot actually "set" the title. It just can ask
   politely the window manager to do it.

 - t


signature.asc
Description: Digital signature


Re: Qt5 & SQLite

2020-08-10 Thread Galvatorix Torixgalva
Hola,

aparte de lo que te han comentado los compañeros de la lista queria añadir
lo siguiente: si necesitas mostrar graficos 2D/3D tambien tienes la
libreria SDL

SDL es "solo" para graficos 2D, pero si tienes cierta habilidad puedes
simular las 3D.

Solo comentartelo, por si en algun caso te puede interesar dicha opcion.

Un saludo


Re: xterm no title (buster)

2020-08-10 Thread Marc SCHAEFER
On Sun, Aug 09, 2020 at 09:59:12AM +0200, to...@tuxteam.de wrote:
> To verify/falsify that, you might run xprop on your xterm window.
> The property you are looking for is called WM_NAME. You can even

xprop | grep WM_NAME
WM_NAME(STRING) = "schaefer@reliand: /home/schaefer"

> use xprop to /set/ the window property -- this way you can be sure

xprop -f WM_NAME 8s -set WM_NAME "toto"

clicking on either the titleless xterm or an emacs changes nothing (*).

NB: the xterm window title is seen on MATE's taskbar.

> whether it's xterm who is forgetting to do the right thing (that
> would be a bug to file against xterm) or it's your window manager
> ignoring it.

As I am the only one to experience this, it must be some configuration
somewhere!

> [2] https://en.wikipedia.org/wiki/ICCCM

Thank you, definitely is an interesting reference.

(*) examples often show xprop -set WM_NAME "toto" but it does not
work (cannot convert WM_NAME argument to STRING or COMPOUND_TEXT),
thus the -f



Désinfectants

2020-08-10 Thread Cecylia Lazar
Bonjour

Je contacte au nom du fabricant de savons, liquides et gels pour la 
désinfection des mains et les produits de nettoyage.

Je voudrais vous offrir des produits de désinfection inodores qui nettoient et 
désinfectent efficacement la peau, éliminant les virus et les bactéries de vos 
mains. Les produits de désinfection sont destinés à un usage général et 
professionnel (hôpitaux, salles de traitement, laboratoires et autres).

Nous proposons également des savons liquides efficaces avec une large gamme de 
parfums, gels douche, shampooings et revitalisants capillaires, et des 
détergents concentrés qui se distinguent sur le marché avec des performances 
élevées.

Nos produits sont sans danger pour tous les types de peau, destinés à un usage 
quotidien, ils ne contiennent ni silicones ni parabènes.

En raison du bon rapport qualité-prix, les cosmétiques et les produits de 
lavage sont très populaires sur les marchés européens.

Puis-je présenter une offre?


Cordialement

Cecylia Lazar
Responsable du développement commercial



Re: Qt5 & SQLite

2020-08-10 Thread Felix Perez
El vie., 7 de ago. de 2020 a la(s) 17:55, JavierDebian
(javier.debian.bb...@gmail.com) escribió:
>
> Buenas tardes.
>
> Habida cuenta de que se me ha presentado la posibilidad de re-programar
> un sistema, gracias a Dios sin tiempo de entrega ni de especificaciones
> mandatorias, es que estoy queriendo usar algo nuevo y moderno.
>
> Me explico mejor.
> En 1996 programé un sistema de administración en Clipper, y lo actualicé
> por última vez en el 2000 con CA-Clipper 5.3. Hasta ahora, funciona en
> entornos Windows en modo compatibilidad.

Clipper Summer 86, DBaseIII Plus, Ufff que tiempos.

> Me han pedido que lo traiga al s.XXI, sin apuro.
> Estoy un poco oxidado, pero me estoy desempolvando con varias cosas.
> Empecé a mirar Harbour, pero, me parece que entornos xBase son algo
> viejos; como yo.
> Además, quiero hacer algo que sume las siguientes características:
> - GUI
> - Multiplataforma: Windows y Linux
> - Entorno de red
> - SQL
>
He visto cosas muy interesantes con Pascal Lazarus, tanto con Sqlite
como con MariaDB, Postgresql incluso con Firebird.

> Ahora, la pregunta.
> He estado desempolvando mi C++ con Qt5, y mi SQL/RDBMS con SQLite.
> Es la pareja que CREO mejor se adapta a lo que quiero hacer, pues Qt5 me
> deja manejarme con soltura en GUI no sólo desde la consola de
> programación si no también con su IDE, y SQLite es lo más liviano y
> fácil de instalar para los usuarios sin necesidad de montar servidores.
> Qt5 tiene, para mí, la potencia de C++ y me siento a gusto; además,
> puedo inyectar código C++ puro por si lo necesito, y se compila tanto en
> Windows como en Linux con muy pocos retoques.
> Donde más dudas tengo es con la base de datos, pues no tengo idea de,
> por ejemplo, MariaDB. He usado mucho Oracle, pero para eso necesito
> montar un servidor, lo cual es complejo y no se justifica.
> Qt5 soporta https://doc.qt.io/qt-5/sql-driver.html
>
> ¿Tienen alguna otra opción mejor, o más simple, o más popular para trabajar?

Aplicación en local o a través de red mediante cliente servidor?

MariaDB/Mysql en local encuentro que no funciona fluído, puede que sea idea mía.
Postgresql un cañon, quizás para lo que quieras hacer.
Podrías revisar Firebird embebido o cliente servidor pero en local,
Firebird es mucho más que sqlite.

Saludos Javier,

>
> Muchas gracias.
>
> JAP
>


-- 
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