Re: Debian 11 xfce

2022-01-12 Thread tomas
On Thu, Jan 13, 2022 at 02:08:20AM +0500, Alexander V. Makartsev wrote:
> On 13.01.2022 01:29, to...@tuxteam.de wrote:

[...]

> > Now, now, there. There are people who like that (not me), so leave them
> > their mileage too.
> I'm not against the feature itself, but against the fact that it is not
> customizable, without option to switch back to old behavior.

As I said: I don't like client-side decorations; actually I think they
are a bad idea (basically, I choose my window manager, and it is my ally
in front of possibly ill-behaved applications; having some random web
site out there control my window decorations just because the browser
thinks it's a good idea to pass on control is not what I bought my CPU
for).

That's why I hope X stays around until I'm recycled in the Big Bit
Bucket.

But I think it's important to acknowledge that there may be other,
equally valid views.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: restructure folders

2022-01-12 Thread sp...@caiway.net
On Thu, 13 Jan 2022 07:54:38 +0100
"sp...@caiway.net"  wrote:

> On Wed, 12 Jan 2022 22:53:01 -0700
> Charles Curley  wrote:
> 
> > On Thu, 13 Jan 2022 06:00:12 +0100
> > "sp...@caiway.net"  wrote:
> > 
> > > I found a python script to extract debian packages, but every
> > > package is extracted in a directory named after the packagefile,
> > > so this structure is formed:
> > 
> > What are you trying to do? 
> 
> I want to extract all man pages and all docs from all packages. I do
> not want to install the packages. Then make nice search interfaces
> with dwww and recoll.
> 
> This is to be used in areas without internet access. I have a local
> repository. 
> 
> 

I found a solution:

I made a chroot with debootstrap, minimal install
then I move all *deb from the repository inside a temp directory in the
chroot

then I can dpkg --unpack *.deb let the packages get unpacked in the
system, without installing

then I can copy the /usr/share/man etc. directories to the proper
place.


Thanks for the ideas!



Re: OT: anybody uses eero 6 WiFi router?

2022-01-12 Thread Alexander V. Makartsev

On 13.01.2022 07:56, Juan R.D. Silva wrote:

Hi folks,

Shopping for a new ISP came across company that uses exclusively eero 
6 router. Anyone to share your experience/opinion about the thing?


2 concerns of mine are:
- cloud based private network management
- Amazon owned

Thanks

I've never used this thing, but if I had to choose I would choose 
against it.
If ISP uses eero 6 router exclusively, doesn't mean it is good, it is 
probably because of a special deal with Amazon.
Just by skimming few reviews I can see, it's a "black box" without any 
information about hardware inside, so it must be dirt cheap to produce.
Other concerns, it comes with Amazon spyware (content proxy) 
pre-installed, which raises privacy concerns.
It is impossible to control without a smartphone and special app, which 
leads to security concerns.
A few owners has reported about connectivity issues, that means a 
firmware is not stable enough.

There is no telling about for how long it will be supported by Amazon.
The only positive thing I can think of about this overpriced toy is an 
Amazon eco-system integration and Alexa interaction support. That is if 
someone needs something like that in their home.


If I was in the market for the router for myself, I'd always choose one 
from MikroTik¹.
They all have no-nonsence hardware and software design, no 
smartphone\app requirement, no eco-system requirement (like 'Ubiquiti' 
devices), it is highly customizable, has every feature you can think of, 
it could be controlled via many ways, secured and monitored and will be 
supported by manufacturer for years via firmware updates.
The only downside I can think of is somewhat advanced configuration 
could be difficult for somebody, but with help from official forum and 
wiki² quite manageable and as a bonus I'll learn a lot about networking, 
routing.



¹ https://mikrotik.com/products
² https://wiki.mikrotik.com/wiki/Main_Page

--
With kindest regards, Alexander.

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



Re: restructure folders

2022-01-12 Thread sp...@caiway.net
On Wed, 12 Jan 2022 22:53:01 -0700
Charles Curley  wrote:

> On Thu, 13 Jan 2022 06:00:12 +0100
> "sp...@caiway.net"  wrote:
> 
> > I found a python script to extract debian packages, but every
> > package is extracted in a directory named after the packagefile, so
> > this structure is formed:
> 
> What are you trying to do? 

I want to extract all man pages and all docs from all packages. I do
not want to install the packages. Then make nice search interfaces with
dwww and recoll.

This is to be used in areas without internet access. I have a local
repository. 




Re: restructure folders

2022-01-12 Thread Charles Curley
On Thu, 13 Jan 2022 05:31:25 +0100
"sp...@caiway.net"  wrote:

> Is this possible on the commandline?

Yes. The following untested code should do it:

cd /
mv dir1/dirA .
mv dir2/dir* .
rm -r dir1 dir2

In particular, you will lose any files in dir1 and dir2 not specified
in the relevant mv. Also, the wild card specification in line 3 will
grab files as well as directories.

I suggest you make backups first if you don't make them regularly
(which you should).



-- 
Does anybody read signatures any more?

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



Re: Firefox insists to be default !?

2022-01-12 Thread Bret Busby

On 13/1/22 3:52 am, Miroslav Skoric wrote:

Hi all,

After the recent upgrade of Firefox (and Thunderbird) in oldoldstable 
(Mate desktop), Firefox always asks me to be default browser, even 
though I have set it as default in Mate's default applications, and 
respond to that asking by click on 'dont ask me again'.


Furthermore, Thunderbird is also set as a default email client. However, 
if I click on a weblink in Thunderbird mail, another Thunderbird session 
opens (instead opening Firefox). And when I close both software, and 
return to Mate control panel to check again for default applications ... 
voila ... Thunderbird seems as magically selected for both mail client 
and web browser there!


How to prevent that misbehaviour? All worked well with previous versions 
of Firefox and Thunderbird. What went wrong with new versions?


Misko



Perhaps you might be interested in subscribing to, and, posting to, the 
firefox mailing list, and/or the mozilla mailing list, at

https://groups.io/g/firefox-support
and
https://groups.io/g/mozilla
respectively.

Out of interest, with the firefox issue, I have had the same problem on 
my cellphone firefox installation, so, it appears to be a problem not 
limited to Debian installations of firefox.


--
Bret Busby
Armadale
West Australia
(UTC+0800)
..



Re: restructure folders

2022-01-12 Thread Charles Curley
On Thu, 13 Jan 2022 06:00:12 +0100
"sp...@caiway.net"  wrote:

> I found a python script to extract debian packages, but every package
> is extracted in a directory named after the packagefile, so this
> structure is formed:

What are you trying to do? From your limited selection of files, it
appears that your python program extracts packages as they are normally
extracted, except it places them in a directory named for the package.
Why? And what's wrong with putting files where the Debian package would
put them?

If you want to know what files a given package puts where, look into
apt-file. No need to actually extract anything.

-- 
Does anybody read signatures any more?

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



Re: restructure folders

2022-01-12 Thread sp...@caiway.net
On Thu, 13 Jan 2022 05:41:49 +0100
Emanuel Berg  wrote:

> sp...@caiway.net wrote:
> 
> > I have this foldertree tree:
> >
> > /dir1/dirA/dirB
> > /dir2/dir*
> >
> > I want the foldertree to become:
> >
> > /dirA/DirB
> > /dir*
> >
> > Is this possible on the commandline?
> > Any idea is welcome
> 
> Shell programming?
> 

I found a python script to extract debian packages, but every package
is extracted in a directory named after the packagefile, so this
structure is formed:

