Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
This is a modification of the lock/logout plasmoid. It's for those like me, who just need the logout button on the desktop or panel.

Installation:
- untar the archive
- cd ~/logout
- mkdir build
- cd build
- cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
- make
- make install (as root)

All credits should go to the plasma-team, because I've just edited and deleted a few lines of code.

Leave a comment if you like it.

Ratings & Comments

10 Comments

artemisfowl2007

That's something I too like but I really think that it would be better to create a patch for the "official" lock/logout plasmoid (eg. in the config dialog the user should be able to choose which buttons to show - some users could probably want only the lock button to appear) rather than creating duplicates. The KDE Team is really nice and would accept such a reasonable feature. Don't be afraid to contact them. If I had more free time, I could probably do this...

painkiller101

Thank you for your comment. I'm also not a fan of duplicates, but this one is just a quick and dirty solution for me, which i wanted to share with others. I'm unfortunately not able to provide a patch with a configuration option, because i'm not really keen on it. Even though I've read some month ago that this feature will be added to the lock/logout widget. But when you got the time to do this it would be really nice :-)

Emdek

It don't need to be plasmoid. ;-) I've created simple desktop file some months ago when I've problems with layout of official plasmoid (you can drag it to panel or somewhere). I don't know if it still works, but maybe it would be useful for someone. [Desktop Entry] Comment[pl]=Zakończ pracę Comment=Zakończ pracę Exec=dbus-send --print-reply --dest=org.kde.ksmserver /KSMServer org.kde.KSMServerInterface.logout int32:1 int32:0 int32:1 GenericName[pl]=Zakończ pracę GenericName=Zakończ pracę Icon=system-shutdown MimeType= Name[pl]=Zakończ pracę Name=Zakończ pracę Path= StartupNotify=true Terminal=false TerminalOptions= Type=Application X-DBUS-ServiceName= X-DBUS-StartupType= X-KDE-SubstituteUID=false X-KDE-Username=

artemisfowl2007

Actually I created the patch and sent it to the plasma devs to review it. It should probably hit trunk soon. I will let you know as soon as I commit it to SVN.

painkiller101

Nice and thank you! In that case i think it wasn't almost useless to upload this plasmoid;-) Thanks for your effort!

artemisfowl2007

The patch hit the trunk. Revision 923911: http://websvn.kde.org/?view=rev&revision=923911 It was no big deal, don't worry.

F1L0

hi, this is my first time that i try to compile a plasmoid and i have this error while compile LogOut 1.0: [root@localhost build]# cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:72 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in /root/.kde4/share/apps;/var/lib/mandriva/kde4-profiles/powerpack/share/apps;/var/lib/mandriva/kde4-profiles/common/share/apps;/usr/share/apps Call Stack (most recent call first): CMakeLists.txt:3 (find_package) CMake Warning (dev) in CMakeLists.txt: No cmake_minimum_required command is present. A line of code such as cmake_minimum_required(VERSION 2.6) should be added at the top of the file. The version specified may be lower if you wish to support older CMake versions for this project. For more information run "cmake --help-policy CMP0000". This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done [root@localhost build]# can you help me, pls?

painkiller101

Hi, i guess you haven't installed the kde-devel-packages on your system. I'm using openSUSE, so i can't tell you how to install it on fedora.

painkiller101

Sorry, not fedora, i mean mandriva.

F1L0

oki thanks a lot, i try to install it...

Pling
0 Affiliates
Details
license
version 1.0
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 2

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 12 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0