fast user switch

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

9
8 .1
Description:

Fast user switch plasmoid.
Last changelog:

9 years ago

Wed Sep 28 14:59:49 CEST 2011 Flavio Castelli

* Take into consideration screensaver's lock setting (as requested by many users)

Mon Mar 7 2011 - fcastelli@novell.com
- Show logout and lock session icons as requested by many users.

Mon Feb 7 2011 - fcastelli@novell.com
- Fixed small layout issue
- Show username by default

Fri Jul 23 2010 - fcastelli@novell.com
* added new configurations:
- show only icon.
- show icon + name.
- show only name.
* it's possible to show user's avatar image instead of the default picture.
* it's possible to show user's complete name instead of his login name.
* fixed some build issues.

Tue Jul 13 2010
* added tooltip

Tue Jul 13 2010
* released first version

quickk

9 years ago

I tried building as per the instructions, but hit a few snags.

The first one was that I had to install kdelibs5-dev to get the cmake command to work.

Now, the build process fails at the "make" command. I get these errors:


/tmp/fastuserswitch-0.3.1/sessionwidget.cpp:33:40: fatal error: kworkspace/kdisplaymanager.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/plasma_applet_fastuserswitch.dir/sessionwidget.o] Error 1
make[1]: *** [CMakeFiles/plasma_applet_fastuserswitch.dir/all] Error 2
make: *** [all] Error 2

Any one have a solution?

Report

9

arxus

9 years ago

hello, can include text color in addition to plasma default theme? thanks!!

Report

Murz

9 years ago

Very useful plasmoid for me. But I miss the feature to disable lock screen when switching user.
If I switch via Ctrl+Alt+F7-F8 I can switch without entering password every time.
Enabling autologon in KDM logon and disabling lock on screensaver run don't help.
Will be good if plasmoid have the option for switching sessions without locking. Can you add this?

Report

Murz

9 years ago

I have do this with modifying sources, here is info for other people:
In sessionwidget.cpp file we can change the string:
manager.lockSwitchVT(vt);
to
manager.switchVT(vt);
and recompile it (make clean; make).

And will be good to see in options in future version:
- Lock or not lock screnn on switch
- Hide "Logout" item
- Hide "Lock screen" item

Report

9

unhammer

10 years ago

How about an optional "log out" button?

Report

madsheytan

10 years ago

Hey. Ive got two ideas:

1st: align the user name text center to the panel. Please do it, not everyone is using big panels, and on 20px it looks really bad. ;)

2nd: What about adding status changer like in Ubuntu? your plasmoid could contact (via dbus or something) other IMs and IRC apps and set the status with single click to all of those apps.

What do you think? :)

Report

9

avlas

9 years ago

I slightly modified the plasmoid to do just this: align the user name text center to the panel. Tell me if still interested...

Report

C

micron

9 years ago

I'm interested in these changes, could you submit me a patch? The code is on gitorious.
http://gitorious.org/fast_user_switch/fast_user_switch

Report

9

avlas

9 years ago

Hi,

It was my first time using git and gitorious, so it took me a while before I managed to clone your project and merge my changes there:

http://gitorious.org/~jsardid/fast_user_switch/jsardid-fast_user_switch

I guess you can get the patches from there, otherwise let me know...

On the other hand, I would like to add options for logout and shutdown... not sure if you're interested. Anyway, I am kind of busy now, so it can take a while...

Best

Report

C

micron

9 years ago

Thanks for your patches, I just included them on my repo.

New packages for openSUSE are being built right now.
I also updated the source package here on kde-look.

Talking about the logout/shutdown buttons, I'm a bit skeptical about them. This plasmoid started by mimicking the OSX user switch feature which doesn't have them. I don't think they would be a great addiction for the final user.
This plasmoid has been created to provide a simple way to switch between the X sessions of different users, I would like to keep it as minimal as possible.

Report

9

avlas

9 years ago

Great!!

To have things minimal is a good point, I agree and somehow it's what I'm looking for too, but in a different way. I really don't like to have another extra widget in the panel at the side of fastuserswitch just to do lockscreen and shutdown. So, I was thinking to put them as options in fastuserswitch, for sure not enabled by default.

Best

Report

9

avlas

9 years ago

I made these changes, let me know if you would be interested in adding them to your plasmoid, otherwise I'll upload my fork.

Best

Report

naygiai

9 years ago

please flavio avere anche il logout sarebbe il massimo potrei avere due plasmoidi in uno e risparmiare spazio nella tray.
spero tu includa questa patch
grazie e scusa se ho scritto in italiano
ciao

Report

mononoke

10 years ago

hi,
i like that plasmoid!

When i look at the configuration window,
i see some services are shown "not available". Maybe because the services are named diffrent on my opensuse (11.2)
Actually the service "ssh" is called "sshd" in "/etc/init.d/".

Something strange is with "samba". The Service is actually named "smb", but the deamon is named smbd.

Anyway, the plasmoid is showing the correct state, when i add the services to active monitoring box in the configuration dialog.

How is this possible, i mean, the plasmoid is showing the correct state ?

Report

mononoke

10 years ago

sorry, wrong windows selected :D

Report

cmost

10 years ago

You really should include a readme.txt file with basic instructions on how to install this. Not everyone is running OpenSUSE. I tried the usual ./confure && make && make install without success. How does one compile the source?????? :-\

Report

cmost

10 years ago

FYI for others using the source...

First compile it, so extract the package, go into the folder which was created with a terminal, and execute:
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=$(kde4-config --prefix) ../
make
sudo make install
kbuildsycoca4 --noincremental

Report

9

unhammer

10 years ago

For Arch Linux users, it is now available from AUR:
http://aur.archlinux.org/packages.php?ID=40270

Report

cmost

10 years ago

You really should include a readme.txt file with basic instructions on how to install this. Not everyone is running OpenSUSE. I tried the usual ./confure && make && make install without success. How does one compile the source?????? :-\

Report

jmiahman

10 years ago

Hey just wanted to let you know I was having compile issues with KDE 4.5 RC 2 and QT 4.7 Beta 2 so I added

include_directories(
${CMAKE_SOURCE_DIR}
${CMAKE_BINARY_DIR}
${KDE4_INCLUDES}
)

to the CMakeList.txt file and all is fine now.

Thanks for the great plasmoid!

Report

C

micron

10 years ago

Thanks for your patch. It's part of 0.2.1 release.

Report

Contrast

10 years ago

This should definitely be included in the default set of available widgets. Have you contacted the KDE devs about this?

Report

Yaba

10 years ago

+1

Report

thebadapples

10 years ago

yeah this is a great lil plasmoid, so...

+1

Report

9

unhammer

10 years ago

+1

Report

9 years ago

Wed Sep 28 14:59:49 CEST 2011 Flavio Castelli

* Take into consideration screensaver's lock setting (as requested by many users)

Mon Mar 7 2011 - fcastelli@novell.com
- Show logout and lock session icons as requested by many users.

Mon Feb 7 2011 - fcastelli@novell.com
- Fixed small layout issue
- Show username by default

Fri Jul 23 2010 - fcastelli@novell.com
* added new configurations:
- show only icon.
- show icon + name.
- show only name.
* it's possible to show user's avatar image instead of the default picture.
* it's possible to show user's complete name instead of his login name.
* fixed some build issues.

Tue Jul 13 2010
* added tooltip

Tue Jul 13 2010
* released first version

12345678910
14
product-maker amr2205 Apr 26 2012 9 excellent
product-maker deabru Oct 06 2011 9 excellent
product-maker gp42 May 11 2011 9 excellent
product-maker arxus Mar 12 2011 9 excellent
product-maker squall38 Mar 08 2011 9 excellent
product-maker janet Feb 10 2011 9 excellent
product-maker pejakm Feb 08 2011 9 excellent
product-maker dreamsoul Feb 07 2011 9 excellent
product-maker SeaJey Feb 07 2011 9 excellent
product-maker vitoubien Feb 07 2011 9 excellent
product-maker avlas Feb 05 2011 9 excellent
product-maker paran0idx Oct 13 2010 9 excellent
product-maker Bert Oct 12 2010 9 excellent
product-maker unhammer Oct 01 2010 9 excellent
Be the first to comment
lexcher
Oct 14 2015
Murz
Apr 10 2011
arxus
Mar 12 2011
squall38
Mar 08 2011
usrkl
Feb 07 2011
Apopatos
Dec 31 2010
Bert
Oct 12 2010
madsheytan
Aug 01 2010
Vistausss
Jul 24 2010
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.3.2
updated Sep 28 2011
added Jul 13 2010
downloads 24h
0
mediaviews 24h 0
pageviews 24h 6