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

Re: Need help w/proper syntax for Netscape in .Xdefaults



On Mon, Jun 12, 2000 at 02:35:23AM -0500, John Foster wrote:
> netscape*Navagation ToolBar.Shop.isEnabled:false 

> below is my pieced together file to control netscape. I have found the
> all of the colors seem OK but the real reason that I want to get this
> correct is to get rid of the Shop button and add a search button. I have
> had no luck and none of the examples I have found seem to work. I saw
> that there is supposed to be a .Xresources file but I have only
> /etc/X11/Xresources directory with several control files. Should I try
> to set up a netscape control file there. I am using Debian pure potato
> and Netscape 4.72 downloaded and installed from tarball using the Debian
> Netscape4 wrapper installer.

Paragraphs are good, John.

You can get much of the syntax (and one or two configuration settings)
from the file Netscape.ad under the Netscape installation.  Use 'locate'
to find it.

I'm attaching my own /etc/X11/Xresources/netscape file which fixes a few
major fsckups of the UI.  Read the comments for what it does.

-- 
Karsten M. Self <kmself@ix.netcom.com>         http://www.netcom.com/~kmself
  Evangelist, Opensales, Inc.                       http://www.opensales.org
   What part of "Gestalt" don't you understand?      Debian GNU/Linux rocks!
     http://gestalt-system.sourceforge.net/      K5: http://www.kuro5hin.org
GPG fingerprint: F932 8B25 5FDD 2528 D595  DC61 3847 889F 55F2 B9B0
!## NETSCAPE
Netscape*drawingArea.translations:      #merge\
        <Btn1Down>:                     ArmLink()       \n\
        <Btn2Down>:                     ArmLink()       \n\
        ~Shift<Btn1Up>:                 ActivateLink()  \n\
        ~Shift<Btn2Up>:                 ActivateLink(new-window)  \
                                        DisarmLink()    \n\
        Shift<Btn1Up>:                  ActivateLink(save-only)  \
                                        DisarmLink()    \n\
        Shift<Btn2Up>:                  ActivateLink(save-only)  \
                                        DisarmLink()    \n\
        <Btn1Motion>:                   DisarmLinkIfMoved()  \n\
        <Btn2Motion>:                   DisarmLinkIfMoved()  \n\
        <Btn3Motion>:                   DisarmLinkIfMoved()  \n\
        <Motion>:                       DescribeLink()  \n\
        <Btn3Down>:                     xfeDoPopup()    \n\
        <Btn3Up>:                       ActivatePopup() \n\
        Ctrl<Btn4Down>: PageUp()\n\
        Ctrl<Btn5Down>: PageDown()\n\
        Shift<Btn4Down>: LineUp()\n\
        Shift<Btn5Down>: LineDown()\n\
         None<Btn4Down>: LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
         None<Btn5Down>: LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
        Alt<Btn4Down>: xfeDoCommand(forward)\n\
        Alt<Btn5Down>: xfeDoCommand(back)\n
        Shift<Key>space:PageUp()\n\
        <Key>space:PageDown()\n\
        <Key>BackSpace: xfeDoCommand(back)\n\
!       <Key>Left: xfeDoCommand(back)\n\
!       <Key>Right: xfeDoCommand(forward)\n

Netscape*globalNonTextTranslations: #merge\
 Shift<Btn4Down>: LineUp()\n\
 Shift<Btn5Down>: LineDown()\n\
 None<Btn4Down>:LineUp()LineUp()LineUp()LineUp()LineUp()LineUp()\n\
 None<Btn5Down>:LineDown()LineDown()LineDown()LineDown()LineDown()LineDown()\n\
 Alt<Btn4Down>: xfeDoCommand(forward)\n\
 Alt<Btn5Down>: xfeDoCommand(back)\n
 Shift<Key>space:PageUp()\n\
 <Key>space: PageDown()\n\
! <Key>BackSpace: xfeDoCommand(back)\n\
!       <Key>Left: xfeDoCommand(back)\n\
!       <Key>Right: xfeDoCommand(forward)\n

# Restrict the range of size increments allowed by <font size=n> directives to 
# the range 80% - 120% rather than 50% - 210%.  Default increment is 20.
# KMSelf Wed Dec 29 15:47:57 PST 1999
Netscape*documentFonts.sizeIncrement:   05

# Clean up the fscking toolbar
Netscape*toolBar.search.isEnabled: false
Netscape*toolBar.destinations.isEnabled: false
Netscape*toolBar.myshopping.isEnabled: false
Netscape*toolBar.viewSecurity.isEnabled: false
Netscape*toolBar.print.isEnabled: true
Netscape*toolBar.home.isEnabled: true

# And some other brain damage
Netscape*useStdoutDialog: false
Netscape*useStderrDialog: false
Netscape*noAboutSplash: true

# Fonts -- dialogs and such
Netscape*attachmentProps*XmLabelGadget.fontList: fixed
Netscape*AddressBook*mainform.fontList:		 fixed 
Netscape*XmLGrid*fontList:			 fixed
Netscape*attachItemLabel*fontList:		 fixed
Netscape*prefs*fontList:			 fixed
Netscape*statusBar*fontList:			 fixed

# Document fonts -- scaling doesn't appear to take effect w/ TTF fonts
Netscape*documentFonts.defaultFont*iso-8859-1.prop: -ttf-garamond-120-noscale                                                                               
Netscape*documentFonts.defaultFont*iso-8859-1.fixed: -ttf-courier new-90-noscale


Attachment: pgpMSry9sqiBH.pgp
Description: PGP signature


Reply to: