OESF Portables Forum
Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: ostense on October 21, 2004, 06:58:42 am
-
Hi !
Anybody know how to do this?
-
of what ?
Under X these things are dependent on what you use. (application gtk, qt etc..)
-
I plan on trying to get some fonts to the pdaX after release.
I went through most all of the fonts, and they're all basically the same!
(ie: they're extremely similar)
:-/
Scott
-
Hi !
On full Linux you can use xterm with different fonts and size . I have not been able to do the same on pdaxrom... I get the same size whatever I do !!
-
you can use xterm -fn fontname
to get the fontnames available use xlsfonts
to modify the shortcut exit /user/share/applications/xterm.desktop and modify the Exec line.
I've just tried the .Xresources method.
Normally if you place a .Xresources file in your home directory (eg /home/root/.Xresources) containing a line like
XTerm*font: fontname
and then do xrdb -merge ~/.Xresources the settings is taken for all xterm you open
BUT xrdb requires the c prepocessor cpp.
So you can still do this if you have cpp for instance if you have the native sdk installed.
another problem is that xrdb is looking for cpp in the wrong directory.
But if you have cpp and if you add in /home/root/.xinitrc a line like :
xrdb -cpp /opt/arm/3.3.2-vfp/bin/cpp -merge $HOME/.Xresources
Then it works after you restart X it works. (you can also use the previous line without restarting X if you want to try)
A lots of applications can be configured via Xresources (size position etc...)
-
Instead of ~/.Xresources, create a file (same format) called ~/.Xdefaults . This works without having to run anything special.
Dave
-
And you are right! ..... hmm i wonder why, anyway this nice.
-
The only reason your ~/.Xresources works on a regular desktop is that whatever X startup script you use (most likely the system-wide xinitrc in /etc/X11/xinit) loads it automatically for you. X itself doesn't know about that file (afaik).
However, ALL apps that use resources always check for ~/.Xdefaults and will use the values there if no value is specified in the currently-loaded resources.
Dave
-
Thanks for your enlightment.
The call to xrdb in the system wide xinit is present in pdaxrom but is not called, and that 's good as it won't work "out of the box" for the above reasons.