Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

name junk doesn work?

JUNK XEmacs
0
Posted

name junk doesn work?

0

When I run `xterm -name junk’, I get an xterm whose class name according to xprop, is `junk’. This is the way it’s supposed to work, I think. When I run `xemacs -name junk’ the class name is not set to `junk’. It’s still `emacs’. What does `xemacs -name’ really do? The reason I ask is that my window manager (fvwm) will make a window sticky and I use XEmacs to read my mail. I want that XEmacs window to be sticky, without having to use the window manager’s function to set the window sticky. What gives? `xemacs -name’ sets the application name for the program (that is, the thing which normally comes from `argv[0]’). Using `-name’ is the same as making a copy of the executable with that new name. The WM_CLASS property on each frame is set to the frame-name, and the application-class. So, if you did `xemacs -name FOO’ and then created a frame named BAR, you’d get an X window with WM_CLASS = ( “BAR”, “Emacs”).

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.