I am writing a terminal file manager, and I would want that when a user issues a command to open an image file, that the image viewing application use the terminal emulator's x window for rendering and input. While the image viewing application is running, the terminal emulator shouldn't render or receive input. When the image viewer is closed, the terminal emulator should reclaim it's x window.
Is achieving this possible without writing a window manager or a terminal emulator? Would this be easier if I were writing a gui file manager?
olwm
,olvwn
, and one or two others) were all subtly different. One of them would "walk" the window down and right 4 pixels each iconify/restore cycle when I would try using X hints to tell the window manager where to put the window. – Andrew Henle Apr 17 '16 at 19:30gnome-terminal
as the terminal emulator, you do get theWINDOWID
environment variable defined. That's a lot better than the alternatives... – Andrew Henle Apr 17 '16 at 19:46WINDOWID
of the image viewer. – Thomas Dickey Apr 17 '16 at 19:46