Re: [gentoo-user] Mouse pain

2023-05-15 Thread Wol

On 15/05/2023 18:25, Michael wrote:

Check the attached screenshots, relevant to this laptop.  There's pointer
speed and scrolling speed for the USB mouse I have attached.  I use libinput
for years now and as far as I recall I have not changed the default settings.
I think different mouse models would generate different inputs and would offer
more settings.  Mine is a simple wired optical mouse.


I'm not at that system at the moment but ... where on your screenshot is 
the double click speed? Where is the "configure middle button"? etc etc.


You've got the basics, just like me ...

Cheers,
Wol



[gentoo-user] Re: emerge --sync fails with a python error

2023-05-15 Thread Grant Edwards
On 2023-05-15, Dan Johansson  wrote:
> On 15.05.23 16:41, Matt Connell wrote:
>> On Mon, 2023-05-15 at 16:24 +0200, Dan Johansson wrote:
>>> RuntimeError: OpenPGP signature not found on Manifest
>> 
>> It sounds like your sync is hitting a mirror that is currently broken.
>> 
>> Are you using a defined mirror list or letting it auto-select?
>
> As far as I can tell, portage is using "auto-select".
> in /etc/portage/make.conf I do not have GENTOO_MIRRORS set.

FWIW, I find life a lot more pleasant since I switched from rsync to
git for syncing the portage tree. It sometimes used to take 10-15
minutes to sync, or the sync would sometimes just hang and have to be
restarted several times. And I had lost count of how many times I
change my GENTOO_MIRRORS setting when the mirror I had chosen had
apparently fallen back to a dial-up connectiong via a 9600 baud modem.





[gentoo-user] Re: Mouse pain

2023-05-15 Thread Nikos Chantziaras

On 15/05/2023 20:16, Wols Lists wrote:
I've got a fancy gaming mouse and there is ABSOLUTELY NOTHING 
beyond the complete basics that is configurable :-(


I also have such a mouse, but I have to configure it in Windows (using 
the "Logitech HUB" software.) Fortunately, the settings are stores on 
the mouse itself so it remembers the settings in Linux. Not optimal 
having to boot Windows to configure the mouse, but better than nothing :P





Re: [gentoo-user] [SOLVED] guvcview - no video device (/dev/video0) found

2023-05-15 Thread thelma

On 5/13/23 22:31, Andreas Fink wrote:

On Sat, 13 May 2023 14:50:33 -0600
the...@sys-concept.com wrote:


Getting an error message when trying to start usb-cam:

guvcview
ENCODER: no video codec detected for VP9 (VP9)
ENCODER: no video codec detected for Theora (ogg theora)
GUVCVIEW: version 2.0.8
GUVCVIEW: couldn't open /home/joseph/.config/guvcview2/video0 for read: No such 
file or directory
V4L2_CORE: ERROR opening V4L interface: No such file or directory
GUVCVIEW (2): Guvcview error
 no video device (/dev/video0) found
GUVCVIEW (Qt5): fatal error (0 devices detected)
GUVCVIEW (Qt5): creating error dialog

dmesg:

[935066.984348] usb 1-1.4: Product: Vega USB2.0 Camera
[935066.984350] usb 1-1.4: Manufacturer: Vimicro Corp.
[936075.049430] usb 1-1.4: USB disconnect, device number 47
[936080.312412] usb 1-1.4: new high-speed USB device number 48 using xhci_hcd
[936080.504291] usb 1-1.4: New USB device found, idVendor=0ac8, idProduct=0331, 
bcdDevice= 1.00
[936080.504296] usb 1-1.4: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
[936080.504297] usb 1-1.4: Product: Vega USB2.0 Camera
[936080.504299] usb 1-1.4: Manufacturer: Vimicro Corp.



Do you have read/write access to /dev/video0? Try with:
ls -lh /dev/video*


No, it wasn't the case.
I had to add support for V4L in the kernel.

I'm surprised that there was no emerge note after emerging the package, that 
package needs V4L support in the kernel.
 



Re: [gentoo-user] emerge --sync fails with a python error

2023-05-15 Thread Dan Johansson

On 15.05.23 16:41, Matt Connell wrote:

On Mon, 2023-05-15 at 16:24 +0200, Dan Johansson wrote:

RuntimeError: OpenPGP signature not found on Manifest


It sounds like your sync is hitting a mirror that is currently broken.

Are you using a defined mirror list or letting it auto-select?



As far as I can tell, portage is using "auto-select".
in /etc/portage/make.conf I do not have GENTOO_MIRRORS set.


--
Dan Johansson
***
This message is printed on 100% recycled electrons!
***




Re: [gentoo-user] Re: [SOLVED] Feature "split-log" in Portage variable "FEATURES"

2023-05-15 Thread Dale
Dr Rainer Woitok wrote:
> Dale,
>
> On Monday, 2023-05-15 11:35:33 -0500, you wrote:
>
>> ...
>> If you got a minute, what is the reason for split-log?  What exactly
>> does it split?  I'm guessing this is new since I don't recall reading
>> about it. 
> Under Gentoo each package has a name consisting of two parts: "category/
> name".  But since under Unix/Linux the "/" is used to separate path com-
> ponents,  the build logs in "/var/log/portage/" have sort of ugly names:
> "category:name-version:MMDD:HHMMSS.log"  with a colon  rather than a
> slash between category and name.  The "split-log" feature now splits the
> category to a sub-directory name under "/var/log/portage/build/" and us-
> es name, version and time stamp as the log file name.   This enables you
> to simply use the full Gentoo package name in scripts as in
>
>$ pkg=media-gfx/gimp
>$ ls /var/log/portage/build/$pkg-*.log | sort -t : -rk 2,3 | head -1
>
> to get the path to the most recent log file  without first having to re-
> place the slash with a colon.
>
> This is probably only relevant if you write your own scripts to get your
> tasks done.   And I don't have any idea whether or not it's new,  I just
> found it by pure chance when looking for something else ... :-)
>
> Sincerely,
>   Rainer
>

Would this make using tab completion easier too?  I ask because when I
want to cat a error log file, tab completion gets difficult pretty
quick.  I'm not sure this would help with that tho. 

Thanks. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: [SOLVED] Feature "split-log" in Portage variable "FEATURES"

2023-05-15 Thread Dr Rainer Woitok
Dale,

On Monday, 2023-05-15 11:35:33 -0500, you wrote:

> ...
> If you got a minute, what is the reason for split-log?  What exactly
> does it split?  I'm guessing this is new since I don't recall reading
> about it. 

Under Gentoo each package has a name consisting of two parts: "category/
name".  But since under Unix/Linux the "/" is used to separate path com-
ponents,  the build logs in "/var/log/portage/" have sort of ugly names:
"category:name-version:MMDD:HHMMSS.log"  with a colon  rather than a
slash between category and name.  The "split-log" feature now splits the
category to a sub-directory name under "/var/log/portage/build/" and us-
es name, version and time stamp as the log file name.   This enables you
to simply use the full Gentoo package name in scripts as in

   $ pkg=media-gfx/gimp
   $ ls /var/log/portage/build/$pkg-*.log | sort -t : -rk 2,3 | head -1

to get the path to the most recent log file  without first having to re-
place the slash with a colon.

This is probably only relevant if you write your own scripts to get your
tasks done.   And I don't have any idea whether or not it's new,  I just
found it by pure chance when looking for something else ... :-)

Sincerely,
  Rainer



[gentoo-user] Announcement: PFL is looking for a new maintainer

2023-05-15 Thread Daniel Pielmeier

Hello All!

I am posting this here (gentoo-dev, gentoo-user) at the request of the 
upstream maintainer to reach a larger audience. PFL upstream will stop 
working on the project and is looking for a new maintainer.