/abi-dumper_1.2-1_all.deb/usr/bin
/abi-dumper_1.2-1_all.deb/usr/share/doc/abi-dumper
..
..
/abigail-doc_1.8-1_all.deb/usr/share/doc
/abigail-doc_1.8-1_all.deb/usr/share/man
..
..
/zzuf_0.15-1+b1_amd64.deb/usr/bin

it is about 60.000 different parent folders

the python script (a langauge I can not read):

import argparse
import os
import glob
import ntpath
import subprocess
import stat
import time
import datetime

ELF_HEADER = b"\x7fELF"
TIME_FORMAT = "%H:%M:%S, %9A, %d-%m-%Y"

def main():
parser = argparse.ArgumentParser()
parser.add_argument('root', help='the root directory from where to
search for all the .deb files') parser.add_argument('dest', help='the
destination directory to which the debs will be extracted')
parser.add_argument('--del_nonelfs', default=True, help='Delete all
non-elf files after extracting a .deb') args = parser.parse_args()
root_dir = args.root dest_dir_root = args.dest
del_nonelfs = args.del_nonelfs
print("Extracting all debs from {} to {}".format(root_dir,
dest_dir_root)) print("Deleting non-elf files: {}".format(del_nonelfs))
break_counter = 0
break_limit = -1

global_start_time = time.localtime()
print("Extraction started on: {}".format(time.strftime(TIME_FORMAT,
global_start_time))) full_deb_file_names = set()
# Recursively searching from the root directory
print("Searching for .deb files:")
for r, d, f in os.walk(root_dir):
# Searching the directory for all .deb files
for full_deb_file_name in glob.glob(os.path.join(r, '*.deb')):
full_deb_file_names.add(full_deb_file_name)
print("deb files found:
{}".format(len(full_deb_file_names)), end = '\r', flush=True)
break_counter += 1 if break_limit >= 0 and break_counter >=
break_limit: break
if break_limit >= 0 and break_counter >= break_limit:
break
print("")
total = len(full_deb_file_names)
for i, full_deb_file_name in enumerate(full_deb_file_names):
deb_file_name = ntpath.basename(full_deb_file_name)
dest_dir = os.path.join(dest_dir_root, deb_file_name)
os.mkdir(dest_dir)
print("\r{}".format(' ' * os.get_terminal_size()[0]),
end='\r', flush=True) print("({} / {}) Extracting {}".format(i + 1,
total, full_deb_file_name), end='', flush=True)
extract_deb(full_deb_file_name, deb_file_name, dest_dir) if
del_nonelfs: print("\r{}".format(' ' * os.get_terminal_size()[0]),
end='\r', flush=True) print("({} / {}) Deleting non-elfs
{}".format(i + 1, total, dest_dir), end='', flush=True)
delete_non_elfs(dest_dir) print("")
global_end_time = time.localtime()
print("Finished on: {}".format(time.strftime(TIME_FORMAT,
global_end_time))) global_run_time =
format_time_delta(global_start_time, global_end_time) print("Total
time: {}".format(global_run_time))

def extract_deb(deb_file_path, deb_file_name, dest_dir):

# TODO dpkg assumes the user has this installed. Maybe it would be
better to extract manually? Wikipedia tells how this file should be
structured: https://en.wikipedia.org/wiki/Deb_(file_format) p =
subprocess.Popen(['dpkg', '-x', deb_file_path, dest_dir],
cwd=dest_dir) p.wait() # Giving myself read and write permissions
to all files and read/write/traverse permissions to directories
(because apparently that's necessary) for root, dirs, files in
os.walk(dest_dir): for d in dirs: full_dir_path =
os.path.join(root, d) if not os.path.islink(full_dir_path):
os.chmod(os.path.join(root, d), stat.S_IREAD | stat.S_IWRITE |
stat.S_IEXEC) for f in files: full_file_path = os.path.join(root, f)
if not os.path.islink(full_file_path):
os.chmod(os.path.join(root, f), stat.S_IREAD |
stat.S_IWRITE)

def delete_non_elfs(root_dir):
 for r, d, f in os.walk(root_dir):
for file_name in f:
full_file_name = os.path.join(r, file_name)
# We don't want to delete something that may be somewhere
else. if not os.path.islink(full_file_name) and not
is_elf_file(full_file_name): os.remove(full_file_name)


def is_elf_file(full_file_name):
with open(full_file_name, 'rb') as fd:
header = fd.read(4)
if header == ELF_HEADER:
return True
return False

def format_time_delta(start_time, end_time, short=False):
start_time_datetime =
datetime.datetime.fromtimestamp(time.mktime(start_time))
end_time_datetime =

Re: restructure folders

2022-01-12 Thread Keith Bainbridge

On 13/1/22 15:31, sp...@caiway.net wrote:

I have this foldertree tree:

/dir1/dirA/dirB
/dir2/dir*

I want the foldertree to become:

/dirA/DirB
/dir*


Is this possible on the commandline?
Any idea is welcome

Thanks!








Question - why do you have these directories in /

If they really are in /   would this do what you want

cd /dir1
mv dirA  /

cd /dir2
mv dir*  /

I'd suggest you would be safer doing this in mc (a cli file manager) so 
you can see where you are sending the files



--
All the best

Keith Bainbridge

keithrbaugro...@gmail.com



restructure folders

2022-01-12 Thread sp...@caiway.net
I have this foldertree tree:

/dir1/dirA/dirB
/dir2/dir*

I want the foldertree to become:

/dirA/DirB
/dir*


Is this possible on the commandline?
Any idea is welcome

Thanks!







OT: anybody uses eero 6 WiFi router?

2022-01-12 Thread Juan R.D. Silva

Hi folks,

Shopping for a new ISP came across company that uses exclusively eero 6 
router. Anyone to share your experience/opinion about the thing?


2 concerns of mine are:
- cloud based private network management
- Amazon owned

Thanks



Re: Request of urgent help....

2022-01-12 Thread David Christensen

On 1/12/22 10:00 AM, fran...@libero.it wrote:

Hi. I inadvertently deleted the Mac and EFI partitions of an HD inserted on a 
Macbook Pro (2009). Fortunately I have the Linux one (with Debian XFCE) that I 
am writing from. I tried to recover with Gparted (by installing gpart), but 
after more than an hour I stopped having no recovery signal. Then I installed 
test disk and this is the screen.

https://www.cgsecurity.org

Disk /dev/sda - 480 GB / 447 GiB - CHS 58369 255 63
Partition Start End Size in sectors
P EFI System 40 409639 409600 [EFI System Partition]

P Mac HFS 409640 700519039 700109400

P Linux filesys. data 700520448 759113727 58593280
P Linux Swap 759113728 761114607 2000880
P Linux filesys. data 761114624 937701375 176586752

Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
P=Primary D=Deleted
Keys A: add partition, L: load backup, T: change type,
Enter: to continue
HFS+ blocksize=4096 + Backup, 358 GB / 333 GiB>

All partitions appear highlighted in green.
What can I do to reset Mac OS?
I don't dare shut down because I'm afraid it won't reboot anymore having wiped 
the EFI partition as well.
How can I do without loosing the Mac data? Thanks in advance
Francesco



Please run the following commands and reply with the complete console 
session -- prompts displayed, commands entered, and output displayed:


# cat /etc/debian_version ; uname -a

# lsblk

# fdisk -l

# which parted


David



Re: Firefox insists to be default !?

2022-01-12 Thread Frank



Me too. Firefox 95.0.2 in Mate fully updated. I have had this problem 
before but it always sorted itself out later.




On 2022-01-12 14:52, Miroslav Skoric wrote:

Hi all,

After the recent upgrade of Firefox (and Thunderbird) in oldoldstable 
(Mate desktop), Firefox always asks me to be default browser, even 
though I have set it as default in Mate's default applications, and 
respond to that asking by click on 'dont ask me again'.


Furthermore, Thunderbird is also set as a default email client. 
However, if I click on a weblink in Thunderbird mail, another 
Thunderbird session opens (instead opening Firefox). And when I close 
both software, and return to Mate control panel to check again for 
default applications ... voila ... Thunderbird seems as magically 
selected for both mail client and web browser there!


How to prevent that misbehaviour? All worked well with previous 
versions of Firefox and Thunderbird. What went wrong with new versions?


Misko





HS: samba+ldap, login smbclient

2022-01-12 Thread Raphaël POITEVIN
Bonsoir,

Debian 10 Buster.

Sur un samba connecté à LDAP, je cherche à me connecter avec
smbclient. Cependant, la seule manière fonctionnelle est :
smbclient --pw-nt-hash //smb/repertoire/
en passant le hash de sambaNTPassword récupéré manuellement depuis
LDAP. Sinon, login failed.

Un chiffrement qui ne se fait pas quelque part ?

Merci du coup de main …
-- 
Raphaël
www.leclavierquibave.fr



Re: Debian 11 xfce

2022-01-12 Thread Alexander V. Makartsev

On 13.01.2022 02:12, Dan Ritter wrote:

apt install libgtk3-nocsd0

 From the description:

  Library to disable Gtk+ 3 client side decorations (CSD) libgtk3-nocsd
  is a small LD_PRELOADable library used to disable the client side
  decorations (CSD) of Gtk+ 3.

I use it.

-dsr-

Thanks.
I've tried it before, but it didn't solve everything completely.
It created more problems than solved, most notable were duplicated title 
bars, dialog windows were displayed differently with buttons still on 
custom title bar and console was spammed with Gtk-* warnings.
Bottom line is, it's a neat hack, but it doesn't restore the visual 
consistency for programs I use.


Now that I think about it, many programs that use these CSDs are from 
Canonical, like "Document Scanner" (renamed from "Simple Scan"), 
"Document Viewer" ("Evince"), "Archive Manager". The others still behave 
normally.
So it's not fault of Xfce, but the single programs that were updated to 
new Gtk designs, featuring CSDs.

I wonder if somebody already forked them..

--
With kindest regards, Alexander.

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



Re: Debian 11 xfce

2022-01-12 Thread Dan Ritter
Alexander V. Makartsev wrote: 
> On 13.01.2022 01:29, to...@tuxteam.de wrote:
> > On Thu, Jan 13, 2022 at 12:46:20AM +0500, Alexander V. Makartsev wrote:
> > 
> > > Although consistency gets ruined by forced garbage features from GTK3 like
> > > Client-Side Decorations (custom title bar).
> > > Who thought that moving dialog window buttons (Ok, Cancel, Save, etc) from
> > > usual bottom side to an arbitrary location and separate them away is a 
> > > good
> > > idea?  smh
> > Now, now, there. There are people who like that (not me), so leave them
> > their mileage too.
> I'm not against the feature itself, but against the fact that it is not
> customizable, without option to switch back to old behavior.
> These changes break desktop managers, working programs and distract from
> familiar workflows.
> My initial reaction to this was: "Huh? Where the buttons go?" and it took me
> a while to find them inside window.
> And more time was wasted on fruitless attempts to make them go to the usual
> place.

apt install libgtk3-nocsd0

>From the description:

 Library to disable Gtk+ 3 client side decorations (CSD) libgtk3-nocsd
 is a small LD_PRELOADable library used to disable the client side
 decorations (CSD) of Gtk+ 3.

I use it.

-dsr-



Re: Debian 11 xfce

2022-01-12 Thread Alexander V. Makartsev

On 13.01.2022 01:29, to...@tuxteam.de wrote:

On Thu, Jan 13, 2022 at 12:46:20AM +0500, Alexander V. Makartsev wrote:

[...]


Although consistency gets ruined by forced garbage features from GTK3 like
Client-Side Decorations (custom title bar).
Who thought that moving dialog window buttons (Ok, Cancel, Save, etc) from
usual bottom side to an arbitrary location and separate them away is a good
idea?  smh

Now, now, there. There are people who like that (not me), so leave them
their mileage too.
I'm not against the feature itself, but against the fact that it is not 
customizable, without option to switch back to old behavior.
These changes break desktop managers, working programs and distract from 
familiar workflows.
My initial reaction to this was: "Huh? Where the buttons go?" and it 
took me a while to find them inside window.
And more time was wasted on fruitless attempts to make them go to the 
usual place.


--
With kindest regards, Alexander.

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



Firefox insists to be default !?

2022-01-12 Thread Miroslav Skoric

Hi all,

After the recent upgrade of Firefox (and Thunderbird) in oldoldstable 
(Mate desktop), Firefox always asks me to be default browser, even 
though I have set it as default in Mate's default applications, and 
respond to that asking by click on 'dont ask me again'.


Furthermore, Thunderbird is also set as a default email client. However, 
if I click on a weblink in Thunderbird mail, another Thunderbird session 
opens (instead opening Firefox). And when I close both software, and 
return to Mate control panel to check again for default applications ... 
voila ... Thunderbird seems as magically selected for both mail client 
and web browser there!


How to prevent that misbehaviour? All worked well with previous versions 
of Firefox and Thunderbird. What went wrong with new versions?


Misko



KVM max CPU speed to guest

2022-01-12 Thread basti
Hello,

first of all the most modern CPU in the last 10 years (I gues) use so
called speed-stepping.

As I can see I was wondering why that speed stepping is not set in a KVM
guest, even if I use "host-passthrough" in the cpu config of the guest.

virsh dumpxml almalinux | grep -i cpu
  2
  

The cpu on the "host" is:

root@q2:~# lscpu
Architecture:x86_64
CPU op-mode(s):  32-bit, 64-bit
Byte Order:  Little Endian
Address sizes:   36 bits physical, 48 bits virtual
CPU(s):  4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):   1
NUMA node(s):1
Vendor ID:   GenuineIntel
CPU family:  6
Model:   76
Model name:  Intel(R) Celeron(R) CPU  N3160  @ 1.60GHz
Stepping:4
CPU MHz: 480.096
CPU max MHz: 2240.
CPU min MHz: 480.
BogoMIPS:3200.00
Virtualization:  VT-x
L1d cache:   96 KiB
L1i cache:   128 KiB
L2 cache:2 MiB
NUMA node0 CPU(s):   0-3
Vulnerability Itlb multihit: Not affected
Vulnerability L1tf:  Not affected
Vulnerability Mds:   Vulnerable: Clear CPU buffers
attempted, no microcode; SMT disabled
Vulnerability Meltdown:  Mitigation; PTI
Vulnerability Spec store bypass: Not affected
Vulnerability Spectre v1:Mitigation; usercopy/swapgs barriers
and __user pointer sanitization
Vulnerability Spectre v2:Mitigation; Full generic retpoline,
STIBP disabled, RSB filling
Vulnerability Srbds: Not affected
Vulnerability Tsx async abort:   Not affected
Flags:   fpu vme de pse tsc msr pae mce cx8 apic
sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht
tm pbe syscall nx rdtsc
 p lm constant_tsc arch_perfmon pebs bts
rep_good nopl xtopology tsc_reliable nonstop_tsc cpuid aperfmperf
tsc_known_freq pni pclmulqdq d
 tes64 monitor ds_cpl vmx est tm2 ssse3
cx16 xtpr pdcm sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes rdrand
lahf_lm 3dnowprefetch epb
  pti tpr_shadow vnmi flexpriority ept
vpid tsc_adjust smep erms dtherm ida arat
root@q2:~#

So the max cpu speed should be 2240 MHz.

On the guest it is:

[root@almalinux ~]# lscpu
Architektur: x86_64
CPU Operationsmodus: 32-bit, 64-bit
Byte-Reihenfolge:Little Endian
CPU(s):  2
Liste der Online-CPU(s): 0,1
Thread(s) pro Kern:  1
Kern(e) pro Socket:  1
Sockel:  2
NUMA-Knoten: 1
Anbieterkennung: GenuineIntel
BIOS Vendor ID:  QEMU
Prozessorfamilie:6
Modell:  76
Modellname:  Intel(R) Celeron(R) CPU  N3160  @ 1.60GHz
BIOS Model name: pc-i440fx-3.1
Stepping:4
CPU MHz: 1600.000
BogoMIPS:3200.00
Virtualisierung: VT-x
Hypervisor-Anbieter: KVM
Virtualisierungstyp: voll
L1d Cache:   32K
L1i Cache:   32K
L2 Cache:4096K
L3 Cache:16384K
NUMA-Knoten0 CPU(s): 0,1
Markierungen:fpu vme de pse tsc msr pae mce cx8 apic sep
mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx
rdtscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpuid
tsc_known_freq pni pclmulqdq vmx ssse3 cx16 pdcm sse4_1 sse4_2 x2apic
movbe popcnt tsc_deadline_timer aes rdrand hypervisor lahf_lm
3dnowprefetch cpuid_fault pti tpr_shadow vnmi flexpriority ept vpid
tsc_adjust smep erms arat umip arch_capabilities

So I can't use the 2240 MHz in the guest.
When I set the cpu governor to "performance" on the host, it doesn't
matter. The host only see 1600 MHz.

What's wrong there and how should I fix this?



Re: Debian 11 xfce

2022-01-12 Thread tomas
On Thu, Jan 13, 2022 at 12:46:20AM +0500, Alexander V. Makartsev wrote:

[...]

> Although consistency gets ruined by forced garbage features from GTK3 like
> Client-Side Decorations (custom title bar).
> Who thought that moving dialog window buttons (Ok, Cancel, Save, etc) from
> usual bottom side to an arbitrary location and separate them away is a good
> idea?  smh

Now, now, there. There are people who like that (not me), so leave them
their mileage too.

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Debian 11 xfce

2022-01-12 Thread Alexander V. Makartsev

On 12.01.2022 20:52, c. marlow wrote:

I honestly don't see what people see in XFCE

To me, XFCE looks VERY DATED and out of the 90s.

If it looks dated just change the theme lol.

Xfce is lightweight, efficient and fast even on legacy hardware.
Xfce is reliable, rich with features and not bloated at the same time.
Xfce is customizable. GUI elements don't waste precious screen space 
with extra-extra-wide spans\margins.

Xfce is consistent and familiar.

Although consistency gets ruined by forced garbage features from GTK3 
like Client-Side Decorations (custom title bar).
Who thought that moving dialog window buttons (Ok, Cancel, Save, etc) 
from usual bottom side to an arbitrary location and separate them away 
is a good idea?  smh


--
With kindest regards, Alexander.

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



Re: Debian 11 xfce

2022-01-12 Thread Ken Cunningham


> On Jan 12, 2022, at 9:58 AM, to...@tuxteam.de wrote:
> 
> On Wed, Jan 12, 2022 at 09:52:01AM -0600, c. marlow wrote:
> 
> [...]
> 
>> I honestly don't see what people see in XFCE
> 
> Uh, oh. This is asking for trouble ;)
> 
>> To me, XFCE looks VERY DATED and out of the 90s. 
> 
> perhaps...
> 
>> YMMV, I guess.
> 
> That's *exactly* the point. Mileage varies wildly, especially in the
> user interface department. There are even people who don't want a
> desktop environment *at all*, imagine that :^)
> 
> The real challenge would be a way for all of us to get along together
> despite such preferencial differences :-)
> 
> Cheers
> -- 
> t

On a debian 11 ppc64 system running on an Apple Dual G5 PPC 970 with 3.5G of 
Ram, xfce turns out to the most responsive environment of the ones that will 
work there. So that is what I use on that system.

On the other hand, on an Apple Intel Macbook circa 2006 with a Core2 processor 
and 4G of ram, Mate is very nice, and I prefer that there.

Once the applications are running it matters little however, of course.

I’m happy there are choices.

Ken



Re: Hyper-typematic and Firefox responsiveness in Weston.

2022-01-12 Thread Andrei POPESCU
Slightly late to the party ;)

On Jo, 30 dec 21, 19:48:05, pe...@easthope.ca wrote:
> Hi,
> 
> Debian 11 is easily arranged so that "startx" or "weston" can be 
> issued at the console command line.  That allows simple qualitative 
> comparisons.
> 
> In weston, keyboard response can be hyper-typematic.  The briefest 
> keypress can give at least two instances of the key action; sometimes a 
> half dozen.  That includes backspace.  Consequently keyboard input is 
> impossible. This happens not in every instance of weston but often 
> enough to be a nuisance. Has anyone else observed this?

Works fine here, out of the box, on a pretty bare bones installation (no 
X or Desktop Environment).

> According to documentation, Firefox works natively in Weston.  Ie. 
> Firefox doesn't work through Xwayland. With Wayland intended to be 
> more efficient than X11 I expect Firefox to be more responsive on 
> Weston than on X11.  Nevertheless Firefox is noticeably slower on 
> Weston. Anyone else observed this?

Are you passing any special parameters to Firefox? 

Currently I'm setting 'MOZ_ENABLE_WAYLAND=1', but don't remember if this 
was necessary to get Firefox to even start or I just wanted to make 
really sure Firefox is running natively on Wayland (i.e. without some X 
compatibility layer or something).

Hope this helps,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser


signature.asc
Description: PGP signature


Request of urgent help....

2022-01-12 Thread frantal
Hi. I inadvertently deleted the Mac and EFI partitions of an HD inserted on a 
Macbook Pro (2009). Fortunately I have the Linux one (with Debian XFCE) that I 
am writing from. I tried to recover with Gparted (by installing gpart), but 
after more than an hour I stopped having no recovery signal. Then I installed 
test disk and this is the screen.

https://www.cgsecurity.org

Disk /dev/sda - 480 GB / 447 GiB - CHS 58369 255 63
Partition Start End Size in sectors
P EFI System 40 409639 409600 [EFI System Partition]
>P Mac HFS 409640 700519039 700109400
P Linux filesys. data 700520448 759113727 58593280
P Linux Swap 759113728 761114607 2000880
P Linux filesys. data 761114624 937701375 176586752

Structure: Ok. Use Up/Down Arrow keys to select partition.
Use Left/Right Arrow keys to CHANGE partition characteristics:
P=Primary D=Deleted
Keys A: add partition, L: load backup, T: change type,
Enter: to continue
HFS+ blocksize=4096 + Backup, 358 GB / 333 GiB>

All partitions appear highlighted in green.
What can I do to reset Mac OS?
I don't dare shut down because I'm afraid it won't reboot anymore having wiped 
the EFI partition as well.
How can I do without loosing the Mac data? Thanks in advance
Francesco


Re: Debian 11 xfce

2022-01-12 Thread tomas
On Wed, Jan 12, 2022 at 09:52:01AM -0600, c. marlow wrote:

[...]

> I honestly don't see what people see in XFCE

Uh, oh. This is asking for trouble ;)

