Re: How to configure sawfish so that run emacs in maximum mode

netawater <netstandin-003 yahoo com cn> writes:

> I'm a novice for sawfish. I have configured sawfish to run emacs after
> it is booted, but how can I let emacs run in maximum mode.

Do you mean full-screen?

Here's my EMACS function for toggling to full screen:

;;Full screen toggle
;;courtesy of
| (defun toggle-fullscreen ()
|   "Toggle between fullscreen and partial screen display on X11;
| courtesy of";
|   (interactive)
|   (x-send-client-message nil 0 nil "_NET_WM_STATE" 32
| 			 '(2 "_NET_WM_STATE_FULLSCREEN" 0))
|   (work-frame-defaults)
|   (put 'current-frame 'frame-mode 'fullscreen))

Works for me in Sawfish.  I've bound it to [f10].


Joel J. Adamson
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109
Public key:

Ineffective security measure:

The information transmitted in this electronic communication is intended only
for the person or entity to whom it is addressed and may contain confidential
and/or privileged material. Any review, retransmission, dissemination or other
use of or taking of any action in reliance upon this information by persons or
entities other than the intended recipient is prohibited. If you received this
information in error, please contact the Compliance HelpLine at 800-856-1983 and
properly dispose of this information.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]