LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-13-2012, 10:27 AM   #1
Miranden
Member
 
Registered: May 2012
Posts: 188

Rep: Reputation: 19
Snapping windows in XFCE?


Hi Guys,

I have looked around on the internet for this issue without success. I am looking to duplicate the windows 7 "snap" feature that lets you drag a window to one side of the screen and have it snap into place there, filling exactly that half of the screen. You can then do the same to another window on the other side and have a perfectly arranged screen divided into two parts. I really like this feature and would like to be able to do the same in XFCE under Slackware 14. Is this possible?

Thank you.
 
Old 10-13-2012, 11:43 AM   #2
cwizardone
Senior Member
 
Registered: Feb 2007
Distribution: Slackware64-current & "True Multilib." PC-BSD.
Posts: 2,238

Rep: Reputation: 176Reputation: 176
Not that I'm aware of, but it is possible in KDE. I've heard, but don't know for sure, that mickeysoft actually "borrowed" the snap feature from an Open Source project, perhaps, it was KDE?
 
Old 10-13-2012, 11:57 AM   #3
Miranden
Member
 
Registered: May 2012
Posts: 188

Original Poster
Rep: Reputation: 19
I was hoping it would be simple. It is possible under XFCE to get the snap feature to work for the top and bottom halves of the screen (this is in the settings manager), so I thought there would probably be a way to do it side by side. Drat.

Thank you though!

Last edited by Miranden; 10-13-2012 at 12:00 PM.
 
Old 10-13-2012, 11:59 AM   #4
SecretCode
Member
 
Registered: Apr 2011
Location: UK
Distribution: Kubuntu 11.10
Posts: 562

Rep: Reputation: 102Reputation: 102
You should be able to use Compiz under Xfce (depending on your graphics capability), and I'm pretty sure Compiz includes a module to do this. (KDE definitely does )
 
Old 10-13-2012, 12:07 PM   #5
Miranden
Member
 
Registered: May 2012
Posts: 188

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by SecretCode View Post
You should be able to use Compiz under Xfce (depending on your graphics capability), and I'm pretty sure Compiz includes a module to do this. (KDE definitely does )
True, but I don't really like Compiz, and plus, I'm on a netbook with limited resources. So I hope to find a better way.
 
Old 10-13-2012, 12:24 PM   #6
kennethv
LQ Newbie
 
Registered: Feb 2012
Posts: 3

Rep: Reputation: Disabled
http://aur.archlinux.org/packages.php?ID=40030

Should be possible to steal that patch and recompile xfce with it. Not the simplest solution tho. But probably easier on the resources than compiz.
 
1 members found this post helpful.
Old 10-13-2012, 12:38 PM   #7
pataphysician
Member
 
Registered: Oct 2012
Posts: 46

Rep: Reputation: Disabled
Yes it is totally possible
Go to Setting Manager app, choose Window manager, then choose Advanced tab
Make sure "Snap windows to screen border" is selected
Make sure to unselect the Wrap workspaces options, as they interfere with vertical snapping.

Now if you drag to the left or right it will snap vertically to take up half the screen, If you drag to the top or bottom it will snap horizontally to take up half the screen.

You can also setup keyboard hotkeys in the keyboard tab of Windows manager, they are listed as "tile window to left" etc.

no need to patch anything, the corner tiling patch just allows you to snap vertically while dragging to a corner, while letting you still use wrap workspace options to drag windows to new workspace by going offscreen on the left or right.

Last edited by pataphysician; 10-13-2012 at 12:47 PM.
 
5 members found this post helpful.
Old 10-13-2012, 01:12 PM   #8
Miranden
Member
 
Registered: May 2012
Posts: 188

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by pataphysician View Post
Yes it is totally possible
Go to Setting Manager app, choose Window manager, then choose Advanced tab
Make sure "Snap windows to screen border" is selected
Make sure to unselect the Wrap workspaces options, as they interfere with vertical snapping.

Now if you drag to the left or right it will snap vertically to take up half the screen, If you drag to the top or bottom it will snap horizontally to take up half the screen.

You can also setup keyboard hotkeys in the keyboard tab of Windows manager, they are listed as "tile window to left" etc.

no need to patch anything, the corner tiling patch just allows you to snap vertically while dragging to a corner, while letting you still use wrap workspace options to drag windows to new workspace by going offscreen on the left or right.
Fantastic! I was thinking that the workspace function was the reason the windows couldn't snap that way, but I didn't think to check if it could be turned off. So simple.

I will probably look into the patch as well in the future so I can still use all my workspaces if I want to as well. But for now, this is perfect!
 
Old 10-13-2012, 01:43 PM   #9
pataphysician
Member
 
Registered: Oct 2012
Posts: 46

Rep: Reputation: Disabled
just an FYI

You can still move windows to other workspace either through a keyboard shortcut, or right click on the title bar and choose "Move to another Workspace". I find these methods much better than dragging windows to workspaces.

Last edited by pataphysician; 10-13-2012 at 01:45 PM.
 
Old 10-13-2012, 02:10 PM   #10
Miranden
Member
 
Registered: May 2012
Posts: 188

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by pataphysician View Post
just an FYI

You can still move windows to other workspace either through a keyboard shortcut, or right click on the title bar and choose "Move to another Workspace". I find these methods much better than dragging windows to workspaces.
Thanks. You might be right in that it is better. Come to think of it, most of the time my windows end up in another workspace by dragging, it is by accident. This way may actually feel more controlled.
 
Old 04-12-2013, 09:46 AM   #11
beedaan
LQ Newbie
 
Registered: Apr 2013
Posts: 1

Rep: Reputation: Disabled
Smile

Quote:
Originally Posted by pataphysician View Post
Yes it is totally possible
Go to Setting Manager app, choose Window manager, then choose Advanced tab
Make sure "Snap windows to screen border" is selected
Make sure to unselect the Wrap workspaces options, as they interfere with vertical snapping.

Now if you drag to the left or right it will snap vertically to take up half the screen, If you drag to the top or bottom it will snap horizontally to take up half the screen.

You can also setup keyboard hotkeys in the keyboard tab of Windows manager, they are listed as "tile window to left" etc.

no need to patch anything, the corner tiling patch just allows you to snap vertically while dragging to a corner, while letting you still use wrap workspace options to drag windows to new workspace by going offscreen on the left or right.
Thank You! Until this point, I did not think this was possible with XFCE. This is a major part of my workflow, so I was about to switch to another desktop environment.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
something in my case makes a snapping sound newbiesforever General 23 07-19-2010 10:45 PM
snapping windows to defined screen regions? (without Xinearama hacks, if possible) grayFalcon Linux - Newbie 2 11-23-2008 11:51 AM
Maximize windows in xfce linuxhippy Fedora 3 09-11-2005 02:04 PM
cd keeps snapping back to current directory when called from bash script ghrellin Linux - General 5 08-28-2005 12:50 PM
Gnome Window Border Snapping/Stickyness devfreak Linux - Software 0 07-17-2004 09:43 AM


All times are GMT -5. The time now is 01:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration