Active Application
Source (link to git-repo or to original if based on someone elses unmodified work):
To install:
- extract to a folder and once there
- mkdir build && cd build
- cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`
- make
- sudo make install
Any (constructive) feedback is welcome
Version 0.2.2
- Fixed a bug that caused the applet to look ugly in light plasma themes
Version 0.2.1
- Fixed a bug that caused plasma-desktop impossible to be rebooted
Version 0.2
- Added options to choose whether to show only app name (default), only icon, or both.
- Removed extra left space
Version 0.1.2
- Truncated application names are more fancy now
Version 0.1.1
- Application names are kept to a single line
- Application names are truncated to 15 characters max.
First release 0.1
Ratings & Comments
62 Comments
- SysSpecs OS: Chakra (x86_64), fully updated KDE SC: 4.11.2 I love using active-app + the appemenu-menubar plasmoid on my multi-monitor setup but lately it is consistently crashing my session every time I log out (segfault 11 all the way). It would be awesome if you can find the time to look what's happening as my KDE/Qt skills are very poor :( Cheers!
You could also try the Application Name Plasmoid. I did and works fine to me too... http://kde-apps.org/content/show.php?content=154324
Hey, thank you very much, didn't knew about it, downloading right now! :D
It covers my basic needs and I don't have time for much now. Are you sure this plasmoid is the one that makes plasma to crash? Show me the backtrace or some debug information and I'll try to take a look... Btw my programming skills in KDE/Qt are low too :)
Hey, awesome, you're still interested in it ^ ^ "Are you sure this plasmoid is the one that makes plasma to crash? Show me the backtrace or some debug information and I'll try to take a look..." Yes, 100% positive about that. Sadly my distribution does not provide the debug symbols for QtWebkit - yet - so this is all I have right now: http://paste.chakra-project.org/5419/ (the paste will longer a month). Here you can see the build script used to install Active-App: http://chakra-project.org/ccr/pkgbuild_view.php?p=kdeplasma-applets-active-app And these are my make flags: CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed (could it be something related with them? I'm just wondering... gonna tray with clean makeflags and see what happens) Anyway, anything else just ask, I would love to use Active-App again.
I don't see anything in http://paste.chakra-project.org/5419/ that relates at all with the plasmoid, neither with plasma_applet_activeapp.so nor with plasma-applet-activeapp.desktop, so I have no clue to see whether your crash it's related to the plasmoid and if so, where to start trying to fix it :/ You are sure it's the plasmoid because if you remove it, crashes are gone?
Exactly, when I remove the plasmoid the session ends smooth, in contrast *every* time I add it back the session will segfault(11) crash at log off :(
Answering myself: the makeflags have nothing to do with the crash as compiling the plasmoid with a standard - and pretty safe - set doesn't have any effect.
I use Debian Squeeze with KDE 4.4.5, when I compile it, outputs this error: [100%] Building CXX object CMakeFiles/plasma_applet_activeapp.dir/activeapp.o /home/.../139686-active-app/activeapp.cpp: In constructor ‘ActiveApp::ActiveApp(QObject*, const QVariantList&)’: /home/.../139686-active-app/activeapp.cpp:59: error: ‘class Plasma::Label’ has no member named ‘setWordWrap’ make[2]: *** [CMakeFiles/plasma_applet_activeapp.dir/activeapp.o] Error 1 make[1]: *** [CMakeFiles/plasma_applet_activeapp.dir/all] Error 2 make: *** [all] Error 2 I have all the -dev packages installed.
I am trying to install it in Kubuntu 12.04 but when I execute "sudo make install" I find the following errors: [ 0%] Built target plasma_applet_activeapp_automoc Linking CXX shared module lib/plasma_applet_activeapp.so /usr/bin/ld: cannot find -lkworkspace collect2: ld devolvió el estado de salida 1 make[2]: *** [lib/plasma_applet_activeapp.so] Error 1 make[1]: *** [CMakeFiles/plasma_applet_activeapp.dir/all] Error 2 make: *** [all] Error 2 Any help?
do you have kde-workspace-dev installed?
It would be great if this was combined with the Window List plasmoid (http://kde-look.org/content/show.php/Window+List?content=96486), so that when the name or icon of the application was clicked on it would show the window list.
yeah, I would also like to have this feature too, but don't know how to do it and don't have the time to spend on it now either
The problems with the X11 Libraries is that you need to install a lib, you can install it on Ubuntu with Sudo apt-get install libxtst-dev
What's the PPA for this? I was able to use Synaptic for another plasmoid not installing from the tarball.
I'm getting the following error in terminal when I run cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`: CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE): ERROR: cmake/modules/FindKDE4Internal.cmake not found in /home/john/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/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.8) 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 incomplete, errors occurred!
Could it be that I'm missing some dependencies? I have a similar error when trying to install another plasmoid from this site.
After searching on this website for similar errors, I ascertained that I needed some dev packages. After getting devs for kdelib and kde-workspace, I was able to get the cmake command a little further along. But now I'm getting a new error, so I must need still more dependencies. Here's the whole output: john@john-MT6840:~/Desktop/139686-active-app/build$ cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Looking for Q_WS_X11 -- Looking for Q_WS_X11 - found -- Looking for Q_WS_WIN -- Looking for Q_WS_WIN - not found. -- Looking for Q_WS_QWS -- Looking for Q_WS_QWS - not found. -- Looking for Q_WS_MAC -- Looking for Q_WS_MAC - not found. -- Found Qt-Version 4.7.4 (using /usr/bin/qmake) -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libXft.so;/usr/lib/i386-linux-gnu/libXau.so;/usr/lib/i386-linux-gnu/libXdmcp.so -- Looking for XOpenDisplay in /usr/lib/i386-linux-gnu/libX11.so;/usr/lib/i386-linux-gnu/libXext.so;/usr/lib/i386-linux-gnu/libXft.so;/usr/lib/i386-linux-gnu/libXau.so;/usr/lib/i386-linux-gnu/libXdmcp.so - found -- Looking for gethostbyname -- Looking for gethostbyname - found -- Looking for connect -- Looking for connect - found -- Looking for remove -- Looking for remove - found -- Looking for shmat -- Looking for shmat - found -- Looking for IceConnectionNumber in ICE -- Looking for IceConnectionNumber in ICE - found -- Found X11: /usr/lib/i386-linux-gnu/libX11.so -- Looking for include files CMAKE_HAVE_PTHREAD_H -- Looking for include files CMAKE_HAVE_PTHREAD_H - found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Found Automoc4: /usr/bin/automoc4 -- Found Perl: /usr/bin/perl -- Found Phonon: /usr/include -- Performing Test _OFFT_IS_64BIT -- Performing Test _OFFT_IS_64BIT - Failed -- Performing Test HAVE_FPIE_SUPPORT -- Performing Test HAVE_FPIE_SUPPORT - Success -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL -- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success -- Performing Test __KDE_HAVE_GCC_VISIBILITY -- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success -- Found KDE 4.7 include dir: /usr/include -- Found KDE 4.7 library dir: /usr/lib -- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler -- Found automoc4: /usr/bin/automoc4 CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: X11_XTest_LIB (ADVANCED) linked by target "plasma_applet_activeapp" in directory /home/john/Desktop/139686-active-app -- Configuring incomplete, errors occurred!
Someone else mentioned it, but I too would love to be able to modify the text styling. Specifically, I want to bold the font. Just my 0.02. Other than that, great app; pretty much exactly what I was looking for.
I would LOVE LOVE LOVE to have the ability to change the color of the font, and maybe the font itself (like size, and style). Right now, it's really blurry on my task bar, and I dunno why that it...
If you would like to help, you're welcome!
Yes, I recognize this should be done at some point, but I must confess that I don't know how yet and I am pretty busy currently, so I cannot tell when... In the meantime I'll change the color to default, so at least it's not ugly when using light plasma themes If I find the time, I'll try to do what you asked. And eventually also combine 'my little toy' with the menubar and the kwinbuttons applets. But this can take a long while, hopefully not too long...
Me again! After a restart today plasma crashed every time I tried to start kde. I manually edited my configs and deleted your plasmoid and restored my .kde4 config. Now all work again. So there is an error in your plasmoid that crashes the plasma-desktop. Best regards!
I think I found the problem and fixed it. Please give it a try when you are able to... Thanks for helping the widget to be better :)
Tested it the whole day and seems to work fine here now! Thanks for your work and for implementing my requested features! Best regards!