afrantzis / bless

Bless - Gtk# Hex Editor
GNU General Public License v2.0
210 stars 38 forks source link

Characters not being displayed on Ubuntu 20.04 #30

Closed oriolarcas closed 4 years ago

oriolarcas commented 4 years ago

Hi,

Don't know if it's a Bless problem, but I don't see how to fix it and maybe somebody can help.

After upgrading from Ubuntu 18.04 to 20.04, Bless shows the numeric representation of characters, instead of the characters itself.

bless

Any file is shown like that. This only happens with the data view, the rest of the interface looks fine.

Usually the application crashes. Can provide call traces if needed.

afrantzis commented 4 years ago

Hi! This was reported in https://github.com/afrantzis/bless/issues/25. Please see the comments there for more information and various workarounds/solutions. Thanks!

oriolarcas commented 4 years ago

Thanks, my bad!

oriolarcas commented 4 years ago

For anyone having this problem their current Bless version, a workaround:

1. Create this layout file:

<layout>
    <area type="offset">
    <display>
        <evenrow>
        <evencolumn>
            <foreground>dark red</foreground>
            <background>white</background>
        </evencolumn>
        </evenrow>
        <oddrow>
        <evencolumn>
            <foreground>dark red</foreground>
            <background>white</background>
        </evencolumn>
        </oddrow>
        <font>Monospace 12</font>
    </display>
    </area>

    <area type="separator">
        <display>
        <evenrow>
        <evencolumn>
            <foreground>dark green</foreground>
            <background>white</background>
        </evencolumn>
        </evenrow>
    </display>

    </area>

    <area type="hexadecimal">
    <display>
        <font>Monospace 12</font>
    </display>
    <case>upper</case>
    </area>

    <area type="separator">
    <display>
        <evenrow>
        <evencolumn>
            <foreground>dark green</foreground>
            <background>white</background>
        </evencolumn>
        </evenrow>
    </display>

    </area>

    <area type="ascii">
    <display>
        <font>Monospace 12</font>
    </display>
    </area>
</layout>

2. Save it into the directory: ~/.config/bless/layouts (create the directory if necessary)

Choose this layout from the menu Edit > Peferences > Select Layout.