Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I tried to take a screenshot with the GIMP on my new ThinkPenguin laptop today for the first time and got the following error message:
Code:
GIMP Message: Execution error for "screenshot":
GDBus.Error.org.kde.kwin.Screenshot.Error.NotAuthorized.
This process is not NotAuthorized to take a sceenshot
I was, however, able to take a screenshot with Kolourpaint.
Per /etc/release, the machine came with "Debian GNU/Linux bullseye/sid" installed with the default Gnome DE, and I installed and have been using Plasma.
I tried a web search for "GIMP not authorized screenshot" and variations thereof, and found lots of information about how to take screenshots with the GIMP, but nothing, at least in the first few pages of each set of search results, about not being able to take screenshots with the GIMP.
I'm hoping someone can point me towards what might be responsible for this error. (As aside, I frequently use the GIMP to take screenshots, and have not encountered this before.)
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,099
Rep:
I wasn't aware you could take a screenshot with The GIMP, so I tried it and
received this error,
Quote:
GIMP Message
Execution error for 'Screenshot':
GDBus.Errorrg.freedesktop.DBus.Error.UnknownMethod: No such method 'interactive' in interface 'org.kde.kwin.Screenshot' at object path '/Screenshot' (signature 'i')
Both Xfce and Kde have screen shot utilities, but I prefer Xfce's Screenshot.
IIRC, kde changed the name of ksnapshot with kde5.
Here we go,
Quote:
Spectacle replaced KSnapshot with the release of KDE Applications 15.12 in December 2015....
Edit in: FWIW, the above error was with kde4 running on Slackware64-current (yes, it runs just fine, but takes some fine tuning ). Just for chuckles, I changed to Xfce-4.12 where the screenshot function of The GIMP worked perfectly.
Last edited by cwizardone; 03-24-2021 at 05:36 AM.
Today, I did as cwizardone suggested and searched for the error messages and follow the links there. Then I looked in the System Settings-->Autostart dialog, and found no references to polkit. However, the services were listed by their file names, as shown on the first link, but by pretty names, such as "System Status" and "Network Status" (must be a Plasma thing).
I logged out of KDE, logged into Gnome, and checked the Gnome settings and found nothing about autostarting.
I logged back into KDE and did
Code:
ps -A | grep pol
and found two polkit processes were running. I considered stopping them manually, but first decided to test the GIMP again and successfully took a screenshot.
I changed nothing and don't have a clue what happened, but I'm marking this thread as solved.
Again, thanks for the help.
Aside to cwizardone: I do likes me my pretty pictures. I have a collection of over 2500 wallpapers I've collected over the years.
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,803
Rep:
Quote:
Originally Posted by frankbell
I tried to take a screenshot with the GIMP on my new ThinkPenguin laptop today for the first time and got the following error message:
Code:
GIMP Message: Execution error for "screenshot":
GDBus.Error.org.kde.kwin.Screenshot.Error.NotAuthorized.
This process is not NotAuthorized to take a sceenshot
I was, however, able to take a screenshot with Kolourpaint.
Hmm... I've always taken screenshots using the tool KDE has mapped to the "Print Screen" key (`Spectacle'), copying it to the clipboard, and pasting it into The GIMP. I never noticed the screenshot option under The GIMP's "Create..." menu option until just now. It works on Leap 15.
Do you see a screenshot plug-in? Permissions glitch?
Code:
$ cd /usr/lib64/gimp/2.0/plug-ins/screenshot
$ ls -l
total 48
-rwxr-xr-x 1 root root 48816 Feb 11 13:22 screenshot
Everyone should be able to execute it. At least on my system.
The OP is just toying with us.
If you look at the output originally posted, the Gimp produced a screeshot:
Quote:
GIMP Message: Execution error for "screenshot":
GDBus.Error.org.kde.kwin.Screenshot.Error.NotAuthorized.
This process is not NotAuthorized to take a sceenshot
Brains, you are, as my old boss used to say, "in error."
The screenshot I posted was taken with Kolourpaint, as I implied in my original post.
I am somewhat nonplussed by the implication of your post.
The happy face should of tipped you off.
The Gimp forced you to take that screen shot with another app, which is why I say "The Gimp produced a screenshot".
Might not have been the original desired screenshot, but it produced one.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.