From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juhapekka Tolvanen Newsgroups: gmane.emacs.help Subject: Re: Menus to big in emacs Date: Sun, 31 Oct 2004 14:46:46 +0200 Organization: What?+ Me organized?+ Never!1 Message-ID: <87fz3v5a2x.fsf@heresy.ainola.jyu.fi> References: <86d5z0z2jh.fsf@mediawars.ne.jp> Reply-To: SNAFU.juhtolv@iki.fi.FUBAR.invalid NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1099227738 29164 80.91.229.6 (31 Oct 2004 13:02:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 31 Oct 2004 13:02:18 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 31 14:02:08 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1COFLU-0005MN-00 for ; Sun, 31 Oct 2004 14:02:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1COFTQ-0008Gy-VI for geh-help-gnu-emacs@m.gmane.org; Sun, 31 Oct 2004 08:10:21 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed.kolumbus.fi!mordred!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 43 Original-NNTP-Posting-Host: heresy.ainola.jyu.fi Original-X-Trace: mordred.cc.jyu.fi 1099226762 18434 130.234.191.114 (31 Oct 2004 12:46:02 GMT) Original-X-Complaints-To: newsmaster@cc.jyu.fi Original-NNTP-Posting-Date: Sun, 31 Oct 2004 12:46:02 +0000 (UTC) X-User-Agent-URL: http://www.gnus.org/ User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:x/cdXYJn8EqR/xrfAcyJdtS7hYY= Original-Xref: shelby.stanford.edu gnu.emacs.help:126268 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:21650 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:21650 JS writes: >> ~/.Xdefaults >> >> Emacs.pane.menubar.horizontalSpacing: N >> Emacs.pane.menubar.verticalSpacing: N >> Emacs.pane.menubar.Margin: N >> >> For me, >> >> Emacs.pane.menubar.horizontalSpacing: 4 >> Emacs.pane.menubar.verticalSpacing: 2 >> Emacs.pane.menubar.Margin: 0 > > Each time I restart Ubuntu linux I have to open a terminal window and type > xrdb -merge $HOME/.Xdefaults else emacs just look as it used to. > > Is there someway to make the changes permanent? X-resources are read from either ~/.Xdefaults or ~/.Xresources . It depends on method that was used to start X Window System (startx or XDM). I write my X-resources to ~/.Xresources . ~/.Xdefaults and ~/.xresources are symbolic links pointing to it. If you want to be really sure, you may want to add lines like these to your ~/.xinitrc (and/or ~/.gnomerc): xrdb -merge /etc/X11/Xresources/* xrdb -merge $HOME/.Xresources In my machine ~/.xsession is just a symbplic link pointing to ~/.xinitrc . Which one is read during startup, depends on method you used for starting X. IIRC startx-script uses ~/.xinitrc and XDM uses ~/.xsession . Gnome reads ~/.gnomerc. I don't know, if KDE has correseponding file for same purpose. -- Juhapekka "naula" Tolvanen * * http colon slash slash iki dot fi slash juhtolv "kummaan paikkaan itsesi karkotit, syyttä syyllisten seuduille. raskaisiin taloihin pesit, kirkuviin huoneisiin. mitä ne sinulle tekevät siellä? kuka on raapinut nimesi pois, nimesi, kasvosi, mielesi oivat palvelemaan konetta?" CMX