Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using emacs gui in Gnome. After pressing ctrl+z, emacs window is minimized. However, if I bring the window to front, it doesn't respond any key press and mouse event. I searched the web only found bringing back it within the commandline. But how to reactive emace when using it in a GUI mode ??

share|improve this question
add comment

3 Answers

up vote 6 down vote accepted

If you press C-z by mistake then you can add this to your .emacs to make C-z do nothing:

(global-unset-key (kbd "C-z"))

I did that after pressing C-z many times by accident.

share|improve this answer
add comment

You may have to send the process a SIGCONT signal. You normally do this in the console by running kill -CONT $emacs_pid or killall -CONT emacs. If you insist on a GUI solution, you can try the task manager shipped with your distro.

share|improve this answer
add comment

Type

fg 

or

fg %emacs

to get Emacs back.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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