> To me, XFCE looks VERY DATED and out of the 90s. 

perhaps...

> YMMV, I guess.

That's *exactly* the point. Mileage varies wildly, especially in the
user interface department. There are even people who don't want a
desktop environment *at all*, imagine that :^)

The real challenge would be a way for all of us to get along together
despite such preferencial differences :-)

Cheers
-- 
t


signature.asc
Description: PGP signature


Re: Debian 11 xfce

2022-01-12 Thread Alexis Grigoriou
On Wed, 2022-01-12 at 11:27 -0500, Dan Ritter wrote:
> c. marlow wrote: 
> > I honestly don't see what people see in XFCE
> > 
> > To me, XFCE looks VERY DATED and out of the 90s. 
> 
> It works; it rarely breaks after a version upgrade; and it is
> configurable.
> 
> That's three advantages over GNOME.
> 
> -dsr-

GNOME was ok when it looked like XFCE. v2.0 IIRC

But yes, XFCE is rock solid, simple and ugly. Just like VLC.



Re: Debian 11 xfce

2022-01-12 Thread Greg Wooledge
On Wed, Jan 12, 2022 at 09:52:01AM -0600, c. marlow wrote:
> I honestly don't see what people see in XFCE
> 
> To me, XFCE looks VERY DATED and out of the 90s. 

You say that like it's a bad thing.

For many people, a user interface that keeps changing every few years
is incredibly annoying.  There is value in consistency and simplicity.



Re: Asunto: Re: Aceleracion por Hardware

2022-01-12 Thread Camaleón
El 2022-01-12 a las 16:39 -, Jefferson Smith Pizarro Gutierrez escribió:

Reenvío a la lista por si a alguien le sirve de ayuda.

> Ya lo logre amigo, fue sencillo. gracias a un tutorial y unas
> configuraciones para usar con laiGPU de radeone en wayland.comparto el link
> donde extraje lo necesario para poder editarlo a mi manera: 
> https://notebookgpu.blogspot.com/2021/01/activar-y-configurar-la-aceleracion-por.htmlEl
> 12 de ene. de 2022, a las 1:50 a. m., Camaleón  ha(n)
> escrito:El 2022-01-12 a las 00:27 -, Jefferson Smith Pizarro Gutierrez
> escribió:Como puedo realmente activar la aceleracion grafica en totem, en
> epiphany-broser y trambien en brave o firefox. De alguna forma lo activo en
> funciones experimentales pero en la practica no funciona. existe un metodo
> que funcione. Uso Wayland y open source AMDgpu.Agradezco me ayuden porque
> usar la gpu es importante para darle equilibrio al sistema.Das pocos datos
> sobre tu configuración de los componentes que tienes instalados, los drivers
> que usas o las versiones de las aplicaciones.Es posible que tengas alguna
> combinación de elementos que te impidan ejecutar la aceleración por
> hardware, ya que para que funcione correctamente debe de darse una
> conjunción planetaria concreta :-)Revisa los documentos que tienes la wiki¹
> de ArchLinux que siempre son útiles y te servirán para ver si con los
> mimbres que tienes puedes hacer el cesto que 
> quieres.¹https://wiki.archlinux.org/title/Hardware_video_accelerationSaludos,--
> Camaleón

Saludos,

-- 
Camaleón 



Re: Debian 11 xfce

2022-01-12 Thread Dan Ritter
c. marlow wrote: 
> 
> I honestly don't see what people see in XFCE
> 
> To me, XFCE looks VERY DATED and out of the 90s. 

It works; it rarely breaks after a version upgrade; and it is configurable.

That's three advantages over GNOME.

-dsr-



Re: freeing up some space

2022-01-12 Thread Roy J. Tellason, Sr.
On Wednesday 12 January 2022 12:48:38 am David Wright wrote:
> And now you want to aimlessly zap a few more directories for no better
> reason than the fact that they look unused. Well, take a look at
> https://lists.debian.org/debian-user/2020/10/msg00308.html
> where I measured how much disk space I might reclaim by purging all
> the non-English localization files on the system: a measly 358MB.

I've seen some of that stuff in there,  too...

And yes,  I remember that post.
 
> Is it worth the hassle and potential future trouble. I was under the
> impression that you wanted to get your out-of-date system in order,
> ready for the next upgrade step. Why would you want to prejudice the
> smooth running of your upgrade path just for a few hundred MB.
 
This is funny,  I remember when an 80MB drive was *huge*.   :-)

I'm aiming to clean things up a bit so that I don't end up downloading stuff I 
don't need,  and never use.  Save myself some time.


-- 
Member of the toughest, meanest, deadliest, most unrelenting -- and
ablest -- form of life in this section of space,  a critter that can
be killed but can't be tamed.  --Robert A. Heinlein, "The Puppet Masters"
-
Information is more dangerous than cannon to a society ruled by lies. --James 
M Dakin



Re: Debian 11 xfce

2022-01-12 Thread c. marlow
On Wed, 12 Jan 2022 10:43:00 -0500
Cindy Sue Causey  wrote:

> On 1/12/22, Thomas Schmitt  wrote:
> > Hi,
> >
> > A KHANNA wrote:  
> >> How to activate mouse hover click in above system?..it is not
> >> having options
> >> available in ubuntu.  
> >
> > It seems that a program named "mousetweaks" is in charge for this.
> > I understand that its option --dwell is what you are looking for.
> >
> > My impression comes from Google results with "mouse hover click
> > xfce":
> >
> > https://askubuntu.com/questions/1161695/how-to-disable-hover-click-in-bionic-with-xfce4
> >   https://forum.xfce.org/viewtopic.php?id=11736
> >
> > and then looking up Debian resources
> >   https://packages.debian.org/bullseye/mousetweaks
> >   https://manpages.debian.org/bullseye/mousetweaks/mousetweaks.1.en.html
> >
> >
> > I am not often using XFCE. So you will still need to find an answer
> > how to automatically start mousetweaks when starting your desktop
> > session.  
> 
> 
> I just tried installing mousetweaks. It's not showing up under the
> autostart option for login so the next step would be to try the "+"
> (Add application) option. All of that can be found by following:
> 
> Applications (desktop menu) > Settings > Session and Startup >
> Application Autostart (tab)


I honestly don't see what people see in XFCE

To me, XFCE looks VERY DATED and out of the 90s. 

YMMV, I guess.



Thanks,
Chris

If you need to email me off list, please use ch...@cwm030.com

Debian 11
Gnome 3



Re: freeing up some space

2022-01-12 Thread Roy J. Tellason, Sr.
On Tuesday 11 January 2022 11:02:56 pm David Christensen wrote:
> On 1/11/22 10:25 AM, Roy J. Tellason, Sr. wrote:
> > So I'm poking around with mc,  and happened across /var/cache/apt/archives 
> > which has a LOT of *.deb files in it, and which seems to include many 
> > versions of the same package,  some of them many years old,  going all the 
> > way back to 2013.  I guess I've been running debian a little longer than 
> > I'd thought...
> > 
> > Is it okay to just delete older versions of these files?  Or should I be 
> > doing something using one of the package management tools?  I've mostly 
> > used synaptic,  but am also aware of apt-get,  apt,  aptitude,  and am not 
> > real clear on their comparative capabilities.
> > 
> > I'm looking at over 7500 files amounting to over 9.5GB.
> > 
> > I also see /var/cache/dictionaries-common,  which appears to be tied to a 
> > spelling checker,  which I don't use here.  And /var/cache/samba,  which I 
> > also don't use -- there isn't a windoze machine around here at all.
> > 
> > What's the best way to get all of this excess stuff out of the system?
> 
> 
> Move data to RAID, backup system configuration files, remove system 
> drive, install blank SSD, do a fresh install, and configure by hand 
> (using backups for reference).

Yeah,  I could do that if I had those resources,  but I don't.  In the meantime 
I'm finding aptitude to be a useful tool for the job...

-- 
Member of the toughest, meanest, deadliest, most unrelenting -- and
ablest -- form of life in this section of space,  a critter that can
be killed but can't be tamed.  --Robert A. Heinlein, "The Puppet Masters"
-
Information is more dangerous than cannon to a society ruled by lies. --James 
M Dakin



Re: Debian 11 xfce

2022-01-12 Thread Cindy Sue Causey
On 1/12/22, Thomas Schmitt  wrote:
> Hi,
>
> A KHANNA wrote:
>> How to activate mouse hover click in above system?..it is not having
>> options
>> available in ubuntu.
>
> It seems that a program named "mousetweaks" is in charge for this.
> I understand that its option --dwell is what you are looking for.
>
> My impression comes from Google results with "mouse hover click xfce":
>
> https://askubuntu.com/questions/1161695/how-to-disable-hover-click-in-bionic-with-xfce4
>   https://forum.xfce.org/viewtopic.php?id=11736
>
> and then looking up Debian resources
>   https://packages.debian.org/bullseye/mousetweaks
>   https://manpages.debian.org/bullseye/mousetweaks/mousetweaks.1.en.html
>
>
> I am not often using XFCE. So you will still need to find an answer how
> to automatically start mousetweaks when starting your desktop session.


I just tried installing mousetweaks. It's not showing up under the
autostart option for login so the next step would be to try the "+"
(Add application) option. All of that can be found by following:

Applications (desktop menu) > Settings > Session and Startup >
Application Autostart (tab)

There may also be at least one other path to that same end, but that's
the one that has always worked for me for things like this (and Magnus
and...).

Cindy :)
-- 
Cindy-Sue Causey
Talking Rock, Pickens County, Georgia, USA
* runs with birdseed *



Re: bashrc problem

2022-01-12 Thread Yamadaえりな
Thanks a lot @Will Mengarini 

On Wed, Jan 12, 2022 at 8:21 PM Will Mengarini  wrote:

