Você pode pedir ao servidor X para usar apenas a profundidade de 8 bits. No seu arquivo /etc/X11/xorg.conf
:
Section "Screen"
Identifier "Screen0"
DefaultDepth 8
EndSection
Essa é uma consulta esotérica, mas eu quero exportar a tela do X11 do meu Raspberry Pi para um Mac antigo, capaz de apenas 256 cores. Tudo bem, até onde vai, mas as cores são tão desconfiguradas no monitor do Mac que os aplicativos não podem ser usados e são irreconhecíveis.
É possível configurar o Gnome para usar no máximo 16 cores (só para garantir)? Existe um tema para o Gnome que eu poderia usar para fazer o que eu quero? Ou, melhor ainda, posso desinstalar o Gnome e rodar um cliente de e-mail como Sylpheed usando algo como twm?
Os erros que recebo no Xorg.0.log (como sugerido abaixo) são:
~ $ cat /var/log/Xorg.0.log
[262851.949] _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
[262851.950] _XSERVTransOpen: transport open failed for inet6/raspberrypi:0
[262851.950] _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
[262851.963]
X.Org X Server 1.12.4
Release Date: 2012-08-27
[262851.967] X Protocol Version 11, Revision 0
[262851.968] Build Operating System: Linux 3.2.0-2-mx5 armv7l Debian
[262851.969] Current Operating System: Linux raspberrypi 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l
[262851.971] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708.boardrev=0xe bcm2708.serial=0x14e05b6a smsc95xx.macaddr=B8:27:EB:E0:5B:6A bcm2708_fb.fbswap=1 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000 dwc_otg.lpm_enable=0 console=ttyAMA0,4800 console=tty1 root=/dev/mmcblk0p6 rootfstype=ext4 elevator=deadline rootwait
[262851.979] Build Date: 11 February 2015 09:31:17PM
[262851.980] xorg-server 2:1.12.4-6+deb7u6 (Julien Cristau <[email protected]>)
[262851.982] Current version of pixman: 0.33.1
[262851.983] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[262851.984] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[262851.999] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Apr 7 15:54:47 2016
[262852.000] (II) Loader magic: 0xb6f09cf0
[262852.000] (II) Module ABI versions:
[262852.000] X.Org ANSI C Emulation: 0.4
[262852.000] X.Org Video Driver: 12.1
[262852.001] X.Org XInput driver : 16.0
[262852.001] X.Org Server Extension : 6.0
[262852.006] List of video drivers:
[262852.009] fbturbo
[262852.011] fbdev
[262852.012] (II) LoadModule: "fbturbo"
[262852.021] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
[262852.027] (II) Module fbturbo: vendor="X.Org Foundation"
[262852.027] compiled for 1.12.4, module version = 0.3.1
[262852.027] Module class: X.Org Video Driver
[262852.027] ABI class: X.Org Video Driver, version 12.1
[262852.027] (II) LoadModule: "fbdev"
[262852.028] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[262852.032] (II) Module fbdev: vendor="X.Org Foundation"
[262852.032] compiled for 1.12.1, module version = 0.4.2
[262852.032] ABI class: X.Org Video Driver, version 12.0
[262852.033] (WW) Falling back to old probe method for fbturbo
[262852.033] (WW) Falling back to old probe method for fbturbo
[262852.034] No devices to configure. Configuration failed.
[262852.036] Server terminated with error (2). Closing log file.
Você pode pedir ao servidor X para usar apenas a profundidade de 8 bits. No seu arquivo /etc/X11/xorg.conf
:
Section "Screen"
Identifier "Screen0"
DefaultDepth 8
EndSection
Tags window-manager display x11