Yet Another Window Control

Plasma 4 Widgets

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

5
Score 71%
Description:

I'm not quite satisfied with the "current app control" in plamsa-netbook, so I pull the code and add some more new small feature that I really want to it.

- Minimize Button
- Show/Hide window title, Show/Hide icon, every button.
- Drag from widget and move window
- Enable borderless maximized window.

So that's it.

install:
download tarball and extract.
mkdir build
cd build

1. install for global
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
make install (with root, use kdesu, sudo, su, anything you like)
kbuildsycoca4 (for refresh the list)

2. install for current user
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --localprefix` ..
make
make install
kbuildsycoca4 (for refresh the list)

Last changelog:

6 years ago

0.4:
Avaiable to rearrange order of icon.
Better drag position handling.
Activity aware window number.
Present window show window on all desktop.
Remove window list for now.

NOTICE: KDE 4.8 is required.

0.3:
New feature:
Drag window from widget.
Change borderless maximized window setting.

masterdany88

4 years ago

Any chance to compile and run it on Trusty Tahr kubuntu?

Report

DiscipleOfDante

4 years ago

Any plans to port this plasmoid to Plasma 5?

Report

DiscipleOfDante

5 years ago

I'd like to request that you customize this plasmoid to allow one to left-align the buttons so that it will go "Close, Maximize, Minimize, Title"

Report

clearmartin

5 years ago

I really like this widget mainly because of the drag-window functionality. But this particular widget seems to have a memory leak which is increased each time I switch windows. So in the end of the day Xorg shared memory is more or less 1GB high and I have to kill plasma-desktop and start it again to gain acceptable memory values for some time. I'm using KDE 4.11 but this memory leak occured in 4.10 as well.

Report

clearmartin

5 years ago

Sorry for the double message. And sorry for this message at all, because I suppose this widget is just extending existing widget "Current Application Control" which appears to have the same memory leak.

Report

clearmartin

5 years ago

I really like this widget mainly because of the drag-window functionality. But this particular widget seems to have a memory leak which is increased each time I switch windows. So in the end of the day Xorg shared memory is more or less 1GB high and I have to kill plasma-desktop and start it again to gain acceptable memory values for some time.

Report

saabzero

5 years ago

Thanks for writing this. I just discovered this and am liking it a lot :)

I have a little feature request though: I would like to be able to choose whether "present windows" effect is applied with applications on the current desktop only or with applications on all desktops.

cheers

Report

djdihengo

6 years ago

Hey, this is a very nice plasmoid, but I wonder if it is very difficult to merge the plasma-widget-menubar plasmoid to this, working like Unity top bar, as optional. It would be perfect to use as top bar on netbook and desktop too.
Just a suggestion =D

Report

10110111

6 years ago

Was going to switch to this plasmoid, but not being able to see window list is a show stopper for me...

Report

Contrast

6 years ago

Ubuntu packages: https://launchpad.net/~mikevaughn/+archive/omnilinux/

Report

abhijeet1in

6 years ago

Fantastic app. It feels like i was waiting for it for ages.

Now a question: Is there a way to change the alignment of title? I mean a way to change it from left justified (the current setting) to right justified (or centre) with respect to the whole plasmoid, in case you want to put it on the right most side of the panel.

Report

D--

6 years ago

hi, thanks for this nice plasmoid!

i would like to know if its possible to change icons, using those of the standard oxygen windeco.

Report

oOSplashOo

6 years ago

Please how to change the control icons so that it could be usable on dark color scheme, I mean on dark plasma theme?
Or is it only related to plasma theme icons, if so what theme should I choose for having with icons?

Btw thank's for this fantastic app.

Report

gerlosgm

6 years ago

I'd really like to replace those icons too. They don't match at all with the Oxygen title bar icons that do the same things.

Report

gerlosgm

6 years ago

Found it: they are specific icons from the plasma desktop theme. For example, if you're using the oxygen plasma theme, they are in:
/usr/share/kde4/apps/desktoptheme/oxygen/widgets/configuration-icons.svgz

It should be enough to create a new custom theme with different icons (maybe borrowing them from other themes :), or just put edited icons in ~/.kde/share/apps/desktoptheme/[yourtheme]/configuration-icons.svgz


Report

masterdany88

6 years ago

Hey.
I was wondering is it hard for You to implement varius behaviour of maxymalise button in three diferent action:
1) left mouse button- full maxymalise
2) middle mouse button- vertically maxymalise
3) right mouse button- horizontally maxymalise
It's about the normall kwin decoration actions, so I thought it will be great to have it in that widget. For now when I click with right mouse button I got menu listed.
please write me back

Report

masterdany88

6 years ago

kubuntu 12.04 64 bit, It is quite new installation without any development or source files, which I supose gives a compilation errors.

Asia@Asia-Kubuntu:~/Pulpit/yawc-0.4/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
-- Found Qt-Version 4.8.1 (using /usr/bin/qmake)
-- Found X11: /usr/lib/x86_64-linux-gnu/libX11.so
-- Found KDE 4.8 include dir: /usr/include
-- Found KDE 4.8 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
CMake Error at CMakeLists.txt:6 (find_package):
Could not find module FindKActivities.cmake or a configuration file for
package KActivities.

Adjust CMAKE_MODULE_PATH to find FindKActivities.cmake or set
KActivities_DIR to the directory containing a CMake configuration file for
KActivities. The file will have one of the following names:

KActivitiesConfig.cmake
kactivities-config.cmake



-- Configuring incomplete, errors occurred!
Asia@Asia-Kubuntu:~/Pulpit/yawc-0.4/build$


please help

Report

masterdany88

6 years ago

I saw that in my laptop is the same, I cant compile the newest version. 0.3 was compilling without problem, but 0.4 no.

Report

C

csslayer

6 years ago

you need libkactivities-dev

Report

masterdany88

6 years ago

thanks.
By the way: Great update :D

Report

enoop

6 years ago

Could you add the application menu button from kde-workspace-appmenu? If I try the global shortcut to open the menu while the window is maximised and the dont show title while maximised is on kwin crashes.

Report

Hombremaledicto

6 years ago

Is there any way to change the minimize/maximise/close icons?

Report

C

csslayer

6 years ago

Nope.

And I will not implement it, since I want consistent look in plasma.

Report

herrbatka

6 years ago

Actually I think that it's not bad idea since controls set tends to look very ugly since they are not designed for this purpose.

That's the reason why I'm using "Window Controls" plasma applet. Stock icons are ugly but i was able to use inkscape to create new ones. Also I would rather want to see icons more like kwin buttons.

Report

swiftscythe

6 years ago

Wow this update is really really nice!!

I have a couple feature requests, though:
- Additional option to set app name instead of Window title using "info.windowClassClass()" instead of "info.name()"
- When the option above is enabled: Set widgets width according to the app name length and show Window title in Widget's tooltip.

What do you think? I may try to implement it myself and send you a patch to get started with C++/Qt/KDE/Plasma :)

Thanks for keeping this widget alive! :)

Report

6 years ago

0.4:
Avaiable to rearrange order of icon.
Better drag position handling.
Activity aware window number.
Present window show window on all desktop.
Remove window list for now.

NOTICE: KDE 4.8 is required.

0.3:
New feature:
Drag window from widget.
Change borderless maximized window setting.

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.4
updated May 08 2012
added Mar 16 2011
downloads today
0
page views today 7