Lemdro.id

2,445 readers
11 users here now

Our Mission 🚀

Lemdro.id strives to be a fully open source instance with incredible transparency. Visit our GitHub for the nuts and bolts that make this instance soar and our Matrix Space to chat with our team and access the read-only backroom admin chat.

Community Guidelines

We believe in maintaining a respectful and inclusive environment for all members. We encourage open discussion, but we do not tolerate spam, harassment, or disrespectful behaviour. Let's keep it civil!

Get Involved

Are you an experienced moderator, interested in bringing your subreddit to the Fediverse, or a Lemmy app developer looking for a home community? We'd be happy to host you! Get in touch!

Quick Links

Lemdro.id Interfaces 🪟

Our Communities 🌐

Lemmy App List 📱

Chat and More 💬

Instance Updates

!lemdroid@lemdro.id

founded 3 years ago
ADMINS

Join our Matrix Space!

1
 
 

Start your journey into the Fediverse by subscribing to our starter communities. We're actively working with subreddit communities and moderators on their transition over.

Our Mission

Lemdro.id strives to be a fully open source instance with incredible transparency. Visit our GitHub for the nuts and bolts that go into making this instance soar and our Matrix Space to chat with our team and access the read-only backroom admin chat.

Interfaces

Our Communities

Other Neat Communities

Seeking Experienced Mods

Are you interested in exploring options to migrate your tech subreddit to the Fediverse in a way that supports decentralization or are you an experienced moderator who is interested in joining one of our mod teams? Get in touch!

A Fediverse home for developers

Are you developing a Lemmy app and looking for a home community for your project? Get in touch!

2
 
 
3
 
 
4
5
 
 
6
15
9/15 (lemmy.dbzer0.com)
submitted 41 minutes ago by Grainne@lemmy.dbzer0.com to c/mop@quokk.au
 
 
7
 
 
8
9
17
submitted 55 minutes ago* (last edited 51 minutes ago) by A_norny_mousse@piefed.zip to c/linux@lemmy.ml
 
 

I switched from 10 years of Openbox to KDE Plasma. This also means from Xorg to wayland.

Plasma is great, it has almost everything. One thing I'm missing (until I'm able to write my own plasmoids/widgets) is what conky provides: a constantly updating overview of my top processes, what's eating resources.

If you ever tried to hack your own conky you must know how fragile it can be. Plus, it's even more fragile on wayland. Most people run it in Xwayland, many unwittingly, but that didn't work for me either.
Let's not dwell on these things (more than a decade of faffing around with conky. It usually runs stable once it's set up, but getting there is beyond painful).

Every time I thought I had it running stably without freezing or disappearing, something new happened... aaaarrrgghh

Until I decided fuck it, I'll run it in the terminal. Much more stable. And with Konsole* & Kwin I can make it look really good.

* I tried it with Alacritty first, but it flickers!


The workflow, if you are interested:

  • First the conky config itself
#!/usr/bin/lua  
conky.config = {  
	background = false,  

	out_to_x = false,  
	out_to_console = true,  
	out_to_ncurses = true,  
	out_to_stderr = false,  
	out_to_wayland = false,  

	console_bar_unfill = '-',  
	console_bar_fill = '@',  
	text_buffer_size = 1024;  
	use_spacer = 'left',  

	-------------------  
	update_interval = 3,  
	--------------------  

	total_run_times = 0,  

	cpu_avg_samples = 2,  
	diskio_avg_samples = 2,  
	net_avg_samples = 2,  
	no_buffers = true,  

-- 	max_text_width = 30, -- does nothing in console/ncurses  
	pad_percents = 3,  
	short_units = true,  
	format_human_readable = true,  
	if_up_strictness = address,  
	top_name_width = 22,  
	top_name_verbose=true,  
	override_utf8_locale = true,  
	default_color = 'blue',  
	color1 = 'green',  
	color2 = 'yellow',  
	color3 = 'red',  
};  

conky.text = [[  
${color1}Up:$color $uptime_short $color1 Kernel: $color$kernel  
$color2---------------------------------------------\  
${color1}RAM$color $mem/$memmax $memperc% ${membar 1,24}\  
${color1}SWP$color $swap/$swapmax $swapperc% ${swapbar 1,24}\  
${color1}CPU 1:$color ${freq_g 1}GHz  ${cpu cpu1}% $color${cpubar cpu1 1,24}\  
${color1}    2:$color ${freq_g 2}GHz  ${cpu cpu2}% ${cpubar cpu2 1,24}\  
${color1}    3:$color ${freq_g 3}GHz  ${cpu cpu3}% ${cpubar cpu3 1,24}\  
${color1}    4:$color ${freq_g 4}GHz  ${cpu cpu4}% ${cpubar cpu4 1,24}\  
$color2---------------------------------------------\  
${color1}Load    1min: $color3${loadavg 1}$color1   5min:$color3 ${loadavg 2}$color1\  
   15min: $color3${loadavg 3}\  
$color2---------------------------------------------\  
${color1}FS root: $color${fs_used /}/${fs_size /} ${fs_bar 1,24 /}\  
${color1}FS data: $color${fs_used /home/ssd256_data}/${fs_size /home/ssd256_data}\  
 ${fs_bar 1,24 /home/ssd256_data}\  
$color2---------------------------------------------\  
${if_match "${execi 6 ~/.config/conky/sys/server_ping.sh}" == "0" }${if_up enp0s20u2}\  
${color1}USB ethernet      up:$color3${upspeedf enp0s20u2}K${color1}   \  
dn:$color3${downspeedf enp0s20u2}K\  
$color2---------------------------------------------\  
$else${if_up wlan0}  
${color1}WLAN       up:$color3${upspeed wlan0}K${color1}   \  
dn:$color3${downspeed wlan0}K  
$color2---------------------------------------------$endif$endif$endif\  
${color1}Name                        PID   CPU%   MEM%\  
${color}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}\  
${color}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}\  
${color}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}\  
${color}${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}\  
${color}${top name 5} ${top pid 5} ${top cpu 5} ${top mem 5}\  
${color}${top name 6} ${top pid 6} ${top cpu 6} ${top mem 6}\  
${color}${top name 7} ${top pid 7} ${top cpu 7} ${top mem 7}\  
$color2---------------------------------------------\  
${if_match "$mpd_status" == "Playing"}$color1${uppercase ${if_empty \  
$mpd_artist}$mpd_title$else$mpd_artist - $mpd_title$endif}$endif]]  
  • This is started with a small shell script (that needs to be registered via a desktop file in ~/.config/autostart):
#!/bin/sh  

sleep 3  
exec konsole --profile conky-tui --separate --qwindowtitle conky_tui_konsole\  
 -e /bin/rbash -c 'tput civis; conky -c ~/.config/conky/conky-tui.conf'  
  • I also created a konsole profile that must have the exact dimensions for this conky, i.e. 45 columns and 27 rows. The color scheme likely needs to be edited so that Background color is exactly the same as Color 1, because of transparency. You'll understand when you see it.

So far this gives us this:

conky-tui with borders

  • Now I right-click on the titlebar -> more actions -> special window settings. The window must be uniquely recognizable through its title 'conky_tui_konsole'. I remove borders, make it appear on all desktops, stay below, and put it in the position where I want it. It takes a while to understand the UI. In the end I get this extra entry in ~/.config/kwinrc (I love KDE! The combo of having a gui menu for everything, yet still simple editable config files is just 😙👌):
[uuid-uuid-uuid-uuid]  
Description=Window settings for conky_tui_konsole  
below=true  
belowrule=3  
desktops=\\0  
desktopsrule=3  
noborder=true  
noborderrule=3  
position=1200,24  
positionrule=3  
skippager=true  
skippagerrule=3  
skipswitcher=true  
skipswitcherrule=3  
skiptaskbar=true  
skiptaskbarrule=3  
title=conky_tui_konsole — Konsole  
titlematch=1  
types=1  
wmclass=konsole org.kde.konsole  
wmclasscomplete=true  

Voilá.

10
 
 
11
12
 
 
13
 
 

[Original in Russian. Automated translation with minimal edits.]

Military hospitals of Russia's Ministry of Defense are overcrowded due to the large number of wounded, so the participants of the “special operation” are increasingly treated and rehabilitated in ordinary civilian hospitals – free of charge and without queue. As found out “Voztak”, for those who fought in Ukraine there will be repurposed whole branches, which are given a special regime of secrecy. About the creation of such closed departments, doctors from St. Petersburg, Yaroslavl region and Siberia told the The Moscow Times.

At the end of May 2023, the authorities promised to transfer almost 5,000 beds to the Defense Ministry in 27 civilian hospitals in 11 regions, including Moscow, St. Petersburg, Rostov-on-Don and Sevastopol. However, this decision was not officially reported, and the list of hospitals is still unknown.

In the St. Petersburg research Institute of ambulance named after I. I. Janelidze, the first wounded arrived in June 2024, said the employee of the hospital. Then there opened two medical departments for war veterans at the site of intensive care and shock therapy. They were closed: they could only get inside by magnetic passes, and the staff of these offices were isolated from the rest of the staff. The war participants occupied about 60-70 beds.

In one of the hospitals of the Yaroslavl region, according to medical workers, since 2024, there are also two closed departments for war veterans - about 60-70 places each. The traumatologist of one of the city hospitals in Siberia said that doctors and nurses of the departments where the “heroes of the SVO” lie sign non-disclosure documents. “All documentation is also closed. Even on the medical history there is no name, surname and patronymic, there is only a number, she explained.

The anesthesiologist of the Kirov Military Medical Academy in St. Petersburg said that the bed fund of one of the departments is designed for 40 people, but now up to 86 patients are taken simultaneously there. According to him, after the outbreak of a full-scale war, additional beds were installed in the corridors, and mattresses were placed in the wards instead of beds. The shortage of places, says the anesthesiologist, is observed not only in other hospitals in St. Petersburg, but also throughout the country.

...

According to the calculations of “Tak”, now in Russia there are at least 58.3 thousand beds in military medical institutions. Almost 1 million wounded can be treated there every year, but there are still not enough places.

...

According to doctors interviewed by the publication, the appearance of the military in civilian hospitals affects the availability of medical care for other patients: it becomes more difficult for them to get to specialists. Citizens can still receive emergency assistance, but there are problems with planned assistance.

...

Doctor and lawyer in the field of human rights Konstantin Boykov notes that the participants of the “SVO” are now a priority, but the number of doctors has not increased. “And in live queues, people are sitting waiting for help, suffering, and suddenly someone comes in out of line. This, of course, causes irritation and social tension, he said.

Civilian medics, with whom I spoke, say that hospital staff are unhappy with the appearance of patients from the front due to drunken brawls, thefts and even shootings. So, in April in the Alexander hospital of St. Petersburg conflict between two patients — “heroes of the SVO” — ended in shooting. In September, one soldier stabbed another in the stomach at Peter the Great Hospital. Another wounded soldier, Vladlen Metzler, was discharged from the I.I. Janelidze Research Institute of Ambulance after fights and conflicts with patients and doctors. “Drunk, prostitutes are called. Sometimes they get mad. They give someone money and let them pass, one of the doctors describes the situation in the St. Petersburg Research Institute of Ambulance named after I. I. Janelidze. “Drink, steal. In our department, the TV was stolen, sold, got drunk, says a doctor from the Yaroslavl region.

According to the Center for Strategic and International Studies (CSIS), the total losses of the Russian army during the full-scale war by June this year amounted to 1.4 million people. Of this number, at least 450,000 people were killed, the rest were seriously injured or missing.

...

Archived

14
15
 
 
16
17
4
submitted 27 minutes ago* (last edited 26 minutes ago) by Jonawan@lemmy.zip to c/politics@lemmy.world
18
19
 
 
20
 
 
21
 
 
22
 
 

What was previously known as 'The Milky Way" is now 'The American Way'.

Thank you for your attention to this matter.

23
 
 

Cassuto [Zionist Federation of Australia’s CEO] says he got what he wanted because Mary had already issued a qualified apology. He leaves out the timing. She made that apology before he went to the Federal Court. He called it insincere and sued anyway. Two years on, he points to the same apology as his reason for stopping. That is a man looking for the exit.

Call it what it was. This was lawfare. The court process was the weapon, and the target was wider than one journalist.

Every editor and journalist with something to say about Israel was meant to be watching.

From the outside, each move looks separate. A complaint here. A referral there. A story in a friendly newspaper, then a writ. Put them side by side, and you see a structure built to make criticism of Israel expensive enough that most people decide it is not worth the trouble.

The letters are polite. The threat underneath is not. Legal bills keep arriving, and behind them the possibility of losing everything. A case like this does not need to succeed to do its job. Once defending your own words puts your house at risk, the process is the punishment.

24
 
 
25
83
9/11 (i.redd.it)
submitted 2 hours ago* (last edited 2 hours ago) by ooli3@sopuli.xyz to c/imgoingtohellforthis@sopuli.xyz
 
 
view more: next ›