LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-02-2021, 10:07 PM   #1
Pinguino99
Member
 
Registered: Dec 2019
Posts: 44

Rep: Reputation: Disabled
9wm with xbindkeys and xdotool


how can i identify which commands are running in a window manager?

I'm using the 9wm window manager and using xbindkeys and xdotool to make shortcuts, and this manager to resize and move a window uses the left mouse button, then you have to select the window and click, how do I identify or map what is being done in the manager??? I want to know what command is run to create a shortcut in xbindkeys
 
Old 12-03-2021, 01:04 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by Pinguino99 View Post
how can i identify which commands are running in a window manager?

I'm using the 9wm window manager and using xbindkeys and xdotool to make shortcuts, and this manager to resize and move a window uses the left mouse button, then you have to select the window and click, how do I identify or map what is being done in the manager??? I want to know what command is run to create a shortcut in xbindkeys
I understand what you're trying to do, but I don't understand the questions you're asking.

Recreating mouse & key events with xdotool sometimes works, sometimes doesn't. In any case, you have to take into account window focus, and possibly more things.

Your window manager either supports window movement events or it doesn't. No idea about 9wm.

Maybe you should just use a window manager that supports the sort of hotkey window movement automation you want.
FWIW, openbox does.
 
Old 12-03-2021, 01:49 AM   #3
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 3,670

Rep: Reputation: Disabled
9wm, really? From their README:
Quote:
9wm does not provide virtual desktops, customization, key bindings, EWMH support, or compositing. It does not allocate any colors (if you disable COLOR), which will be great news if you are stuck in 1993.
Quote:
9wm uses ideas from Plan 9's rio, but is following a different path and is not exactly the same.

In an attempt to avoid ludicrously long window names in the menu, 9wm shortens names with colons and dashes in them. The algorithm works well for most programs I've tried, but is bound to fail with something or other, rendering a near-useless icon name.

Windows that provide their own placement information aren't handled well right now. I'm working on it.

9wm has no idea how many monitors you have, nor what their dimensions are. It also can't deal with desktop geometry changes, like plugging in an external monitor. I run "9wm restart" to make it quickly reset its internal state and notice any changes.

9wm doesn't have Unicode support. In particular, if you have a browser page open with non-Latin characters in the name, and you hide that window, you will get a weird name for that window's entry in the list. Doing Unicode in X11 is a horrible mess requiring, among other things, a whole new library for rendering text. I may get to this in the future, but for now, I feel like learning about Wayland is a better use of my effort.

Lack of EWMH means some applications (especially games) will break when trying to go fullscreen.

You may try to rebuild 9wm from source with DEBUG and DEBUG_EV defined as described in CUSTOMIZING.md.

Last edited by shruggy; 12-03-2021 at 02:00 AM.
 
  


Reply



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
[SOLVED] xdotool key + xbindkeys; possible to generate and listen to an unused/custom key? Geist Slackware 0 11-21-2018 09:45 PM
xdotool - intercept keystroke for only one window class. Vryali Linux - Newbie 0 07-27-2012 12:07 PM
xdotool, XSendEvent or something like them jovie Linux - Software 1 01-09-2012 10:06 AM
LXer: Trigger keyboard and mouse actions with your voice and xdotool LXer Syndicated Linux News 0 09-06-2011 02:10 AM
how to send with xdotool a window to another Desktop X number? frenchn00b Linux - General 1 10-23-2009 12:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration