stairwayoflight
December 24th, 2008, 12:32 AM
Hello,
I am using emacs-snapshot-gtk with Intrepid. I used to be able to get emacs to open fullscreen. At times it would fail to show the minibuffer.
After I did (desktop-save-mode 1) in my .emacs, ever since I can't get fullscreen anymore. I have used a few of the procedures from the wiki, including wmctrl, and even the gnome version which just uses gnome's keyboard shortcuts to get emacs into fullscreen.
Basically my .emacs used to invoke a fullscreen emacs. Now it tries, and gives me fullscreen with a missing minibuffer (I think its "below" the visible screen somewhere). If I hit F11, fullscreen is toggled off. If I hit F11 a second time, emacs appears to be displaying correctly in fullscreen.
This behavior was consistent through the various procedures I tried in my .emacs from http://www.emacswiki.org/emacs/FullScreen.
The missing minibuffer problem only occured after I had added (desktop-save-mode 1) to my .emacs. Now that I have commented that line, and deleted the .emacs.desktop files it created, I am still left with a non-fullscreen emacs.
I am running a fresh install of Intrepid on my core duo laptop with a 1280x800 display. I can post my unmodified xorg.conf if necessary. For completeness, here is my .emacs:
;;;; My humble .emacs
;;; Some stuff
;; Get rid of the startup screen
(setq inhibit-startup-message t)
;; Get back font antialiasing
(push '(font-backend xft x) default-frame-alist)
;; Get rid of toolbar, scrollbar, menubar
(progn
(tool-bar-mode)
(menu-bar-mode)
(scroll-bar-mode))
;; Get fullscreen with F11, set it by default
;(defun switch-full-screen ()
; (interactive)
; (shell-command "wmctrl -r :ACTIVE: -btoggle,fullscreen"))
(global-set-key [f11] 'switch-full-screen)
(defun fullscreen ()
(interactive)
(set-frame-parameter nil 'fullscreen
(if (frame-parameter nil 'fullscreen) nil 'fullboth)))
(global-set-key [f11] 'fullscreen)
(fullscreen)
;; Save the desktop on a per-directory basis
;(desktop-save-mode 1)
Any help would be appreciated, thank you.
Stairwayoflight
I am using emacs-snapshot-gtk with Intrepid. I used to be able to get emacs to open fullscreen. At times it would fail to show the minibuffer.
After I did (desktop-save-mode 1) in my .emacs, ever since I can't get fullscreen anymore. I have used a few of the procedures from the wiki, including wmctrl, and even the gnome version which just uses gnome's keyboard shortcuts to get emacs into fullscreen.
Basically my .emacs used to invoke a fullscreen emacs. Now it tries, and gives me fullscreen with a missing minibuffer (I think its "below" the visible screen somewhere). If I hit F11, fullscreen is toggled off. If I hit F11 a second time, emacs appears to be displaying correctly in fullscreen.
This behavior was consistent through the various procedures I tried in my .emacs from http://www.emacswiki.org/emacs/FullScreen.
The missing minibuffer problem only occured after I had added (desktop-save-mode 1) to my .emacs. Now that I have commented that line, and deleted the .emacs.desktop files it created, I am still left with a non-fullscreen emacs.
I am running a fresh install of Intrepid on my core duo laptop with a 1280x800 display. I can post my unmodified xorg.conf if necessary. For completeness, here is my .emacs:
;;;; My humble .emacs
;;; Some stuff
;; Get rid of the startup screen
(setq inhibit-startup-message t)
;; Get back font antialiasing
(push '(font-backend xft x) default-frame-alist)
;; Get rid of toolbar, scrollbar, menubar
(progn
(tool-bar-mode)
(menu-bar-mode)
(scroll-bar-mode))
;; Get fullscreen with F11, set it by default
;(defun switch-full-screen ()
; (interactive)
; (shell-command "wmctrl -r :ACTIVE: -btoggle,fullscreen"))
(global-set-key [f11] 'switch-full-screen)
(defun fullscreen ()
(interactive)
(set-frame-parameter nil 'fullscreen
(if (frame-parameter nil 'fullscreen) nil 'fullboth)))
(global-set-key [f11] 'fullscreen)
(fullscreen)
;; Save the desktop on a per-directory basis
;(desktop-save-mode 1)
Any help would be appreciated, thank you.
Stairwayoflight