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

Re: выпил systemd и invoke-rc.d



On Fri, 27 Oct 2017 17:15:51 +0300
Eugene Berdnikov <bd4@protva.ru> wrote:

> On Fri, Oct 27, 2017 at 03:48:18PM +0300, Andrey Jr. Melnikov wrote:
> > Да??? git научился фигурно вырезать куски из .Xresources? Или у него
> > появились провидческие знания, что на нетбуке мне нужен фонт
> > размером 10, а на офисной машине - 12?  
> 
>  Вырезать куски умеет препроцессор cpp, через который xrdb пропускает
>  Xresources. Да, провидческие знания придётся завернуть в опции
> командной строки для xrdb, но это можно делать одним для всех машин
> скриптом.

Там значительная часть необходимых знаний о том, что за экран у нас
сегодня, передается xrdb на автомате.

Нижеприведенное - далеко не все, я безжалостно покоцал все, что на мой
взгляд не влияет на шрифты. 

       SERVERHOST=hostname
               the hostname portion of the display to which you are connected.

       CLASS_visualclass_depth=num
               A symbol is defined for each visual supported for  the  screen.
               The  symbol includes the class of the visual and its depth; the
               value is the numeric id of the visual.  (If more than one  vis‐
               ual  has  the same class and depth, the numeric id of the first
               one reported by the server is used.)

       HEIGHT=num
               the height of the root window in pixels.

       WIDTH=num
               the width of the root window in pixels.

       PLANES=num
               the number of bit planes (the depth) of the root window.

       X_RESOLUTION=num
               the x resolution of the screen in pixels per meter.

       Y_RESOLUTION=num
               the y resolution of the screen in pixels per meter.


Reply to: