Ocena wątku:
  • 0 głosów - średnia: 0
  • 1
  • 2
  • 3
  • 4
  • 5
conky i problem z fontami xft
#1
Wink 
0
Witam , posiadam zainstalowany conky z sryptem, który ma pokazać przy każdym "dziale" ikonę z ConkySymbols. Przy pierwszej pozycji widać jak pokazuje kwadracik biały zamiast symbolu pingwinka.
ConkySymbols zainstalowałem z pliku na zasadzie kliknięcia zainstaluj. Mint to 20 cinnamon 
skrypt konfiguracyjny conky:
Kod:
conky.config = {
-- Minimalis Conky 1.2.2 -- tested on Fedora 16 (Gnome Shell Desktop)
-- Author : deny26
-- Release date : March, 20 2012
-- Email : [email protected]
-- Site : http://ubuntu-indonesia.com
-- Feel free to modity this script ;)

    background = true,
    font = 'Droid Sans:size=8',
    use_xft = true,
    xftalpha = 0.5,
    update_interval = 1.0,
    total_run_times = 0,

-- for gnome 2.x user uncomment the following line
--own_window yes
--own_window_type override
--own_window_transparent yes
--own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

-- for gnome 3.x user uncomment the following line
    own_window_class = 'Conky',
    own_window = true,
    own_window_type = 'normal',
    own_window_transparent = true,
    own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',

-- for kde user
--own_window yes
--own_window_transparent yes
--own_window_argb_visual yes
--own_window_type normal
--own_window_class conky-semi
--own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

    double_buffer = true,
    draw_shades = true,
    draw_outline = true,
    draw_borders = false,
    draw_graph_borders = false,
    minimum_width = 320,
    maximum_width = 280,
    default_color = '#ffffff',
    default_shade_color = '#000000',
    draw_outline = false,
    alignment = 'top_right',
    gap_x = 10,
    gap_y = 35,
    no_buffers = true,
    cpu_avg_samples = 2,
    override_utf8_locale = true,
    uppercase = false,
    use_spacer = 'none',

};

conky.text = [[
${font ConkySymbols:size=16}A${font} ${voffset -10}GNU/Linux»
${goto 35}Distro: Mint 20
${goto 35}Kernel: $kernel
${goto 35}Uptime: $uptime_short

${font = ConkySymbols:size=16}f${font} ${voffset -10} System»
${goto 35}${font Droid Sans:size=8}CPU1: ${cpu cpu0}%${cpubar cpu0 3,45}${font}
${goto 35}${font Droid Sans:size=8}CPU2: ${cpu cpu1}%${cpubar cpu1 3,45}${font}
${goto 35}${font Droid Sans:size=8}CPU3: ${cpu cpu2}%${cpubar cpu2 3,45}${font}
${goto 35}${font Droid Sans:size=8}CPU4: ${cpu cpu3}%${cpubar cpu3 3,45}${font}${goto 95}
#${goto 35}${cpubar cpu0 3,45}${goto 95}${cpubar cpu1 3,45}
${goto 35}${font Droid Sans:size=8}RAM: ${memperc}%${membar 3,45}${font}
${goto 35}${font Droid Sans:size=8}SWAP: ${swapperc}%${swapbar 3,45}${font}


${voffset 8}${font = ConkySymbols:size=14}N${font}  ${voffset -10} Processes $alignc ${goto 135} ${alignr}MEM   ${alignr}CPU
${goto 35}${top name 1} ${goto 125}$alignr${top mem 1} $alignr${top cpu 1}
${goto 35}${top name 2} ${goto 125}$alignr${top mem 2} $alignr${top cpu 2}
${goto 35}${top name 3} ${goto 125}$alignr${top mem 3} $alignr${top cpu 3}
${goto 35}${top name 4} ${goto 125}$alignr${top mem 4} $alignr${top cpu 4}
${goto 35}${top name 5} ${goto 125}$alignr${top mem 5} $alignr${top cpu 5}
${goto 35}${top name 6} ${goto 125}$alignr${top mem 6} $alignr${top cpu 6}
${goto 35}${top name 7} ${goto 125}$alignr${top mem 7} $alignr${top cpu 7}
${goto 35}$stippled_hr
${goto 35}${top_mem name 1} ${goto 125}$alignr${top_mem cpu 1} $alignr${top_mem mem 1}
${goto 35}${top_mem name 2} ${goto 125}$alignr${top_mem cpu 2} $alignr${top_mem mem 2}
${goto 35}${top_mem name 3} ${goto 125}$alignr${top_mem cpu 3} $alignr${top_mem mem 3}
${goto 35}${top_mem name 4} ${goto 125}$alignr${top_mem cpu 4} $alignr${top_mem mem 4}
${goto 35}${top_mem name 5} ${goto 125}$alignr${top_mem cpu 5} $alignr${top_mem mem 5}
${goto 35}${top_mem name 6} ${goto 125}$alignr${top_mem cpu 6} $alignr${top_mem mem 6}
${goto 35}${top_mem name 7} ${goto 125}$alignr${top_mem cpu 7} $alignr${top_mem mem 7}

${goto 35}Processes: $processes
${goto 35}Running: $running_processes

${font = ConkySymbols:size=16}K${font} ${voffset -10} Harddisk»
${goto 35}${font Droid Sans:size=8}Root: ${fs_free /} ${goto 120}Data: ${fs_free /media/blazejwiecha/Drugi}${font}
${goto 35}${fs_bar 3,45 /}${goto 120}${fs_bar 3,45 /media/blazejwiecha/Drugi}
${goto 35}${font Droid Sans:size=8}${fs_size /} ${goto 120}${fs_size /media/blazejwiecha/Drugi}${font}

${font = ConkySymbols:size=16}I${font} ${voffset -10} Network»
${goto 35}Download: ${downspeed enp4s0}
${goto 35}Upload: ${upspeed enp4s0}
${goto 35}Total Download: ${totaldown enp4s0}

${font = ConkySymbols:size=16}B${font} ${voffset -10} Wireless»
${goto 35}ESSID: ${wireless_essid wlp2s0}
${goto 35}Mode: ${wireless_mode wlp2s0}
${goto 35}Signal: ${wireless_link_qual_perc wlp2s0}
${goto 35}Download: ${downspeed wlp2s0}
${goto 35}Upload: ${upspeed wlp2s0}
${goto 35}Total Download: ${totaldown wlp2s0}

${font = ConkySymbols:size=16}P${font} ${voffset -10} ProtonVPN»
${goto 35}Download: ${downspeed proton0}
${goto 35}Upload: ${upspeed proton0}
${goto 35}Total Download: ${totaldown proton0}

]];
Jakieś pomysły jak znaleźć błąd ?
Screenshot
Odpowiedz


Wiadomości w tym wątku
conky i problem z fontami xft - przez blazejwiecha - 23-07-2020, 10:37
RE: conky i problem z fontami xft - przez dedito - 23-07-2020, 11:30
RE: conky i problem z fontami xft - przez blazejwiecha - 23-07-2020, 12:27
RE: conky i problem z fontami xft - przez dedito - 23-07-2020, 12:33
RE: conky i problem z fontami xft - przez blazejwiecha - 23-07-2020, 13:21
RE: conky i problem z fontami xft - przez dedito - 23-07-2020, 21:26
RE: conky i problem z fontami xft - przez blazejwiecha - 24-07-2020, 08:28
RE: conky i problem z fontami xft - przez dedito - 24-07-2020, 14:37
RE: conky i problem z fontami xft - przez blazejwiecha - 24-07-2020, 15:19
RE: conky i problem z fontami xft - przez dedito - 24-07-2020, 15:45
RE: conky i problem z fontami xft - przez p3827 - 27-07-2020, 21:34
RE: conky i problem z fontami xft - przez dedito - 27-07-2020, 21:42

Skocz do:




Użytkownicy przeglądający ten wątek: 2 gości