You are not logged in.

#1 2012-04-24 16:09:57

cerdiogenes
Member
From: Cascavel - Paraná - Brazil
Registered: 2010-12-22
Posts: 14
Website

gnome-screenshot not working

Hi,

My system is up-to-date and gnome-screenshot 3.4.1-1 and gnome-shell 3.4.1-1 are installed. I a press print screen or run gnome-screenshot from the command line my screen flicks in white, but I don't get the dialog to save my screenshot. This is a bug? Or can be something related to configuration?

Best regards,
Carlos.

Offline

#2 2012-04-24 16:32:49

stonix_015
Member
Registered: 2012-02-13
Posts: 18

Re: gnome-screenshot not working

is there any output when you type in "gnome-screenshot" in terminal ?

Offline

#3 2012-04-24 16:57:04

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: gnome-screenshot not working

The dialog is gone. it saves the picture autimatically to your Pictures folder.

Offline

#4 2012-04-24 18:18:25

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: gnome-screenshot not working

ijanos wrote:

The dialog is gone. it saves the picture autimatically to your Pictures folder.

you need to install xdg-user-dirs-gtk and relogin in order to work


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2012-04-24 18:20:55

ijanos
Member
From: Budapest, Hungary
Registered: 2008-03-30
Posts: 443

Re: gnome-screenshot not working

wonder wrote:
ijanos wrote:

The dialog is gone. it saves the picture autimatically to your Pictures folder.

you need to install xdg-user-dirs-gtk and relogin in order to work

did not know that. thanks

Offline

#6 2012-04-25 01:46:40

Dielson Sales
Member
From: Maceió, Brazil
Registered: 2011-10-02
Posts: 4
Website

Re: gnome-screenshot not working

That worked for me too, but does anyone know if there's a way to configure the directory where the images are saved?

Offline

#7 2012-04-25 09:37:37

bnb2235
Member
Registered: 2011-02-13
Posts: 119

Re: gnome-screenshot not working

My out of the box findings
Screenshot seems a bit weird. The desktop file shows it runs gnome-screenshot -w, and if I use the desktop file I get the gui. If I run gnome-screenshot from terminal, I get no gui...

Dielson Sales,
dconf-editor
org.gnome.gnome-screenshot.auto-save-directory
I set mine to file:///tmp (just my preference)

I will try Wonders suggestion

Offline

#8 2012-04-25 22:18:52

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: gnome-screenshot not working

wonder wrote:
ijanos wrote:

The dialog is gone. it saves the picture autimatically to your Pictures folder.

you need to install xdg-user-dirs-gtk and relogin in order to work


That is really ugly.

1. I'dont want an "Pictures" directory, if have only an "pictures" directory and I don't want the screenshots in my directory "pictures"
2. Their is absolutely no waring or something else

Is their a bug-report open for this issue?

Offline

#9 2012-04-26 00:15:09

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: gnome-screenshot not working

hoschi wrote:
wonder wrote:
ijanos wrote:

The dialog is gone. it saves the picture autimatically to your Pictures folder.

you need to install xdg-user-dirs-gtk and relogin in order to work


That is really ugly.

1. I'dont want an "Pictures" directory, if have only an "pictures" directory and I don't want the screenshots in my directory "pictures"
2. Their is absolutely no waring or something else

Is their a bug-report open for this issue?

no, because there is no bug. that's the intented behavior in gnome 3.4


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2012-04-26 16:48:12

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: gnome-screenshot not working

If you don't want a Pictures directory, configure it in .config/user-dirs.dirs
That's what it uses to work out what folders it needs to create if they're missing.

Offline

#11 2012-04-26 21:07:54

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: gnome-screenshot not working

bnb2235 wrote:

My out of the box findings
Screenshot seems a bit weird. The desktop file shows it runs gnome-screenshot -w, and if I use the desktop file I get the gui. If I run gnome-screenshot from terminal, I get no gui...

you should try;

gnome-screenshot --interactive

I'm pretty sure that is what the .desktop file calls smile

EDIT:

this thread should be marked solved. Clearly, the dialog is still available and you can customize where it saves screenshots using xdg...

Last edited by triplesquarednine (2012-04-26 21:11:17)

Offline

#12 2012-04-29 09:59:48

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: gnome-screenshot not working

wonder wrote:
hoschi wrote:
wonder wrote:

you need to install xdg-user-dirs-gtk and relogin in order to work


That is really ugly.

1. I'dont want an "Pictures" directory, if have only an "pictures" directory and I don't want the screenshots in my directory "pictures"
2. Their is absolutely no waring or something else

Is their a bug-report open for this issue?

no, because there is no bug. that's the intented behavior in gnome 3.4

I have a different view. The first is, that a well known camera-click is played but nothing happens (bug). The other part is simply a huge decline in usability.

Offline

#13 2012-04-29 11:37:43

bnb2235
Member
Registered: 2011-02-13
Posts: 119

Re: gnome-screenshot not working

triplesquarednine,
You are correct. I looked again and there are multiple exec lines and I was reading the wrong one. The one I read from /usr/share/applications/gnome-screenshot.desktop:

Exec=gnome-screenshot -w
TargetEnvironment=Unity

But for gnome:
Exec=gnome-screenshot --interactive
Terminal=false
Type=Application
Icon=applets-screenshooter
StartupNotify=true
Categories=GTK;GNOME;Utility;

hoschi
Rather than xdg, you can also change the store location with dconf-editor (No Pictures dir needed)

Personally, I like the way it is working.
If you want it back to the way it was, it is easy. Open the system preferences. Click Keyboard. Click shortcuts tab. Click custom shortcuts. Click the plus sign. Give a name. Enter the command gnome-screenshot --interactive. Apply. Click where it says "disabled" to assign a new accelerator. Press Print Scrn key on keyboard. Accept the warning and let it reassign.

Offline

#14 2012-04-29 12:26:52

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: gnome-screenshot not working

Personally, I like the way it is working.
If you want it back to the way it was, it is easy. Open the system preferences. Click Keyboard. Click shortcuts tab. Click custom shortcuts. Click the plus sign. Give a name. Enter the command gnome-screenshot --interactive. Apply. Click where it says "disabled" to assign a new accelerator. Press Print Scrn key on keyboard. Accept the warning and let it reassign.

Thanks. Sounds good! I will test that!
Still I think the old default is much better, especially for power users AND NEWBIES also.

Offline

#15 2012-04-29 16:04:03

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: gnome-screenshot not working

bnb2235 wrote:

triplesquarednine,
You are correct. I looked again and there are multiple exec lines and I was reading the wrong one. The one I read from /usr/share/applications/gnome-screenshot.desktop:

Exec=gnome-screenshot -w
TargetEnvironment=Unity

But for gnome:
Exec=gnome-screenshot --interactive
Terminal=false
Type=Application
Icon=applets-screenshooter
StartupNotify=true

Yeah, that's kinda what i figured. it threw me off at first too.

bnb2235 wrote:

Rather than xdg, you can also change the store location with dconf-editor (No Pictures dir needed)

nice tip. i missed that one. very good to know.

bnb2235 wrote:

Personally, I like the way it is working.
If you want it back to the way it was, it is easy. Open the system preferences. Click Keyboard. Click shortcuts tab. Click custom shortcuts. Click the plus sign. Give a name. Enter the command gnome-screenshot --interactive. Apply. Click where it says "disabled" to assign a new accelerator. Press Print Scrn key on keyboard. Accept the warning and let it reassign.

I like they way it is too;

press printscreen button and it takes a fullscreenshot, use ALT with printscreen and it takes a window scrrenshot. No interaction and saves images to /home/ninez/Pictures./screenshots.... then beyond that i use deepin-screenshot for more advanced functionality ~ such as saving to clipboard (to paste in gimp), or to do add notes / drawing to the screenshot before saving to disk.  ~ this kinda thing is handy for bug reporting. you can quickly hightlight an area / draw box / text, directly after taking a screenshot. very handy. (i also setup deepin-screenshot with it's own keystroke (or gesture on my machine).

Offline

#16 2012-04-29 18:13:36

kjell
Member
From: Norway
Registered: 2012-03-26
Posts: 99

Re: gnome-screenshot not working

Like someone posted:   'gnome-screenshot -i'  And the way it works now is the way it was intended by the devs.   Having to hit save for ever printscreen is inefficient.     The only bug I have with it, is that is won't respond when I am in the overview screen.

Offline

#17 2012-04-30 01:52:09

triplesquarednine
Member
Registered: 2011-04-12
Posts: 630

Re: gnome-screenshot not working

kjell wrote:

Like someone posted:   'gnome-screenshot -i'  And the way it works now is the way it was intended by the devs.   Having to hit save for every printscreen is inefficient.     The only bug I have with it, is that is won't respond when I am in the overview screen.

That is when interactive mode is handy, because you just set the timer for the screenshot.

I use Gnome 3.4 with compiz and whenever i want to take a screenshot that involves a dropdown-menu (actually, any menu) - i have to use the timer in interactive mode because the menu will steal focus ( so pressing printscreen does absolutely nothing ).

The overview must be stealing focus much like menus do.

Using a timer is an easy workaround anyway. wink

cheerz

Last edited by triplesquarednine (2012-04-30 01:52:58)

Offline

#18 2012-05-04 18:10:51

Da_Coynul
Member
From: United States of America
Registered: 2010-10-02
Posts: 85

Re: gnome-screenshot not working

It would have been nice if auto-save-directory was set to your home directory or even "Pictures" with the upgrade to 3.4.1.   But having it blanked out threw me for a loop and wasted some time this AM while I was trying to troubleshoot another problem.  But now that I have it set properly, I like the way it works.  It's a timesaver.

Offline

#19 2012-06-16 14:16:01

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: gnome-screenshot not working

auto-save-directory doesn't work, at least for me, it is ignored

1. gnome removes a feature, or changes it in a wired way (screenshots fails silent without xdg -> BUG)
2. "we don't like features/options present in the ux"
3. so we put it in dconf/gconf
4. so we forgot it completely...

Thats the main problem of Gnome. Sarcastic?


So i'm forced to use "gnome-screenshot -i", which adds a unnecessary dialog step but it is better than NO screenshots at all.

Last edited by hoschi (2012-06-16 14:16:32)

Offline

#20 2012-06-27 01:18:50

pablox
Member
From: /home/chile/santiago/
Registered: 2008-05-14
Posts: 183
Website

Re: gnome-screenshot not working

Well, actually I'm using xmonad with gnome-settings-daemon running on the background (mainly for gtk apps that looks horrible without it), and even when I change the keybing (dconf-editor, gconf-editor or the gui). Gnome doesn't care: keeps using gnome-screenshot instead deepin-screenshot sad.


Geeks & Linux Atelier
An eye for an eye ... ends in making everybody blind -- Mahatma Gandhi
dotfiles

Offline

#21 2012-06-27 15:47:41

teateawhy
Member
From: GER
Registered: 2012-03-05
Posts: 1,138
Website

Re: gnome-screenshot not working

(sligthly OT): I wonder why you have to write

file:///tmp

if you want to set the directory in dconf-editor instead of /tmp .

Offline

#22 2012-07-06 18:52:08

xCrucialDudex
Member
Registered: 2007-08-19
Posts: 144

Re: gnome-screenshot not working

triplesquarednine wrote:
bnb2235 wrote:

My out of the box findings
Screenshot seems a bit weird. The desktop file shows it runs gnome-screenshot -w, and if I use the desktop file I get the gui. If I run gnome-screenshot from terminal, I get no gui...

you should try;

gnome-screenshot --interactive

I'm pretty sure that is what the .desktop file calls smile

EDIT:

this thread should be marked solved. Clearly, the dialog is still available and you can customize where it saves screenshots using xdg...

gnome-screenshot --interactive

is all I need to configure compiz to run that command lol

thanks smile

Offline

#23 2012-07-15 10:04:10

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: gnome-screenshot not working

teateawhy wrote:

(sligthly OT): I wonder why you have to write

file:///tmp

if you want to set the directory in dconf-editor instead of /tmp .


Thanks you! Solution to all problems:
auto-save-directory -> "file:///home/username" not "/home/username"

Offline

#24 2012-11-01 10:21:15

hoschi
Member
From: Ulm (Germany)
Registered: 2008-11-03
Posts: 458

Re: gnome-screenshot not working

Holy...

It is fixed with Gnome 3.6, when their is no XDG_PICTURES_DIR the screenshot is simple saved in the home-directory smile

Last edited by hoschi (2012-11-01 10:21:38)

Offline

#25 2014-03-31 07:22:19

joedf
Member
From: Canada, Qc
Registered: 2014-03-31
Posts: 5
Website

Re: gnome-screenshot not working

triplesquarednine wrote:

you should try;

gnome-screenshot --interactive

Works just fine, thanks! big_smile


-joedf

Offline

Board footer

Powered by FluxBB