You are not logged in.

#1 2024-10-30 05:07:54

nahush
Member
Registered: 2019-01-18
Posts: 170

trying to understand formulation of a command ? (sxhkd )[SOLVED]

hello friends

i want to make a command for sxhkd application.i am using enlightenment as D.E. i want to make a active window close with a keys.i have wmctrl installed it helps me maximize and minimize windows.its  -c  options closes windows but i am not able to properly utilize it.there is xdotools but i have no experience with it.i am trying to avoid using mouse . can anyone please give me suggestion or a command which can be used with sxhkd , with a keypress , to close the active windows.

Last edited by nahush (2024-10-30 18:22:00)

Offline

#2 2024-10-30 07:21:36

seth
Member
Registered: 2012-09-03
Posts: 60,779

Re: trying to understand formulation of a command ? (sxhkd )[SOLVED]

enlightenment has its own shortcut support at least wrt window actions and certainly to close the active window.
Don't overcomplicate this.

Offline

#3 2024-10-30 07:28:12

Mona5
Member
Registered: 2023-07-24
Posts: 33

Re: trying to understand formulation of a command ? (sxhkd )[SOLVED]

Hello,
see if your DE is based run wayland or x11
for x11 like xfce and wayland like gnome
and most DE have a keyboard shortcut setting see if your DE have something like that search inside entry for closing window and give it a shortcut with your keyboard.
EDIT:
i GO OGLE d for keys for closing window you use

Ctrl + Alt + X (Enlightenment Desktop E25)
Close a window

Ctrl + Alt + K (Enlightenment Desktop E25)
Kill window

search on your own for other shortcuts.

arch wiki keybinding

Last edited by Mona5 (2024-10-30 07:37:29)

Offline

#4 2024-10-30 18:21:06

nahush
Member
Registered: 2019-01-18
Posts: 170

Re: trying to understand formulation of a command ? (sxhkd )[SOLVED]

Thank you fr replying i agree with @seth to not make things much complicated.

Last edited by nahush (2024-10-30 18:21:34)

Offline

Board footer

Powered by FluxBB