USwitch Mod

Plasma 5 Applets

Source (link to git-repo or to original if based on someone elses unmodified work): https://gitlab.com/divinae/uswitch

8
7.5
Available as/for: -
Description:

Modified version of User Switch plasmoid.
Last changelog:

1.2.4 7 days ago

Use rounded avatar

9

sadi

1 year ago

9 9 excellent!
Add icon for "New Session" ("system-switch-user"), change the icon for "Suspend" to "system-suspend", change "Leave..." to "Log Out.." (as well as its icon), and finall also add "Reboot" and "Shutdown" items (with corresponding icons), then you have 100% perfection. Thanks to open source I have achieved this already. ;-)
Thank you very much!

Report

C

diVinae

1 year ago

Could you create merge request on gitlab?

Report

9

sadi

1 year ago

Maybe "Restart the Computer" and "Shutdown the Computer" will be clearer.

Report

9

sadi

1 year ago

I'm not very sure if we should say "Reboot" or "Restart"...

Report

9

sadi

1 year ago

OK, I've created my first ever "merge request". Please check if I've done it right. ;-)

Report

C

diVinae

1 year ago

Thanks, I will check it in free time :)
I think showing additional buttons (reboot...) should be optional - with some setting to enable

Report

9

sadi

1 year ago

Maybe...
Simple Menu widget displays these two icons only, even without tooltip - which is extreme. ;-)

Report

9

palacio

1 year ago

9 9 can you add a shutdown/poweroff button?

Report

9

sadi

1 year ago

1. Open "~/.local/share/plasma/plasmoids/org.kde.plasma.uswitcher/contents/ui/main.qml"
2. Modify this line as follows: + suspendButton.height + leaveButton.height + rebootButton.height + shutdownButton.height
2. Finally modify the following last lines, save the file, log out and back in:
ListDelegate {
id: leaveButton
text: i18nc("Show a dialog with options to logout/shutdown/restart", "Leave...")
highlight: delegateHighlight
icon: "system-log-out"
onClicked: pmEngine.performOperation("requestShutDown")
}

ListDelegate {
id: rebootButton
text: i18nc("Reboot the computer", "Restart")
highlight: delegateHighlight
icon: "system-reboot"
onClicked: {
executable.exec("qdbus org.kde.ksmserver /KSMServer logout 0 1 3");
}
}

ListDelegate {
id: shutdownButton
text: i18nc("Shutdown the computer", "Shutdown")
highlight: delegateHighlight
icon: "system-shutdown"
onClicked: {
executable.exec("qdbus org.kde.ksmserver /KSMServer logout 0 2 3");
}
}

}
}
}

Report

9

palacio

1 year ago

To clarify, I have "no confirmation asked" set and the "Leave..." button logins me out immediately.

Report

9

stroum

1 year ago

9 +

Report

frag

1 year ago

Please, add "system monitor" (ksysguard) entry!

Report

C

diVinae

1 year ago

It's there :)

Report

frag

1 year ago

Thank you!

Report

jcmljunior

2 years ago

The page for github is invalid.
I would like to translate this add-on to my language. how can I do this?
thanks!

Report

C

diVinae

2 years ago

Link is valid now.
Unfortunately i have no time to work on translations support :/

Report

9

no1cares

2 years ago

9 +

Report

9

joergister

2 years ago

9 +neat

Report

9

andreyorst

3 years ago

Suspend button color is wrong when using breeze icon set with dark theme (on your 2nd screen it happens too).
Ability to set custom icon instead of showing settings icon would be nice.

Report

C

diVinae

3 years ago

Please check new version.
It is not perfect, but should be better.

Report

9

joergister

2 years ago

works now as it should

Report

1.2.4 7 days ago

Use rounded avatar

1.2.3 12 days ago

Add icon and name layout option
Change suspend and leave icons

1.2.2 1 year ago

Change system monitor icon

1.2.1 2 years ago

New method to launch custom apps

1.2 3 years ago

-Add option to set icon
-Change suspend icon

1.1.2 3 years ago

Show only settings icon change

1.1 3 years ago

- System info and system settings icon change to works with Breeze

1.0 3 years ago

- initial import
- added System info, system settings and suspend buttons
- some layout modifications

12345678910
8
product-maker sadi Feb 22 2020 9 excellent
9 excellent! Add icon for "New Session" ("system-switch-user"), change the icon for "Suspend" to "system-suspend", change "Leave..." to "Log Out.." (as well as its icon), and finall also add "Reboot" and "Shutdown" items (with corresponding icons), then you have 100% perfection. Thanks to open source I have achieved this already. ;-) Thank you very much!
product-maker palacio Jul 14 2019 9 excellent
9 can you add a shutdown/poweroff button?
product-maker stroum Apr 26 2019 9 excellent
+
product-maker no1cares Oct 04 2018 9 excellent
+
product-maker joergister May 28 2018 9 excellent
+neat
product-maker andreyorst Nov 19 2017 9 excellent
product-maker devopsysadmin Oct 27 2017 9 excellent
product-maker popote Oct 11 2017 9 excellent
Be the first to comment
csaratakij
May 16 2020
Grawl
May 03 2020
airwolf776
Feb 20 2020
palacio
Jul 14 2019
Murz
Jun 03 2019
floorek
Apr 22 2019
baioc
Aug 25 2018
joergister
May 28 2018
File (click to download) Version Description Devices Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv2 or later
version
1.2.4
updated Feb 21 2021
added Oct 07 2017
downloads 24h
35
mediaviews 24h 0
pageviews 24h 8