Linux Graphics Users
September 09, 2010, 04:54:08 am
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Thank You
 
  Home Help Search Gallery Links Staff List Calendar Login Register  

Ksnapshot Default Position


Pages: [1]   Go Down
  Print  
Author Topic: Ksnapshot Default Position  (Read 538 times)
Jaws
Jr. Member
**
Offline Offline

Posts: 81


View Profile
« on: January 27, 2008, 10:02:58 am »

Is there an easy way to get Ksnapshot's window to open to a specific part of the desktop? It always opens to the default centered position on the desktop, falling behind the window I'm snapping and then altering, to prepare for another snapshot.

I got the Windows Behavior set to smart placement but Ksnapshot seems immune to that setting. I'm not seeing Ksnapshot in the .kde/share/apps directory, only in the .kde/share/config directory.

Looking up...

Code:
ksnapshot --help-all

... in a konsole indicates a KDE option for geometry, which may be what I need, but the proper syntax is missing.

Code:
--geometry <geometry>     sets the client geometry of the main widget - see man X for the argument format

Using the SWAG system, I've tried...

Code:
ksnapshot --geometry 0,0

... in a terminal, thinking it might force it to the zero-corner but it still launches centered in the middle of the screen.

Other then the Ksnapshot handbook, I'm not finding a manual to determine the argument format. Or if the default position can be changed to work with the GUI.

Cheers
Share Report Spam   Logged
geminiguy
Founding Member
Administrator
*****
Offline Offline

Posts: 215



View Profile
« Reply #1 on: February 03, 2008, 11:22:23 am »

 I can't find any useful info on this either Undecided
 This is the exact reason I tend to use Gimp instead to aquire screenshots, as it always boots over the window. Wink
Report Spam   Logged

Jaws
Jr. Member
**
Offline Offline

Posts: 81


View Profile
« Reply #2 on: February 07, 2008, 02:55:31 pm »

OK, this is really neat. I got a the basic tip on how to do it (right clicking on title bar) on another forum and it's worked out better then I expected.

If you're using Kwin as the windows manager, you need to right click on the application title bar, select --> Advanced - and you'll find two areas that need to be set, --> Special Window Settings - and --> Special Application Settings. Put a "x" in the position row, set the drop down menu to --> Force and add your coordinates for the window in the space to the right.

After playing with this I found that --> Special Window Settings - will get the window to move to the desired position after it's been used the first time, but still opens initially at center screen.  --> Special Application Settings - will open at the desired position when initially starting the app, but defaults back to center screen after taking a snapshot.

What I did was to set them both to Force and specified the coordinates. One more thing, going to KCC --> Desktop --> Window Behavior --> Moving - and checking the --> Display window geometry when moving or resizing - box allows you to see the exact coordinates you need.

These window position setting are going to be very handy on the new widescreen.

Cheers
Report Spam   Logged

Your Ad Here
Pages: [1]   Go Up
  Print  
 
Jump to:  

Bookmark this site! | Upgrade This Forum
SMFFree.com - Create your own Forum

Powered by SMF | SMF © 2006, Simple Machines LLC
Hostgator Hosting