use conky on my ubuntu 24.04 was so easy - to edit the setup just type in terminal “gedit ~/.conkyrc” and tweak and save - any place for info on how to customize conky for Fedora?
and why can’t nautilus see the root stuff?
use conky on my ubuntu 24.04 was so easy - to edit the setup just type in terminal “gedit ~/.conkyrc” and tweak and save - any place for info on how to customize conky for Fedora?
and why can’t nautilus see the root stuff?
From that description, I am not sure what the issue is. If it is that your system doesn’t have gedit, try gnome-text-editor ~/.conkyrc. Gnome has replaced gedit with GNOME Text Editor in release 42 and according to its Wikipedia page, Ubuntu made the same change in release 22.10. However, if you upgraded from an earlier version to 24.04, it might have kept gedit, I don’t know.
Because GNOME?
By “root stuff”, I take it you mean /, not “files owned by root”? You can always hit Ctrl+L, type / + Enter, and then hit Ctrl+D to create a bookmark for it.
If you meant “working with root privileges”, you can try entering admin:// in the address bar instead.
It is also advisable that config files owned by root be edited using the terminal, and not graphical editors. nano comes preinstalled on Fedora.
I’m curios why you say this. Are you assuming bad things done by gui editors?
I don’t know about Mike’s reasons, but I don’t like running GUI applications with root privileges. Granted, that is less of an issue now with the separation offered by Wayland than it was with X11.
No, I don’t suspect any bad things from the GUI editors. I just consider it a good practice to go to the terminal when editing files owned by root, as to not make user mistakes while keeping either the GUI text editor, or the file browser, open as admin.
There are also limitations with the GUI approach. For instance on Silverblue (so Fedora Atomic), trying to save a file newly created with GNOME Text Editor into a folder owned by root will prompt for wheel user authentication, as expected, but saving will result in an error (maybe because of portal limitations). Opening nautilus as admin (admin://) and launching a file from there for editing purposes, works as expected though.
oops - my bad - forgot to do this first: “cp /etc/conky/conky.conf ~/.conkyrc”… now gedit ~/.conkyrc works!
Glad you found the solution.
It might help people who are trying to support you if you give a more details of your issue next time.
below is my current .conkyrc file (aka conky.conf). Works and looks great, but the network section only partly works:
-- Conky, a system monitor https://github.com/brndnmtthws/conky
--
-- This configuration file is Lua code. You can write code in here, and it will
-- execute when Conky loads. You can use it to generate your own advanced
-- configurations.
--
-- Try this (remove the `--`):
--
-- print("Loading Conky config")
--
-- For more on Lua, see:
-- https://www.lua.org/pil/contents.html
--
-- Conky Lua API: https://conky.cc/lua
-- Configuration settings: https://conky.cc/config_settings
conky.config = {
alignment = 'top_right',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
double_buffer = true,
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
extra_newline = false,
font = 'DejaVu Sans Mono:size=12',
gap_x = 10,
gap_y = 40,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_wayland = false,
out_to_x = true,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'normal',
own_window_argb_visual = true,
own_window_argb_value = 80,
own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
show_graph_range = false,
show_graph_scale = false,
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_spacer = 'none',
use_xft = true,
temperature_unit = 'fahrenheit',
}
-- Variables: https://conky.cc/variables
conky.text = [[
${time %r}${alignr}${time %d-%m-%y}
${voffset -8}${font sans-serif:bold:size=16}${alignc}${time %I:%M %p}${font}
${voffset 4}${alignc}${time %A %B %d, %Y}
${font}${voffset -4}
${color red}${font Ubuntu:bold:size=24}${voffset -14} *BLACKSTONE*
${color yellow}${font Ubuntu:bold:size=10}${voffset -18}◊SYSTEM ${hr 2}
${font sans-serif:normal:size=9}${voffset -8}$sysname $kernel $alignr $machine
Host:$alignr$nodename
Uptime:$alignr$uptime
File System: $alignr${fs_type}
Processes: $alignr ${execi 1000 ps aux | wc -l}
${color green}${font Ubuntu:bold:size=10}◊CPU ${hr 2}
${font sans-serif:normal:size=9}${voffset -8}${execi 1000 grep model /proc/cpuinfo | cut -d : -f2 | tail -1 | sed 's/\s//'}
${font sans-serif:normal:size=8}${voffset -8}${cpugraph cpu0}
CPU0: ${cpu cpu0}% ${cpubar cpu0}
${font sans-serif:normal:size=8}${voffset -8}${cpugraph cpu1}
CPU1: ${cpu cpu1}% ${cpubar cpu1}
${color lightblue}${font Ubuntu:bold:size=10}◊MEMORY ${hr 2}
${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
$membar
SWAP $alignc ${swap} / ${swapmax} $alignr ${swapperc}%
${swapbar}
${color lightgreen}${font Ubuntu:bold:size=10}◊DISK USAGE ${hr 2}
${font sans-serif:normal:size=8} $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
${color lightmagenta}${font Ubuntu:bold:size=10}◊CPU temperature ${hr 2}
${hwmon 1 temp 1}°F
${color orange}${font Ubuntu:bold:size=10}◊NETWORK ${hr 2}
#${font sans-serif:normal:size=8}Local IPs:${alignr}External IP:
#${execi 1000 ip a | grep inet | grep -vw lo | grep -v inet6 | cut -d \/ -f1 | sed 's/[^0-9\.]*//g'} ${alignr}${execi 1000 wget -q -O- http://ipecho.net/plain; echo}
${color light blue}${voffset -4}${font Ubuntu:bitalic:size=10}Local Area Network
${color lightgray}${font DejaVu Sans Mono:normal:size=8}${voffset -4}Down: ${downspeed enp0s25} ${alignr}Up: ${upspeed enp0s25}
${color green}${downspeedgraph enp0s25 20,150 } ${alignr}${voffset -4}${upspeedgraph enp0s25 20,150 }$color${voffset -4}
${color light blue}${font DejaVu Sans Mono:size=10}USB wifi ${color orange}${wireless_bitrate wlp0s29f7u4}
${color lightgray}${voffset -4}${font DejaVu Sans Mono:normal:size=8}Down: ${downspeed wlp0s29f7u4} ${alignr}Up: ${upspeed wlp0s29f7u4}
${color green}${downspeedgraph wlp0s29f7u4 15,150 } ${voffset 4} ${alignr}${upspeedgraph wlp0s29f7u4 15,150 }$color${voffset 4}
${color yellow}${wireless_essid wlp0s29f7u4} ${color red}${alignr}Signal: ${color orange}${wireless_link_qual_perc wlp0s29f7u4}% ${wireless_link_bar 4,100 wlp0s29f7u4}
${color light blue}${font DejaVu Sans Mono:size=10}PCI wifi ${color orange}${wireless_bitrate wlp2s0}
${color lightgray}${voffset -4}${font DejaVu Sans Mono:normal:size=8}Down: ${downspeed wlp2s0} ${alignr}Up: ${upspeed wlp2s0}
${color green}${downspeedgraph wlp2s0 15,150 } ${voffset 4} ${alignr}${upspeedgraph wlp2s0 15,150 }$color${voffset 4}
#${color blue}${font DejaVu Sans Mono:normal:size=8} ${voffset 5} Wireless» $hr${color green}
#${color yellow}${wireless_essid wlxe8de27a17927} ${color red}${alignr}Signal: ${color orange}${wireless_link_qual_perc wlxe8de27a17927}% ${wireless_link_bar 4,100 wlxe8de27a17927}
${color yellow}${wireless_essid wlp2s0} ${color red}${alignr}Signal: ${color orange}${wireless_link_qual_perc wlp2s0}% ${wireless_link_bar 4,100 wlp2s0}
${color cyan}${font DejaVu Sans Mono:size=12}◊TOP 8 PROCESSES ${hr 2}
${font sans-serif:normal:size=10}${voffset -8}Name $alignr PID CPU% MEM%${font sans-serif:normal:size=10}
${top name 1} $alignr ${top pid 1} ${top cpu 1}% ${top mem 1}%
${top name 2} $alignr ${top pid 2} ${top cpu 2}% ${top mem 2}%
${top name 3} $alignr ${top pid 3} ${top cpu 3}% ${top mem 3}%
${top name 4} $alignr ${top pid 4} ${top cpu 4}% ${top mem 4}%
${top name 5} $alignr ${top pid 5} ${top cpu 5}% ${top mem 5}%
${top name 6} $alignr ${top pid 6} ${top cpu 6}% ${top mem 6}%
${top name 7} $alignr ${top pid 7} ${top cpu 7}% ${top mem 7}%
${top name 8} $alignr ${top pid 8} ${top cpu 8}% ${top mem 8}%
]];
here’s what it looks like:
and as you can see the stuff on the usb and pci wifi is messed up - any ideas?
Are enp0s25 and wlp0s29f7u4 really your network interfaces?
I notice that you use both Ubuntu and DejaVu Sans fonts. This suggests that you are mixing your configuration from the previous Ubuntu installation with something else, since Fedora does not have the Ubuntu font in its packages.
In general, if something is not working, I suggest to start small with everything that is working. Then add the rest bit by bit and whenever something is not working, debug that particular part.
I used “ip a” to list, just like I did with Ubuntu’s conky and worked, to get these names:
3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether ae:29:bd:25:af:d1 brd ff:ff:ff:ff:ff:ff permaddr 00:1c:bf:b4:69:06
altname wlx001cbfb46906
inet 192.168.1.170/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp2s0
valid_lft 72950sec preferred_lft 72950sec
inet6 2600:1004:a122:f121:9204:894b:eb81:2c35/64 scope global dynamic noprefixroute
valid_lft 86334sec preferred_lft 14334sec
inet6 fe80::15b2:b508:954b:c520/64 scope link noprefixroute
valid_lft forever preferred_lft forever
4: wlp0s29f7u4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 22:38:86:f4:cd:d7 brd ff:ff:ff:ff:ff:ff permaddr e8:de:27:a1:79:27
altname wlxe8de27a17927
inet 192.168.1.171/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp0s29f7u4
valid_lft 72948sec preferred_lft 72948sec
inet6 2600:1004:a122:f121:df69:6a06:88c4:6dd8/64 scope global dynamic noprefixroute
valid_lft 86334sec preferred_lft 14334sec
inet6 fe80::6edb:3fc1:b2d3:9940/64 scope link noprefixroute
valid_lft forever preferred_lft forever
enp0s25 is for the LAN… and works - even the wifi ‘work’ as graphs and up/down info works, just not the signal strength and wireless info for some reason
and thanks for the font tip - got all the ubuntu fonts changed ![]()
Hmmm, at this point I am out of ideas, it’s not something I use myself. Can you get Conky to output some debug information?
don’t know how to debug anything - probably wouldn’t know how to find results either…
I don’t know how you are starting it, but according to the man page, running it with -D should increase debug output (with -DD for more debugging). You probably also need to leave off -q (quiet) in this case.
did notice this when launching conky via terminal:
$ conky -d
conky: desktop window (0x114) is root window
conky: window type - normal
conky: drawing to created window (0x800002)
conky: drawing to double buffer
conky: can’t parse color ‘lightmagenta’
conky: unknown variable ‘$wireless_bitrate’
conky: unknown variable ‘$wireless_essid’
conky: unknown variable ‘$wireless_link_qual_perc’
conky: unknown variable ‘$wireless_link_bar’
conky: unknown variable ‘$wireless_bitrate’
conky: unknown variable ‘$wireless_essid’
conky: unknown variable ‘$wireless_link_qual_perc’
conky: unknown variable ‘$wireless_link_bar’
conky: forked to background, pid is 14020
firebat@batgirl-E-475M:~$
conky: FOUND: wayland
conky: FOUND: x11
conky: FOUND: file
conky: FOUND: ncurses
conky: FOUND: console
conky: ‘GNOME’ wayland session running
the unknown variables are the ones not working… has this version of conky somehow different than the conky on my ubuntu?
Do you actually have 2 different wifi cards?
Note that often having 2 different adapters on the same LAN ip range can often cause network issues.
I see wlp2s0 has IP 192.168.1.170/24
and that wlp0s29v7u4 has 192.168.1.171/24.
Please post the output of lspci | grep -i network so we may see the actual hardware configs for wifi.
One LAN (net cable) plus two WLAN (one pci to a wifi extender, other usb to wifi on router) - all used for both my windows desktopinfo (conky for windows) and ubuntu conky, and all three work flawlesly, until fedora… well, here’s:
$ lspci | grep -i network
00:19.0 Ethernet controller: Intel Corporation 82566MC Gigabit Network Connection (rev 03)
02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
the 3945ABG is the pci, and not listed is the usb one: reports as QualcommAtheros AR9271 (but i actually a TP-LINK TL-WN722N)
problem seems to be the unrecognized variables that aren’t ‘working’ here but seem to be in variable documentation and work in ubuntu :-\
Using a Live boot of F43, I installed Conky from the F43 repo and noticed that the binary doesn’t include the “wireless_” variables, so I checked the source code and saw that Conky’s CMake options file (ConkyBuildOptions.cmake) disables wireless support by default, e.g.:
option(BUILD_WLAN “Enable wireless support” false)
Conky’s releases page includes an AppImage built on an Ubuntu host, but given the use of ncurses and other very common libraries, I figured it might work just fine on F43.
So using the AppImage package with your Conky config (verbatim except swapping in my Wi-Fi adapter’s device name), it worked just fine:
(I extracted the contents of “conky-ubuntu-22.04-x86_64-v1.22.3-release.AppImage” to check its /usr/bin/conkyand saw that it does include the “wireless_” variables, so the developer appears to have enabled all available options, which makes sense to cover the needs of a wide range of users who might choose the AppImage package over their distro’s repo packaage in order to get the latest version sooner.)
S W E E T!!!
…and looks SO GOOD ![]()
Will take your advice and do the same - report back later… and THANKS!!!
Jaim’
FYI, 2091210 – Conky packaged for Fedora 36 was not compiled to enable wireless objects.
And the upstream issue