> * Yamada???  [22-01/12=We 20:10 +0800]:
> > Do you mean if .bash_profile exists, .bashrc will be ignored?
>
> Sometimes.  From `man bash`:
>   When bash is invoked as an interactive login shell, or as a
>   non-interactive shell with the --login option, it first reads
>   and executes commands from the file /etc/profile, if that file
>   exists.  After reading that file, it looks for ~/.bash_profile,
>   ~/.bash_login, and ~/.profile, in that order, and reads and
>   executes commands from the first one that exists and is readable.
>   [...]
>   When an interactive shell that is not a login shell
>   is started, bash reads and executes commands from
>   /etc/bash.bashrc and ~/.bashrc, if these files exist.
>
> * Yamada???  [22-01/12=We 19:49 +0800]:
> >>> I have a .bashrc file in my home dir, whose content is shown as
> follows.
> >>> But every time I log into the system, I have to source this file by
> hand.
> >>>
> >>> $ which scala
> >>> /usr/bin/scala
> >>>
> >>> $ cat .bashrc
> >>> #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
> >>> export SDKMAN_DIR="$HOME/.sdkman"
> >>> [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source \
> >>>   "$HOME/.sdkman/bin/sdkman-init.sh"
> >>>
> >>> $ . .bashrc
> >>> $ which scala
> >>> /home/xxx/.sdkman/candidates/scala/current/bin/scala
> >>>
> >>> How can I make it take effect automatically after I login the system?
>
> On Wed, Jan 12, 2022 at 8:07 PM Will Mengarini  wrote:
> >>
> >> Check whether you have either ~/.bash_profile or ~/.profile.
> >>
> >> If ~/.bash_profile, the line
> >>   . ~/.bashrc
> >> will suffice.
> >>
> >> If ~/.profile, use
> >>   # if running bash
> >>   if [ -n "$BASH_VERSION" ]; then
> >>   # include .bashrc if it exists
> >>   if [ -f ~/.bashrc ]; then
> >>   . ~/.bashrc
> >>   fi
> >>   fi
> >> in case you someday want to try other shells.
>


Re: bashrc problem

2022-01-12 Thread Will Mengarini
* Yamada???  [22-01/12=We 20:10 +0800]:
> Do you mean if .bash_profile exists, .bashrc will be ignored?

Sometimes.  From `man bash`:
  When bash is invoked as an interactive login shell, or as a
  non-interactive shell with the --login option, it first reads
  and executes commands from the file /etc/profile, if that file
  exists.  After reading that file, it looks for ~/.bash_profile,
  ~/.bash_login, and ~/.profile, in that order, and reads and
  executes commands from the first one that exists and is readable.
  [...]
  When an interactive shell that is not a login shell
  is started, bash reads and executes commands from
  /etc/bash.bashrc and ~/.bashrc, if these files exist.

* Yamada???  [22-01/12=We 19:49 +0800]:
>>> I have a .bashrc file in my home dir, whose content is shown as follows.
>>> But every time I log into the system, I have to source this file by hand.
>>>
>>> $ which scala
>>> /usr/bin/scala
>>>
>>> $ cat .bashrc
>>> #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
>>> export SDKMAN_DIR="$HOME/.sdkman"
>>> [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source \
>>>   "$HOME/.sdkman/bin/sdkman-init.sh"
>>>
>>> $ . .bashrc
>>> $ which scala
>>> /home/xxx/.sdkman/candidates/scala/current/bin/scala
>>>
>>> How can I make it take effect automatically after I login the system?

On Wed, Jan 12, 2022 at 8:07 PM Will Mengarini  wrote:
>>
>> Check whether you have either ~/.bash_profile or ~/.profile.
>>
>> If ~/.bash_profile, the line
>>   . ~/.bashrc
>> will suffice.
>>
>> If ~/.profile, use
>>   # if running bash
>>   if [ -n "$BASH_VERSION" ]; then
>>   # include .bashrc if it exists
>>   if [ -f ~/.bashrc ]; then
>>   . ~/.bashrc
>>   fi
>>   fi
>> in case you someday want to try other shells.



Re: OT: Recommendation for a new Debian laptop

2022-01-12 Thread deloptes
john doe wrote:

> I'm thinking about two options:
> - Buying something of the shelph and installing Debian on it
> - Buying a pine64 or alike
> - Any other alternative?

regarding arm or aarch64 I tried with RPi4, but it could not meet all
requirements (not all applications I use can be compiled for arm)

On the company notebook (HP EliteBook 850 G4) I boot with USB stick, because
I am not allowed to modify the hard disk. Everything seems fine - I am
using it in this dual mode for about an year now and also on business
trips. I would buy the same for me if I needed, I don't like Amazon, but it
says it is there for 499,- US

-- 
FCD6 3719 0FFB F1BF 38EA 4727 5348 5F1F DCFE BCB0



Re: bashrc problem

2022-01-12 Thread Will Mengarini
* Yamada???  [22-01/12=We 19:49 +0800]:
> I have a .bashrc file in my home dir, whose content is shown as follows.
> But every time I log into the system, I have to source this file by hand.
> 
> $ which scala
> /usr/bin/scala
> 
> $ cat .bashrc
> #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
> export SDKMAN_DIR="$HOME/.sdkman"
> [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source \
>   "$HOME/.sdkman/bin/sdkman-init.sh"
> 
> $ . .bashrc
> $ which scala
> /home/xxx/.sdkman/candidates/scala/current/bin/scala
> 
> How can I make it take effect automatically after I login the system?

Check whether you have either ~/.bash_profile or ~/.profile.

If ~/.bash_profile, the line
  . ~/.bashrc
will suffice.

If ~/.profile, use
  # if running bash
  if [ -n "$BASH_VERSION" ]; then
  # include .bashrc if it exists
  if [ -f ~/.bashrc ]; then
  . ~/.bashrc
  fi
  fi
in case you someday want to try other shells.



Re: bashrc problem

2022-01-12 Thread Yamadaえりな
Do you mean if .bash_profile exists, .bashrc will be ignored?

Thanks.

On Wed, Jan 12, 2022 at 8:07 PM Will Mengarini  wrote:

> * Yamada???  [22-01/12=We 19:49 +0800]:
> > I have a .bashrc file in my home dir, whose content is shown as follows.
> > But every time I log into the system, I have to source this file by hand.
> >
> > $ which scala
> > /usr/bin/scala
> >
> > $ cat .bashrc
> > #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
> > export SDKMAN_DIR="$HOME/.sdkman"
> > [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source \
> >   "$HOME/.sdkman/bin/sdkman-init.sh"
> >
> > $ . .bashrc
> > $ which scala
> > /home/xxx/.sdkman/candidates/scala/current/bin/scala
> >
> > How can I make it take effect automatically after I login the system?
>
> Check whether you have either ~/.bash_profile or ~/.profile.
>
> If ~/.bash_profile, the line
>   . ~/.bashrc
> will suffice.
>
> If ~/.profile, use
>   # if running bash
>   if [ -n "$BASH_VERSION" ]; then
>   # include .bashrc if it exists
>   if [ -f ~/.bashrc ]; then
>   . ~/.bashrc
>   fi
>   fi
> in case you someday want to try other shells.
>


Re: "corrupted double-linked list"

2022-01-12 Thread Paul van der Vlis

Op 12-01-2022 om 12:10 schreef Martijn van de Streek:

Paul van der Vlis schreef op wo 12-01-2022 om 11:49 [+0100]:

Hallo,

Ik deed een upgrade van Debian 10 naar 11, en nu lukt het me niet om
een
oud package te verwijderen wat niet meer in de nieuwe versie zit.
Wat zal dit zijn?  (zie onder)  De foutmelding lijkt te zijn:
corrupted double-linked list


Dat is een foutmelding van libc6:
grep: x86_64-linux-gnu/libc-2.31.so: binair bestand bevat de gezochte
tekst


Ja, zoiets had ik ook gezien op Stackoverflow. Maar wat doe ik met die 
informatie, volgens mij staat de juiste libc6 er op.



Ik vind het vreemd dat een shell-script dat niet veel meer doet dan wat
"find", "awk" en "xargs" dat kan veroorzaken.

Gebruik je op die machine iets wat je LD_PRELOAD? (bijvoorbeeld een
alternatieve malloc zoals jemalloc?)


Niet dat ik weet...

De environment variabele is leeg met "echo $LD_PRELOAD" als root.


Als ik in /var/lib/dpkg/info/libpython3.7-stdlib:amd64.prerm kijk,
dan
lijkt het dat hij gewoon de bytecode wil verwijderen.

Ik zie in die directory ook nog andere pakketten die er niet horen
volgens mij, zoals python3.7-minimal en python3.5-minimal.
Debian 11 gebruikt Python 3.9.


Dat zijn waarschijnlijk packages die "removed" zijn, en niet "purged";
in die gevallen blijven er wat bestanden achter om, als je later alsnog
"dpkg --purge" doet, .


Ah, dat zou kunnen inderdaad.

Groet,
Paul



--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/



bashrc problem

2022-01-12 Thread Yamadaえりな
Hello list

I have a .bashrc file in my home dir, whose content is shown as follows.

But every time I log into the system, I have to source this file by hand.

$ which scala
/usr/bin/scala

$ cat .bashrc
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source
"$HOME/.sdkman/bin/sdkman-init.sh"

$ . .bashrc
$ which scala
/home/xxx/.sdkman/candidates/scala/current/bin/scala


How can I make it take effect automatically after I login the system?

ありがとう
Yamada


Re: "corrupted double-linked list"

2022-01-12 Thread Martijn van de Streek
Martijn van de Streek schreef op wo 12-01-2022 om 12:10 [+0100]:
> Dat zijn waarschijnlijk packages die "removed" zijn, en niet
> "purged";
> in die gevallen blijven er wat bestanden achter om, als je later
> alsnog
> "dpkg --purge" doet, .

... de boel goed op te ruimen.

Laat ik mijn zin afmaken :)

-Martijn



Re: OT: Recommendation for a new Debian laptop

2022-01-12 Thread 황병희
john doe  writes:

> Debians,
>
> i've been using a laptop for a fiew years now and before this laptop
> dies on me I would like to buy a new laptop.
>
> I'm thinking about two options:
> - Buying something of the shelph and installing Debian on it
> - Buying a pine64 or alike
> - Any other alternative?
>
> The only requirement is to have virtualisation available.

For now i am using ThinkPad E495. That is KVM(virt-manager)
available. CPU is AMD Ryzen. Very good with Debian 11 Bullseye.


-- System Information:
Debian Release: 11.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-9-amd64 (SMP w/8 CPU threads)
Locale: LANG=ko_KR.UTF-8, LC_CTYPE=ko_KR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Sincerely, Byung-Hee



Re: "corrupted double-linked list"

2022-01-12 Thread Martijn van de Streek
Paul van der Vlis schreef op wo 12-01-2022 om 11:49 [+0100]:
> Hallo,
> 
> Ik deed een upgrade van Debian 10 naar 11, en nu lukt het me niet om
> een 
> oud package te verwijderen wat niet meer in de nieuwe versie zit.
> Wat zal dit zijn?  (zie onder)  De foutmelding lijkt te zijn:
> corrupted double-linked list

Dat is een foutmelding van libc6:
grep: x86_64-linux-gnu/libc-2.31.so: binair bestand bevat de gezochte
tekst

Ik vind het vreemd dat een shell-script dat niet veel meer doet dan wat
"find", "awk" en "xargs" dat kan veroorzaken.

Gebruik je op die machine iets wat je LD_PRELOAD? (bijvoorbeeld een
alternatieve malloc zoals jemalloc?)

> Als ik in /var/lib/dpkg/info/libpython3.7-stdlib:amd64.prerm kijk,
> dan 
> lijkt het dat hij gewoon de bytecode wil verwijderen.
> 
> Ik zie in die directory ook nog andere pakketten die er niet horen 
> volgens mij, zoals python3.7-minimal en python3.5-minimal.
> Debian 11 gebruikt Python 3.9.

Dat zijn waarschijnlijk packages die "removed" zijn, en niet "purged";
in die gevallen blijven er wat bestanden achter om, als je later alsnog
"dpkg --purge" doet, .

-Martijn



"corrupted double-linked list"

2022-01-12 Thread Paul van der Vlis

Hallo,

Ik deed een upgrade van Debian 10 naar 11, en nu lukt het me niet om een 
oud package te verwijderen wat niet meer in de nieuwe versie zit.

Wat zal dit zijn?  (zie onder)  De foutmelding lijkt te zijn:
corrupted double-linked list

Als ik in /var/lib/dpkg/info/libpython3.7-stdlib:amd64.prerm kijk, dan 
lijkt het dat hij gewoon de bytecode wil verwijderen.


Ik zie in die directory ook nog andere pakketten die er niet horen 
volgens mij, zoals python3.7-minimal en python3.5-minimal.

Debian 11 gebruikt Python 3.9.

Groet,
Paul

--
root@hosting:/home/nextcloud/www# LANG=C apt remove libpython3.7-stdlib
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  libpython3.7-stdlib
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 8338 kB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 68919 files and directories currently installed.)
Removing libpython3.7-stdlib:amd64 (3.7.3-2+deb10u3) ...
corrupted double-linked list
Aborted
dpkg: error processing package libpython3.7-stdlib:amd64 (--remove):
 installed libpython3.7-stdlib:amd64 package pre-removal script 
subprocess returned error exit status 134

dpkg: too many errors, stopping
Errors were encountered while processing:
 libpython3.7-stdlib:amd64
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@hosting:/home/nextcloud/www#



--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/



Re: Baja

2022-01-12 Thread Eduardo

El 8/1/22 a las 13:31, Óscar Blanco escribió:

Por favor quiero darme de baja y no recibir más emails.

Un saludo


Hola.

En todos y cada uno de los correos que recibes de la lista viene 
información para poder cancelar la suscripción a la misma:


List-Unsubscribe: 



--
Eduardo



Re: Debian 11 xfce

2022-01-12 Thread Thomas Schmitt
Hi,

A KHANNA wrote:
> How to activate mouse hover click in above system?..it is not having options
> available in ubuntu.

It seems that a program named "mousetweaks" is in charge for this.
I understand that its option --dwell is what you are looking for.

My impression comes from Google results with "mouse hover click xfce":
  
https://askubuntu.com/questions/1161695/how-to-disable-hover-click-in-bionic-with-xfce4
  https://forum.xfce.org/viewtopic.php?id=11736

and then looking up Debian resources
  https://packages.debian.org/bullseye/mousetweaks
  https://manpages.debian.org/bullseye/mousetweaks/mousetweaks.1.en.html


I am not often using XFCE. So you will still need to find an answer how
to automatically start mousetweaks when starting your desktop session.


Have a nice day :)

Thomas



Debian 11 xfce

2022-01-12 Thread A KHANNA
Hi

I have a query that I would appreciate if you can help out as I am new to
Linux
How to activate mouse hover click in above system?..it is not having
options available in ubuntu.
Many thanks
Regards
A Khanna


Re: How do I change disk ?

2022-01-12 Thread Pierre Couderc

Sorry to insist... but even for  btrfs RAID1 disks of différent size ?

OK, I shall try but I am surprised it is so simple... ;)