For those who don't know what PFL is. It is basically a database that 
allows users to search for packages that provide a file. Say you want to 
run a command/program, but you don't know which package provides it. 
This is where PFL can help.
The database itself is populated by users. When you install 
app-app-portage/pfl [1], there's a script that sends a list of installed 
packages and their contents to the server. A second script is used to 
query for packages that owe a file. There is also a web interface [2] 
which provides similar functionality.


I believe a similar feature is also available for Ubuntu (maybe other 
distributions too, not sure if this is Ubuntu specific). If you type a 
command on the command line that is not available, you get suggestions 
for packages that contain the program.


I now see two possibilities. Either another user takes over the project 
or Gentoo itself takes over the maintenance. But someone has to do the 
work and further maintenance. Otherwise the project will be terminated.


If you are interested or have something to share, please join the 
discussion in the forum [3] to keep everything in one central place.


Thanks!

[1] https://packages.gentoo.org/packages/app-portage/pfl
[2] https://portagefilelist.de/
[3] https://forums.gentoo.org/viewtopic-t-1163382.html

--
Best Regards
Daniel



Re: [gentoo-user] Mouse pain

2023-05-15 Thread Wols Lists

On 15/05/2023 17:18, Michael wrote:

On Monday, 15 May 2023 17:11:45 BST Wols Lists wrote:

On 15/05/2023 03:51, William Kenworthy wrote:

Checked your menu? XFCE has a "mouse and touchpad" under settings with a
number of useful items including acceleration, double click timings etc.


Yes. As I remember, KDE USED to have such a menu ...

Cheers,
Wol


Still does:

Go to SystemSettings > Input Devices > Mouse

(also there are menus for Keyboard, Game Controller, Drawing Tablet, Touchpad,
Touchscreen, Virtual Keyboard).


The MENU is there. The settings ARE NOT.

You can set pointer speed, swap left and right mouse buttons, and that's 
about it. I've got a fancy gaming mouse and there is ABSOLUTELY NOTHING 
beyond the complete basics that is configurable :-(


No middle button settings. No double click speed. No extra button 
settings. Zilch. Nada. F.all.


Cheers,
Wol



Re: [gentoo-user] Mouse pain

2023-05-15 Thread Jack

On 5/15/23 12:11, Wols Lists wrote:

On 15/05/2023 03:51, William Kenworthy wrote:
Checked your menu? XFCE has a "mouse and touchpad" under settings 
with a number of useful items including acceleration, double click 
timings etc.


Yes. As I remember, KDE USED to have such a menu ...

Cheers,
Wol
It still does - under Accessibility in System Settings.  Open System 
Settings and type "mouse" in the search box.




Re: [gentoo-user] Re: [SOLVED] Feature "split-log" in Portage variable "FEATURES"

2023-05-15 Thread Dale
Dr Rainer Woitok wrote:
> On Monday, 2023-05-15 15:39:57 +0200, I myself wrote:
>
>> ...
>>After adding "split-log"  to variable
>> "FEATURES" in file "make.conf" I updated a single small package, but the
>> build log did not turn up anywhere,  even though file  "/var/log/emerge.
>> log" contained a new entry telling me  the package has been successfully
>> updated.
>>
>> What am I missing?
> Well I simply missed the "--update" option of the "emerge" command. :-)
>
> Sorry for the noise ...
>
> Sincerely,
>   Rainer
>
>


If you got a minute, what is the reason for split-log?  What exactly
does it split?  I'm guessing this is new since I don't recall reading
about it. 

Dale

:-)  :-) 



Re: [gentoo-user] Mouse pain

2023-05-15 Thread Michael
On Monday, 15 May 2023 17:11:45 BST Wols Lists wrote:
> On 15/05/2023 03:51, William Kenworthy wrote:
> > Checked your menu? XFCE has a "mouse and touchpad" under settings with a
> > number of useful items including acceleration, double click timings etc.
> 
> Yes. As I remember, KDE USED to have such a menu ...
> 
> Cheers,
> Wol

