5

I would like to know if there is a shortcut in deepin os for docking a window to a side or corner of the screen. Just like it does when the window is dragged to one edge of the screen.

It doesn't seem to be listed in the shortcut section of the control panel.

Or if there is none, is it somewhere explained how to create on?

5

Following your last answer, and looking at the source code ; I found this using DBUS.

You can create a custom shortcut using the following line as command qdbus com.deepin.wm /com/deepin/wm com.deepin.wm.TileActiveWindow 1

1 is for left, and 2 for right.

  • Thank you very much! Could you explain how you 'found' this? – ls. Apr 25 '18 at 14:16
  • 1
    @ls. I have read the full source code of the Deepin dbus manager – Swizz Jun 25 '18 at 10:05
  • As a fellow Deepin and qdbus user, I greatly appreciate this answer :) – Sergiy Kolodyazhnyy Feb 13 at 19:41
  • Logging out/in is needed to see changes. – cipricus Apr 4 at 12:17
1

I haven't found a keyboard shortcut yet.
However, if you have a touchpad you swipe sideways with three fingers. This way the focused window docks to a side of the screen.

If somebody finds a hotkey i would still be happy to know about it!

  • Sweeping sideways upwards with three fingers the focused window maximizes, doing it again restores it – Bit-Man Jul 7 '18 at 1:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.