Re: Lenovo ThinkCentre M92p driving two monitors.

2022-12-27 Thread Anssi Saari
Felix Miata  writes:

> https://en.wikipedia.org/wiki/DisplayPort#Multi-Stream_Transport_(MST) is the 
> way.

I wonder if that works in Linux since the wikipedia article doesn't say,
only that it works in unspecified Windows and not in MacOS 10.15
Catalina. Not that I have any displays with the requisite DP outputs so
it's snakey cabley city on my desk.



Re: Lenovo ThinkCentre M92p driving two monitors.

2022-12-27 Thread Felix Miata
peter@e... composed on 2022-12-27 16:47 (UTC-0800):

> An M92p has a DisplayPort (DP++) connector and a VGA connector. An 
> old VGA monitor can be connected directly.

> Any advice about choosing an adapter to connect DP++ to the DVI 
> connector on a 2nd monitor?

> Any advantage in finding a way to connect two monitors to the one DP++?

DVI doesn't carry audio. DP does.

https://en.wikipedia.org/wiki/DisplayPort#Multi-Stream_Transport_(MST) is the 
way.
-- 
Evolution as taught in public schools is, like religion,
based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata



Lenovo ThinkCentre M92p driving two monitors.

2022-12-27 Thread peter
An M92p has a DisplayPort (DP++) connector and a VGA connector. An 
old VGA monitor can be connected directly.

Any advice about choosing an adapter to connect DP++ to the DVI 
connector on a 2nd monitor?

Any advantage in finding a way to connect two monitors to the one DP++?

Thanks,  ... P.


mobile: +1 778 951 5147
  VoIP: +1 604 670 0140
https://en.wikibooks.org/wiki/User:PeterEasthope



Re: Customize XFCE4

2022-12-27 Thread debian-user
> On 28/12/2022 00:21, Klaus Jantzen wrote:
> > I, finally, installed Bullseye with XFCE4 as desktop environment.
> > On the desktop, how do I change the color of the text under the
> > icons (which is now white) to black?
> > The information about themes I found is somewhat confusing as there
> > are references to GTK-2.0 and to GTK-3-0.
> > Which GTK is actually used?  
> 
> XFCE4 uses GTK3.

AIUI early versions of Xfce4 used GTK 2 and versions beginning with
4.13 use GTK 3. So yes Xfce4 on bullseye uses GTK 3.

> There are still some applications that use GTK2. You 
> can install new themes and select them under Applications /
> Settings / Appearance / Style. You can also install alternate icon
> sets (selected under Appearance / Icons). Some themes support both
> GTK 3 and GTK 2 and will give you a more consistent appearance. Some
> themes have both dark and light variants, for example Adwaita.

There's some information about installing different themes at
https://wiki.xfce.org/howto/install_new_themes

It's perhaps worth noting that quite a few GTK themes seem to have
obscure bugs that affect the appearance of some applications but not
others, so your experience may be better or worse than other people's
depending on which applications you use. Mainstream choices generally
seem to be safer.

> Kind regards,



[Résolu] Problème avec sqlite3 qui n’a pas accès à libz.so.1.

2022-12-27 Thread benoit
Le mardi 27 décembre 2022 à 09:16, Sébastien NOBILI 
 a écrit :


> 
> Que donnent ces commandes (depuis ton compte utilisateur et depuis
> le compte root) ?
> 
> % which sqlite3

% which sqlite3
/home/benoit/bin/sqlite3

sqlite3 -> 
/div/devel/Java/sqlite-tools/sqlite-tools-linux-x86-3310100/sqlite-tools-linux-x86-3310100/sqlite3

Ndd de ndd, j'avais un lien symbolique vers une vielle version sqlite3: ELF 
32-bit LSB executable dans mon répertoire de développement


Du coup, depuis mon compte utilisateur, ça appelait ce vieux truc, mais pas en 
root.

Toutes mes excuses et un grand merci !

C'est résolu.

 
--
Benoît



Re: stopping mass surveillance

