The MX-17 conkies

Message
Author
User avatar
Stevo
Developer
Posts: 12776
Joined: Fri Dec 15, 2006 8:07 pm

Re: The MX-17 conkies

#91 Post by Stevo »

We have four Infini fonts in the Asq conky, but the otf Infini Regular here: https://www.fontsquirrel.com/fonts/infini
seems to have full glyph support. Perhaps if we try that font?

Whoops, never mind, it's the same exact font. I wonder if we can find a similar decorative font with full Unicode support.

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: The MX-17 conkies

#92 Post by Jerry3904 »

Maybe, hard to tell, thanks.

ATM I am looking at the Roboto font family (fav: Roboto-Light), which covers Latin alphabets as well as Greek and Russian.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Stevo
Developer
Posts: 12776
Joined: Fri Dec 15, 2006 8:07 pm

Re: The MX-17 conkies

#93 Post by Stevo »

You can look at samples of what this site thinks are similar fonts here: https://www.stockio.com/free-font/infini

male

Re: The MX-17 conkies

#94 Post by male »

I thought yesterday her were gonna make it thus look like
mxConky3.jpg

Code: Select all

# Standard MX .conkyrc file
background yes

short_units yes

cpu_avg_samples 1
net_avg_samples 1

out_to_console no

# Use Xft?
use_xft yes

# Xft font when Xft is enabled
#xftfont gentium:size=12
#ftfont DejaVu Sans:size=10
xftfont DejaVu Sans:bold:size=9

# Text alpha when using Xft
xftalpha 1.0

# Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops)
own_window yes
own_window_transparent yes
own_window_hints undecorated,sticky,skip_taskbar
own_window_argb_visual yes

# Update interval in seconds
update_interval 1

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 5 5
maximum_width 180

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 0

# border margins
#border_margin 10

# border width
border_width 2

# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white

color2 ffffff
color3 ffffff
color4 yellow
color8 77ccff
color9 5599cc

# Text alignment, other possible values are commented
# alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text

gap_x 30
gap_y 30 

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer right

# Subtract file system buffers from used memory?
no_buffers yes

# if_up_strictness link:  up | link | address
if_up_strictness address

# set to yes if you want all text to be in uppercase
uppercase no

# boinc (seti) dir
# seti_dir /opt/seti


TEXT

${image $HOME/Logos/MX-logo.png -p 20,10 -s 30x23}${color}${alignc}${font DejaVu Sans:size=12}MX Linux
${hr}${font}
${color}res:${alignc}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
${color8}${font DejaVu Sans:size=9}${kernel}${font}
${color8}Boot: ${pre_exec who -b | cut -c23-}
${color}Uptime: ${uptime}
${hr}
#${color}${alignc}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null}
#${color}dpi:${alignr}${color3}${execi 60 sed -nr "s/^\s*Xft.dpi:\s*([0-9]+(x[0-9]+)?).*/\1/p" $HOME/.Xresources | grep "[0-9]" || echo 96}
#${color}Automount: ${alignr}${color3}${execi 60 grep -q "^automount=TRUE" $HOME/.desktop-session/automount.conf 2>/dev/null && echo "enabled" || echo "disabled"}
${color}CPU:${alignr}${color3}${cpu}${color}%
#${color}Freq:${color3}${alignr}${freq}
${color}$alignr${cpugraph cpu0 30,170 5599cc 5599cc}
${color}Disk:${alignr}${color3}${diskio}
${color}${alignr}${diskiograph 30,170 5599cc 5599cc}${if_up eth0}
${color}eth0 up: $alignr${color3} ${upspeed eth0}
${color}$alignr${upspeedgraph   eth0 30,170 5599cc 5599cc}
${color}eth0 down: $alignr${color3} ${downspeed eth0}
${color2}$alignr${downspeedgraph eth0 30,170  5599cc 5599cc}${endif}${if_up eth1}
${color}eth1 up: $alignr${color3} ${upspeed eth1}
${color}$alignr${upspeedgraph   eth1 30,170 5599cc 5599cc}
${color}eth1 down: $alignr${color3} ${downspeed eth1}
${color2}$alignr${downspeedgraph eth1 30,170  5599cc 5599cc}${endif}${if_up wlan0}
${color}wlan0 up: $alignr${color3} ${upspeed wlan0}
${color2}$alignr${upspeedgraph   wlan0 30,170 5599cc 5599cc}
${color}wlan0 down: $alignr${color3} ${downspeed wlan0}
${color2}$alignr${downspeedgraph wlan0 30,170 5599cc 5599cc}${endif}${if_up wlan1}
${color}wlan1 up: $alignr${color3} ${upspeed wlan1}
${color2}$alignr${upspeedgraph   wlan1 30,170 5599cc 5599cc}
${color}wlan1 down: $alignr${color3} ${downspeed wlan1}
${color2}$alignr${downspeedgraph wlan1 30,170 5599cc 5599cc}${endif}
${color}${alignr}${color8}Used / Total
${color}RAM:${alignr}$mem ${color8} /${color} $memmax
#${color}Swap:${alignr}$swap ${color8} /${color} $swapmax
${color}DATA:${alignr}${fs_used /media/DATEN/} ${color8} /${color} ${fs_size /media/DATEN/}
${color}root:${alignr}${fs_used /} ${color8} /${color} ${fs_size /}
#${color3}${alignc}${execi 1000 persist-enabled}
#${execi 1000 acpi 2>/dev/null | grep -q . && echo "Batt: "}${execi 10 acpi -b 2>/dev/null | cut -d" " -f3,4 | sed 's/,$//'}

MX-logo.png

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: The MX-17 conkies

#95 Post by Jerry3904 »

Not by default b/c not really appropriate for much of the MX audience, but you can select it for yourself. See the corrected script I posted earlier in this thread.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: The MX-17 conkies

#96 Post by Jerry3904 »

I've been working on a default conky that would resist as many changes as possible, including the ones that anti brought up earlier. Here is a possibility that only has one word to translate: the day of the week. I use the Roboto-Light font that covers Latin, Greek and Cyrillic alphabets (maybe more) and have tried to leave room for long weekday names.

What do you think of this direction? Never mind colors...
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
Stevo
Developer
Posts: 12776
Joined: Fri Dec 15, 2006 8:07 pm

Re: The MX-17 conkies

#97 Post by Stevo »

Maybe Fira Sans from Google Fonts supports all the other locales out of the box. You'd think they would make sure of that.

But Roboto looks good, too. It's great that everything else is so good that we only have to nitpick fine details like this.

User avatar
ldsemerchen
Posts: 34
Joined: Thu Nov 09, 2017 10:17 am

Re: The MX-17 conkies

#98 Post by ldsemerchen »

In Beta2, the Conky can't dispaly the exact Chinese fonts:
Image

User avatar
Jerry3904
Administrator
Posts: 21881
Joined: Wed Jul 19, 2006 6:13 am

Re: The MX-17 conkies

#99 Post by Jerry3904 »

Thank you. Can you please try opening the script (launch Conky Manager, highlight the active conky, click on the pencil icon) and do this:

1) use Search > Replace to change all "Infini" to "wqy-microhei"
2) change the line "override_utf8_locale no" to "override_utf8_locale yes"

Save and let us know if that works. Thanks.
Production: 5.10, MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox and Windows 10
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

User avatar
ldsemerchen
Posts: 34
Joined: Thu Nov 09, 2017 10:17 am

Re: The MX-17 conkies

#100 Post by ldsemerchen »

I know Conky is powerful but it's hard to read in Chinese environment. Can he did as another software 'variety ' did to show some quotes on the screen?

Image

Post Reply

Return to “XFCE Desktop Environment”