Titlebar menu
Various KDE Extensions
Score 69%
Description:

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:
[li]libdbusmenu[/li]
[li]appmenu-gtk[/li]


For qt/kde apps
[li]libdbusmenu-qt[/li]
[li]appmenu-qt[/li]

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
[li]QJson[/li]
[li]kdebase-workspace\[-dev\][/li]

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.
Last changelog:

6 years ago

[li]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[/li]
[li]0.01 - Initial release[/li]

volpegrigia

6 years ago

hi, i've problem in kubuntu 11.04

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

6 years ago

/titlemenu.cpp:30:36: fatal error: X11/extensions/Xrender.h: Adresář nebo soubor neexistuje
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

6 years ago

solved

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

6 years ago

I'd really like an integration into the window decoration. Atm, the menu button is just an overlay, buttons of the window decoration under the menubutton aren't useable.

How can i manipulate the design of the button?

Report

JARDA001

6 years ago

can you creat a deb file please?

Report

C

johnnybravo

6 years ago

I use arch linux so I can't create a deb package unfortunately.

Report

JARDA001

6 years ago

okay, but thanks :)

Report

gnumdk

6 years ago

https://bugs.kde.org/show_bug.cgi?id=266596

Report

OdinEidolon

6 years ago

does this work only for Oxygen?

Report

C

johnnybravo

6 years ago

This will work with all window decorations as long as you have desktop effects enabled

Report

scelos

6 years ago

Linking CXX shared module lib/kwin4_effect_titlemenu.so
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

C

johnnybravo

6 years ago

This has been fixed in the new version

Report

scelos

6 years ago

Same error, full log
http://pastebin.com/BBn6rc96

Report

C

johnnybravo

6 years ago

Please make sure you have qjson installed.

Report

scelos

6 years ago

Yes, qjscon installed.

Report

Zephyr1988

6 years ago

This is an excellent effect, great work and thank you!!

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

6 years ago

>patched qt(for qt/kde apps).

Where can i find this ?

Report

C

johnnybravo

6 years ago

If you're on ubuntu then you already have the patched qt installed. For arch linux it's in aur. Just install the appmenu-qt package from aur and that will pull in all the required dependencies.

Report

unhammer

6 years ago

WARNING: KWin headers NOT found, compiling might fail.

-> 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

6 years ago

oh, it seems to have compiled anyway :)

where in systemsettings do you activate it?

Report

Hmpf

6 years ago

Look in Desktop Effects for Titlemenu.

Report

Hmpf

6 years ago

It is a nice idea to save some space, but I experience some problems when I try to trigger the effect, see this screenshot: http://www.wstaw.org/m/2011/02/17/plasma-desktopnz1979.jpg

Report

gnumdk

6 years ago

Same for me...

appmenu-qt working...

Report

C

johnnybravo

6 years ago

Which version of KDE are you using? Does this still happen after logging out and logging back in?

Report

Hmpf

6 years ago

Yes log in log out after activation of the effect makes no difference here. This is KDE SC 4.6.0.

Report

6 years ago

[li]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[/li]
[li]0.01 - Initial release[/li]

File (click to download) Version Description Filetype Packagetype License Downloads Date Filesize OCS-Install DL
Details
version
0.1
updated Feb 18 2011
added Feb 16 2011
downloads today
0
page views today 4