Summary: To find the PID of a running UNIX/XWindow process: $ xprop _NET_WM_PID If that fails: $ ps -ww -fp <PID> $ pwdx <PID> Detailed explanation: So How can you find the PID (not Window ID!) of a running UNIX/XWindow process? Method 1 (simple): $ xprop _NET_WM_PID … and then click on window of interest […]
xwin
Adding actions to Thunar’s “Send to” context menu (xfce)
Using Kdiff3 tool as example action to add to the SendTo menu of Thunar. Create the following file in ~/.local/share/Thunar/sendto and name it <whatever>.desktop (I named mine ‘kdiff3.desktop’) : # kdiff3.desktop – Integrate kdiff3 into # the “Send To” menu. [Desktop Entry] Type=Application Version=1.0 Encoding=UTF-8 TryExec=kdiff3 Exec=kdiff3 %F Icon=kdiff3 Name=Kdiff3 # MimeType=text/plain; The MimeType […]
Fixing wrong Shift+Numpad (keypad) behaviour in Emacs
I struggled for a about an hour today with S-kp-home trying to bind it to something that would work properly in emacs (i.e select the text between cursor and start of line) before I figured out that although the problem manifested itself in Emacs, it is really due to the way Xwindows maps the Shift+Home/End… […]
How do I add/remove/edit items in my WindowMaker menu?
The wmaker menu (the list which appears when you right-click on the desktop) is stored as a text file in ~/GNUstep/Default/WMRootMenu. Edit it with your favoruite editor to add new menu items to your Window Maker menu.