http://www.emacswiki.org/emacs/FullScreen#toc1
I actually use this:
install windows manager
pet@girl:~$ sudo apt-get install wmctrl NOTE: wmctrl= Window Manager CTRL
.emacs looks
;; peter--full screen (defun switch-full-screen () (interactive) (shell-command "wmctrl -r :ACTIVE: -btoggle,fullscreen")) (global-set-key [f11] 'switch-full-screen)
M-x tool-bar-mode
if I add
(tool-bar-mode)into .emacs, this is done automatically and I can get the tool bar back if I want, by run the command again
I finally have this in my .emacs
;; run this in order to hide toolbar... (tool-bar-mode) (menu-bar-mode) (scroll-bar-mode) (switch-full-screen)
emacs -fs
have this script as a command in /usr/bin/eee may be in the future I want emacs run a el file during startup, I think I can aslo achieve this by changing /usr/bin/eee
Add (find-file "~/edocs/sed.muse" t)
into .emacs