You are not logged in.

#1 2015-06-02 20:56:41

print
Member
Registered: 2007-02-27
Posts: 174

awesome WM; gnome-screenshot -a -i

I'm having trouble with gnome-screenshot and awesome window manager.  I have `gnome-screenshot -a -i`bound to a keyboard command.  It runs, and pops up the dialog for gnome-screenshot.  I am able to click "take screenshot" and select the area to grab.

gnome-screenshot then makes the camera shutter sound, and pops up the "Save" dialog box.

However, the selected area remains on the screen as an opaque box the size of what was selected, *on top of* the Save dialog box, and it is immovable.

So if I selected a large area of the screen, I cannot save the selected image, due to the big gray box being in the way.

Running from the command line gives this output:

** Message: Unable to select area using GNOME Shell's builtin screenshot interface, resorting to fallback X11.
** Message: Unable to use GNOME Shell's builtin screenshot interface, resorting to fallback X11.

(gnome-screenshot:5273): GLib-GObject-WARNING **: The property GtkWidget:margin-left is deprecated and shouldn't be used anymore. It will be removed in a future version.

(gnome-screenshot:5273): GLib-GObject-WARNING **: The property GtkWidget:margin-right is deprecated and shouldn't be used anymore. It will be removed in a future version.

Seems like these X11 messages could be related.  Ideas?

edit: Possibly related:  https://github.com/linuxmint/Cinnamon/issues/1468

GO*DAMN YOU GNOME I LOVE YOU BUT I HATE YOU

Last edited by print (2015-06-02 20:59:13)


% whereis whatis whence which whoami whois who

Offline

#2 2015-06-03 12:07:12

Hwiparam
Member
From: Poland
Registered: 2011-09-26
Posts: 95

Re: awesome WM; gnome-screenshot -a -i

As far as I understand the first two output messages, under non-GNOME desktops it tries to use the generic X11  screenshot system. I have no idea why it fails.

"gnome-screenshot can't connect to the shell service, that's expected since gnome-shell isn't running.
The pictures do however get saved into ~/Pictures"

- that is the quotation from the post you linked. I think you can actually use gnome-screenshot while gnome-shell is up and running. But I am unsure since I have never used GNOME3 myself.

BTW, Have you tried the CLI app called scrot? Personally, I don't need anything else under my Openbox desktop. I'm sure it should work for Awesome as well.

man scrot 

Last edited by Hwiparam (2015-06-03 12:29:13)

Offline

Board footer

Powered by FluxBB