LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   All Things KDE5/Plasma for Slackware Users. (https://www.linuxquestions.org/questions/slackware-14/all-things-kde5-plasma-for-slackware-users-4175670109/)

chrisretusn 09-04-2021 08:11 AM

Quote:

Originally Posted by ctrlaltca (Post 6281523)
In the meanwhile you can just grab these three files:

https://invent.kde.org/plasma/plasma...ge/contents/ui

and replace the ones in /usr/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui

You'll need to restart plasma for it to pick up the fix.

Spoiler: i'm the author of the patch

Ha, recognized the name. I looked at the patch and decided to wait on Slackware's next update. I will try this out. Thanks! :hattip:

marav 09-04-2021 09:09 AM

Quote:

Originally Posted by ctrlaltca (Post 6281523)
In the meanwhile you can just grab these three files:

https://invent.kde.org/plasma/plasma...ge/contents/ui

and replace the ones in /usr/share/plasma/plasmoids/org.kde.plasma.devicenotifier/contents/ui

You'll need to restart plasma for it to pick up the fix.

Spoiler: i'm the author of the patch

perfect
thanks

drgibbon 09-04-2021 10:09 AM

Quote:

Originally Posted by zeebra (Post 6281485)
Curiosity has me wondering if people around here use Akonadi and kdeconnect(kconnect?). So do you? And for what?

I'm trying to weight the pro's a con's a little bit, because those are the elements of KDE that I personally like the least, and I don't even use it anyways, so my view might be unreasonably negative.

No idea about Akonadi, but KDE Connect is excellent, I use it quite a bit for transferring files and sometimes for sharing the clipboard between desktop and phone.

chrisretusn 09-06-2021 05:40 AM

Quote:

Originally Posted by ctrlaltca (Post 6281523)
Spoiler: i'm the author of the patch

As expected, works. I make a slackware package to do the patch so I can distribute among my other computers and quickly "unfix" when it's incorporated in the next version.

Out of curiosity, you may or may not know but, why aren't these devices simply unmounted. It really annoying to have to remove and reinsert a device if you find you need to mount it again?

richarson 09-06-2021 12:13 PM

Quote:

Originally Posted by zeebra (Post 6281485)
Curiosity has me wondering if people around here use Akonadi and kdeconnect(kconnect?). So do you? And for what?

I'm trying to weight the pro's a con's a little bit, because those are the elements of KDE that I personally like the least, and I don't even use it anyways, so my view might be unreasonably negative.

akonadi is not something you use, but it's a daemon needed/used by some applications, PIM mainly but I don't know if other apps make use of it.
In my case I use kmail and korganizer pretty heavily and akonadi is a bit of a nuisance but I learned to live with it :)
At least it's not the nightmare it was at the beginning :)

kdeconnect on the other hand is super useful to connect my various mobile devices to my laptop.

BTW: are you sure you meant kdeconnect and not baloo, the file indexer? It seems more related to akonadi than kdeconnect.

Cheers!

ctrlaltca 09-06-2021 12:20 PM

Quote:

Originally Posted by chrisretusn (Post 6282052)
As expected, works. I make a slackware package to do the patch so I can distribute among my other computers and quickly "unfix" when it's incorporated in the next version.

Out of curiosity, you may or may not know but, why aren't these devices simply unmounted. It really annoying to have to remove and reinsert a device if you find you need to mount it again?

The devicenotifier applet calls the "unmount" method of solid, the kde framework that handles hardware.
It looks like solid always tries to eject / poweroff devices after unmount:
https://invent.kde.org/frameworks/so...ccess.cpp#L222
So right now there's no way from the applet to umount the device without killing it.

zeebra 09-06-2021 04:28 PM

Quote:

Originally Posted by richarson (Post 6282160)
akonadi is not something you use, but it's a daemon needed/used by some applications, PIM mainly but I don't know if other apps make use of it.
In my case I use kmail and korganizer pretty heavily and akonadi is a bit of a nuisance but I learned to live with it :)
At least it's not the nightmare it was at the beginning :)

kdeconnect on the other hand is super useful to connect my various mobile devices to my laptop.

BTW: are you sure you meant kdeconnect and not baloo, the file indexer? It seems more related to akonadi than kdeconnect.

Cheers!

Well, you do use Akonadi if.. And I don't if, I else, so I don't use it at all.
I did mean kdeconnect or kconnect or whatever it's called. I don't use that either. I had the impression it's mostly for mobile phones of the apple and google type, but clearly it's used for other things too as explained here by others.

Baloo is relevant too yes. Didn't think of that one.

richarson 09-06-2021 05:56 PM

Quote:

Originally Posted by zeebra (Post 6282206)
Well, you do use Akonadi if.. And I don't if, I else, so I don't use it at all.

Fair enough :)

Quote:

Originally Posted by zeebra (Post 6282206)
I did mean kdeconnect or kconnect or whatever it's called. I don't use that either. I had the impression it's mostly for mobile phones of the apple and google type, but clearly it's used for other things too as explained here by others.

Baloo is relevant too yes. Didn't think of that one.

kdeconnect started life as a KDE<->Android conector but was then ported to iOS, Plasma Mobile, Sailfish, Gnome, etc.

And at some point it also got PC<->PC capabilities, though I haven't used it that way.

RadicalDreamer 09-06-2021 09:44 PM

I'm having issues burning data to a bluray with k3b.
I set it to burn at 4x but it isn't obeying and I end up with a "Fatal error during recording: Input/output error." It is burning around 1.8/1.7x instead.
Code:

Used versions
-----------------------
mkisofs: 3.1-fix-20151126
growisofs: 7.1

growisofs
-----------------------
Executing 'builtin_dd if=/dev/fd/0 of=/dev/sr0 obs=32k seek=0'
/dev/sr0: pre-formatting blank BD-R for 24.8GB...
/dev/sr0: "Current Write Speed" is 4.1x4390KBps.
  45875200/21995444224 ( 0.2%) @1.8x, remaining 55:49 RBU 100.0% UBU  4.2%
  71106560/21995444224 ( 0.3%) @1.7x, remaining 51:23 RBU 100.0% UBU  98.6%
  98631680/21995444224 ( 0.4%) @1.8x, remaining 51:48 RBU 100.0% UBU  98.6%
  124944384/21995444224 ( 0.6%) @1.8x, remaining 49:35 RBU  99.9% UBU  98.6%
  151388160/21995444224 ( 0.7%) @1.8x, remaining 48:05 RBU 100.0% UBU  98.6%
  178913280/21995444224 ( 0.8%) @1.8x, remaining 48:46 RBU 100.0% UBU  98.6%
  205127680/21995444224 ( 0.9%) @1.7x, remaining 47:48 RBU 100.0% UBU  98.6%


chrisretusn 09-07-2021 01:57 AM

Quote:

Originally Posted by ctrlaltca (Post 6282161)
The devicenotifier applet calls the "unmount" method of solid, the kde framework that handles hardware.
It looks like solid always tries to eject / poweroff devices after unmount:
https://invent.kde.org/frameworks/so...ccess.cpp#L222
So right now there's no way from the applet to umount the device without killing it.

Thanks! I just looked through the Solid bug list, don't see anyone else complaining, guess it's just me. This has been around since the beginning I think, so it's not new. It is a minor yet somewhat annoying behavior for me at least. The hardest part about KDE is figuring out what Product/Component an issue belongs in. ;-)

zeebra 09-07-2021 03:01 AM

Quote:

Originally Posted by RadicalDreamer (Post 6282260)
I'm having issues burning data to a bluray with k3b.
I set it to burn at 4x but it isn't obeying and I end up with a "Fatal error during recording: Input/output error." It is burning around 1.8/1.7x instead.
Code:

Used versions
-----------------------
mkisofs: 3.1-fix-20151126
growisofs: 7.1

growisofs
-----------------------
Executing 'builtin_dd if=/dev/fd/0 of=/dev/sr0 obs=32k seek=0'
/dev/sr0: pre-formatting blank BD-R for 24.8GB...
/dev/sr0: "Current Write Speed" is 4.1x4390KBps.
  45875200/21995444224 ( 0.2%) @1.8x, remaining 55:49 RBU 100.0% UBU  4.2%
  71106560/21995444224 ( 0.3%) @1.7x, remaining 51:23 RBU 100.0% UBU  98.6%
  98631680/21995444224 ( 0.4%) @1.8x, remaining 51:48 RBU 100.0% UBU  98.6%
  124944384/21995444224 ( 0.6%) @1.8x, remaining 49:35 RBU  99.9% UBU  98.6%
  151388160/21995444224 ( 0.7%) @1.8x, remaining 48:05 RBU 100.0% UBU  98.6%
  178913280/21995444224 ( 0.8%) @1.8x, remaining 48:46 RBU 100.0% UBU  98.6%
  205127680/21995444224 ( 0.9%) @1.7x, remaining 47:48 RBU 100.0% UBU  98.6%


That seems unfortunate. Sadly I haven't burnt disks in years. But perhaps the old saying still holds: try to burn it at the (near) lowest speed possible, and check if that changes anything. And well, also back in the days, some disks were just bad quality, and would not burn properly, while other ones would.

RadicalDreamer 09-07-2021 01:55 PM

Quote:

Originally Posted by zeebra (Post 6282302)
That seems unfortunate. Sadly I haven't burnt disks in years. But perhaps the old saying still holds: try to burn it at the (near) lowest speed possible, and check if that changes anything. And well, also back in the days, some disks were just bad quality, and would not burn properly, while other ones would.

Thanks for the reply. 4x is the lowest option the burner gives me. I always burn at 4x. I successfully burned stuff a few weeks ago with these discs.

I looked at the log and found more information. It fails at verifying the disc but I know something is wrong when it is burning half the speed it should.
Code:

21943222272/21995444224 (99.8%) @1.7x, remaining 0:06 RBU 100.0% UBU  98.6%
/dev/sr0: flushing cache
/dev/sr0: closing track
/dev/sr0: closing session
:-[ CLOSE SESSION failed with SK=5h/INVALID FIELD IN CDB]: Input/output error

growisofs command:
-----------------------
/usr/bin/growisofs -Z /dev/sr0=/dev/fd/0 -use-the-force-luke=notray -use-the-force-luke=tty -use-the-force-luke=4gms -use-the-force-luke=tracksize:10739963 -speed=4 -use-the-force-luke=bufsize:32m

mkisofs
-----------------------
mkisofs: Warning: Cannot add inode hints with -no-cache-inodes.
10739963
mkisofs: Warning: Cannot add inode hints with -no-cache-inodes.
Setting input-charset to 'UTF-8' from locale.
  0.00% done, estimate finish Mon Sep  6 21:49:28 2021
  0.01% done, estimate finish Mon Sep  6 21:49:28 2021
=== last message repeated 2 times. ===


enorbet 09-07-2021 02:21 PM

One effective cure for optical burn failure is ramping up the max laser power. Over doing it can cause early failure but if you keep your machine reasonably cool (ie have good, powered airflow) +10% is rarely a problem. Many brands offer fairly easy access to the firmware but some don't. It should be obvious to clean it first.

cwizardone 09-11-2021 08:40 AM

This week's new features, bug fixes and improvements,
https://pointieststick.com/2021/09/1...tion-of-stuff/

zeebra 09-14-2021 04:38 AM

Maybe it's interesting, maybe not. But when I ran
Code:

dbus-launch startplasma-wayland
the other day, I ran it twice in seperate tty's, and subsequently ran two seperate displays with two seperate KDE instances.

LuckyCyborg 09-14-2021 05:31 AM

Quote:

Originally Posted by zeebra (Post 6284045)
Maybe it's interesting, maybe not. But when I ran
Code:

dbus-launch startplasma-wayland
the other day, I ran it twice in seperate tty's, and subsequently ran two seperate displays with two seperate KDE instances.

BTW, the Slackware ships "startkwayland" for launching a Wayland/Plasma5 session from console command line.

And yeah, as could be expected, you can launch multiple sessions.

cwizardone 09-18-2021 08:00 AM

This week's new features, bug fixes and improvements (Wayland),
https://pointieststick.com/2021/09/1...ents-and-more/

Jeebizz 09-21-2021 01:50 PM

Today's updates:
Code:

Tue Sep 21 18:03:27 UTC 2021

kde/attica-5.86.0-x86_64-1.txz: Upgraded.
kde/baloo-5.86.0-x86_64-1.txz: Upgraded.
kde/bluez-qt-5.86.0-x86_64-1.txz: Upgraded.
kde/breeze-icons-5.86.0-noarch-1.txz: Upgraded.
kde/extra-cmake-modules-5.86.0-x86_64-1.txz: Upgraded.
kde/frameworkintegration-5.86.0-x86_64-1.txz: Upgraded.
kde/kactivities-5.86.0-x86_64-1.txz: Upgraded.
kde/kactivities-stats-5.86.0-x86_64-1.txz: Upgraded.
kde/kapidox-5.86.0-x86_64-1.txz: Upgraded.
kde/karchive-5.86.0-x86_64-1.txz: Upgraded.
kde/kauth-5.86.0-x86_64-1.txz: Upgraded.
kde/kbookmarks-5.86.0-x86_64-1.txz: Upgraded.
kde/kcalendarcore-5.86.0-x86_64-1.txz: Upgraded.
kde/kcmutils-5.86.0-x86_64-1.txz: Upgraded.
kde/kcodecs-5.86.0-x86_64-1.txz: Upgraded.
kde/kcompletion-5.86.0-x86_64-1.txz: Upgraded.
kde/kconfig-5.86.0-x86_64-1.txz: Upgraded.
kde/kconfigwidgets-5.86.0-x86_64-1.txz: Upgraded.
kde/kcontacts-5.86.0-x86_64-1.txz: Upgraded.
kde/kcoreaddons-5.86.0-x86_64-1.txz: Upgraded.
kde/kcrash-5.86.0-x86_64-1.txz: Upgraded.
kde/kdav-5.86.0-x86_64-1.txz: Upgraded.
kde/kdbusaddons-5.86.0-x86_64-1.txz: Upgraded.
kde/kdeclarative-5.86.0-x86_64-1.txz: Upgraded.
kde/kded-5.86.0-x86_64-1.txz: Upgraded.
kde/kdelibs4support-5.86.0-x86_64-1.txz: Upgraded.
kde/kdesignerplugin-5.86.0-x86_64-1.txz: Upgraded.
kde/kdesu-5.86.0-x86_64-1.txz: Upgraded.
kde/kdewebkit-5.86.0-x86_64-1.txz: Upgraded.
kde/kdnssd-5.86.0-x86_64-1.txz: Upgraded.
kde/kdoctools-5.86.0-x86_64-1.txz: Upgraded.
kde/kemoticons-5.86.0-x86_64-1.txz: Upgraded.
kde/kfilemetadata-5.86.0-x86_64-1.txz: Upgraded.
kde/kglobalaccel-5.86.0-x86_64-1.txz: Upgraded.
kde/kguiaddons-5.86.0-x86_64-1.txz: Upgraded.
kde/kholidays-5.86.0-x86_64-1.txz: Upgraded.
kde/khtml-5.86.0-x86_64-1.txz: Upgraded.
kde/ki18n-5.86.0-x86_64-1.txz: Upgraded.
kde/kiconthemes-5.86.0-x86_64-1.txz: Upgraded.
kde/kidletime-5.86.0-x86_64-1.txz: Upgraded.
kde/kimageformats-5.86.0-x86_64-1.txz: Upgraded.
kde/kinit-5.86.0-x86_64-1.txz: Upgraded.
kde/kio-5.86.0-x86_64-1.txz: Upgraded.
kde/kirigami2-5.86.0-x86_64-1.txz: Upgraded.
kde/kitemmodels-5.86.0-x86_64-1.txz: Upgraded.
kde/kitemviews-5.86.0-x86_64-1.txz: Upgraded.
kde/kjobwidgets-5.86.0-x86_64-1.txz: Upgraded.
kde/kjs-5.86.0-x86_64-1.txz: Upgraded.
kde/kjsembed-5.86.0-x86_64-1.txz: Upgraded.
kde/kmediaplayer-5.86.0-x86_64-1.txz: Upgraded.
kde/knewstuff-5.86.0-x86_64-1.txz: Upgraded.
kde/knotifications-5.86.0-x86_64-1.txz: Upgraded.
kde/knotifyconfig-5.86.0-x86_64-1.txz: Upgraded.
kde/kpackage-5.86.0-x86_64-1.txz: Upgraded.
kde/kparts-5.86.0-x86_64-1.txz: Upgraded.
kde/kpeople-5.86.0-x86_64-1.txz: Upgraded.
kde/kplotting-5.86.0-x86_64-1.txz: Upgraded.
kde/kpty-5.86.0-x86_64-1.txz: Upgraded.
kde/kquickcharts-5.86.0-x86_64-1.txz: Upgraded.
kde/kross-5.86.0-x86_64-1.txz: Upgraded.
kde/krunner-5.86.0-x86_64-1.txz: Upgraded.
kde/kservice-5.86.0-x86_64-1.txz: Upgraded.
kde/ktexteditor-5.86.0-x86_64-1.txz: Upgraded.
kde/ktextwidgets-5.86.0-x86_64-1.txz: Upgraded.
kde/kunitconversion-5.86.0-x86_64-1.txz: Upgraded.
kde/kwallet-5.86.0-x86_64-1.txz: Upgraded.
kde/kwayland-5.86.0-x86_64-1.txz: Upgraded.
kde/kwidgetsaddons-5.86.0-x86_64-1.txz: Upgraded.
kde/kwindowsystem-5.86.0-x86_64-1.txz: Upgraded.
kde/kxmlgui-5.86.0-x86_64-1.txz: Upgraded.
kde/kxmlrpcclient-5.86.0-x86_64-1.txz: Upgraded.
kde/modemmanager-qt-5.86.0-x86_64-1.txz: Upgraded.
kde/networkmanager-qt-5.86.0-x86_64-1.txz: Upgraded.
kde/oxygen-icons5-5.86.0-noarch-1.txz: Upgraded.
kde/plasma-framework-5.86.0-x86_64-1.txz: Upgraded.
kde/prison-5.86.0-x86_64-1.txz: Upgraded.
kde/purpose-5.86.0-x86_64-1.txz: Upgraded.
kde/qqc2-desktop-style-5.86.0-x86_64-1.txz: Upgraded.
kde/solid-5.86.0-x86_64-1.txz: Upgraded.
kde/sonnet-5.86.0-x86_64-1.txz: Upgraded.
kde/syndication-5.86.0-x86_64-1.txz: Upgraded.
kde/syntax-highlighting-5.86.0-x86_64-1.txz: Upgraded.
kde/threadweaver-5.86.0-x86_64-1.txz: Upgraded.


USUARIONUEVO 09-22-2021 10:39 AM

We have this bug too , but people here say not ..when i noticed i ask here , all say no have this issue , but we have, im pretty sure.

https://bugs.kde.org/show_bug.cgi?id=440663

https://invent.kde.org/system/dolphi...e_requests/261

There is the exact commit is supposed to fix, ..

https://github.com/KDE/dolphin/commi...3998ea5dc395a0

EDIT: I test latest ,master from dolphin , and is not fixed.

gegechris99 09-22-2021 04:25 PM

Quote:

Originally Posted by USUARIONUEVO (Post 6286133)
We have this bug too , but people here say not ..when i noticed i ask here , all say no have this issue , but we have, im pretty sure.

According to the comment in the fix commit, the issue appears when using Wayland:
Quote:

DBus activation with filemanager iface
In Dolphin on wayland currently, if you right clicks a file and create a
zip file from it, Dolphin makes a new window.
What we want to happen is Dolphin to focus the window we have with the
file selected.

This patches Dolphin's dbusinterface.cpp to call
KWindowSystem::setCurrentXdgActivationToken()
with the startupID
I don't run Plasma on Wayland and I don't have the issue.

USUARIONUEVO 09-22-2021 05:23 PM

Im not run plasma under wayland session and im pretty sure , we have the bug.

In dolphin , preferences startup , you have a option called something like

"open new folder in a new tab"

Then after extract if you enabled this have a new tab , ...but if extract again ..you win another new tab ,,and other ,and other ..

If you uncheck this , then win new dolphin instance with the directory you extract the compressed file , if extract again , you win another instance ... and other and other ...every time.

But is strange cause i can fix this issue , turned back to ark-21.04 branch , all start failing since ark 21.08.

I see commit in ark , removing json code , he say unnecessary , but ...i suspect ark mantainer break some plugin removing json code.

And of course , i remove my personal preferences in .config and .local , we have , cause all distros up to 21.04 have it.

Jeebizz 09-23-2021 12:30 AM

1 Attachment(s)
So.... I am beginning to rethink my decision in using Plasma5, seems this latest update is a bit on the heavy side. I did a full install of --Current updated to today's chanelog:
Code:

Wed Sep 22 18:45:12 UTC 2021
a/kernel-generic-5.14.7-x86_64-1.txz: Upgraded.
a/kernel-huge-5.14.7-x86_64-1.txz: Upgraded.
a/kernel-modules-5.14.7-x86_64-1.txz: Upgraded.
ap/sudo-1.9.8p2-x86_64-1.txz: Upgraded.
d/kernel-headers-5.14.7-x86-1.txz: Upgraded.
d/python-setuptools-58.1.0-x86_64-1.txz: Upgraded.
k/kernel-source-5.14.7-noarch-1.txz: Upgraded.
l/neon-0.32.1-x86_64-1.txz: Upgraded.
n/ca-certificates-20210922-noarch-1.txz: Upgraded.
n/curl-7.79.1-x86_64-1.txz: Upgraded.
n/nghttp2-1.45.1-x86_64-1.txz: Upgraded.
x/xterm-369-x86_64-1.txz: Upgraded.
isolinux/initrd.img: Rebuilt.
kernels/*: Upgraded.
usb-and-pxe-installers/usbboot.img: Rebuilt.
+--------------------------+

Although the last KDE update for Slackware was the day before. Anyways, running KDE with nothing removed and well imo it is getting up there now with memory usage. I was fine with 600+MB or so.. but now we are pretty much pushing a 1GB, I haven't really done anything other than open Konsole. Again I know I know this is KDE , but....I can just as much use MATE to get a desktop experience - (can't wait for a --Current/15.0 MATE 1.26 then...)


marav 09-24-2021 08:17 AM

The winner of the wallpaper contest for plasma 5.23

https://kde.org/announcements/plasma...3.0/patak.webp

mlangdn 09-24-2021 09:39 AM

Decent look, but does nothing for me.

z80 09-25-2021 10:19 AM

Quote:

Originally Posted by Jeebizz (Post 6286288)
Although the last KDE update for Slackware was the day before. Anyways, running KDE with nothing removed and well imo it is getting up there now with memory usage. I was fine with 600+MB or so.. but now we are pretty much pushing a 1GB, I haven't really done anything other than open Konsole. Again I know I know this is KDE , but....I can just as much use MATE to get a desktop experience - (can't wait for a --Current/15.0 MATE 1.26 then...)

This is not a problem with Plasma. I get similar memory usage when starting XFCE.

Jeebizz 09-25-2021 10:58 AM

Quote:

Originally Posted by z80 (Post 6286825)
This is not a problem with Plasma. I get similar memory usage when starting XFCE.

Really?! And XFCE is supposed to be 'lightweight' compared to something like KDE. I wonder if MATE 1.26 will be this heavy on Slackware 15... I'll have to then probably take a look again at LXQT then even. I'm kinda in the middle, much too lazy to use something like xmonad or other tiling WMs, and even too lazy for Fluxbox or OpenBox - for a time LXDE was a good compromise I felt, not too heavy and for me offered the full "desktop experience." Hell I'll have to even look at Cinnamon now if / when there are packages available for 15.0 when it is ready.

Again if I wouldn't mind even using MWM, doesn't even reach 200MB of usage, but customizing and configuring it again seems like a pain, and tried to follow the man pages but..... tl;dr , mostly.

cwizardone 09-25-2021 11:24 AM

This week's new features, bug fixes and improvements,
https://pointieststick.com/2021/09/2...a-on-the-move/

enorbet 09-26-2021 08:33 PM

Anybody know why some Plasma "get new features foo" in System Settings fails with QT error
Code:

  QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-fooUser
when /tmp/runtime-User exists?

LuckyCyborg 09-27-2021 01:58 AM

Quote:

Originally Posted by enorbet (Post 6287146)
Anybody know why some Plasma "get new features foo" in System Settings fails with QT error
Code:

  QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-fooUser
when /tmp/runtime-User exists?

Because you have somehow XDG_RUNTIME_DIR not set? How you managed this?

Code:

vanya@darkstar:~# echo $XDG_RUNTIME_DIR
/run/user/1000
vanya@darkstar:~#


pm_a_cup_of_tea 09-27-2021 02:59 AM

Keyboard layout
 
Hi, I am sorry if this is a bit of a stupid question but I am having trouble with changing my keyboard layout in KDE.

Usually I am an XFCE4 user but yesterday I decided to spend an evening having a look at KDE. I went through all the settings, playing around with how I could configure it. All was going smoothly until I got to "Input Devices". I changed my layout from English(US) to English(UK) and removed the (US) entry but I'm still stuck on a US keyboard. I added a shortcut too thinking it might prompt KDE to switch layouts but no success. Outside of X11, on a tty, my keyboard is as it should be and XFCE4 is happy for it to be British.

Am I missing something really simple?

pm_a_cup_of_tea 09-27-2021 05:44 AM

Quote:

Originally Posted by pm_a_cup_of_tea (Post 6287177)
Am I missing something really simple?

It would seem I needed to activate 'Startup and Shutdown' > 'Background Services' > 'Keyboard Deamon'...

...I think...

..Nevertheless its working. My apologies for the interrupt

enorbet 09-27-2021 09:06 AM

Quote:

Originally Posted by LuckyCyborg (Post 6287172)
Because you have somehow XDG_RUNTIME_DIR not set? How you managed this?

Code:

vanya@darkstar:~# echo $XDG_RUNTIME_DIR
/run/user/1000
vanya@darkstar:~#


I didn't originally know to do that (if I'm not mistaken XDG is new with Pam/elogind) but I don't ask questions here without researching first so I have run that exact command and still on some apps get that error message. In researching it I see that the problem isn't very common but it does exist. It doesn't prevent anything crucial so far but it is a wrinkle I prefer to iron out.

FWIW I'm far more concerned why in Dolphin and System Settings trying to do something that requires elevated privileges, a login prompt is not popped up... but that, too, isn't a huge deal... there are workarounds. It's just curiosity.

Jeebizz 10-01-2021 12:19 PM

So I accept that KDE is just going to start with 1GB from a cold start sooner or later, after startx finishes - right now it clocks in at 915M according to htop.

I just checked XFCE, cold started again - start x , and htop reports 835M -- I think at this point XFCE can no longer be considered "lightweight" as it seems just barely below Plasma5.

This is all on --Current all up to day's updates on Fri Oct 1. I'll have to now look back to MATE 1.24 (no 1.26 packages I have seen yet), or reluctantly go to LXQT.

marav 10-01-2021 12:35 PM

Quote:

Originally Posted by Jeebizz (Post 6288159)
So I accept that KDE is just going to start with 1GB from a cold start sooner or later, after startx finishes - right now it clocks in at 915M according to htop.

I just checked XFCE, cold started again - start x , and htop reports 835M -- I think at this point XFCE can no longer be considered "lightweight" as it seems just barely below Plasma5.

This is all on --Current all up to day's updates on Fri Oct 1. I'll have to now look back to MATE 1.24 (no 1.26 packages I have seen yet), or reluctantly go to LXQT.

After a cold boot:
Code:

blackstar :: ~ » free -m                   
              total      used      free    shred  cached  available
Mem:          15417        679      13973          13        764      14449

just by disabling some unwanted stuff under plasma settings / autostart and akonadi

Jeebizz 10-01-2021 12:41 PM

Quote:

Originally Posted by marav (Post 6288167)
After a cold boot:
Code:

blackstar :: ~ » free -m                   
              total      used      free    shred  cached  available
Mem:          15417        679      13973          13        764      14449

just by disabling some unwanted stuff under plasma settings / autostart and akonadi

I always remove Akonadi (advanced slackware install and uncheck Akonadi) - but I am keen to ask, what did you disable to slim down KDE ?

marav 10-01-2021 01:21 PM

3 Attachment(s)
Quote:

Originally Posted by Jeebizz (Post 6288170)
I always remove Akonadi (advanced slackware install and uncheck Akonadi) - but I am keen to ask, what did you disable to slim down KDE ?


mainly, in my .config/autostart/ (Hidden=true)
Code:

fcitx-autostart.desktop
org.kde.korgac.desktop

in /etc/rc.d : nothing more than a fresh&clean install

And from plasma settings /startup & shutdown / background service:
Code:

free space notifier
input actions
kmix daemon
ksysguard
network proxy
plasma browser integration
remote url
removable device
wacom tablet
write daemon

My autostart programs:
a very small conky (showing only the slackware logo at the bottom right + kernel version + ram used)
yakuake

EDIT : the 2nd screenshot, after a restart (661 Mo)
the conky memory command line:
Code:

free -h | awk '/Mem/,$0=$3' | sed 's/\(.\)i$/ \1/'
EDIT2 : ps faux in attach.

As you can see I like things uncluttered...
I trust Patrick to do things cleaner than me. So I try to keep the installation as close as possible to a fresh install

cwizardone 10-02-2021 06:53 AM

"Getting Plasma 5.23 Ready For Release"
This week's new features, bug fixes and improvements,
https://pointieststick.com/2021/10/0...y-for-release/

enorbet 10-02-2021 11:28 AM

It really matters little which DE one chooses regarding resource usage. Far more important and effective is what services one allows or desires. It's not at all difficult to get KDE pared WAY down, even below 500MB, as long as you don't want or use such services. In my case, I do hover around 1GB at idle because I keep akonadai, Time and Date, Weather, NM, Notifications,and ballo on autostart and add HP printing, Corsair keyboard lighting control, Conky, and more. I consider 1GB pretty light when compared to 16GB system RAM. 1/16th isn't too high a cost for those services to me.

I can still configure, compile and install a custom kernel in about 15 minutes on an i5 boxen.

Jeebizz 10-02-2021 12:22 PM

Quote:

Originally Posted by enorbet (Post 6288414)
It really matters little which DE one chooses regarding resource usage. Far more important and effective is what services one allows or desires. It's not at all difficult to get KDE pared WAY down, even below 500MB, as long as you don't want or use such services. In my case, I do hover around 1GB at idle because I keep akonadai, Time and Date, Weather, NM, Notifications,and ballo on autostart and add HP printing, Corsair keyboard lighting control, Conky, and more. I consider 1GB pretty light when compared to 16GB system RAM. 1/16th isn't too high a cost for those services to me.

I can still configure, compile and install a custom kernel in about 15 minutes on an i5 boxen.

Overall I agree; but then again some services to me are superfluous and I can live without - such as the bluetooth service on my desktop - I don't have bluetooth anything , so ... I don't need it. I am legit interested in trimming down KDE - and yes I realize that also kinda might go against the idea of a "fully featured" desktop environment - but at the same time - if there is something there that I don't use ever, well why shouldn't I get rid of it? I mean I also don't see myself using the kfloppy utility - sure its not using any memory other than disk space, unless I obviously launch it - but I don't have any kind of floppy drive so, bye to kfloppy. I realize also the next thing to eat RAM obviously is the god damned web browser, but oh well. I don't see myself using lynx or something like Midori either because unfortunately the web is bloated and just might not even work well in Midori or other more lightweight browsers.

-edit

I still wish I could just not have baloo installed - but Dolphin complains; but at least balooctl disable suffices. Still, at least I can still get away with just outright not installing Akonadi - because again, Akonadi can go fsck itself.

Jeebizz 10-04-2021 01:13 PM

Alright so dumb question then , why is there such a discrepancy between the memory usage displayed of htop or top vs free ? I went back in, and also confirmed that free shows around 600M used, but htop shows almost 1GB (1GiB) - so what gives? :scratch:

marav 10-04-2021 01:29 PM

Quote:

Originally Posted by Jeebizz (Post 6289041)
Alright so dumb question then , why is there such a discrepancy between the memory usage displayed of htop or top vs free ? I went back in, and also confirmed that free shows around 600M used, but htop shows almost 1GB (1GiB) - so what gives? :scratch:

The exact values are in /proc/meminfo
Then, It depends on how each program interprets them

for me, the closest values to /proc/meminfo are provided by free

Jeebizz 10-04-2021 02:46 PM

Quote:

Originally Posted by marav (Post 6289045)
The exact values are in /proc/meminfo
Then, It depends on how each program interprets them

for me, the closest values to /proc/meminfo are provided by free

If indeed that is so, then I am absolutely prepared to retract my negative comments about KDE then - still though (maybe this deserves its own thread perhaps I don't know) , but what do top/htop draw upon vs what free uses to display memory used/available? I am not an expert by no means, maybe still just an intermediate Linux user - but I think to someone also coming in new to Linux/Unix-like systems and using something like top/htop and not free - they would obviously think that was accurate vs what free says (assuming they never heard of or used free). I can then assume if free is accurate because /proc/meminfo is what is always accurate? If so, why doesn't htop/top draw upon that or maybe because there might be overhead from such programs?

I think also a lot of people will debate which is accurate unless we can get a definitive answer - if again indeed /proc/meminfo being pulled by free is deemed accurate , then it should also be stated as the defacto representation of memory (RAM) usage; other wise like me there will still be more confusion on this.

marav 10-04-2021 02:58 PM

Quote:

Originally Posted by Jeebizz (Post 6289064)
If indeed that is so, then I am absolutely prepared to retract my negative comments about KDE then - still though (maybe this deserves its own thread perhaps I don't know) , but what do top/htop draw upon vs what free uses to display memory used/available? I am not an expert by no means, maybe still just an intermediate Linux user - but I think to someone also coming in and using something like top/htop and not free - they would obviously think that was accurate vs what free says (assuming they never heard of or used free). I can then assume if free is accurate because /proc/meminfo is what is always accurate? If so, why doesn't htop/top draw upon that or maybe because there might be overhead from such programs?

I think also a lot of people will debate which is accurate unless we can get a definitive answer - if again indeed /proc/meminfo being pulled by free is deemed accurate , then it should also be stated as the defacto representation of memory (RAM) usage; other wise like me there will still be more confusion on this.

/proc/meminfo shows different values of your memory consumption.

free, top, htop are just frontends that interpret these values

you can make your own in bash or whatever, grep|awk|cut /proc/meminfo
and [memfree] = [memtotal] - [some values]
It just depends on the values you consider for [some values] : used, cached, shared, pages, files, etc ...
in a sense, there are no good or bad values

Jeebizz 10-04-2021 03:14 PM

Quote:

Originally Posted by marav (Post 6289066)
/proc/meminfo shows different values of your memory consumption.

free, top, htop are just frontends that interpret these values

you can make your own in bash or whatever, grep|awk|cut /proc/meminfo
and [memfree] = [memtotal] - [some values]
It just depends on the values you consider for [some values] : used, cached, shared, pages, files, etc ...
in a sense, there are no good or bad values

So I can only interpret that there is almost no real agreed upon standard - ok obviously lets say a GUI based program will show different results vs a commandline because the gui would be using more RAM just to be drawn , but I feel that if one is still getting different results in the commandline - then that will just cause confusion.

bassmadrigal 10-04-2021 03:59 PM

htop shows buffered as blue and cached memory as orange and combines all that as "memory usage". However, only the green is actual memory being used. Under free, buffers and cached are in a separate, but combined field (buff/cache). If you add the "used" and "buff/cached" from free, it should be the same as htop.

enorbet 10-04-2021 04:05 PM

Anyone here tried btop++?

marav 10-04-2021 04:14 PM

Quote:

Originally Posted by enorbet (Post 6289093)
Anyone here tried btop++?

I tried bpytop some time ago
very nice similar UI

https://pypi.org/project/bpytop/

richarson 10-04-2021 04:46 PM

Quote:

Originally Posted by Jeebizz (Post 6289069)
So I can only interpret that there is almost no real agreed upon standard - ok obviously lets say a GUI based program will show different results vs a commandline because the gui would be using more RAM just to be drawn , but I feel that if one is still getting different results in the commandline - then that will just cause confusion.

This URL might shed some light:

https://www.linuxatemyram.com/

It is/was especially useful with older versions of free which used to treat cached/buffers as used memory.

Cheers!

Jeebizz 10-04-2021 05:14 PM

Quote:

Originally Posted by bassmadrigal (Post 6289090)
htop shows buffered as blue and cached memory as orange and combines all that as "memory usage". However, only the green is actual memory being used. Under free, buffers and cached are in a separate, but combined field (buff/cache). If you add the "used" and "buff/cached" from free, it should be the same as htop.

Soooo, then ..... htop is indeed correct then if that is what your statement implies? :scratch:

bassmadrigal 10-05-2021 09:58 AM

Quote:

Originally Posted by Jeebizz (Post 6289118)
Soooo, then ..... htop is indeed correct then if that is what your statement implies? :scratch:

Eh, kinda. Buffers and cache are things that don't need to be in RAM, but can help future operations. They can be dumped at any time without data loss. It is actually really good for them to be heavily used, because it's the kernel trying to preload things that you might end up using. The kernel tries to put commonly used programs into memory before you ask for it or retain things in RAM after the task is accomplished, which improves speed since it won't need to go to your disk to find it and load it when you actually ask for it. If something memory intensive is started, the buffers/cache will dump stuff to make room for the others.

The "used" section in free and the green portion of the memory usage in htop is the memory that's actually being consumed by programs you have open. That used memory needs to stay in RAM, swap, or written back to the drive, otherwise there'll be data loss.

If that's still confusing, maybe this from RedHat would help:

Quote:

Linux always tries to use RAM to speed up disk operations by using available memory for buffers (file system metadata) and cache (pages with actual contents of files or block devices). This helps the system to run faster because disk information is already in memory which saves I/O operations. If space is needed by programs or applications like Oracle, then Linux will free up the buffers and cache to yield memory for the applications. If your system runs for a while you will usually see a small number under the field "free" on the first line.
I would also recommend reading through the site that @richarson posted, https://www.linuxatemyram.com/, as it goes through and explains this in a different way.


All times are GMT -5. The time now is 03:35 PM.