On 1/11/22 20:01, Hans wrote:

Am Dienstag, 11. Januar 2022, 17:22:08 CET schrieb Pierre Couderc:
Yes, should be so by default.

Good luck!

Hans

Thank you. I am surprised;  update-grub is enough to install grub
correctly on all drives...??

On 1/11/22 11:24, Hans wrote:

Am Dienstag, 11. Januar 2022, 04:38:36 CET schrieb Pierre Couderc:

My way:


- Boot with a live cd with clonezilla on it (i.e. clonezilla live)


- clone the complete harddrive to the new one. Pay attentention, that
the new one must be equal or bigger than the source.


- Use another live cd with gparted on it and move or resize the
partitions.





Second way (more work and more complicated):


- Boot with a linux live system (debian live, Knoppix whatever)


- mount the old one to a new mountpoint in root, like /disk1


- partition the new drive to your needs manually


- mount the new one to a new mountpoint in root, like /disk2


- use rsync for transferring data to the new one


- reboot to your old system with the connected new harddrive


- install grub on the new harddrive (grub --install /dev/sdb or
update-grub might do it)





Have fun



Best


Hans


I have a btrfs RAID1 system. I did install it with /dev/sda disk (efs on

sda1, btrfs on sda2). Then, after install,  I added  a sdb disk (vfat on

sdb1, btrfs on sdb2) and I did  btrfs balance.



As /dev/sda is now old, I want to change it. I know btrfs procedures but

I do not know grub procedures.



I suppose I should install "some grub thing" on sdb1 and inform the

system to boot on sdb1. How to do that ?



Is there a good tutorial that I have not found ?



Is it possible to have a system booting automatically on sdb1 if sda1

fails ?



In fact I did add later an identical sdc disk...








Re: OT: Recommendation for a new Debian laptop

2022-01-12 Thread Jeremy Ardley


On 12/1/22 4:12 pm, Jeremy Ardley wrote:



The only requirement is to have virtualisation available.

My advice is if you are going to be doing any virtual work is get a 
laptop with


- decent processor ( I use Ryzen mid range )

- Expandable memory to 32G

- NVME PCIe system drive (256G upwards)

- Large internal secondary drive - typically SATA 1G +

In terms of things just working nicely, I prefer ASUS, but most brands 
with those specs will be able to do all you want.


Standard off the shelf systems are either very expensive or don't have 
the memory and disk you will need.


Get the cheapest one with the capabilities needed and do the upgrades 
yourself for usually a lot cheaper


--

Jeremy

Typical laptops off the shelf offer 8G ram, 256G drive (beware of SATA 
instead of preferred PCIe) and if you are lucky a 1T SATA secondary HDD 
(mistake in previous post 1T not 1G).


Check the specs on these to see how much RAM you can upgrade to. 32G or 
better is what you want.


And always get a good CPU to start with. Ryzen 5 is very workable.


--
Jeremy



OpenPGP_signature
Description: OpenPGP digital signature


Re: OT: Recommendation for a new Debian laptop

2022-01-12 Thread Georgi Naplatanov
On 1/12/22 09:54, john doe wrote:
> Debians,
> 
> i've been using a laptop for a fiew years now and before this laptop
> dies on me I would like to buy a new laptop.
> 
> I'm thinking about two options:
> - Buying something of the shelph and installing Debian on it
> - Buying a pine64 or alike
> - Any other alternative?
> 
> The only requirement is to have virtualisation available.
> 
> Basically, I'm looking for some feedback to have a laptop with Debian on
> it.
> 
> Any suggestion is appreciated.
> 
> -- 

Hi John,

be sure that virtualization software you want to use is supported by
your new computer's architecture. For example VirtualBox is a
virtualization software for x86 and amd64 only while pine64's
architecture is arm64 (AArch64).

Kind regards
Georgi



Re: OT: Recommendation for a new Debian laptop

2022-01-12 Thread Jeremy Ardley


On 12/1/22 3:54 pm, john doe wrote:

Debians,

i've been using a laptop for a fiew years now and before this laptop
dies on me I would like to buy a new laptop.

I'm thinking about two options:
- Buying something of the shelph and installing Debian on it
- Buying a pine64 or alike
- Any other alternative?

The only requirement is to have virtualisation available.

My advice is if you are going to be doing any virtual work is get a 
laptop with


- decent processor ( I use Ryzen mid range )

- Expandable memory to 32G

- NVME PCIe system drive (256G upwards)

- Large internal secondary drive - typically SATA 1G +

In terms of things just working nicely, I prefer ASUS, but most brands 
with those specs will be able to do all you want.


Standard off the shelf systems are either very expensive or don't have 
the memory and disk you will need.


Get the cheapest one with the capabilities needed and do the upgrades 
yourself for usually a lot cheaper


--

Jeremy



OpenPGP_signature
Description: OpenPGP digital signature


Re: rsync copyed systemd-nspawn container won't start

2022-01-12 Thread Alexandre Rossi
Hi,

[...]
> Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Failed to create
> /init.scope control group: Operation not permitted
[...]
> Then I try it with
> 
> debootstrap --variant=minbase --include
> systemd,vim,libterm-readline-gnu-perl,iproute2,dialog,dbus stretch
> /var/lib/machines/foo
> 
> it work as expected.
> 
> Any ideas?

This may be related to systemd<236 in the container.

I would try one of the workarounds mentionned in 
https://github.com/systemd/systemd/issues/9563 :
- passing systemd.legacy_systemd_cgroup_controller=yes to systemd via
  Parameters=
- try with systemd-nspawn ... --private-users=0 --private-users-chown

Alex