
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
A KDE plasmoid that shows active application’s icon and/or name. I think it is useful to use jointly the menubar. It is based on current app control. In fact, it would better if the active application applet was eventually part of the menubar applet.
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
9 years ago
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
9 years ago
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
msx
7 years ago
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!
Report
avlas
7 years ago
http://kde-apps.org/content/show.php?content=154324
Report
msx
7 years ago
Report
avlas
7 years ago
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 :)
Report
msx
7 years ago
"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.
Report
avlas
7 years ago
You are sure it's the plasmoid because if you remove it, crashes are gone?
Report
msx
7 years ago
Report
msx
7 years ago
Report
SicoBulo
8 years ago
[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.
Report
RagonichaFulva
8 years ago
[ 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?
Report
avlas
8 years ago
Report
jurialmunkey
8 years ago
Report
avlas
8 years ago
Report
minrock
8 years ago
Sudo apt-get install libxtst-dev
Report
kohoutek
9 years ago
Report
kohoutek
9 years ago
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!
Report
kohoutek
9 years ago
Report
kohoutek
9 years ago
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!
Report
meatybunch
9 years ago
Other than that, great app; pretty much exactly what I was looking for.
Report
cmays90
9 years ago
Report
avlas
9 years ago
Report
avlas
9 years ago
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...
Report
FSchulz
9 years ago
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!
Report
avlas
9 years ago
Thanks for helping the widget to be better :)
Report
FSchulz
9 years ago
Best regards!
Report