7

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> <...> ?

1
  • just run icewm --restart
    – Student
    Commented Sep 17, 2021 at 7:42

3 Answers 3

11

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.

0
6
key "Alt+Ctrl+k" icewm --restart

according to icewm and icewm-keys manpages for 1.4.2.

1
  • @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
    Commented Nov 10, 2018 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.

1
  • 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
    Commented Oct 25, 2016 at 7:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .