Du bist nicht angemeldet.
Hey,
Hatte einer von euch schonmal das problem das der conky theme manager nix anzeigt ?
Hatte bisschen gegooglet aber die ganzen tipps haben nicht geholfen leider.
Conky alleine geht auch nicht richtig, es kommt dieses standartfenster verschwindet aber wieder. mit ner .conkyrc kam ich auch nicht weiter. irgendwelche lua fehler dann versucht mit "sudo lua /usr/share/doc/conky-1.11.5_pre/convert.lua .conkyrc .conkyrc-neu"
aber selbes ergebnis.
Benutze Xfce4 und den propriotären nvidia treiber.
Ohne Conky fehlt einfach was
mfg
Sm0k3rr
Offline
Ich hab conky noch nie benutzt und daher auch noch nie vermisst. Aber auch die - vermutlich zahlreichen - Conky-Enthusiasten werden dir ohne genauere Angaben kaum weiterhelfen können.
Offline
Wie läuft es mit einer
~/.config/conky/conky.conf
???
Offline
Wie läuft es mit einer
~/.config/conky/conky.conf
???
Existiert bei mir nicht sagt er
Im Conky Manger bei den themes config geändert:
own_window_type normal | versucht, geändert zu desktop und conky.
mit dem theme manager, keine fehlermeldung läuft wie es soll nur zeigt eben nix an
Hat vielleicht einer von euch eine funktionierene conkyrc? nur zum testen.
Wenn ich die .conkyrc lösche und dann im terminal conky eingebe kommt dieses schwarze fenster oben links (denke das ist das standart ding) das schließt sich aber und verschwindet sobald ich mit der maus draufklicke / drübergehe.
Versuch ich es mit einer .conkyrc ausm netzt ging es nicht, kann gut sein das die nicht aktuell waren. hatte versucht eine mit diesem lua zeug zu convertieren aber ging trozdem nicht.
komischerweise auch bei jeder config der selbe fehler.
conky: [string "..."]:159: attempt to call a nil value (global 'loadstring')
Und ich hatte wirklich um die 10 verschiedene probiert unter anderem auch hier aus dem Forum.
Hatte auch versucht ein Downgrade beider programme vorzunehmen auf irgendeine version von 2019, scheint auf jeden fall ein problem bei mir zu sein war genau das selbe spiel leider.
Beitrag geändert von Sm0k3rr (22.10.2020 23:25:19)
Offline
Was sanni sagen wollte: Möglicherweise stimmt der Ablageort nicht mehr. Erstelle mal das Verzeichnis und versuche es noch einmal.
Wenn das eine Änderung ergibt, schiebe die .conkyrc mal nach ~/.config/conky/conky.conf. Laut Manpage ist dies nämlich der einzige valide Ablageort neben dem systemweiten (unter /etc/conky).
Unabhängig davon, sollte aber das "schwarze Fenster" auch ohne Konfigurationsdatei einen Inhalt haben und auch nicht mysteriöserweise verschwinden. Welchen Desktop verwendest du?
Offline
Offline
Was sanni sagen wollte: Möglicherweise stimmt der Ablageort nicht mehr. Erstelle mal das Verzeichnis und versuche es noch einmal.
Wenn das eine Änderung ergibt, schiebe die .conkyrc mal nach ~/.config/conky/conky.conf. Laut Manpage ist dies nämlich der einzige valide Ablageort neben dem systemweiten (unter /etc/conky).
Unabhängig davon, sollte aber das "schwarze Fenster" auch ohne Konfigurationsdatei einen Inhalt haben und auch nicht mysteriöserweise verschwinden. Welchen Desktop verwendest du?
Meine Conky RC.
conky.config = {
background = true,
update_interval = 2,cpu_avg_samples = 2,
net_avg_samples = 2,
temperature_unit = 'celsius',
pad_percents = 2,double_buffer = true,
no_buffers = true,
text_buffer_size = 2048,gap_x = 15,
gap_y = 50,
minimum_width = 280, minimum_height = 5,
maximum_width = 250,own_window = true,
own_window_type = 'override',
own_window_transparent = true,
own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,below',
border_inner_margin = 10,
border_outer_margin = 0,
border_width = 1,
alignment = 'top_right',draw_shades = true,
draw_outline = false,
draw_graph_borders = true,
draw_borders = false,override_utf8_locale = true,
use_xft = true,
font = 'Bitstream Vera Sans Mono:size=9',
xftalpha = 0.8,
uppercase = false,default_color = 'darkgrey',
default_shade_color = 'black',
default_outline_color = 'black',total_run_times = 0,
stippled_borders = 3,
use_spacer = 'none',};
conky.text = [[
${color #5b6dad}${alignc} ${time %A %d. %b %Y}
${color yellow}${alignc}${font LCDMono:bold:size=12} ${time %H:%M} Uhr${font}
#${color #5b6dad}${alignc}$sysname
${color #5b6dad}${alignc}${execi 60 lsb_release -d | cut -f 2}
${color #5b6dad}${alignc}$kernel on $machine
${color #5b6dad} Benutzer :${color grey} ${exec id -un}
${color #5b6dad} PC-Name :${color grey} $nodename
${color #5b6dad} PC-Uptime:${color grey} ${uptime_short}
$stippled_hr${color #5b6dad}CPU: ${alignr}$color $cpu%
${color #5b6dad} ${cpubar 6,230} ${color grey}
${color #5b6dad}RAM: $color $mem / $memmax $alignr $memperc%
${color #5b6dad} ${membar 6,230}
${color #5b6dad}Swap: $color $swap / $swapmax $alignr ${swapperc}%
${color #5b6dad} ${swapbar 6,230}
${color #5b6dad}Festplatte - $color dm-1:
${color #5b6dad} $color ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${color #5b6dad} ${fs_bar 6,230 /}
${color #5b6dad}Festplatte - $color sda1:
${color #5b6dad} $color ${fs_used /boot} / ${fs_size /boot} $alignr ${fs_used_perc /boot}%
${color #5b6dad} ${fs_bar 6,230 /boot}${color #5b6dad}Prozesse:$color $processes | $running_processes
${color #5b6dad} ${top name 1} $alignr $color ${top mem_res 1} ${top cpu 1}%
${color #5b6dad} ${top name 2} $alignr $color ${top mem_res 2} ${top cpu 2}%
${color #5b6dad} ${top name 3} $alignr $color ${top mem_res 3} ${top cpu 3}%
${color #5b6dad} ${top name 4} $alignr $color ${top mem_res 4} ${top cpu 4}%
${color #5b6dad} ${top name 5} $alignr $color ${top mem_res 5} ${top cpu 5}%
${color #5b6dad} ${top name 6} $alignr $color ${top mem_res 6} ${top cpu 6}%${color #5b6dad}Netzwerk-Auslastung:
${color #5b6dad} Down:$alignr $color ${downspeedf wlan0} kb/s ${offset 80}
${color #5b6dad} ${downspeedgraph wlan0 20,230 000000 7f8ed3 2} ${offset 40}
${color #5b6dad} Up:$alignr $color ${upspeedf wlan0} kb/s ${offset 80}
${color #5b6dad} ${upspeedgraph wlan0 20,230 000000 7f8ed3 2}${color #5b6dad}CPU-Temp:${font LCDMono:bold:size=18} ${color lightgrey} $alignr ${acpitemp}°C ${font}
${color #5b6dad}Akku: $color ${alignr}${battery_percent BAT0}%
${color #5b6dad} ${battery_bar 6,230 BAT0}
]];
Meine /usr/share/doc/conky-1.11.5_pre/convert.lua
#! /usr/bin/lua
local usage = [[
Usage: convert.lua old_conkyrc [new_conkyrc]Tries to convert conkyrc from the old v1.x format to the new, lua-based format.
Keep in mind that there is no guarantee that the output will work correctly
with conky, or that it will be able to convert every conkyrc. However, it
should provide a good starting point.Although you can use this script with only 1 arg and let it overwrite the old
config, it's suggested to use 2 args so that the new config is written in a new
file (so that you have backup if something went wrong).Optional: Install dos2unix. We will attempt to use this if it is available
because Conky configs downloaded from Internet sometimes are created on DOS/Windows
machines with different line endings than Conky configs created on Unix/Linux.For more information about the new format, read the wiki page
<https://github.com/brndnmtthws/conky/wiki>
]];local function quote(s)
if not s:find("[\n'\\]") then
return "'" .. s .. "'";
end;
local q = '';
while s:find(']' .. q .. ']', 1, true) do
q = q .. '=';
end;
return string.format('[%s[\n%s]%s]', q, s, q);
end;local bool_setting = {
background = true, disable_auto_reload = true, double_buffer = true, draw_borders = true,
draw_graph_borders = true, draw_outline = true, draw_shades = true, extra_newline = true,
format_human_readable = true, no_buffers = true, out_to_console = true,
out_to_ncurses = true, out_to_stderr = true, out_to_x = true, override_utf8_locale = true,
own_window = true, own_window_argb_visual = true, own_window_transparent = true,
short_units = true, show_graph_range = true, show_graph_scale = true,
times_in_seconds = true, top_cpu_separate = true, uppercase = true, use_xft = true,
draw_blended = true, forced_redraw = true
};local num_setting = {
border_inner_margin = true, border_outer_margin = true, border_width = true,
cpu_avg_samples = true, diskio_avg_samples = true, gap_x = true, gap_y = true,
imlib_cache_flush_interval = true, imlib_cache_size = true,
max_port_monitor_connections = true, max_text_width = true, max_user_text = true,
maximum_width = true, mpd_port = true, music_player_interval = true, net_avg_samples = true,
own_window_argb_value = true, pad_percents = true, stippled_borders = true,
text_buffer_size = true, top_name_width = true, total_run_times = true,
update_interval = true, update_interval_on_battery = true, xftalpha = true,
xinerama_head = true,
};local split_setting = {
default_bar_size = true, default_gauge_size = true, default_graph_size = true,
minimum_size = true
};local colour_setting = {
color0 = true, color1 = true, color2 = true, color3 = true, color4 = true, color5 = true,
color6 = true, color7 = true, color8 = true, color9 = true, default_color = true,
default_outline_color = true, default_shade_color = true, own_window_colour = true
};local function alignment_map(value)
local map = { m = 'middle', t = 'top', b = 'bottom', r = 'right', l = 'left' };
if map[value] == nil then
return value;
else
return map[value];
end;
end;local function handle(setting, value)
setting = setting:lower();
if setting == '' then
return '';
end;
if split_setting[setting] then
local x, y = value:match('^(%S+)%s*(%S*)$');
local ret = setting:gsub('_size', '_width = ') .. x .. ',';
if y ~= '' then
ret = ret .. ' ' .. setting:gsub('_size', '_height = ') .. y .. ',';
end;
return '\t' .. ret;
end;
if bool_setting[setting] then
value = value:lower();
if value == 'yes' or value == 'true' or value == '1' or value == '' then
value = 'true';
else
value = 'false';
end;
elseif not num_setting[setting] then
if setting == 'alignment' and value:len() == 2 then
value = alignment_map(value:sub(1,1)) .. '_' .. alignment_map(value:sub(2,2));
elseif colour_setting[setting] and value:match('^[0-9a-fA-F]+$') then
value = '#' .. value;
elseif setting == 'xftfont' then
setting = 'font';
end;
value = quote(value);
end;
return '\t' .. setting .. ' = ' .. value .. ',';
end;local function convert(s)
local setting, comment = s:match('^([^#]*)#?(.*)\n$');
if comment ~= '' then
comment = '--' .. comment;
end;
comment = comment .. '\n';
return handle(setting:match('^%s*(%S*)%s*(.-)%s*$')) .. comment;
end;local input;
local output;if conky == nil then --> standalone program
-- 1 arg: arg is input and outputfile
-- 2 args: 1st is inputfile, 2nd is outputfile
-- 0, 3 or more args: print usage to STDERR and quit
if #arg == 1 or #arg == 2 then
if os.execute('command -v dos2unix 2&>1') then
os.execute('dos2unix ' .. arg[1]);
end
input = io.input(arg[1]);
else
io.stderr:write(usage);
return;
end;
else
-- we are called from conky, the filename is the first argument
input = io.open(..., 'r');
end;local config = input:read('*a');
input:close();local settings, text = config:match('^(.-)TEXT\n(.*)$');
local converted = 'conky.config = {\n' .. settings:gsub('.-\n', convert) .. '};\n\nconky.text = ' ..
quote(text) .. ';\n';if conky == nil then
if #arg == 2 then
output = io.output(arg[2]);
else
output = io.output(arg[1]);
end
output:write(converted);
output:close();
else
return assert(loadstring(converted, 'converted config'));
end;
Dann mit dem befehl: sudo lua /usr/share/doc/conky-1.11.5_pre/convert.lua .conkyrc .conkyrc-neu
die umgewandelt, die alte .conkyrc gelöscht und conkyrc-neu in .conkyrc umbenannt.
Das im Bugreport kapier ich nicht ganz denn er sagt er hat das loadstring zu load geändert, loadstring ist mit STRG+F ganz unten und wenn ich das veränder in nur load, klappt nicht und in load string auch nicht.. bin aber auch kein programmierer ^^
hatte /.config/conky/conky.conf erstellt, keine veränderung.
Das schwarze fenster hatte schon inhalt wie cpu usw kommt aber nur wenn ich im terminal sudo conky eingebe und verschwindet wieder
Andere fehlermeldung steht leider nicht wenn es verschwindet. nur beim start
conky: no personal or system-wide config file found, using builtin default
Als desktop verwende ich Xfce4.
Hatte früher bei arch linux auch immer conky und nie probleme, keine ahnung was ich hier verbockt hab
Hatte mal versucht anderen composite zu benutzen weil unter xfce4 alles bisschen laggy war wenn komposite an war.. aber mittlerweile alles runtergeschmissen und benutze wieder xfwm4 als komposite.
Edit: mkdir -p ~/.config/conky && conky --print-config > ~/.config/conky/conky.conf .. jetzt zeigt er das standartfenster auch ohne sudo. es verschwindet trozdem wieder wenn ich mit der maus da dran bin
Edit2 : conky --config=.conkyrc
Ha! Jetzt zeigt er es auf dem desktop an und es verschwindet nichtmehr und gibt keine fehler aus ?! check ich zwar nicht ganz aber läuft
Der Conky Manager geht bloß noch nicht. Wäre aber nicht das schlimmste muss ich mich halt mit der config beschäftigen.
mfg
Beitrag geändert von Sm0k3rr (23.10.2020 02:51:19)
Offline