SMPROXY(1)

๐Ÿ“ฆ
version 7.7+6build3 ยท 3 versions
, in debian trixie, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

๐Ÿ’… SMPROXY ๐Ÿ’…

okay bestie, gather round, because we're talking about smproxy โ€” the Session Manager Proxy, from the General Commands Manual section of your friendly neighbourhood SMPROXY(1) page. she's giving middleman energy and honestly? iconic. ๐ŸŽ€


โœจ SYNOPSIS โœจ

smproxy [-clientId id] [-restore saveFile] [-version]

that's it. three little flags. she's low maintenance, she's unbothered. ๐Ÿฆ‹


๐ŸŒธ OPTIONS ๐ŸŒธ

  • -clientId id โ€” tells her the session ID that smproxy was using back in the previous session. like, hi, remember me? this is who I was. ๐Ÿซถ
  • -restore saveFile โ€” points at the file that smproxy used to save its state in the previous session. your little time capsule fr fr. ๐Ÿ’–
  • -version โ€” prints the program version and then dips. that's the whole job. periodt. โœจ

๐Ÿ‘‘ DESCRIPTION ๐Ÿ‘‘

so here's the tea: smproxy lets X applications that do not support X11R6 session management still participate in an X11R6 session. like she's the extrovert friend who introduces her shy bestie to the whole party. no cap. ๐Ÿ’…

for smproxy to actually act as a proxy for an X application, one of the following must be true:

  • the application maps a top level window containing the WM_CLIENT_LEADER property. this property provides a pointer to the client leader window, which contains the WM_CLASS, WM_NAME, WM_COMMAND, and WM_CLIENT_MACHINE properties. ๐Ÿงš

or ... ๐Ÿ‘€

  • the application maps a top level window which does not contain the WM_CLIENT_LEADER property. however, this top level window contains the WM_CLASS, WM_NAME, WM_COMMAND, and WM_CLIENT_MACHINE properties. okay so she's flexible, she's adaptable, she's whatever the vibe requires. ๐ŸŒˆ

an application that supports the WM_SAVE_YOURSELF protocol will receive a WM_SAVE_YOURSELF client message each time the session manager issues a checkpoint or shutdown. this is the app's moment to save state โ€” main character energy, honestly. ๐Ÿ’–

and if an application does not support the WM_SAVE_YOURSELF protocol? then the proxy will still provide enough information to the session manager to restart the application (using WM_COMMAND), but no state will be restored. so like... she'll bring your friend to the party but she cannot bring their personality. ๐Ÿ˜ญ the vibes are gone. the memories are gone. only the shell remains. ๐Ÿ’€

๐Ÿฆ‹ SEE ALSO ๐Ÿฆ‹


๐Ÿ’œ AUTHOR ๐Ÿ’œ

Ralph Mor, X Consortium โ€” king behaviour, we stan. ๐Ÿ‘‘


and that's the whole page, bestie! this was X Version 11, smproxy 1.0.7, dropping on your SMPROXY(1) page. go forth and proxy responsibly. mwah. ๐Ÿ’…โœจ๐ŸŽ€