Menu

[CDE on RHEL 9.1 / Centos 9] - How to change fonts

Bernard
2023-04-08
2023-07-27
  • Roger Brown

    Roger Brown - 2023-04-18

    I have published a set of 2.5.1 rpms for Centos9
    https://sourceforge.net/projects/rhubarb-pi/files/centos/9/

    The dtlogin-service rpm provides the systemd service script for login at boot

    Although I don't know how to change to font specifically, the good news is there should be lots of documentation regarding how to configure CDE itself, for example

    https://docs.oracle.com/cd/E19455-01/806-1364/6jalgb58n/index.html

     
    • Trung Le

      Trung Le - 2023-07-27

      Nice job keeping all RPMs up to date. Wondering if you could also build for the ppc64le platform too?

       
  • Bernard

    Bernard - 2023-04-18

    Thank you, i successfully installed the package on CentOS 9 Stream but after logout / restart, there is no CDE entry in the Graphic env desktop chooser. You have to manually create a cde.desktop in usr/share/xsessions to achieve it.

    cde.desktop

    [Desktop Entry]
    Name=CDE
    Comment=Use this session to boot into the Common Desktop Environment
    Keywords=Common Desktop Environment
    Exec=/usr/dt/bin/Xsession
    Icon=Dtlogo.pm
    Type=Application
    
     
    👍
    1

    Last edit: Bernard 2023-04-20
  • Roger Brown

    Roger Brown - 2023-04-20

    The dtlogin-service is designed to be the replacment login manager https://sourceforge.net/p/rhubarb-pi/wiki/pkg-dtlogin/

    and is enabled on Centos with

    $ sudo systemctl enable dtlogin
    Created symlink /etc/systemd/system/display-manager.service  /usr/lib/systemd/system/dtlogin.service.
    

    This will then start the dtlogin on reboot.

     
  • Bernard

    Bernard - 2023-04-22

    sorry but in my case it doesn't work (fresh install of latest centos9stream on vm), then

    sudo yum --nogpgcheck localinstall cdesktop*
    sudo yum --nogpgcheck localinstall dtlogin*
    

    with the rpm files you kindly provided

    After that, the previous command you mentionned said dtlogin is already enabled and symlink exists but even with, no CDE line appears on the interface chooser at startup and I have to manualy create the cde.desktop file to see it

     

    Last edit: Bernard 2023-04-22
  • Bernard

    Bernard - 2023-04-22

    I also found this interesting blog but unfortunatly, the paths don't match and the scripts fails

     

    Last edit: Bernard 2023-04-22
  • Bernard

    Bernard - 2023-06-03

    found a workaroud (maybe a bit dirty)

    make a backup of usr/dt/etc/cde/fontaliases/fonts.alias file
    edit then /usr/dt/etc/cde/fontaliases/fonts.alias
    from lines 1 around 450 (-dt-interface****), remove all lines having "serif" to only keep "sans"
    save change and reboot

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.