-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans (6) .- Knowledge Base  . 

Yet Another Window Control

   0.4  

Plasmoid Binary

Score 76%
Yet Another Window Control
zoom


Minimum required   KDE 4.x
Downloads:  1320
Submitted:  Mar 16 2011
Updated:  May 8 2012

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)




Changelog:

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.




LicenseGPL
other(0.4)
Send to a friend
Subscribe
Other  Apps  from csslayer
Report inappropriate content



goto page:  1  2  3  4  5 

-
.

 Readme

 
 by TommyCZ on: Mar 16 2011
 
Score 50%

May be some readme about howto install it would be useful .)


Reply to this

-
.

 Re: Readme

 
 by csslayer on: Mar 16 2011
 
Score 50%

Yeah, you are right. Thank you for advice.


Reply to this

-

 Disable titlebar

 
 by herrbatka on: Mar 16 2011
 
Score 50%

we need to disable titlebars on maximized windows in order to make it realy handy.


Reply to this

-

 Re: Disable titlebar

 
 by csslayer on: Mar 16 2011
 
Score 50%

Yeah, so that's for plasma-netbook, not for plasma-desktop though.

I don't know whether kwin can set this, but as far as I know using plasma-netbook is the only way to remove border while maximized.


Reply to this

-
.

 Re: Disable titlebar

 
 by cician on: Mar 17 2011
 
Score 63%

open ~/.kde/share/config/kwinrc and change/add BorderlessMaximizedWindows=true


Reply to this

-

 Re: Re: Disable titlebar

 
 by herrbatka on: Mar 17 2011
 
Score 50%

Thank you very much! :-)


Reply to this

-

 minimum width

 
 by cician on: Mar 17 2011
 
Score 50%

I selected to only show the icon and the width remains at around 100px (same as with buttons enabled).

The ability to choose shown elements is just what i missed from the original plasmoid. Thanks.


Reply to this

-

 Re: minimum width

 
 by cician on: Mar 17 2011
 
Score 50%

I changed it to relayout the plasmoid without hidden items. Here's the patch:


diff ./yawc-0.1/yawc.cpp ./yawc-0.1_relayout/yawc.cpp
114c114
< QGraphicsLinearLayout *lay = new QGraphicsLinearLayout(Qt::Horizontal, this);
---
> lay = new QGraphicsLinearLayout(Qt::Horizontal, this);
117,121d116
< lay->addItem(m_currentTask);
< lay->addItem(m_currentTaskTitle);
< lay->addItem(m_minimizeTask);
< lay->addItem(m_maximizeTask);
< lay->addItem(m_closeTask);
125c120,147
<
---
>
> void YetAnotherWindowControl::relayout()
> {
> // remove all items from layout (if any)
> for (int i=0; i<lay->count(); i++)
> lay->removeAt(0);
>
> m_currentTask->setVisible(m_showIcon);
> if (m_showIcon)
> lay->addItem(m_currentTask);
>
> m_currentTaskTitle->setVisible(m_showTitle);
> if (m_showTitle)
> lay->addItem(m_currentTaskTitle);
>
> m_minimizeTask->setVisible(m_showMinimize);
> if (m_showMinimize)
> lay->addItem(m_minimizeTask);
>
> m_maximizeTask->setVisible(m_showMaximize);
> if (m_showMaximize)
> lay->addItem(m_maximizeTask);
>
> m_closeTask->setVisible(m_showClose);
> if (m_showClose)
> lay->addItem(m_closeTask);
> }
>
135,160c157
< if (m_showTitle) {
< m_currentTaskTitle->show();
< }
< else {
< m_currentTaskTitle->hide();
< }
<
< if (m_showIcon) {
< m_currentTask->show();
< }
< else {
< m_currentTask->hide();
< }
<
< if (m_showMinimize) {
< m_minimizeTask->show();
< } else {
< m_minimizeTask->hide();
< }
<
< if (m_showMaximize) {
< m_maximizeTask->show();
< } else {
< m_maximizeTask->hide();
< }
<
---
> relayout();
diff ./yawc-0.1/yawc.h ./yawc-0.1_relayout/yawc.h
70a71
> void relayout();
94a96,97
> QGraphicsLinearLayout *lay;
>


Reply to this

-
.

 Re: Re: minimum width

 
 by csslayer on: Mar 17 2011
 
Score 50%

Thank you for your patch. I modify code in my own way. (for loop with changing lay->count() may cause bug)


Reply to this

-

 Kwin bug?

 
 by herrbatka on: Mar 19 2011
 
Score 50%

Does anybody noticed that setting borderless windows in kderc makes them resizing incorrectly after returning from maximization?


Reply to this

-

 Re: Kwin bug?

 
 by csslayer on: Mar 21 2011
 
Score 50%

seems bug. I just reported and it is confirmed.

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


Reply to this

-

 Re: Re: Kwin bug?

 
 by herrbatka on: Mar 22 2011
 
Score 50%

sadly this option is underloved. No gui way to activate, no proper (like task manager integration of window control) way to use.

But I like the idea.


Reply to this

-

 Re: Re: Re: Kwin bug?

 
 by csslayer on: Mar 22 2011
 
Score 50%

If you want, you can also argue your opinion here: https://bugs.kde.org/show_bug.cgi?id=268517


Reply to this

-

 Re: Re: Re: Re: Kwin bug?

 
 by AlejandroNova on: Feb 26 2012
 
Score 50%

The best place to have this GUI option, IMNSHO, is not KWin; it's the yaWC Settings pane. So, can you implement it?


Reply to this

-

 Off Topic: Firefox Them

 
 by panzi on: Apr 3 2011
 
Score 50%

Which Firefox Theme are you using? And how do you get the menu button instead of the pulldown menu under Linux?


Reply to this

-

 Re: Off Topic: Firefox Them

 
 by csslayer on: Apr 3 2011
 
Score 50%

firefox 4 acutally have the button, right click and uncheck the meun bar.

And the theme is oxygen kde on kde-look.org

http://kde-look.org/content/show.php/?content=117962


Reply to this

-

 Re: Re: Off Topic: Firefox Them

 
 by panzi on: Apr 3 2011
 
Score 50%

Oh I see. Thanks.


Reply to this

-
.

 Nearly perfect...

 
 by Contrast on: Jun 17 2011
 
Score 50%
ContrastContrast
-
Mike Vaughn 37

United States of America, Georgetown, KY
Last visit Jul 19 2014
2 Friends
1 Groups

More info
Send a message
Add as friend
Other contents
--

This is by far the best plasmoid of its kind; it's allowed me to have this [pretty much] titlebar-less layout: http://i.imgur.com/A8Cbv.png. I only wish that it could more closely emulate KWin's native titlebars; i.e:
1) its buttons don't show up for certain dialog windows (whose titlebars do show the buttons);
2) right- or middle-clicking the maximize button doesn't maximize horizontally or vertically, respectively;
3) there's no option for setting the appearance of the buttons to KWin's native buttons;
4) not all of KWin's buttons are implemented (it'd be really nice if the "Configure Buttons" dialog in the "Window Decorations" KCM could be ported to this widget).
How feasible is it to add these features? In any case, thanks for your great work on this widget. :D
(As a side note to those who have been asking about hiding the titlebar for maximized windows, QtCurve has an option for this.)


Reply to this

goto page:  1  2  3  4  5 

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.