Re: sandbox & Fonts (Cosmetic Issue)

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/06/2011 08:14 PM, Jorge Fábregas wrote:
> On 06/06/2011 07:05 PM, Christoph A. wrote:
>> Is dpi 96 default?
>> If that is the case, what about hardcoding -dpi 96?
> 
> Hi,
> 
> No.  It is totally dependent on your monitor.  Mine has 96 pixels per
> inch (ppi).  Usually the desktop environments (GNOME, KDE etc...) will
> set this value accordingly.
> 
> The ideal thing for the sandbox command would be to figure out this
> value and pass it along to Xephyr.  I almost got it on this file:
> 
> /usr/share/sandbox/sandboxX.sh
> 
> ..which is a bash shell script.  I added a new variable at the beginning:
> 
> systemdpi=`xrdb -query | grep dpi  | /bin/cut -f 2`
> 
> ..which will capture the current dpi (96 in my case).
> 
> And then on the Xelphyr call....I added:  -dpi $systemdpi
> 
> ..but somehow xrdb doesn't work at this point of the flow.  I revereted
> back to hardcoding the value.
> 
> Anyway, I don't think many people are concerned about this issue.
> 
> Regards,
> Jorge
> --
> selinux mailing list
> selinux@xxxxxxxxxxxxxxxxxxxxxxx
> https://admin.fedoraproject.org/mailman/listinfo/selinux
> 
> 

These are the files I will check into Rawhide today.  See if they work
for you.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAk3uGh0ACgkQrlYvE4MpobO2tQCfdIFWRbeLwgYjFXcXT3rNewaz
jHsAnjsWRYrn5YqV5Sx3fUVu+sm7x6/W
=y7V+
-----END PGP SIGNATURE-----

Attachment: sandbox.tgz
Description: GNU Zip compressed data

Attachment: sandbox.tgz.sig
Description: PGP signature

--
selinux mailing list
selinux@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/selinux

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux