
Titlebar menu
Various KDE 1.-4. Improvements
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
This is a kwin effect that draws the application menu in the titlebar when the mouse is hovered over the titlebar.
Dependencies:
For gtk apps:
libdbusmenu
appmenu-gtk
For qt/kde apps
libdbusmenu-qt
appmenu-qt
For Qt/KDE apps to work with this you need a patched version of Qt. If you're on Ubuntu then you already have it. For archlinux users, it's in the AUR as qt-appmenu.
General
QJson
kdebase-workspace[-dev]
Please report bugs and feature requests here: https://bitbucket.org/jimi312/titlebar-menu/issues
To build:
extract the archive
cd titlemenu
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ../
make
sudo make install
After this go to systemsettings, activate the titlemenu effect in the desktop effects category.
Logout and login in again.
9 years ago
0.1 - Added a config gui, added support fro showing a single menu item with the rest of the menu as a submenu and added support to show the menu always
0.01 - Initial release
9 years ago
0.1 - Added a config gui, added support fro showing a single menu item with the rest of the menu as a submenu and added support to show the menu always
0.01 - Initial release
volpegrigia
9 years ago
nino@nino-laptop:~/Scaricati/titlemenu-0.1/build$ sudo apt-get install kdebase-workspace-dev
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze
Lettura informazioni sullo stato... Fatto
kdebase-workspace-dev è già alla versione più recente.
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
nino@nino-laptop:~/Scaricati/titlemenu-0.1/build$ cmake -DCMAKE_INSTALL_PREFIX='kde4-config --prefix' ../
WARNING: KWin headers NOT found, compiling might fail.
-> Ensure you've installed the kdebase[-workspace]-dev package
-- Found Qt-Version 4.7.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- 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
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Configuring done
-- Generating done
-- Build files have been written to: /home/nino/Scaricati/titlemenu-0.1/build
nino@nino-laptop:~/Scaricati/titlemenu-0.1/build$ sudo make
[ 0%] Built target kcm_kwin4_effect_titlemenu_automoc
[ 6%] Building CXX object CMakeFiles/kcm_kwin4_effect_titlemenu.dir/titlemenu_config.o
/home/nino/Scaricati/titlemenu-0.1/titlemenu_config.cpp:23:25: fatal error: kwineffects.h: File o directory non esistente
compilation terminated.
make[2]: *** [CMakeFiles/kcm_kwin4_effect_titlemenu.dir/titlemenu_config.o] Errore 1
make[1]: *** [CMakeFiles/kcm_kwin4_effect_titlemenu.dir/all] Errore 2
make: *** [all] Errore 2
Report
JARDA001
9 years ago
compilation terminated.
make[2]: *** [CMakeFiles/kwin4_effect_titlemenu.dir/titlemenu.o] Error 1
make[1]: *** [CMakeFiles/kwin4_effect_titlemenu.dir/all] Error 2
make: *** [all] Error 2
Xrender.h really missing. How can I solve it?
Report
JARDA001
9 years ago
How can I set Opera to this style (menu, it will optimal with tabs in title like chrome in windows)? http://i.iinfo.cz/images/652/opera-11-beta.png
Report
kbblak
9 years ago
How can i manipulate the design of the button?
Report
JARDA001
9 years ago
Report
johnnybravo
9 years ago
Report
JARDA001
9 years ago
Report
gnumdk
9 years ago
Report
OdinEidolon
9 years ago
Report
johnnybravo
9 years ago
Report
scelos
9 years ago
CMakeFiles/kwin4_effect_titlemenu.dir/titlemenu.o: In function `KWin::TitleMenuEffect::DumpMenu(unsigned long)':
/media/test/titlemenu-0.01/titlemenu.cpp:253: undefined reference to `QJson::Serializer::Serializer()'
/media/test/titlemenu-0.01/titlemenu.cpp:254: undefined reference to `QJson::Serializer::serialize(QVariant const&)'
/media/test/titlemenu-0.01/titlemenu.cpp:253: undefined reference to `QJson::Serializer::~Serializer()'
collect2: ld returned 1 exit status
make[2]: *** [lib/kwin4_effect_titlemenu.so] Error 1
make[1]: *** [CMakeFiles/kwin4_effect_titlemenu.dir/all] Error 2
make: *** [all] Error 2
Report
johnnybravo
9 years ago
Report
scelos
9 years ago
http://pastebin.com/BBn6rc96
Report
johnnybravo
9 years ago
Report
scelos
9 years ago
Report
Zephyr1988
9 years ago
For the next versions could you consider this idea?
http://forum.kde.org/brainstorm.php#idea91172_page1
When the qt-appmenu patch goes upstream in Qt, hopefully 4.8, it could be merged upstream!
Report
gnumdk
9 years ago
Where can i find this ?
Report
johnnybravo
9 years ago
Report
unhammer
9 years ago
-> Ensure you've installed the kdebase[-workspace]-dev package
..got a download link for that? (can't find anything like that in the Arch Linux repos)
Report
unhammer
9 years ago
where in systemsettings do you activate it?
Report
Hmpf
9 years ago
Report
Hmpf
9 years ago
Report
johnnybravo
9 years ago
Report
Hmpf
9 years ago
Report
gnumdk
9 years ago
appmenu-qt working...
Report