[gentoo-user] convert - color picker
I'm trying to convert color on a PDF file but it works partially. convert -density 300 document.pdf -fuzz 10% -channel rgba -fill none -opaque "#dbdbdb" -opaque "#b8b8b8" daily_appointment.pdf It converts only one color but I have a hard time to selecting grey color to white. I've tried "color picker" in GIMP, it doesn't work. -- Thelma
Re: [gentoo-user] convert: attempt to perform an operation not allowed by the security policy
On 5/2/23 16:25, Hoël Bézier wrote: Am Tue, May 02, 2023 at 03:07:30PM -0600 schrieb the...@sys-concept.com: Trying to use convert and getting security policy problem: convert -density 300 document.pdf -fuzz 10% -channel rgba -fill none -opaque "#d2d2d2" -opaque "#b8b8b8" daily_appointment.pdf convert: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/449. convert: no images defined `daily_appointment.pdf' @ error/convert.c/ConvertImageCommand/3342 Which security policy is it? Output of: cat /etc/ImageMagick-7/policy.xml By default conversion to pdf are forbidden. You may want to read the gentoo bug indicated in the file and if you still want to allow convert to create pdf files, remove or comment the line with pattern="PDF". You are correct, changing it to: solved the problem.
Re: [gentoo-user] convert: attempt to perform an operation not allowed by the security policy
Am Tue, May 02, 2023 at 03:07:30PM -0600 schrieb the...@sys-concept.com: Trying to use convert and getting security policy problem: convert -density 300 document.pdf -fuzz 10% -channel rgba -fill none -opaque "#d2d2d2" -opaque "#b8b8b8" daily_appointment.pdf convert: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/449. convert: no images defined `daily_appointment.pdf' @ error/convert.c/ConvertImageCommand/3342 Which security policy is it? Output of: cat /etc/ImageMagick-7/policy.xml By default conversion to pdf are forbidden. You may want to read the gentoo bug indicated in the file and if you still want to allow convert to create pdf files, remove or comment the line with pattern="PDF".
Re: [gentoo-user] Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1 ~amd64
On 5/2/23 13:42, John Covici wrote: On Tue, 02 May 2023 15:37:50 -0400, the...@sys-concept.com wrote: Trying to emerge evince-44.1 but I get: Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1 ~amd64 What is it looking for? Try getting rid of space followed by ~amd64 and see how that works. There are no spaces at the end of the line: /etc/portage/package.unmask =app-text/evince-44.1 ~amd64
[gentoo-user] convert: attempt to perform an operation not allowed by the security policy
Trying to use convert and getting security policy problem: convert -density 300 document.pdf -fuzz 10% -channel rgba -fill none -opaque "#d2d2d2" -opaque "#b8b8b8" daily_appointment.pdf convert: attempt to perform an operation not allowed by the security policy `PDF' @ error/constitute.c/IsCoderAuthorized/449. convert: no images defined `daily_appointment.pdf' @ error/convert.c/ConvertImageCommand/3342 Which security policy is it? Output of: cat /etc/ImageMagick-7/policy.xml ]> -- Thelma
Re: [gentoo-user] Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1 ~amd64
On Tue, 2023-05-02 at 13:37 -0600, the...@sys-concept.com wrote: > Trying to emerge evince-44.1 but I get: > > Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1 > ~amd64 > > What is it looking for? > The `package.unmask` file is used to unmask packages, not accept keywords. Evince is not masked in the gentoo repo, but the 44.1 version is keyworded with the ~amd64 keyword. This means that the line you put in package.unmask actually goes in package.accept_keywords. -- Julien signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] Question about gentoo accessibility.
To clarify, that's the gentoo minimal iso I think John uses to install. So far as I know the live iso hasn't got espeak built into its kernel. -- Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." Ed Howdershelt 1940. On Tue, 2 May 2023, John Covici wrote: > On Tue, 02 May 2023 14:06:34 -0400, > Matthew Dyer wrote: > > > > Good afternoon all, > > > > > > This question might be better sooted for the accessibility list, > > but seeing that I don't seem to be getting help there I thought I > > would bring it up here. First off, I am an orca user in the gui, > > but use espeakup in or fenrir in the concel. I find that booting > > the officael iso, there is no easy way to boot up with > > speech. For example, in debian, at the boot prompt, pressing S > > will bring up the installer with speech and you can follow the > > prompts in the text installer which uses espeakup. Could > > something simlar be done for gentoo? My work around has been to > > use another linux distro iso. I.E ubuntu to do the install > > following the wiki, but seening there is no way to get speech > > after, that is whare I fall short. The other problem is that if > > trying to install accessibility packages like orca, there seems > > to be alot of problems with conflicks with flags and > > dependencies. For example, when installikng orca, it complans > > that espeak and espeak-ng can not be installed at the same time. > > What is strange is that espeak is not even installed at this > > point. Installing espeak-ng installs without a problem. Perhaps > > this is a bug that perhaps is unreported. Perhaps an > > accessibility profile could be created for this. Thanks and hope > > that this is something that can be looked at. The wiki doesn't > > have much in the way of accessibility in particular installing. > > Thanks again. > > I have installed gentoo several times, using the gentoo iso, not the > live distribution. I get all the way through, update the system and > then worry about orca later, depending on what gui I want to install > -- I have installed orca from master and used gnome as my gui. The > regular gentoo iso has the speakup modules enabled in the kernel, so > this should not be too bad. What helps greatly is a hardware speech > synthesizer, for software speech you might have to install something > like espeakup, I have not done things that way, so experimentation > would be necessary. > > I hope this helps, let me know if you have any further questions. > >
Re: [gentoo-user] Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1 ~amd64
Am Tue, May 02, 2023 at 01:37:50PM -0600 schrieb the...@sys-concept.com: > Trying to emerge evince-44.1 but I get: > > Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1 ~amd64 > > What is it looking for? It is not looking for the ~amd64 at the end of the line. -- Grüße | Greetings | Salut | Qapla’ Please do not share anything from, with or about me on any social network. If two processes are running concurrently, the less important will take processor time away from the more important one. signature.asc Description: PGP signature
Re: [gentoo-user] Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1 ~amd64
On Tue, 02 May 2023 15:37:50 -0400, the...@sys-concept.com wrote: > > Trying to emerge evince-44.1 but I get: > > Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1 ~amd64 > > What is it looking for? Try getting rid of space followed by ~amd64 and see how that works. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
[gentoo-user] Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1 ~amd64
Trying to emerge evince-44.1 but I get: Invalid atom in /etc/portage/package.unmask: =app-text/evince-44.1 ~amd64 What is it looking for? -- Thelma
[gentoo-user] Re: Activating BMQ CPU Scheduler
On 02/05/2023 09:53, Holger Hoffstätte wrote: [...] Switched back to the default (called "CFS" I think.) BMQ has severe issues. When emerging something while I play a game (either native or through wine-proton,) there's long lag spikes and freezes. Even worse, there's bugs like the system completely hanging on shutdown, or "umount" hanging with 100% CPU use by two kernel threads. Can you try booting with psi=0 and check if that helps? There's a known bad interaction with the PSI (Pressure Stall Information) mechanism, which is active by default in many kernel configs. The latest version of the BMQ patch makes sure to turn it off, you may not have that version yet. BMQ (and PDS) works fine and has done so for quite a while. Will have to rebuild again. Does that work on 6.1 kernels? (I only use LTS nowadays.)
Re: [gentoo-user] Question about gentoo accessibility.
On Tue, 02 May 2023 14:06:34 -0400, Matthew Dyer wrote: > > Good afternoon all, > > > This question might be better sooted for the accessibility list, > but seeing that I don't seem to be getting help there I thought I > would bring it up here. First off, I am an orca user in the gui, > but use espeakup in or fenrir in the concel. I find that booting > the officael iso, there is no easy way to boot up with > speech. For example, in debian, at the boot prompt, pressing S > will bring up the installer with speech and you can follow the > prompts in the text installer which uses espeakup. Could > something simlar be done for gentoo? My work around has been to > use another linux distro iso. I.E ubuntu to do the install > following the wiki, but seening there is no way to get speech > after, that is whare I fall short. The other problem is that if > trying to install accessibility packages like orca, there seems > to be alot of problems with conflicks with flags and > dependencies. For example, when installikng orca, it complans > that espeak and espeak-ng can not be installed at the same time. > What is strange is that espeak is not even installed at this > point. Installing espeak-ng installs without a problem. Perhaps > this is a bug that perhaps is unreported. Perhaps an > accessibility profile could be created for this. Thanks and hope > that this is something that can be looked at. The wiki doesn't > have much in the way of accessibility in particular installing. > Thanks again. I have installed gentoo several times, using the gentoo iso, not the live distribution. I get all the way through, update the system and then worry about orca later, depending on what gui I want to install -- I have installed orca from master and used gnome as my gui. The regular gentoo iso has the speakup modules enabled in the kernel, so this should not be too bad. What helps greatly is a hardware speech synthesizer, for software speech you might have to install something like espeakup, I have not done things that way, so experimentation would be necessary. I hope this helps, let me know if you have any further questions. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici wb2una cov...@ccs.covici.com
[gentoo-user] trying to view "ps" postscript files with evince error
When I try to view "ps" file with evince I get an error: evince is compiled with: (cups introspection postscript spell tiff) %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- false 1 %stopped_push .runexec2 --nostringval-- --nostringval-- --nostringval-- 2 %stopped_push --nostringval-- Dictionary stack: --dict:781/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)-- Current allocation mode is local GPL Ghostscript 10.01.1: Unrecoverable error, exit code 1 at yajhfc.file.GhostScriptMultiFileConverter.convertMultiplePSorPDFFiles(GhostScriptMultiFileConverter.java:101) at yajhfc.file.MultiFileConverter.convertMultipleFiles(MultiFileConverter.java:144) at yajhfc.file.MultiFileConverter.convertMultipleFilesToSingleFile(MultiFileConverter.java:206) at yajhfc.file.MultiFileConverter.viewMultipleFiles(MultiFileConverter.java:181) at yajhfc.MainWin$ShowWorker.doWork(MainWin.java:500) at yajhfc.util.ProgressWorker.run(ProgressWorker.java:189) YajHFC 0.6.3 Java 1.8.0_362 (Temurin) OpenJDK Runtime Environment 1.8.0_362-b09 OpenJDK 64-Bit Server VM Linux 6.1.19-gentoo (amd64) -- Thelma
Re: [gentoo-user] Load average revisited
On Tue, 2023-05-02 at 19:06 +0200, Dr Rainer Woitok wrote: > What about > > # emerge -1u qtwebengine && emerge -u @world > > This will first update any dependencies of "qtwebengine" and only update > "qtwebengine" itself when all its dependencies are dealt with, before it > will deal with the rest. What if qtwebengine's (many) dependencies also need to be updated first? I think trying to outsmart the dependency graphing in portage is inviting frustration.
[gentoo-user] Question about gentoo accessibility.
Good afternoon all, This question might be better sooted for the accessibility list, but seeing that I don't seem to be getting help there I thought I would bring it up here. First off, I am an orca user in the gui, but use espeakup in or fenrir in the concel. I find that booting the officael iso, there is no easy way to boot up with speech. For example, in debian, at the boot prompt, pressing S will bring up the installer with speech and you can follow the prompts in the text installer which uses espeakup. Could something simlar be done for gentoo? My work around has been to use another linux distro iso. I.E ubuntu to do the install following the wiki, but seening there is no way to get speech after, that is whare I fall short. The other problem is that if trying to install accessibility packages like orca, there seems to be alot of problems with conflicks with flags and dependencies. For example, when installikng orca, it complans that espeak and espeak-ng can not be installed at the same time. What is strange is that espeak is not even installed at this point. Installing espeak-ng installs without a problem. Perhaps this is a bug that perhaps is unreported. Perhaps an accessibility profile could be created for this. Thanks and hope that this is something that can be looked at. The wiki doesn't have much in the way of accessibility in particular installing. Thanks again. Matthew
Re: [gentoo-user] Load average revisited
Peter, On Tuesday, 2023-05-02 15:04:54 +0100, you wrote: > ... > Meanwhile, is it possible to set things up so that, say, qtwebengine is never > compiled at the same time as anything else? I don't want to rely on my > noticing and intervening, and besides, it isn't always possible just to > --exclude it. What about # emerge -1u qtwebengine && emerge -u @world This will first update any dependencies of "qtwebengine" and only update "qtwebengine" itself when all its dependencies are dealt with, before it will deal with the rest. Sincerely, Rainer
Re: [gentoo-user] Load average revisited
On Tue, 2023-05-02 at 15:04 +0100, Peter Humphrey wrote: > One example I remember is Firefox having a bizarre colour scheme (the > window frame, not the page display) and missing the three upper-right > buttons. > That wasn't corrected by recompiling Firefox, so I assume the problem was > lower down. This feels strongly to me like something in your compositor, rather than Firefox itself.
[gentoo-user] Load average revisited
Afternoon all, It seems that portage's self-protection from overload is incomplete - or so I've been led to believe by some pretty odd goings-on. Injudicious fiddling with -j, --jobs and --load-average can easily cause miscompilation of packages without causing an OOM or any other sign of problems. For some time, I had those values set to take advantage of the 24 threads and 64GB of RAM in this machine (not to mention 8 + 50GB swap, little of which appears ever to be used), resulting in the load average rising into three digits at times - over 200, even. But no sign of difficulty was shown and all appeared to have gone to plan. Until I ran the system, when odd errors would show. One example I remember is Firefox having a bizarre colour scheme (the window frame, not the page display) and missing the three upper-right buttons. That wasn't corrected by recompiling Firefox, so I assume the problem was lower down. I think I have some safe values now (time will tell), but it's worrying that compilation errors can go undetected. Of course I don't know where to start looking for the problem; I just hope someone else does. Meanwhile, is it possible to set things up so that, say, qtwebengine is never compiled at the same time as anything else? I don't want to rely on my noticing and intervening, and besides, it isn't always possible just to --exclude it. -- Regards, Peter.
Re: [gentoo-user] Re: Activating BMQ CPU Scheduler
What scheduler produces the best results on regular desktop systems? mar., 2 mai 2023, 09:54 Holger Hoffstätte a scris: > On 2023-05-01 22:24, Nikos Chantziaras wrote: > > On 26/04/2023 23:06, Holger Hoffstätte wrote: > >> On 2023-04-26 18:15, Nikos Chantziaras wrote: > >>> So I wanted to try the BMQ scheduler in gentoo-sources. Is just > >>> enabling it in the kernel build all that's needed? I did so, > >>> booted, and: > >>> > >>> $ dmesg | grep -i bmq [0.100284] sched/bmq: BMQ CPU Scheduler > >>> v6.1-r4 by Alfred Chen. > >>> > >>> That's all and it's in use now? Or do I need to toggle anything > >>> else? > >> > >> That's all you need to do, right. You can slso alternatively switch > >> to PDS under the "General setup > Scheduler features" kernel-config > >> menu, which is slightly better for throughput and "more correct" > >> when many tasks have varying priorities - beefy workstation or > >> server. BMQ is kind of simplistic (in an elegant way), but that's > >> why it is so effective for low-end systems and desktops. Run iperf3 > >> over loopback (i.e. both server and client) to see the difference. > > > > Switched back to the default (called "CFS" I think.) > > > > BMQ has severe issues. When emerging something while I play a game > > (either native or through wine-proton,) there's long lag spikes and > > freezes. Even worse, there's bugs like the system completely hanging > > on shutdown, or "umount" hanging with 100% CPU use by two kernel > > threads. > > Can you try booting with psi=0 and check if that helps? There's a known > bad interaction with the PSI (Pressure Stall Information) mechanism, > which is active by default in many kernel configs. The latest version > of the BMQ patch makes sure to turn it off, you may not have that version > yet. BMQ (and PDS) works fine and has done so for quite a while. > > -h > >
[gentoo-user] Re: Activating BMQ CPU Scheduler
On 2023-05-01 22:24, Nikos Chantziaras wrote: On 26/04/2023 23:06, Holger Hoffstätte wrote: On 2023-04-26 18:15, Nikos Chantziaras wrote: So I wanted to try the BMQ scheduler in gentoo-sources. Is just enabling it in the kernel build all that's needed? I did so, booted, and: $ dmesg | grep -i bmq [0.100284] sched/bmq: BMQ CPU Scheduler v6.1-r4 by Alfred Chen. That's all and it's in use now? Or do I need to toggle anything else? That's all you need to do, right. You can slso alternatively switch to PDS under the "General setup > Scheduler features" kernel-config menu, which is slightly better for throughput and "more correct" when many tasks have varying priorities - beefy workstation or server. BMQ is kind of simplistic (in an elegant way), but that's why it is so effective for low-end systems and desktops. Run iperf3 over loopback (i.e. both server and client) to see the difference. Switched back to the default (called "CFS" I think.) BMQ has severe issues. When emerging something while I play a game (either native or through wine-proton,) there's long lag spikes and freezes. Even worse, there's bugs like the system completely hanging on shutdown, or "umount" hanging with 100% CPU use by two kernel threads. Can you try booting with psi=0 and check if that helps? There's a known bad interaction with the PSI (Pressure Stall Information) mechanism, which is active by default in many kernel configs. The latest version of the BMQ patch makes sure to turn it off, you may not have that version yet. BMQ (and PDS) works fine and has done so for quite a while. -h