Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-04-29 18:16:56

callmejoe
Member
Registered: 2019-11-19
Posts: 45

font issue?

i'm assuming this is a font issue.  anyone know which one i have to install to fix this?

my /etc/nanorc file using nano displays correctly

# bind Sh-M-U "^[Oc^[[1;6D^T|sed 's/.*/\U&/'^M" main
# bind Sh-M-L "^[Oc^[[1;6D^T|sed 's/.*/\L&/'^M" main

Here is what it looks like in mousepad

IuhC6Jrl.png

Offline

#2 2022-04-29 21:48:47

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,817

Re: font issue?

callmejoe wrote:

Here is what it looks like in mousepad

https://imgur.com/IuhC6Jrl.png

If you run:

mousepad  /etc/nanorc

...from a terminal window, is there anything output in the terminal window?

.

Also, which version of mousepad are you running:

mousepad -v

..and which font are you using?

xfconf-query -c xsettings -p /Gtk/FontName

Offline

#3 2022-04-29 22:29:51

callmejoe
Member
Registered: 2019-11-19
Posts: 45

Re: font issue?

Thanks ToZ.  Here is the info:

thu1Iho.png

Last edited by callmejoe (2022-04-29 22:30:11)

Offline

#4 2022-04-29 23:47:52

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,817

Re: font issue?

What locale/language are you using?

What does the following command return:

fc-match Sans

Offline

#5 2022-04-30 00:13:50

callmejoe
Member
Registered: 2019-11-19
Posts: 45

Re: font issue?

XIsPydh.png

Offline

#6 2022-04-30 01:20:53

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,817

Re: font issue?

What font is mousepad set to use or is it configured to use the system monospace font (Edit > Preferences > View tab)?

Edit: I should actually have asked:

fc-match monospace

Last edited by ToZ (2022-04-30 01:21:46)

Offline

#7 2022-04-30 02:56:33

callmejoe
Member
Registered: 2019-11-19
Posts: 45

Re: font issue?

mousepad preferences
ihbjTiN.png

QiSqcNh.png

Offline

#8 2022-04-30 02:59:52

KBar
Member
Registered: 2021-11-05
Posts: 372

Re: font issue?

Try setting the default encoding to UTF-8.

Also, what is the output of:

$ xfconf-query --channels xsettings --property /Gtk/MonospaceFontName
$ gsettings get org.xfce.mousepad.preferences.view use-default-monospace-font
$ gsettings get org.xfce.mousepad.preferences.view font-name

Last edited by KBar (2022-04-30 03:00:39)


Xubuntu 20.04

Offline

#9 2022-04-30 03:01:46

ToZ
Moderator
From: Canada
Registered: 2011-06-02
Posts: 8,817

Re: font issue?

If you check "Use system monospace font", does it make a difference?

Also, does it work if you don't use root? Like from a regular user account?

Offline

#10 2022-05-01 23:50:28

callmejoe
Member
Registered: 2019-11-19
Posts: 45

Re: font issue?

since i've been trying different things and thinking about this more i decided to run the file command on the file

file nanorc
nanorc: data

and then on a random config file:

file xfce4-taskmanager.rc
xfce4-taskmanager.rc: ASCII text

ASCII text files display the special characters fine.  Something with that data type file messes it up. 

oh well. not a big deal. just have to remember to not use a plain text editor to edit that file (and others like it)

Offline

#11 2022-05-07 09:23:32

Tamaranch
Member
Registered: 2020-12-31
Posts: 87

Re: font issue?

Mousepad must have asked you in which encoding you wanted to open this file at some point. But since version 0.5.9 it only does this once, unless the recent file history is cleared (that's where the information is stored).

Offline

Board footer

Powered by FluxBB