1

In the Cinnamon Desktop:

What command or code is run in response to ALT+F2?

In what file is this association stored?

What command or code is run in response to the "r" command in the window opened by ALT+F2?

  • Related: askubuntu.com/questions/143838/… ==> pkill -HUP -f "cinnamon --replace". But I don't know if its exactly the same or if it just has the same effect. – pLumo May 9 at 14:34
  • @RoVo that command locks up the session. I had to reboot and then it took an extra few minutes to login. Also that is the third part of the question. – DrM May 9 at 14:59
  • Okay sorry, then I don't know – pLumo May 9 at 15:23
1

Cinnamon, like GNOME from which it was forked, will restart the session when you type 'r' into the Alt-F2 window. Its just telling it to re-execute itself, so it's not invoking a new command, but telling the cinnamon window manager to re-execute.

  • Thank you, but that is not what I am asking. I want the exact program that runs from the ALT+F2, and the exact command or call (or signal) that is restarting the session. – DrM May 9 at 20:21
  • 1
    I’m saying that your question can’t be answered that way, because it isnt running a command. If you would like to know what it is doing, check out the javascript source for the restart: github.com/linuxmint/cinnamon/blob/… – jsbillings May 9 at 20:38
  • Okay, I see what you are saying. The question is still what code is getting executed. Your github link answers that in part, at least we know the name of the routine that is invoked. For gnome. there seems to be a way to invoke it form the command line, dbus-send --type=method_call --print-reply --dest=org.gnome.Shell /org/gnome/Shell org.gnome.Shell.Eval string:'global.reexec_self()' What would the equivalent be for cinnamon? – DrM May 10 at 2:53
  • Judging from this source code, it probably works the same in Cinnamon: github.com/linuxmint/cinnamon/blob/… . Just substitute org.cinnamon and /org/cinnamon for org.gnome.shell and /org/gnome/shell. – jsbillings May 10 at 10:57
  • That's good, but it should be org.Cinnamon (capitalized). I found the dbus service with "d-feet". This answers a question that has been asked repeatedly in different ways over a few years. Anything on the other parts of the question? – DrM May 10 at 13:23

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.