brndnmtthws/conky

[Bug]: $desktop variable not changing when switching desktops Linux Mint

Open

#1,954 创建于 2024年6月2日

在 GitHub 查看
 (5 评论) (0 反应) (1 负责人)C++ (6,472 star) (604 fork)batch import
bugdisplay: x11good first issue

描述

What happened?

i have been upgrading religiously, on 1.21.2 now. running linux mint 21.3. i have an nvidia video card, using nvidia drivers. i noticed suddenly (so i dont know when it started) that the $desktop variable is not changing. if you start conky while on desktop 2 it picks up desktop 2, but that doesnt change when switching desktops.

Version

1.21.2

Which OS/distro are you seeing the problem on?

Ubuntu

Conky config

conky.config = {
 
	background = true,
	update_interval = 1,
	cpu_avg_samples = 2,
	net_avg_samples = 2,

	override_utf8_locale = true,
	double_buffer = true,

	text_buffer_size = 1280,
	imlib_cache_size = 0,

--############################
-- - Window specifications - #
--############################
	own_window_class = 'Conky',
	own_window = true,
	own_window_type = 'desktop',
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	border_inner_margin = 0,
	border_outer_margin = 5,

	own_window_transparent = false,
	own_window_argb_visual = true,
	own_window_argb_value = 175,-- semi-transparent

	minimum_width = 275, minimum_height = 275,
	maximum_width = 275,

	alignment = 'top_right',
	xinerama_head = 1,

--########################
-- - Graphics settings - #
--########################
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = true,

	use_xft = true,
	font = 'Liberation Sans:size=11',
	xftalpha = 1,
	total_run_times = 0,
	temperature_unit = 'fahrenheit',
	if_up_strictness = 'address',

--own_window_argb_visual yes
--default_color 656667
	default_shade_color = '#000000',
	default_outline_color = '#828282',

	default_color = '#909090',
	alignment = 'top_right',
	gap_x = 15,
	gap_y = 25,

	uppercase = false,

--########### MPD stuff ################
-- MPD host/port
--	mpd_host = '192.168.1.26',
--	mpd_port = 6600,
--
};

conky.text = [[
S Y S T E M    I N F O   ${goto 170}${font LCDMono:bold:size=11}${color #ddaa00}DESK ${desktop}${font Liberation Sans:size=10}${color #656667}
${color #a0a0a0}${hr}
Host:${color darkgrey}$alignr$nodename${color darkgrey}

Stack trace

No response

Relevant log output

No response

贡献者指南