Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am using emacs with Ubuntu (12.04 LTS). I used the following command to put it on fullscreen

(defun toggle-fullscreen (&optional f)
      (let ((current-value (frame-parameter nil 'fullscreen)))
           (set-frame-parameter nil 'fullscreen
                                (if (equal 'fullboth current-value)
                                    (if (boundp 'old-fullscreen) old-fullscreen nil)
                                    (progn (setq old-fullscreen current-value)

Quite recently (after some update I guess) something iritating has begin to happen. Each time I switch from one deskop to the one containing emacs in fullscreen the menu bar and the small diagram in the middle of the screen representing the four virtual deskops blink a dozen of times before disapearing as normal (being hidden by the fullscreen emacs frame).

Do you have any idea about what is causing this behaviour and how I could correct it?

share|improve this question

Your Answer


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

Browse other questions tagged or ask your own question.