Open nemo snapped to left/right

Please post suggestions for improvement of Cinnamon here
https://github.com/linuxmint/Cinnamon
Post Reply
arnad
Level 1
Level 1
Posts: 23
Joined: Sun Mar 26, 2017 1:59 pm

Open nemo snapped to left/right

Post by arnad » Mon Oct 22, 2018 1:17 pm

Hello everyone,

on Linux Mint xfce, opening a new file manager window (thunar) puts it either snapped to the left or right edge of the screen (depending on if another window is already open there). With Cinnamon, this does not happen. Instead, it is created in the center. Can I obtain the xfce-like behaviour with cinnamon?

User avatar
xenopeek
Level 24
Level 24
Posts: 23193
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Open nemo snapped to left/right

Post by xenopeek » Mon Oct 22, 2018 2:19 pm

Not specific to Nemo, no. Unless you use some script or tool to monitor windows that are being opened and if a Nemo window is opened move it.

You can change the default location for all newly opened windows. You do that in Control Center > Windows, on its Behavior tab.
Image

arnad
Level 1
Level 1
Posts: 23
Joined: Sun Mar 26, 2017 1:59 pm

Re: Open nemo snapped to left/right

Post by arnad » Tue Oct 23, 2018 6:25 am

xenopeek wrote:
Mon Oct 22, 2018 2:19 pm
Not specific to Nemo, no. Unless you use some script or tool to monitor windows that are being opened and if a Nemo window is opened move it.
I don't require it specifically tailored to nemo. If all windows open left/right, that is also fine.
xenopeek wrote:
Mon Oct 22, 2018 2:19 pm
You can change the default location for all newly opened windows. You do that in Control Center > Windows, on its Behavior tab.
I found that option, but there is no left/right option available. Center does not do what I want (windows side by side), manual and cursor require me to use the mouse (which I am trying to avoid), and I have no clue what exactly the mechanism behind automatic is.

If it does not exist I'll have to work around it. I'm just confused that XFCE has this functionality and Cinnamon not.

User avatar
xenopeek
Level 24
Level 24
Posts: 23193
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Open nemo snapped to left/right

Post by xenopeek » Tue Oct 23, 2018 6:35 am

Well, different desktop environments and window managers implement different behaviors and options.
Image

arnad
Level 1
Level 1
Posts: 23
Joined: Sun Mar 26, 2017 1:59 pm

Re: Open nemo snapped to left/right

Post by arnad » Tue Oct 23, 2018 9:58 am

Sure. But since XFCE is more lightweight, I would expect all features to be available in a desktop environment with more features like Cinnamon.

Furthermore, I think automatic might be almost what I am looking for. If I snapped a window to the left side, close it and then open it again, it is where I want it to be (all the way left, taking in half of the screen). If I open another window, it appears to the right, taking in the other half of the screen. So far, so good.

But if I open a third window, or open a window if another is already open, it is created with about 20px distance from the left edge. If I could disable this distance the behaviour would be exactly as I want it. I would have thought that would be Windows | Behavior | Edge resistance with other windows, but this setting does not seem to change anything. I would have no problem changing the config file (must be set somewhere, right?) but I have no idea where to even start searching.

User avatar
xenopeek
Level 24
Level 24
Posts: 23193
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: Open nemo snapped to left/right

Post by xenopeek » Tue Oct 23, 2018 10:04 am

I suspect you'll have to go into the source code for that. But perhaps somebody else will have an idea.
Image

Post Reply

Return to “Cinnamon”