2022-12-27 Thread Nicholas Geovanis
On Mon, Dec 26, 2022, 7:43 PM Albretch Mueller  wrote:

>
>
>  Athenians in a crucial moment of their history invented "democracy"
> as some specific social technologies in order to ensure openness and
> conscious participation of all members of society;


False. Not even half the male population in ancient Athens were citizens.
Even the "police" (from the Greek "polis", city) were slaves owned by
Athens itself, not an individual. Of course no female could be a citizen.

when they saw
> themselves imminently enslaved by the hugely more powerful Persian
> empire (the worldsonlysuperpower of those days, they were also "good
> Christians" who heard God telling them things and thought to be their
>

False. The ancient Persians worshipped Zoroaster, not the God of the
Hebrews/Christians.

 Compare that to what happened during the Snowden revelations when
> gringos realized that their own governments was spying on their
> supposedly "private" lives and keeping dossiers of everyone way more
> intrusively than the stasi, the KGB, ... all those "un-American"
>

That information was revealed in the early 1970s by the Watergate hearings
and the Church Commitee in the US congress, and by the legal actions
against the FBI and its counter intelligence program. It's nothing new, but
plenty of Americans forgot about that or never knew. And lots of Americans
like those unconstitutional government programs too.


>  lbrtchx
>
>


Re: Customize XFCE4

2022-12-27 Thread Ash Joubert

On 28/12/2022 00:21, Klaus Jantzen wrote:

I, finally, installed Bullseye with XFCE4 as desktop environment.
On the desktop, how do I change the color of the text under the icons 
(which is now white) to black?
The information about themes I found is somewhat confusing as there are 
references to GTK-2.0 and to GTK-3-0.

Which GTK is actually used?


XFCE4 uses GTK3. There are still some applications that use GTK2. You 
can install new themes and select them under Applications / Settings / 
Appearance / Style. You can also install alternate icon sets (selected 
under Appearance / Icons). Some themes support both GTK 3 and GTK 2 and 
will give you a more consistent appearance. Some themes have both dark 
and light variants, for example Adwaita.


Kind regards,

--
Ash Joubert (they/them) 
Director / Game Developer
Transient Software Limited 
New Zealand



Re: Wear levelling on micro-sd cards

2022-12-27 Thread Matthias Böttcher
> How do I tell the card that the free space in the VG really is free?

blkdiscard



Re: Customize XFCE4

2022-12-27 Thread Charles Curley
On Tue, 27 Dec 2022 12:21:51 +0100
Klaus Jantzen  wrote:

> The information about themes I found is somewhat confusing as there
> are references to GTK-2.0 and to GTK-3-0.
> 
> Which GTK is actually used?

Both. Some XFCE4 programs that comes with Bullseye use GTK3, others
GTK2. And the GTK people are working on GTK4. If there's a unified way
to change themes or modify them, I've not heard of it.

-- 
Does anybody read signatures any more?

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



Re: Wear levelling on micro-sd cards

2022-12-27 Thread Tixy
On Tue, 2022-12-27 at 13:47 +, Tim Woodall wrote:
> On Tue, 27 Dec 2022, Tixy wrote:
> 
> > On Mon, 2022-12-26 at 21:37 +, Tim Woodall wrote:
> > > > 
> > > But now I'm concerned about disks in a raid-1. Everything gets written
> > > when the raid rebuilds.
> > > 
> > > I've found fstrim - but that only seems to be for filesystems.
> > > 
> > > How do I tell the card that the free space in the VG really is free?
> > 
> > You probably can't. I've not heard of removable cards supporting the
> > 'trim' command.
> > 
> > 
> I found a issue_discards setting in lvm.conf. Set that, then created a
> LV using the remaining space and deleted it again.
> (this wasn't an sd card, was my main machine that I run in a raid-1
> configuration)
> 
> There's definitely something implemented on sd cards: fstrim works on an
> identical, working, card while it fails on my broken one.

Interesting, doing a Google search finds that SD cards do support
this... https://superuser.com/a/1554860

Though that was with an actual MMC device though, don't know about the
interfaces which now all seem to be implemented at the end of USB. In
fact the forum reply above says:

   USB to SD card adapters ("SD card readers") could support this
   command by advertising the TRIM or UNMAP commands via the USB
   storage interface, and translating these to the MMC_ERASE command,
   but I've yet to find a USB adapter which does this.
   
-- 
Tixy



Re: what is NEW/experimental in debian tracker?

2022-12-27 Thread tomas
On Tue, Dec 27, 2022 at 01:15:41PM +, jindam.v...@disroot.org wrote:
> libreoffice tracker [1] contains NEW/experimental: 1:7.5.0~rc1-1
> what is NEW/experimental in debian tracker?
> is it possible to install from NEW/experimental?

If you are very lucky, yes, but most of the time: no. And it is
kinda risky.

Imagine your install from experimental/unstable/testing wants a
newer version of some basic library (think libc). You install
that and break all other applications using it (NB: the installer
will go out of its way to prevent you doing that). With a huge
package like LO, I'd say the probability of something like
that happening is rather high.

> if so, how?

That's what "backports" are for. Either you wait for some kind
soul making a backport to your distro series, or you try yourself:
download the package of your wishes, install its build dependencies
and build. Here[1]'s a bunch of more detailed instructions, and
do ask here if you get stuck.

Cheers

[1] https://wiki.debian.org/BuildingTutorial
-- 
t


signature.asc
Description: PGP signature


Re: Wear levelling on micro-sd cards

2022-12-27 Thread Tim Woodall

On Tue, 27 Dec 2022, Tixy wrote:


On Mon, 2022-12-26 at 21:37 +, Tim Woodall wrote:



But now I'm concerned about disks in a raid-1. Everything gets written
when the raid rebuilds.

I've found fstrim - but that only seems to be for filesystems.

How do I tell the card that the free space in the VG really is free?


You probably can't. I've not heard of removable cards supporting the
'trim' command.



I found a issue_discards setting in lvm.conf. Set that, then created a
LV using the remaining space and deleted it again.
(this wasn't an sd card, was my main machine that I run in a raid-1
configuration)

There's definitely something implemented on sd cards: fstrim works on an
identical, working, card while it fails on my broken one.




Re: NO_PUBKEY A8580BDC82D3DC6C, brave-browser repository not signed, ...

2022-12-27 Thread Andrew M.A. Cater
On Mon, Dec 26, 2022 at 11:09:39PM +, Albretch Mueller wrote:
>  I am trying to install the "brave browser" based on their own instructions:
> 
>  https://brave.com/linux/
> ~
> sudo apt install curl
> sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg
> https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
> echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg
> arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable
> main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
> sudo apt update
> sudo apt install brave-browser
> ~
>  the only thing that I did a bit different since I will use it as part
> of an apt-clone configuration is change the directory where the
> keyring is placed to a local one (not /usr/share/keyrings/)
> 
> $ cat /etc/apt/sources.list.d/brave-browser-release.list
> deb 
> [signed-by=/media/user/0ABAFF83BAFF6A19/Users/Public/RL/usr/share/keyrings/brave-browser-archive-keyring.gpg
> arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable
> main
> 
> $ sudo apt update
> Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
> Get:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
> [4,317 B]
> Err:2 https://brave-browser-apt-release.s3.brave.com stable InRelease
>   The following signatures couldn't be verified because the public key
> is not available: NO_PUBKEY A8580BDC82D3DC6C
> Get:3 http://deb.debian.org/debian bullseye/main amd64 Packages [8,183 kB]
> Get:4 http://deb.debian.org/debian bullseye/main Translation-en [6,240
> kB]
> Reading package lists... Done
> W: GPG error: https://brave-browser-apt-release.s3.brave.com stable
> InRelease: The following signatures couldn't be verified because the
> public key is not available: NO_PUBKEY A8580BDC82D3DC6C
> E: The repository 'https://brave-browser-apt-release.s3.brave.com
> stable InRelease' is not signed.
> N: Updating from such a repository can't be done securely, and is
> therefore disabled by default.
> N: See apt-secure(8) manpage for repository creation and user
> configuration details.
> $
> 
> $ sudo apt install brave-browser
> Reading package lists... Done
> Building dependency tree... Done
> Reading state information... Done
> E: Unable to locate package brave-browser
> $
> 
>  What if anything am I doing wrong or what is going on and how could I
> debug it in a more extensive way?
> 
>  lbrtchx
>

Hi,

You probably need to import the key from their repository and add it to your 
local keyring. That will mean that the error will go away.

In most cases, repositories will supply the instructions to do that.

With every good wish, as ever,

Andy Cater 



what is NEW/experimental in debian tracker?

2022-12-27 Thread jindam . vani
libreoffice tracker [1] contains NEW/experimental: 1:7.5.0~rc1-1
what is NEW/experimental in debian tracker?
is it possible to install from NEW/experimental?
if so, how?

[1] https://tracker.debian.org/pkg/libreoffice

regards,
jindam, vani

Gnus/5.13 Emacs/27.1 (gnu/linux)
toots: @jindam_vani@mastodon.world
gnome: w.wiki/67VT



Re: Wear levelling on micro-sd cards

2022-12-27 Thread Tixy
On Tue, 2022-12-27 at 11:31 +0100, Nicolas George wrote:
> Tixy (12022-12-27):
> > The card could know what blocks of flash have been written to, it's the
> > thing that has done the writing.
> 
> Indeed. And as I said already, unless the card is pathologically
> underused

You said 'unless the card is brand new'

> , “what blocks of flash have been written to” eventually
> becomes “all of them”.

Only in the case where the SD card has at some point been completely
full, and you maintain cases where that isn't true is 'pathological'.

Guess my storage uses are pathological then, because apart from the
extreme example of that restricted 4GB partition I use for a root
filesystem, my other 'normal' usage doesn't fill removable flash
storage either. E.g I copy images and videos from my digital cameras to
my PC then delete them from the cameras, and the backup storage on my
keyring I carry around isn't full. (Backup storage performance falls
badly as it fills, presumably due to lack off readily available erased
blocks, so that tells you to go buy a bigger flash stick :-)

-- 
Tixy





Re: TES-III Morrowind openMW Tamriel Rebuilt not populating land

2022-12-27 Thread piorunz

On 26/12/2022 23:33, Timothy M Butterworth wrote:



On Mon, Dec 26, 2022 at 5:43 PM piorunz > wrote:


I was able to visit that square place. It's empty, just water, with
abrupt cut of all land textures.
Looks like bug in Tamriel Rebuild?

Well I am glad it is not just me then. The land to the East seems to 
work fine but the land to the west is problematic.


https://i.imgur.com/3aVsx2r.jpg 


Indeed. Perhaps you can report it to Tamriel Rebuild modders first so 
they can have a look at this issue.


--
With kindest regards, Piotr.

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



Customize XFCE4

2022-12-27 Thread Klaus Jantzen

Hello,

I, finally, installed Bullseye with XFCE4 as desktop environment.

On the desktop, how do I change the color of the text under the icons 
(which is now white) to black?


The information about themes I found is somewhat confusing as there are 
references to GTK-2.0 and to GTK-3-0.


Which GTK is actually used?

Thanks for any hints.

--

K.D.J.


Re: Wear levelling on micro-sd cards

2022-12-27 Thread Nicolas George
to...@tuxteam.de (12022-12-27):
> For flash media, most of the time, "pathologically underused" is in my
> view "recommended state". My back-up USB stick is less than 50%. Once
> it reaches significantly more than that, I look around for one with four
> times that capacity.

Good for you. But constructors will not design cards for this niche use
case. Cards that gets almost filled are common, constructors will have
optimized their process to handle them.

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Wear levelling on micro-sd cards

2022-12-27 Thread tomas
On Tue, Dec 27, 2022 at 11:31:19AM +0100, Nicolas George wrote:

[...]

> Pathologically underused. A more typical use of a card would be “damn,
> my camera/phone/recorder tells me the card is full, I need to copy a few
> things to the cloud”.

For flash media, most of the time, "pathologically underused" is in my
view "recommended state". My back-up USB stick is less than 50%. Once
it reaches significantly more than that, I look around for one with four
times that capacity.

(And yes, it's LUKS encrypted, but I don't bother to overwrite the
whole thing with random data: a small information leak I live with).

Has served me well for many years.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Wear levelling on micro-sd cards

2022-12-27 Thread Nicolas George
Tixy (12022-12-27):
> The card could know what blocks of flash have been written to, it's the
> thing that has done the writing.

Indeed. And as I said already, unless the card is pathologically
underused, “what blocks of flash have been written to” eventually
becomes “all of them”.

So you have two options:

- Either when a card has been written in (almost) full once it stops
  being able to do wear-levelling and quickly dies.

- Or the suggestion that this is how wear-leveling works was wrong and
  based on insufficient reasoning about the mechanisms involved.

> So, if like me, you have a 64GB card, with just a 4GB partition

Pathologically underused. A more typical use of a card would be “damn,
my camera/phone/recorder tells me the card is full, I need to copy a few
things to the cloud”.

Regards,

-- 
  Nicolas George


signature.asc
Description: PGP signature


Re: Wear levelling on micro-sd cards

2022-12-27 Thread Tixy
On Mon, 2022-12-26 at 21:26 +0100, Nicolas George wrote:
> Tixy (12022-12-26):
> > He didn't mention filesystems.
> > 
> > The controller in the card would surely know what flash blocks contain
> > data, so writing the whole card first would reserve those blocks as
> > 'in-use' leaving just a relatively small amount of spare blocks which
> > would be available for erasure and reuse the that repeated write.
> 
> Unless the card is brand new, “what flash blocks contain data” is “all
> of them”. The information whether a block is used or not used resides in
> the filesystem data structures.
> 

The card could know what blocks of flash have been written to, it's the
thing that has done the writing. Very simplistically, if the OS writes
to sector N, card has to allocate a block of flash to contain the data
for that sector. If OS writes to sector N again, card has to get an
erased block of flash to write new sector data to, then it can erase
the old block of flash which it now knows is unused. (Note blocks are
much bigger than sectors, and the data structures and algorithms for
keeping track of what's where will be proprietary 'magic'.)

So, if like me, you have a 64GB card, with just a 4GB partition
containing a filesystem, then the OS will never have written to sectors
outside that partition and the controller on the card would never have
had to allocated flash for them. Therefore it can know about 60GB of
unused flash, plus whatever extra reserve the card was manufactured
with.

What SD cards actually do in reality though, I don't know.

-- 
Tixy



Re: Wear levelling on micro-sd cards

2022-12-27 Thread Tixy
On Mon, 2022-12-26 at 21:37 +, Tim Woodall wrote:
> > 
> But now I'm concerned about disks in a raid-1. Everything gets written
> when the raid rebuilds.
> 
> I've found fstrim - but that only seems to be for filesystems.
> 
> How do I tell the card that the free space in the VG really is free?

You probably can't. I've not heard of removable cards supporting the
'trim' command.



Re: Re : Re: Problème avec sqlite3 qui n’a pas accès à libz.so.1.

2022-12-27 Thread Sébastien NOBILI

Bonjour,

Le 2022-12-26 20:34, benoit a écrit :

% echo $LD_LIBRARY_PATH  n'existe pas.

%  /bin/ls -ls /lib/x86_64-linux-gnu/libz.so.1
0 lrwxrwxrwx 1 root root 14 23 aoû 20:54
/lib/x86_64-linux-gnu/libz.so.1 -> libz.so.1.2.11


C'est pareil chez moi.

Que donnent ces commandes (depuis ton compte utilisateur **et** depuis 
le compte root) ?


% which sqlite3

% ldd $(which sqlite3)

Sébastien