Sample Header Ad - 728x90

In TWM, how to move a window that is completely offscreen?

0 votes
1 answer
359 views
I've managed to get GIMP starting up completely off-screen somehow. Other applications are unaffected because they use click-to-place, but GIMP wants to just place it's own window. **What methods are there to get this window back on-screen?** I can see the application's "icon" in the twm "icon manager" and I can even see it minimised, but restore the window and it goes away off-screen. I can select Move from the "Super + middleclick-on-desktop" menu which calls f.move but that will only move the minimised icon. The man page says I can set DontMoveOff in .twmrc but that's about moving, not an application starting itself at specific coordinates. Running the command with -geometry is also a common solution, but gimp does not know this parameter. $ gimp -geometry 1000x1000+10+10 Unknown option -geometry In MS Windows, one can use + Spacebar to force a menu, one item being "move" which allows the window to be moved. But there doesn't appear to be a similar keypress in twm ---------------- Suggestions for wmctrl look positive, but twm seems to be too old to support this particular solution. $ wmctrl -l Cannot get client list properties. (_NET_CLIENT_LIST or _WIN_CLIENT_LIST)
Asked by Criggie (1841 rep)
Jan 19, 2022, 09:54 PM
Last activity: Jan 20, 2022, 12:26 AM