FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 06-21-2012, 08:04 PM
NoOp
 
Default 12.04 key not prompting for file location anymore

On 06/21/2012 12:58 PM, NoOp wrote:
...
> I loaded up dconf and notice that in the 'last save directory' the
> format is 'file:///home/<username>/<directory>. So I change to that
> format (this is GNOME Shell/Classic) in the org.gnome.gnome-screenshot
> auto-save-directory key, and it now saves to my prefered directory. So
> not using dconf, but using the cli, the command is:
>
> $ gsettings set org.gnome.gnome-screenshot auto-save-directory
> file:///home/<user>/<directory>
>
> Now on to figuring out how to get it to run gnome-screenshot -i
> (interactive) with GNOME Classic...

Got it. using gconf:
/apps/compiz-1/plugins/gnomecompat/screen0/options/command_screenshot
change the key from 'gnome-screenshot' to 'gnome-screenshot -i'.

Who knew...





--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-21-2012, 08:08 PM
Dave Woyciesjes
 
Default 12.04 key not prompting for file location anymore

On 06/21/2012 03:58 PM, NoOp wrote:

On 06/21/2012 09:45 AM, Dave Woyciesjes wrote:

On 06/21/2012 09:36 AM, Dave Woyciesjes wrote:

On 06/21/2012 08:13 AM, Alexander Skwar (ML) wrote:

...

$ gsettings set org.gnome.gnome-screenshot auto-save-directory
~/Dropbox/Photos/Screenshots/
$ gsettings get org.gnome.gnome-screenshot auto-save-directory
'/home/a.sk/Dropbox/Photos/Screenshots/'

However, when I now press<Print Screen>, the file still gets
created in ~/Bilder and not in /home/a.sk/Dropbox/Photos/Screenshots/
as I would've expected.

Ubuntu 12.04 Gnome Shell (not Unity)

Alexander


That's what I'm seeing. I found that if you look in
~/.config/user-dirs.dirs, and comment out the XDG_PICTURES_DIR line:

XDG_PICTURES_DIR="$HOME/Pictures"

...it saves the pics in your home folder. But that seems to remove all
refences in the system to any default Pictures folder.

I would like to restore the function where it prompts for a location
when you hit the [Print Screen] key.
Like mentioend before, if you use the gnome-screenshot gui, it does ask...


So, just did a fresh install of 12.04x64 on a spare Latitude D620...
Now it's getting interesting. After the install, the [Print Screen] key
pops up the location box like I want.
Via Synaptic, I install Gnome and remove Unity. Now the prompt doesn't
occur. Via Synaptic, add Unity (yuck)& Ubuntu-Desktop back in. Still no
prompt when using Gnome Shell, but when I login to Unity, it does prompt.
So, what the fuck is Gnome doing?



I loaded up dconf and notice that in the 'last save directory' the
format is 'file:///home/<username>/<directory>. So I change to that
format (this is GNOME Shell/Classic) in the org.gnome.gnome-screenshot
auto-save-directory key, and it now saves to my prefered directory. So
not using dconf, but using the cli, the command is:

$ gsettings set org.gnome.gnome-screenshot auto-save-directory
file:///home/<user>/<directory>


Yeah, that's what I'm going to do for the meantime.


Now on to figuring out how to get it to run gnome-screenshot -i
(interactive) with GNOME Classic...

If/when you get an answer, let me know. I'll help test it too.


--
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/
Registered Linux user number 464583

"Computers have lots of memory but no imagination."
"The problem with troubleshooting is that trouble shoots back."
- from some guy on the internet.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-21-2012, 08:09 PM
Dave Woyciesjes
 
Default 12.04 key not prompting for file location anymore

On 06/21/2012 04:04 PM, NoOp wrote:

On 06/21/2012 12:58 PM, NoOp wrote:
...

I loaded up dconf and notice that in the 'last save directory' the
format is 'file:///home/<username>/<directory>. So I change to that
format (this is GNOME Shell/Classic) in the org.gnome.gnome-screenshot
auto-save-directory key, and it now saves to my prefered directory. So
not using dconf, but using the cli, the command is:

$ gsettings set org.gnome.gnome-screenshot auto-save-directory
file:///home/<user>/<directory>

Now on to figuring out how to get it to run gnome-screenshot -i
(interactive) with GNOME Classic...


Got it. using gconf:
/apps/compiz-1/plugins/gnomecompat/screen0/options/command_screenshot
change the key from 'gnome-screenshot' to 'gnome-screenshot -i'.

Who knew...


I tried that, soft of, used --interactive, which should still work, but
didn't.

I'll try the -i instead.

Than I can try to figure out how I got [ALT][Print Screen] kesy to not
work at all...



--
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/
Registered Linux user number 464583

"Computers have lots of memory but no imagination."
"The problem with troubleshooting is that trouble shoots back."
- from some guy on the internet.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-21-2012, 08:16 PM
Dave Woyciesjes
 
Default 12.04 key not prompting for file location anymore

On 06/21/2012 04:09 PM, Dave Woyciesjes wrote:

On 06/21/2012 04:04 PM, NoOp wrote:

On 06/21/2012 12:58 PM, NoOp wrote:
...

I loaded up dconf and notice that in the 'last save directory' the
format is 'file:///home/<username>/<directory>. So I change to that
format (this is GNOME Shell/Classic) in the org.gnome.gnome-screenshot
auto-save-directory key, and it now saves to my prefered directory. So
not using dconf, but using the cli, the command is:

$ gsettings set org.gnome.gnome-screenshot auto-save-directory
file:///home/<user>/<directory>

Now on to figuring out how to get it to run gnome-screenshot -i
(interactive) with GNOME Classic...


Got it. using gconf:
/apps/compiz-1/plugins/gnomecompat/screen0/options/command_screenshot
change the key from 'gnome-screenshot' to 'gnome-screenshot -i'.

Who knew...


I tried that, soft of, used --interactive, which should still work, but
didn't.
I'll try the -i instead.


Sorry, no dice for me...


--
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/
Registered Linux user number 464583

"Computers have lots of memory but no imagination."
"The problem with troubleshooting is that trouble shoots back."
- from some guy on the internet.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-21-2012, 08:25 PM
NoOp
 
Default 12.04 key not prompting for file location anymore

On 06/21/2012 01:16 PM, Dave Woyciesjes wrote:
> On 06/21/2012 04:09 PM, Dave Woyciesjes wrote:
>> On 06/21/2012 04:04 PM, NoOp wrote:
>>> On 06/21/2012 12:58 PM, NoOp wrote:
>>> ...
>>>> I loaded up dconf and notice that in the 'last save directory' the
>>>> format is 'file:///home/<username>/<directory>. So I change to that
>>>> format (this is GNOME Shell/Classic) in the org.gnome.gnome-screenshot
>>>> auto-save-directory key, and it now saves to my prefered directory. So
>>>> not using dconf, but using the cli, the command is:
>>>>
>>>> $ gsettings set org.gnome.gnome-screenshot auto-save-directory
>>>> file:///home/<user>/<directory>
>>>>
>>>> Now on to figuring out how to get it to run gnome-screenshot -i
>>>> (interactive) with GNOME Classic...
>>>
>>> Got it. using gconf:
>>> /apps/compiz-1/plugins/gnomecompat/screen0/options/command_screenshot
>>> change the key from 'gnome-screenshot' to 'gnome-screenshot -i'.
>>>
>>> Who knew...
>>
>> I tried that, soft of, used --interactive, which should still work, but
>> didn't.
>> I'll try the -i instead.
>
> Sorry, no dice for me...


What do you get when you run this from a terminal:
gnome-screenshot -i




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-21-2012, 08:30 PM
NoOp
 
Default 12.04 key not prompting for file location anymore

On 06/21/2012 01:25 PM, NoOp wrote:
> On 06/21/2012 01:16 PM, Dave Woyciesjes wrote:
...
>>>> Got it. using gconf:
>>>> /apps/compiz-1/plugins/gnomecompat/screen0/options/command_screenshot
>>>> change the key from 'gnome-screenshot' to 'gnome-screenshot -i'.
>>>>
>>>> Who knew...
>>>
>>> I tried that, soft of, used --interactive, which should still work, but
>>> didn't.
>>> I'll try the -i instead.
>>
>> Sorry, no dice for me...
>
>
> What do you get when you run this from a terminal:
> gnome-screenshot -i

Sorry, forgot to ask what you have in:
/home/<user>/.gconf/apps/compiz-1/plugins/gnomecompat/screen0/options/%gconf.xml?

Should look like:

> <?xml version="1.0"?>
> <gconf>
> <entry name="command_screenshot" mtime="1340308778" type="string">
> <stringvalue>gnome-screenshot -i</stringvalue>
> </entry>
> </gconf>




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-21-2012, 08:44 PM
Rashkae
 
Default 12.04 key not prompting for file location anymore

On 06/21/2012 04:30 PM, NoOp wrote:


Sorry, forgot to ask what you have in:
/home/<user>/.gconf/apps/compiz-1/plugins/gnomecompat/screen0/options/%gconf.xml?

Should look like:


<?xml version="1.0"?>
<gconf>
<entry name="command_screenshot" mtime="1340308778" type="string">
<stringvalue>gnome-screenshot -i</stringvalue>
</entry>
</gconf>







It doesn't matter. This works for you because you are using Gnome
Classic, with effects, and therefore, Compiz is your Window manager.
Not the case for those trying to make Gnome Shell useful.




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-21-2012, 08:47 PM
Dave Woyciesjes
 
Default 12.04 key not prompting for file location anymore

On 06/21/2012 04:30 PM, NoOp wrote:

On 06/21/2012 01:25 PM, NoOp wrote:

On 06/21/2012 01:16 PM, Dave Woyciesjes wrote:

...

Got it. using gconf:
/apps/compiz-1/plugins/gnomecompat/screen0/options/command_screenshot
change the key from 'gnome-screenshot' to 'gnome-screenshot -i'.

Who knew...


I tried that, soft of, used --interactive, which should still work, but
didn't.
I'll try the -i instead.


Sorry, no dice for me...



What do you get when you run this from a terminal:
gnome-screenshot -i


Just what you'd expect. The GUI


Sorry, forgot to ask what you have in:
/home/<user>/.gconf/apps/compiz-1/plugins/gnomecompat/screen0/options/%gconf.xml?

Should look like:


<?xml version="1.0"?>
<gconf>
<entry name="command_screenshot" mtime="1340308778" type="string">
<stringvalue>gnome-screenshot -i</stringvalue>
</entry>
</gconf>


And it does:

~$ cat .gconf/apps/compiz-1/plugins/gnomecompat/screen0/options/%gconf.xml
<?xml version="1.0"?>
<gconf>
<entry name="command_screenshot" mtime="1340309456" type="string">
<stringvalue>gnome-screenshot -i</stringvalue>
</entry>
<entry name="command_window_screenshot" mtime="1340309445" type="string">
<stringvalue>gnome-screenshot -w -i</stringvalue>
</entry>
<entry name="run_key" mtime="1320343944" type="string">
<stringvalue></stringvalue>
</entry>
<entry name="main_menu_key" mtime="1320343944" type="string">
<stringvalue></stringvalue>
</entry>
</gconf>


--
--- Dave Woyciesjes
--- ICQ# 905818
--- AIM - woyciesjes
--- CompTIA A+ Certified IT Tech - http://certification.comptia.org/
--- HDI Certified Support Center Analyst - http://www.ThinkHDI.com/
Registered Linux user number 464583

"Computers have lots of memory but no imagination."
"The problem with troubleshooting is that trouble shoots back."
- from some guy on the internet.

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-21-2012, 09:06 PM
NoOp
 
Default 12.04 key not prompting for file location anymore

On 06/21/2012 01:44 PM, Rashkae wrote:
> On 06/21/2012 04:30 PM, NoOp wrote:
>
>> Sorry, forgot to ask what you have in:
>> /home/<user>/.gconf/apps/compiz-1/plugins/gnomecompat/screen0/options/%gconf.xml?
>>
>> Should look like:
>>
>>> <?xml version="1.0"?>
>>> <gconf>
>>> <entry name="command_screenshot" mtime="1340308778" type="string">
>>> <stringvalue>gnome-screenshot -i</stringvalue>
>>> </entry>
>>> </gconf>
>>
>>
>>
>>
>
> It doesn't matter. This works for you because you are using Gnome
> Classic, with effects, and therefore, Compiz is your Window manager.
> Not the case for those trying to make Gnome Shell useful.

Oh man... now you've done it :-)
Yep. Just switched to GNOME Classic (2D no effects) and of course
without Compiz, the last doesn't work. The first setting:
$ gsettings set org.gnome.gnome-screenshot auto-save-directory
file:///home/<user>/<directory>
does. Back to the drawing board...




--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 06-22-2012, 06:11 AM
"Alexander Skwar (ML)"
 
Default 12.04 key not prompting for file location anymore

Am 06/21/12 21:58, schrieb NoOp:

So
not using dconf, but using the cli, the command is:

$ gsettings set org.gnome.gnome-screenshot auto-save-directory
file:///home/<user>/<directory>


I can confirm this - it works for me this way as well.
Thanks, NoOp!


Alexander
--
☄ Google+ ↣ http://plus.skwar.me ☄
☛ Lifestream (Twitter, …) ↣ http://sup.skwar.me ☛
⚰ Twitter: @alexs77 ↣ http://twitter.com/alexs77 ⚰
☞ Chat (Jabber/Google Talk) ↣ a.skwar@gmail.com ☞

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 12:41 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org