Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Search
  • Search

Search found 335 matches

Go to advanced search

Advanced search
Search found 335 matches
  • Page 1 of 14
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 14
  • Next
by proteusx
Sat Sep 14, 2024 4:45 pm
Forum: Desktop Environments
Topic: [SOLVED] Various KDE 6 application segfaults
Replies: 69
Views: 422790

I have none of the kaccount-* installed.

Spectacle: I have masked: >=kde-apps/spectacle-24.05.2. Version 23.08.5 works fine.
But I prefer the old ksnap which is a lot better. Still works

Same for gwenview: masked >=kde-apps/gwenview-24.08.1 and use version 28.08.0-r1

Also watch out media-libs ...
  • Jump to post
by proteusx
Sat Sep 14, 2024 1:48 pm
Forum: Desktop Environments
Topic: [SOLVED] Various KDE 6 application segfaults
Replies: 69
Views: 422790

@localtoast
Somehow I knew that plasma 6 will be a bother. So here is what I did to stay with plasma 5.
I hope this may help you in some way to go back to plasma-5.

First I made an unmask list for the installed plasma-5 packages:
qlist -IS kde-plasma/* | grep :5 > /etc/portage/package.unmask/kde ...
  • Jump to post
by proteusx
Mon Nov 27, 2023 11:40 pm
Forum: Desktop Environments
Topic: kdesu dolphin as root not possible [SOLVED-again]
Replies: 163
Views: 399311

Has anyone tried the dolphin patch on 23.08.3
For this version the patch is slightly different.

--- a/src/dolphinviewcontainer.cpp
+++ b/src/dolphinviewcontainer.cpp
@@ -107,13 +107,6 @@
m_messageWidget->setCloseButtonVisible(true);
m_messageWidget->hide();

-#ifndef Q_OS_WIN
- if (getuid ...
  • Jump to post
by proteusx
Mon Jul 10, 2023 8:02 pm
Forum: Desktop Environments
Topic: kdesu dolphin as root not possible [SOLVED-again]
Replies: 163
Views: 399311

@Blind_Sniper
The patches, applied exactly as you describe, work here, even for the latest 23.04.3
I can run all three apps with su, su -, sudo and kdesu
See screenshot
  • Jump to post
by proteusx
Mon Jul 10, 2023 5:17 pm
Forum: Desktop Environments
Topic: kdesu dolphin as root not possible [SOLVED-again]
Replies: 163
Views: 399311

You need to apply this patch to each of kde-apps/{kate,kate-lib,kwrite}

--- a/apps/lib/kateapp.cpp 2023-05-08 06:28:50.000000000 +0300
+++ b/apps/lib/kateapp.cpp 2023-06-04 22:51:24.602759941 +0300
@@ -98,29 +98,6 @@

void KateApp::initPreApplicationCreation(bool detach)
{
-#if !defined(Q_OS_WIN ...
  • Jump to post
by proteusx
Fri Jun 30, 2023 12:23 pm
Forum: Unsupported Software
Topic: [solved] howto send command to start mprime calculation?
Replies: 18
Views: 10329

Try this, but replace "~/tmp/prime95/" with your own prime95 directory.

Code: Select all

#!/usr/bin/xdotool
type "~/tmp/prime95/mprime"
sleep 0.3
key Return
key 4
sleep  0.3
key Return
sleep  0.3
key Return
  • Jump to post
by proteusx
Thu Jun 29, 2023 12:18 pm
Forum: Unsupported Software
Topic: [solved] howto send command to start mprime calculation?
Replies: 18
Views: 10329

that (both code fragments) does not work. it starts mprime and thats it
Needs one more "sleep" and a "Return" at the end.
xdotool type "./mprime -d -m"; xdotool sleep 0.3; xdotool key Return; xdotool sleep 0.3; xdotool key 4; xdotool key Return
Better to do it with a script:
#!/usr/bin/xdotool ...
  • Jump to post
by proteusx
Thu Jun 29, 2023 6:05 am
Forum: Unsupported Software
Topic: [solved] howto send command to start mprime calculation?
Replies: 18
Views: 10329

Code: Select all

xdotool type "./mprime -d -m"; xdotool key Return; xdotool key 4
or

Code: Select all

xdotool type "./mprime -d -m"; xdotool sleep 0.3; xdotool key Return; xdotool key 4
  • Jump to post
by proteusx
Mon Apr 03, 2023 1:33 pm
Forum: Desktop Environments
Topic: kdesu dolphin as root not possible [SOLVED-again]
Replies: 163
Views: 399311

The last patch still works for kate and kwrite 22.12.3.
Here it is again:

--- a/apps/kate/main.cpp
+++ b/apps/kate/main.cpp
@@ -44,24 +44,24 @@

int main(int argc, char **argv)
{
-#if !defined(Q_OS_WIN) && !defined(Q_OS_HAIKU)
- // Prohibit using sudo or kdesu (but allow using the root user ...
  • Jump to post
by proteusx
Mon Mar 27, 2023 5:06 pm
Forum: Gentoo Chat
Topic: 10 Year Gentoo Census
Replies: 100
Views: 15119591

1997 Slackware from magazine CD.
1998 SUSE from boxed 6 CD package (version 5.3, I think). Had lots of software including the sources.
2003 Gentoo. (I had ADSL connection by then). Stayed with Gentoo ever since.

Never posted anything in the forum for 5 years.
  • Jump to post
by proteusx
Wed Nov 30, 2022 4:56 pm
Forum: Desktop Environments
Topic: kdesu dolphin as root not possible [SOLVED-again]
Replies: 163
Views: 399311

Root patch for {kate,kwrite}-22.08.3
  • Jump to post
by proteusx
Wed Nov 23, 2022 3:15 pm
Forum: Portage & Programming
Topic: qemu-7.1.0-r2 cannot be built with USE="-seccomp"
Replies: 3
Views: 1465

It's intentional, look this commit and bug #873190 .
Thank you for the reply.
I had already seen that bug report but It does not say why USE="seccomp" must be applied in all cases.
Also, if the ebuild specifies unconditionally REQUIRED_USE="caps seccomp", doesn't this make the option seccomp (and ...
  • Jump to post
by proteusx
Wed Nov 23, 2022 1:18 pm
Forum: Portage & Programming
Topic: qemu-7.1.0-r2 cannot be built with USE="-seccomp"
Replies: 3
Views: 1465

qemu-7.1.0-r2 cannot be built with USE="-seccomp"

I always compile qemu with USE="-seccomp" but with qemu-7.1.0-r2 I get this:
# USE="-seccomp" emerge -vp qemu

!!! Problem resolving dependencies for app-emulation/qemu

!!! The ebuild selected to satisfy "qemu" has unmet requirements.
- app-emulation/qemu-7.1.0-r2::gentoo USE="aio alsa bzip2 caps ...
  • Jump to post
by proteusx
Wed Jul 27, 2022 2:30 pm
Forum: Desktop Environments
Topic: kdesu dolphin as root not possible [SOLVED-again]
Replies: 163
Views: 399311

Patches for {dolphin, kate, kwrite}-22.04.3

dolphin-22.04.3-root.patch
--- a/src/dolphinviewcontainer.cpp
+++ b/src/dolphinviewcontainer.cpp
@@ -87,14 +87,6 @@
m_messageWidget->setCloseButtonVisible(true);
m_messageWidget->hide();

-#ifndef Q_OS_WIN
- if (getuid() == 0) {
-
- // We must be logged in as the root user; show a big scary ...
  • Jump to post
by proteusx
Mon Jul 11, 2022 2:56 pm
Forum: Desktop Environments
Topic: Opening firefox on a remote session using X11 forwarding
Replies: 1
Views: 1023

I know little about putty but can tell you how I invoke Firefox from a remote machine to display on my screen using plain ssh.

Assuming a running Xserver on both thel local and the remote machines:
ssh -fY user@remote "firefox-bin --no-remote"
Also in the remote machine I have some extra ssh ...
  • Jump to post
by proteusx
Mon Apr 18, 2022 6:10 pm
Forum: Portage & Programming
Topic: Update causes mayhem--sys-apps/systemd-utils to blame?
Replies: 48
Views: 16463

asturm wrote:
proteusx wrote:Fortunately I saw this before it caused me any grief.
Your problems as well as solutions are automatically invalid inside this forum.
Nice!
  • Jump to post
by proteusx
Sun Apr 17, 2022 8:32 pm
Forum: Portage & Programming
Topic: Update causes mayhem--sys-apps/systemd-utils to blame?
Replies: 48
Views: 16463

Hu.

I have /tmp and /run mounted on tmpfs and I am using openrc-0.17
So there is no need for tmpfiles.
And with vitrual/tmpfiles in "package.provided" there are no side effects whatsoever for nearly 5 years.

The maintainers can package whatever "systemd-style" nonsense they like.
Equally I can ...
  • Jump to post
by proteusx
Sun Apr 17, 2022 3:31 pm
Forum: Portage & Programming
Topic: Update causes mayhem--sys-apps/systemd-utils to blame?
Replies: 48
Views: 16463

Naib wrote: ... but this package is being rude and assuming it will be on your system even though ZERO reason for it to be there ..
virtual/tmpfiles is the root of all evil but we do not really need it.

Code: Select all

echo "virtual/tmpfiles-0-r2" >> /etc/portage/profile/package.provided
  • Jump to post
by proteusx
Sun Apr 17, 2022 2:55 pm
Forum: Portage & Programming
Topic: Update causes mayhem--sys-apps/systemd-utils to blame?
Replies: 48
Views: 16463

Fortunately I saw this before it caused me any grief.
Whenever I see *systemd* in the emerge list I scrutinize it.
My solution:
echo ">=sys-fs/eudev-3.2.11-r2" >> /etc/portage/package.mask/systemd-crap.mask
Also, it may be a good idea to mask these too
>=virtual/udev-217-r4
>=virtual/libudev-232 ...
  • Jump to post
by proteusx
Fri Jan 07, 2022 11:19 pm
Forum: Portage & Programming
Topic: [solved] rebuild packages without "linux" flag?
Replies: 40
Views: 30938


proteusx
would you kindly write a Documentation Tips and Tricks article on this?
Thanks a lot.
So in the intrest of clarity
Would

find /var/db/pkg -type f -name "IUSE" -exec sed -i 's/elibc_FreeBSD//g' {} \;
find /var/db/pkg -type f -name "IUSE" -exec sed -i 's/kernel_linux//g' {} \;
find /var ...
  • Jump to post
by proteusx
Fri Jan 07, 2022 1:27 pm
Forum: Portage & Programming
Topic: [solved] rebuild packages without "linux" flag?
Replies: 40
Views: 30938

The recent crops of developers ought to heed the age old maxim: If it ain't broke, don't fix it.
Tidying up the code should be of lower priority than not pissing off the users.
  • Jump to post
by proteusx
Thu Jan 06, 2022 7:12 pm
Forum: Portage & Programming
Topic: [solved] rebuild packages without "linux" flag?
Replies: 40
Views: 30938

You should actually just patch/modify /var/db/pkg
Yes. One could do this: find /var/db/pkg -type f -name "IUSE" -exec sed -i 's/elibc_FreeBSD//g' {} \;
Like I posted [post=8597226]here[/post] and [post=8403818]here[/post] when I needed to circumvent similar nonsense rebuilds.
This time around ...
  • Jump to post
by proteusx
Thu Jan 06, 2022 2:29 pm
Forum: Portage & Programming
Topic: [solved] rebuild packages without "linux" flag?
Replies: 40
Views: 30938

Then don't use -N/-U. It's that simple, really.
That is beside the point.

In Gentoo one can do whatever one likes; so besides your suggestion, one has other options to circumvent such irksome and needless changes.

One can stop syncing all together. Syncing lately, more often than not, brings ...
  • Jump to post
by proteusx
Thu Jan 06, 2022 12:49 pm
Forum: Portage & Programming
Topic: [solved] rebuild packages without "linux" flag?
Replies: 40
Views: 30938

Besides KERNEL="-linux%", there are also ELIBC="-Free_BSD%" and USERLAND="-GNU% -BSD%" causing needless rebuilding.

It seems to me that someone has nothing better to do than to tinker with portage just to annoy me.

Not everyone has a 64 core Ryzen with 1TB of RAM, you know.
  • Jump to post
by proteusx
Thu Sep 30, 2021 3:54 pm
Forum: Portage & Programming
Topic: how to rebuild the whole system with exclude?
Replies: 10
Views: 5375

@guyuming

You can generate a mask list from the output of genlop.
genlop -ln --date today | cut -c35- | sed '/^\s*$/d;s/^/=/' > /etc/portage/package.mask/tmp.mask
And then emerge world.

BTW, you can exclude whole categories from emerge. Not documented but very useful. For Example:
emerge -aDNu ...
  • Jump to post

Search found 335 matches
  • Page 1 of 14
    • Jump to page:
  • 1
  • 2
  • 3
  • 4
  • 5
  • …
  • 14
  • Next

Go to advanced search

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy