You are not logged in.

#1 2013-12-30 01:39:28

dxxvi
Member
Registered: 2011-07-23
Posts: 126

[Solved] How to change the default save directory for Alt + Print Scr?

Hi All,

Pressing Alt + Print Screen takes a screen shot of the current window and saves the file to the home directory. Is there anyway to change the default save directory from the home directory to something else?

Thanks

Last edited by dxxvi (2014-01-01 11:54:22)

Offline

#2 2013-12-30 01:46:43

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] How to change the default save directory for Alt + Print Scr?

What program does the screenshoting? If you're using some DE, check what application does it trigger.

Offline

#3 2013-12-30 02:07:14

dxxvi
Member
Registered: 2011-07-23
Posts: 126

Re: [Solved] How to change the default save directory for Alt + Print Scr?

karol wrote:

What program does the screenshoting? If you're using some DE, check what application does it trigger.

I'm not very sure. I think it's gnome-screenshot because I'm using gnome3. In dconf-editor, the gnome-screenshot configurations looks correct
http://imageshack.us/a/img541/2773/b5uo.png

Last edited by dxxvi (2013-12-30 02:10:08)

Offline

#4 2013-12-30 02:11:14

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] How to change the default save directory for Alt + Print Scr?

Have you tried changing the auto-save-directory location?

Offline

#5 2013-12-30 02:32:47

dxxvi
Member
Registered: 2011-07-23
Posts: 126

Re: [Solved] How to change the default save directory for Alt + Print Scr?

karol wrote:

Have you tried changing the auto-save-directory location?

Changing the auto-save-directory doesn't make any diffrence: the screenshot is still saved in the home directory. I went to Settings | Keyboard | Shortcuts and saw this http://img706.imageshack.us/img706/7579/cmsj.png . So I

export PICTURES=/dev/shm

in ~/.bash_profile then logout and login  but the sreenshots are still saved in the home directory.

Offline

#6 2013-12-30 02:37:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] How to change the default save directory for Alt + Print Scr?

https://bbs.archlinux.org/viewtopic.php … 2#p1185442
Set XDG_PICTURES_DIR to where you want your screenshots to go.

Offline

#7 2013-12-30 04:34:58

dxxvi
Member
Registered: 2011-07-23
Posts: 126

Re: [Solved] How to change the default save directory for Alt + Print Scr?

karol wrote:

https://bbs.archlinux.org/viewtopic.php … 2#p1185442
Set XDG_PICTURES_DIR to where you want your screenshots to go.

Maybe something was changed again in gnome 3.10? because setting XDG_PICTURES_DIR in bash_profile, logging out then in didn't make any difference.

Offline

#8 2013-12-30 05:35:58

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] How to change the default save directory for Alt + Print Scr?

Does Gnome even read .bash_profile?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2013-12-30 07:38:09

dxxvi
Member
Registered: 2011-07-23
Posts: 126

Re: [Solved] How to change the default save directory for Alt + Print Scr?

jasonwryan wrote:

Does Gnome even read .bash_profile?

I thought XDG_PICTURES_DIR was an environment variable, so I created an environment variable with that name in .bash_profile. Then I read your question and thought maybe it wasn't an environment variable. If it's not, could you please tell me where I can specify it?

Thanks.

Offline

#10 2013-12-30 07:46:11

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: [Solved] How to change the default save directory for Alt + Print Scr?

Well, I don't use Gnome, but I am sure a quick web search will provide the information you need.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2013-12-30 07:53:19

dxxvi
Member
Registered: 2011-07-23
Posts: 126

Re: [Solved] How to change the default save directory for Alt + Print Scr?

jasonwryan wrote:

Well, I don't use Gnome, but I am sure a quick web search will provide the information you need.

I also thought so, but after searching for a while I was still unable to solve my issue. Maybe the search keyword "gnome XDG_PICTURES_DIR" I chose was not the right one.

Offline

#12 2013-12-30 08:07:50

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [Solved] How to change the default save directory for Alt + Print Scr?

He's asking if .bash_profile is even sourced, IE is that variable actually being set?

Offline

#13 2013-12-30 10:22:35

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [Solved] How to change the default save directory for Alt + Print Scr?

The XDG variables are set in ~/.config/user-dirs.dirs.
https://wiki.archlinux.org/index.php/Xd … irectories

Offline

#14 2013-12-31 04:35:58

xgdgsc
Member
Registered: 2012-02-03
Posts: 125

Re: [Solved] How to change the default save directory for Alt + Print Scr?

I would rather use a cross-platform screenshot taking app like screencloud.

Offline

Board footer

Powered by FluxBB