Re: .Xdefaults file
On Tue, 22 Dec 2009 22:10:26 + Jamie Griffin wrote: > On Tue, Dec 22, 2009 at 01:45:52PM -0800, Rem P Roberti wrote: > > > > I think case matters here, i.e. XTerm*, not Xterm or xterm. > > > Exactly the problem. Thank you! > > Curious, on my system (7.2) my ~/.Xdefaults uses lowercase > 'xterm*...' values. > You can use XTerm or xterm because both of them are use to identify xterm. You can see that when invoking `xprop` on a default xterm windows. BTW, you can specify the windows class xterm -class FooBar then you use it in the ~/.Xdefaults FooBar*background: black Foobar*fonts: ... Regards, -- Anh Ky Huynh ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: .Xdefaults file
On Tue, Dec 22, 2009 at 10:10:26PM +, Jamie Griffin wrote: > On Tue, Dec 22, 2009 at 01:45:52PM -0800, Rem P Roberti wrote: > > > > I think case matters here, i.e. XTerm*, not Xterm or xterm. > > > Exactly the problem. Thank you! > > Curious, on my system (7.2) my ~/.Xdefaults uses lowercase 'xterm*...' > values. That would be the application name (the name by which xterm is invoked), which also is legal - for the top-level. It's all in the X manpage... -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net pgpLL3ezp5fjV.pgp Description: PGP signature
Re: .Xdefaults file
On Tue, Dec 22, 2009 at 01:45:52PM -0800, Rem P Roberti wrote: > > I think case matters here, i.e. XTerm*, not Xterm or xterm. > Exactly the problem. Thank you! Curious, on my system (7.2) my ~/.Xdefaults uses lowercase 'xterm*...' values. At least you got it working which is the main thing. Jamie pgpvqEjVtShIe.pgp Description: PGP signature
Re: .Xdefaults file
On 2009.12.22 22:05:10 +, Yuri Pankov wrote: > On Tue, Dec 22, 2009 at 09:38:19AM -0800, Rem P Roberti wrote: > > On my desktop box I settled on an xterm font and font size by > > experimenting thus: > > > > xterm -fa 'Bitstream Vera Sans Mono' -fs 10 > > > > I went through a number of fonts until I settled on the one I liked > > most. Then I created an .Xdefaults file in my home directory which > > included: > > > > Xterm*faceName Bitstream Vera Sans Mono > > Xterm*faceSize 10 > > I think case matters here, i.e. XTerm*, not Xterm or xterm. Exactly the problem. Thank you! Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: .Xdefaults file
On Tue, Dec 22, 2009 at 09:38:19AM -0800, Rem P Roberti wrote: > On my desktop box I settled on an xterm font and font size by > experimenting thus: > > xterm -fa 'Bitstream Vera Sans Mono' -fs 10 > > I went through a number of fonts until I settled on the one I liked > most. Then I created an .Xdefaults file in my home directory which > included: > > Xterm*faceName Bitstream Vera Sans Mono > Xterm*faceSize 10 I think case matters here, i.e. XTerm*, not Xterm or xterm. > > Everything works fine. However, when I tried to to this on my old > Compaq Presario on which I have 7.2 installed it doesn't work. Oddly, > I can create an xterm window using the original xterm command that I > used when I was experimenting with fonts, and the window opens and is > rendered correctly, but I can't get X to read the .Xdefaults file. Any > ideas on why .Xdefauts works on the desktop box but not the laptop? > > Rem HTH, Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: .Xdefaults file
On 2009.12.22 18:03:00 +, Jamie Griffin wrote: > On Tue, Dec 22, 2009 at 09:38:19AM -0800, Rem P Roberti wrote: > > > rendered correctly, but I can't get X to read the .Xdefaults file. > > ideas on why .Xdefauts works on the desktop box but not the laptop? > > Could it be that you need to make sure your xterm is executing a login > shell when it starts, such as: > > xterm*loginShell: true > > ... in your .Xdefaults file > > Jamie That was a good idea, but unfortunately it didn't work. Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: .Xdefaults file
On Tue, Dec 22, 2009 at 09:38:19AM -0800, Rem P Roberti wrote: > rendered correctly, but I can't get X to read the .Xdefaults file. > ideas on why .Xdefauts works on the desktop box but not the laptop? Could it be that you need to make sure your xterm is executing a login shell when it starts, such as: xterm*loginShell: true ... in your .Xdefaults file Jamie pgpbxPjZbxSBm.pgp Description: PGP signature
.Xdefaults file
On my desktop box I settled on an xterm font and font size by experimenting thus: xterm -fa 'Bitstream Vera Sans Mono' -fs 10 I went through a number of fonts until I settled on the one I liked most. Then I created an .Xdefaults file in my home directory which included: Xterm*faceName Bitstream Vera Sans Mono Xterm*faceSize 10 Everything works fine. However, when I tried to to this on my old Compaq Presario on which I have 7.2 installed it doesn't work. Oddly, I can create an xterm window using the original xterm command that I used when I was experimenting with fonts, and the window opens and is rendered correctly, but I can't get X to read the .Xdefaults file. Any ideas on why .Xdefauts works on the desktop box but not the laptop? Rem ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
.Xdefaults info (global xterm resizing continued)
sorry to start a new thread. i accidentally deleted all my mail from the main thread. check out "man xrdb" and the following links https://engineering.purdue.edu/ECN/Resources/KnowledgeBase/Docs/20020202104217 http://www.saao.ac.za/unix/node73.html (these were at the top of my search results on google for the term ".Xdefaults". Often you can find all the information you need using google.) Aaron ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: .Xdefaults
Matthew Seaman wrote: On Mon, Jun 30, 2003 at 11:22:47AM -0500, [EMAIL PROTECTED] wrote: Hello, I'm using FreeBSD 5.1 and came across something today. Say I wanted to make xterms background by default i could add XTerm*background: black into my ~/.Xdefaults file and it would load by default. Where would I go about finding out more options for more programs to place them in my ~/.Xdefaults file? Thanks. The manual pages for the various X applications will usually have quite a bit of information about what you can set in ~/.Xdefaults -- look for the section labelled 'RESOURCES'. Another place to look is /usr/X11R6/lib/X11/app-defaults, where you will find the default values for all resources for a range of applications. Note that this functionality is generally only used for X applications based on the Athena widget set or on the Motif libraries. Applications using higher level X environments like Gnome or KDE tend to have alternate mechanisms for doing this sort of thing. Cheers, Matthew You may also want to use editres(1) if the app supports the editres protocol (like xterm does). HTH, DoubleF ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: .Xdefaults
On Mon, Jun 30, 2003 at 11:22:47AM -0500, [EMAIL PROTECTED] wrote: > Hello, I'm using FreeBSD 5.1 and came across something today. Say I > wanted to make xterms background by default i could add > > XTerm*background: black > > into my ~/.Xdefaults file and it would load by default. Where would I > go about finding out more options for more programs to place them in > my ~/.Xdefaults file? Thanks. The manual pages for the various X applications will usually have quite a bit of information about what you can set in ~/.Xdefaults -- look for the section labelled 'RESOURCES'. Another place to look is /usr/X11R6/lib/X11/app-defaults, where you will find the default values for all resources for a range of applications. Note that this functionality is generally only used for X applications based on the Athena widget set or on the Motif libraries. Applications using higher level X environments like Gnome or KDE tend to have alternate mechanisms for doing this sort of thing. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK pgp0.pgp Description: PGP signature
.Xdefaults
Hello, I'm using FreeBSD 5.1 and came across something today. Say I wanted to make xterms background by default i could add XTerm*background: black into my ~/.Xdefaults file and it would load by default. Where would I go about finding out more options for more programs to place them in my ~/.Xdefaults file? Thanks. -- FreeBSD 5.1-RELEASE (HAL) #0: Wed Jun 25 15:01:35 CDT 2003 .- -..--. ,---. .-=<>=-. /_-\'''/-_\ / / '' \ \ |,-.| /____\ |/ o) (o \|| | ')(' | | /,'-'.\ |/ (')(') \| \ ._. / \ \/ / {_/(') (')\_} \ __ / ,>-_,,,_-<. >'=jf='< `. _ .','--__--'. / . \/\ /'-___-'\/:|\ (_) . (_) / \ / \ (_) :| (_) \_-'--/ (_)(_) (_)___(_) |___:|| \___/ || \___/ |_| ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xterm won't accept changes to .Xdefaults
in message <[EMAIL PROTECTED]>, wrote Fredrik Carlén thusly... > > I even tried "$ xrdb -merge ~/.Xdefaults" even though I don't know > what it does... >From xrdb(1)... -load This option indicates that the input should be loaded as the new value of the specified properties, replacing whatever was there (i.e. the old contents are removed). This is the default action. ... -merge This option indicates that the input should be merged and lexicographically sorted with, instead of replacing, the current contents of the specified properties. > The strange thing is it all works if I run "$ xrdb ~/.Xdefaults" > /after/ X and KDE has started up. Same here. Here is what i have in my xinitrc (which is executed by, well, xinit) before i launch any particular programs... xrdb -merge ${HOME}/.Xresources & > The next X-session, I have to run the same command...the changes > won't become permanent. Stick a line like above somewhere in your xinitrc, xession, etc. - Parv -- A programmer, budding Unix system administrator, and amateur photographer ISO employment. Details... http://www103.pair.com/parv/work/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Xterm won't accept changes to .Xdefaults
Hello! I use KDE3.0 on FreeBSD 5.0-RELEASE. My xterm won't accept the changes I have made to ~/.Xdefaults, but my emacs sure does. I /have/ run "$ xrdb ~/.Xdefaults", I even tried "$ xrdb -merge ~/.Xdefaults" even though I don't know what it does... Now for the idiot thing (me being the idiot, make no mistake about it) The strange thing is it all works if I run "$ xrdb ~/.Xdefaults" /after/ X and KDE has started up. My new xterms are as black and grey as I want them, without the above mentioned command, they're glaringly white. The next X-session, I have to run the same command...the changes won't become permanent. I haven't had this problem before with applications... This *is* a real problem for me, because if there is too much luminiscence from the screen my right eye will protest by giving me a headache (I have a scar on my 'darned' retina, which makes it sensitive to light...) Help is very welcome, and I will love you for ever more for it. ::Files:: .Xdefaults == ! 2003-06-08 00:01 [EMAIL PROTECTED] ! Emacs ! = ! Color and background ! Emacs.default.attributeBackground: DarkRed Emacs.default.attributeForeground: wheat XTerm*foreground: grey XTerm*background: black == Thank you in advance! _ Hitta rätt på nätet med MSN Sök http://search.msn.se/ ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"