5

I'm looking for a way to bind for example the Ctrl+Alt+Ins key combination to a command line that would restart icewm (just to make it read the configuration files again and be aware of the edits).

So what should go into that .icewm/keys file ?

key "Alt+Ctrl+k" <tab> <...> ?

8

If you want IceWM to re-read its configuration, send it a SIGHUP signal:

killall -SIGHUP icewm

See the Configuration chapter in the IceWM Manual.

3
key "Alt+Ctrl+k" icewm --restart

according to icewm and icewm-keys manpages for 1.4.2.

  • @JeffSchaller it looks like the OP already knows how to bind the key but needs the command. See the last sentence in the question: "So what should go into that .icewm/keys file ?" – terdon Nov 10 '18 at 17:38
2

I've been using

icewm --replace

Less chance of making some dumb mistake while using 'kill'.

See https://askubuntu.com/a/159540/11878 Though it's on the Ubuntu SE site, there's nothing distro-specific about the answer.

  • Depends on your goal. If you want you current session vanished and all open windows closed without warning, this may be what you are looking for. (Using IceWM 1.3.8 on Ubuntu 16.04 (Xenial Xerus).) – manatwork Oct 25 '16 at 7:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.