Still does:

Go to SystemSettings > Input Devices > Mouse

(also there are menus for Keyboard, Game Controller, Drawing Tablet, Touchpad, 
Touchscreen, Virtual Keyboard).

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Mouse pain

2023-05-15 Thread Wols Lists

On 15/05/2023 03:51, William Kenworthy wrote:
Checked your menu? XFCE has a "mouse and touchpad" under settings with a 
number of useful items including acceleration, double click timings etc.


Yes. As I remember, KDE USED to have such a menu ...

Cheers,
Wol



Re: [gentoo-user] Mouse pain

2023-05-15 Thread William Kenworthy
Checked your menu? XFCE has a "mouse and touchpad" under settings with a 
number of useful items including acceleration, double click timings etc.


BillK


On 15/5/23 04:33, Wols Lists wrote:
I've been having grief with my mouse for a while, and all the help I 
can find is "how to adjust mouse speed", which is not my problem... 
and seems to be about the only thing that is adjustable ...


Basically even something as simple as left click doesn't work 
properly. I'm guessing it's timing related, but I can't find anywhere 
to adjust it. The symptoms are single clicks get interpreted as double 
or treble clicks, and when I try (especially in games) to do a "drag 
to select", the area the mouse drags over bears precious little 
resemblance to the are the mouse actually is. Combined with the 
"double click effect" it makes the mouse - randomly :-( ! - almost 
unusable.


It might well be tied into system lock-ups, as every now and then the 
system simply stops responding, as in either the mouse and keyboard 
just no longer work, or the mouse moves freely but the system just 
ignores it.


Basically I just don't know how - or where - to start debugging it

(systemd, kde system)

Cheers,
Wol







Re: [gentoo-user] emerge --sync fails with a python error

2023-05-15 Thread Matt Connell
On Mon, 2023-05-15 at 16:24 +0200, Dan Johansson wrote:
> RuntimeError: OpenPGP signature not found on Manifest

It sounds like your sync is hitting a mirror that is currently broken.

Are you using a defined mirror list or letting it auto-select?



[gentoo-user] emerge --sync fails with a python error

2023-05-15 Thread Dan Johansson

Since at least my "emerge --sync" fails with the following message:
--8<--
Total bytes received: 55.60M

sent 456.87K bytes  received 55.60M bytes  4.48M bytes/sec
total size is 188.36M  speedup is 3.36
Traceback (most recent call last):
  File 
"/usr/lib/python3.11/site-packages/portage/util/_async/AsyncFunction.py", line 
45, in _run
result = self.target(*(self.args or []), **(self.kwargs or {}))
 ^^
  File "/usr/lib/python3.11/site-packages/portage/sync/controller.py", line 
165, in sync
taskmaster.run_tasks(tasks, func, status, options=task_opts)
  File "/usr/lib/python3.11/site-packages/portage/sync/controller.py", line 65, 
in run_tasks
result = getattr(inst, func)(**kwargs)
 ^
  File "/usr/lib/python3.11/site-packages/portage/sync/syncbase.py", line 364, 
in sync
return self.update()
   ^
  File "/usr/lib/python3.11/site-packages/portage/sync/modules/rsync/rsync.py", 
line 428, in update
raise RuntimeError(
RuntimeError: OpenPGP signature not found on Manifest

Action: sync for repo: gentoo, returned code = 1
--8<--

I have tried re-emerging portage and even unmasked portage-3.0.47, I also tried disabling 
the "rsync-verify" verify USE-flag.

Any suggestions what is wrong and how to solve it?

--
Dan Johansson,
***
This message is printed on 100% recycled electrons!
***



[gentoo-user] Re: [SOLVED] Feature "split-log" in Portage variable "FEATURES"

2023-05-15 Thread Dr Rainer Woitok
On Monday, 2023-05-15 15:39:57 +0200, I myself wrote:

> ...
>After adding "split-log"  to variable
> "FEATURES" in file "make.conf" I updated a single small package, but the
> build log did not turn up anywhere,  even though file  "/var/log/emerge.
> log" contained a new entry telling me  the package has been successfully
> updated.
> 
> What am I missing?

Well I simply missed the "--update" option of the "emerge" command. :-)

Sorry for the noise ...

Sincerely,
  Rainer



Re: [gentoo-user] Feature "split-log" in Portage variable "FEATURES"

2023-05-15 Thread tastytea
On 2023-05-15 15:39+0200 Dr Rainer Woitok 
wrote:

> Greetings,
> 
> skimming through "man make.conf"  looking for something else  I
> stumbled upon
> 
>   split-log
>  Store  build   logs   in   category   subdirectories   of
>  PORTAGE_LOGDIR/build, instead of using PORTAGE_LOGDIR di‐
>  rectly.
> 
> and I decided  to give it a try.   After adding "split-log"  to
> variable "FEATURES" in file "make.conf" I updated a single small
> package, but the build log did not turn up anywhere,  even though
> file  "/var/log/emerge. log" contained a new entry telling me  the
> package has been successfully updated.
> 
> What am I missing?

most likely you didn't define PORTAGE_LOGDIR in your make.conf and it's
empty by default (check with `portageq envvar PORTAGE_LOGDIR`).

kind regards, tastytea



[gentoo-user] Feature "split-log" in Portage variable "FEATURES"

2023-05-15 Thread Dr Rainer Woitok
Greetings,

skimming through "man make.conf"  looking for something else  I stumbled
upon

  split-log
 Store  build   logs   in   category   subdirectories   of
 PORTAGE_LOGDIR/build, instead of using PORTAGE_LOGDIR di‐
 rectly.

and I decided  to give it a try.   After adding "split-log"  to variable
"FEATURES" in file "make.conf" I updated a single small package, but the
build log did not turn up anywhere,  even though file  "/var/log/emerge.
log" contained a new entry telling me  the package has been successfully
updated.

What am I missing?

Sincerely,
  Rainer



Re: [gentoo-user] Re: Mouse pain

2023-05-15 Thread Wol

On 15/05/2023 02:11, Nikos Chantziaras wrote:

On 15/05/2023 03:46, mad.scientist.at.la...@tutanota.com wrote:
The switches themselves do that when they start to wear out.  I've had 
it happen to a number of mice/track balls.  Indeed I'll soon be 
replacing those switches on several track balls and I'll use better 
switches that have the same dimensions.  It may be worth trying to 
de-dust and de-dust bunny them but it probably isn't the problem.


I bought a mouse with optical switches, which are advertised to never 
develop this exact problem. I guess I'll have to wait for a couple years 
to see if the claims check out :P


Thanks everyone. It's a nice Logitech gaming mouse, so I didn't want it 
to be a pain to use (and I tried an old mouse to replace it which played 
up similarly ???), but


giving it a good blow underneath the mouse buttons appears to have done 
the trick!


Thanks all!

Cheers,
Wol



[gentoo-user] Systemd query ...

2023-05-15 Thread Wols Lists

Nothing to do with but sparked by the Apache problem ...

One of the emails mentioned that the "ExecStop" section didn't appear to 
be working ... That's caused me considerable grief in a systemd config 
file I've written ...


Basically, somebody else added an ExecStop section - and all hell broke 
loose. It seemed to be firing on boot :-( And the service in question - 
ScarletDME - seemed to be killing processes at random, like DoveCot ...


Okay, accidentally killing processes it shouldn't is probably down the 
fork/exec code in ScarletDME, I haven't dug into it to know, but systemd 
should not be triggering the stop in the first place. Has anybody else 
encountered anything like this?


Sorry I'm not likely to respond quickly to say "solved", as I need to 
get "in the mood" to get back to debugging, but if anybody has any hints 
and tips, they'd be appreciated, and it might shed some light on that 
Apache problem :-)


Cheers,
Wol