我想知道在深浅的操作系统中是否有一条快捷方式可以将窗口停靠到屏幕的一侧或角落。就像当窗口被拖到屏幕的一个边缘时一样。
它似乎没有列出在控制面板的快捷部分。
或者,如果没有,它是否在某个地方解释如何创建?
发布于 2018-04-24 13:04:33
按照您的最后一个答案,并查看源代码;我发现这是使用DBUS的。
可以使用以下行作为命令qdbus com.deepin.wm /com/deepin/wm com.deepin.wm.TileActiveWindow 1创建自定义快捷方式
1代表左边,2代表右边。
发布于 2017-11-15 18:17:24
我还没找到键盘快捷键呢。
但是,如果你有一个触控板,你可以用三个手指横向滑动。这样,聚焦窗口就会停靠在屏幕的一侧。
如果有人找到一个热键,我还是很高兴知道它!
发布于 2022-01-05 01:43:43
根据斯维兹的回答的说法,我试图改变传递给qdbus的号码,我找到了解决这个问题的方法:-


1:- qdbus com.deepin.wm /com/deepin/wm com.deepin.wm.TileActiveWindow 1- To make the window fill the right side, you should pass `2`:-
- `qdbus com.deepin.wm /com/deepin/wm com.deepin.wm.TileActiveWindow 2`- To move the window to the top left side, you should pass `5`:-
- `qdbus com.deepin.wm /com/deepin/wm com.deepin.wm.TileActiveWindow 5`- To make the window fill the upper side, you should pass `4`:-
- `qdbus com.deepin.wm /com/deepin/wm com.deepin.wm.TileActiveWindow 4`- To move the window to the top right side, you should pass `6`:-
- `qdbus com.deepin.wm /com/deepin/wm com.deepin.wm.TileActiveWindow 6`- To move the window to the bottom left side, you should pass `9`:-
- `qdbus com.deepin.wm /com/deepin/wm com.deepin.wm.TileActiveWindow 9`- To make the window fill the bottom side, you should pass `8`:-
- `qdbus com.deepin.wm /com/deepin/wm com.deepin.wm.TileActiveWindow 8`- To move the window to the bottom right side, you should pass `10`:-
- `qdbus com.deepin.wm /com/deepin/wm com.deepin.wm.TileActiveWindow 10`https://unix.stackexchange.com/questions/401948
复制相似问题