[vox-tech] conditional .gtkrc-2.0

Dave Margolis vox-tech@lists.lugod.org
Thu, 29 Apr 2004 20:43:11 -0700


OK,

I like that idea.  I'm going to need to:
1. test and see if .gtkrc-2.0 exists, if so remove it
2. determine which host i'm logged in from
3. create a symlink from the correct file to .gtkrc-2.0

Here's a dumb question: What environment variable or program tells me 
where I'm logged in from?

Dave

Mark K. Kim wrote:

>Create two different files, .gtkrc-2.0-laptop and .gtkrc-2.0-desktop, and
>at login, using a script, determine which computer you're connecting from
>and make a symlink to .gtkrc-2.0 from the appropriate file!  It's like
>magic...
>
>-Mark
>
>
>On Thu, 29 Apr 2004, Dave Margolis wrote:
>
>  
>
>>Hello,
>>
>>I generally run gaim via ssh -X from my computer at home on my computer
>>at work.  This works just spiffily except the fonts show up quite a bit
>>smaller on my laptop (12" 1024x768) then the do on my actual box at home
>>(15" 1024x768).
>>
>>I tried adding the following to .gtkrc-2.0 to increase the font size:
>>
>>gtk-font-name = "Lucida Grande 14"
>>
>>This looks great on the little laptop screen, but HUGE on the desktop
>>screen.  It also messes with proportions of the fonts in Mozilla on the
>>desktop machine.
>>
>>Question is this: how can I specify that font declaration just for gaim,
>>or better yet, just for gaim when it's running over a remote X session?
>>
>>Thanks,
>>Dave M.
>>
>>
>>
>>_______________________________________________
>>vox-tech mailing list
>>vox-tech@lists.lugod.org
>>http://lists.lugod.org/mailman/listinfo/vox-tech
>>
>>    
>>
>
>  
>