-
 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   
 
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login



Sponsoring


-
- Content .- Fans (5) . 

Workspace-Strap Effect

   1.0.4  Updated

KDE Improvement

Score 75%
Workspace-Strap Effect
zoom


Workspace-Strap Effect
zoom


Minimum required   KDE 4.x
Downloads:  885
Submitted:  Jul 23 2011
Updated:  3 hours ago

Description:

This is a KWin Effect that lets you organize your windows on a linear strap, that is bigger than your screen. Using configurable modifier keys, you can easliy move the part of the strap you see.
This gives you more space on your Desktop and more freedom in organizing your windows.

Requires KDE 4.7.

Attention: After updating your KDE-Version to a new Feature-Release (4.x) you have to rebuild this effect, as KWin doesn't load effects that were built against an older KDE-version than installed.

Features:
-A preview of the whole strap when pressing the modifier keys
-Automatically moves your view to a just activated window
-Choose between a horizontal strap (better for big screens) or a vertical strap (better for small screens)
-Shortcut (ALT+Meta+Space) to move the view to the center of the strap




Changelog:

0.1: Initial release
0.1.1: Added a README-file
0.1.2: Have a separate position for each virtual desktop and activity
0.2: Optionally make the strap vertical
1.0: -Make the strap automove when less than 33%(configurable) of the window is shown
-Shortcut to move the view to the center of the strap
-Remove the annoying flickering
-Fix a bug with tabbed windows (Requires 4.8)
-Improve the handling of maximized windows
-Fix the compiling bug of not finding kactivityconsumer.h
1.0.1: Fix 3 compiling errors, concerning kactivities
1.0.2: Fix a bug that caused the effect to move only one window on 4.7
1.0.3: Make the effect work again with KDE >= 4.11 (tested with 4.13)
1.0.4: Fix two small bugs from previous version
1.0.5: Fix automove




LicenseGPL
Source
openSUSE 13.1
openSUSE 12.3
openSUSE 12.2
Send to a friend
Subscribe
Other  Artwork  from KAnton
Report inappropriate content



goto page:  1  2  3  4  5  6 

-

 Howto

 
 by TommyCZ on: Jul 23 2011
 
Score 50%

Please add at least a small howto information about installing, thanks.


Reply to this

-

 Re: Howto

 
 by KAnton on: Jul 23 2011
 
Score 50%

Done. It's in the README.


Reply to this

-

 Cool idea

 
 by Znurre on: Jul 23 2011
 
Score 50%

It's a very cool idea, unfortunately it requires this: http://developer.qt.nokia.com/wiki/New_Signal_Slot_Syntax which is targeted at Qt 5.


ArchLinux User
Reply to this

-

 Re: Cool idea

 
 by Znurre on: Jul 23 2011
 
Score 50%

Nevermind that comment, I must've been high.
I have some build issues and somehow thought your connect syntax looked weird.


ArchLinux User
Reply to this

-

 Re: Re: Cool idea

 
 by KAnton on: Jul 23 2011
 
Score 50%

I didn't use Qt5 Signal-Slot syntax, but I used a signal, that is just available in KDE 4.7. It should now be fixed.
If you have still compilation problems, feel free to post them here :)


Reply to this

-

 Re: Re: Re: Cool idea

 
 by Znurre on: Jul 23 2011
 
Score 50%

Ah, I see :)
I still get compilation problems however: http://paste.kde.org/100411/

It seems Effect does not inherit QObject in KDE 4.6, for some reason?
Even if I make WorkspaceStrapEffect inherit both Effect and QObject there's a number of other errors.
I guess I will just have to wait for 4.7, which should not be too long anyway :)


ArchLinux User
Reply to this

-

 Re: Re: Re: Re: Cool idea

 
 by KAnton on: Jul 23 2011
 
Score 50%

This is indeed not an easy one...
So probably you really have to wait for 4.7, but I'll have a look at it again, maybe I get it working (but it's not very likely).
Sorry for that.


Reply to this

-

 Re: Re: Re: Re: Re: Cool idea

 
 by Znurre on: Jul 28 2011
 
Score 50%

Upgraded to 4.7 today, and just wanted to say that the effect works great.
Thanks a lot, great job!


ArchLinux User
Reply to this

-

 Nice and an idea!

 
 by FSchulz on: Jul 23 2011
 
Score 50%

Hey!
Very nice effect and it works very well here under KDE 4.7. One question: Is it possible, that you can seperate the movements between the virtual destop? This means, that when you move the strap on one virtual desktop, the strap on the second virtual desktop dont get moved.

And can you also implement a function to center the strap? Maybe if you press Meta+alt+space, the strap gets centered?

Best regards!


Reply to this

-

 Re: Nice and an idea!

 
 by KAnton on: Jul 23 2011
 
Score 50%

First of all, thank you :)
About your first idea: Nice one, currently implementing it.
About your second idea: I think I didn't quite get it, do you mean a shortcut to
a) move the view to to the middle of the strap
b) set the position to the middle without moving the windows
I don't see a real usecase for none of these, but I may be wrong. Or did you mean something completely different?


Reply to this

-

 Re: Re: Nice and an idea!

 
 by FSchulz on: Jul 23 2011
 
Score 50%

Wow, thanks, this is very fast. I'm happy when I can test it :)

To the second: I mean a) ;). I think its very usefull, because if you have applications that you dont need that often, you can put them on one side of the strap. The main applications are in the middle. So this function would save time, because you can look at your application at the side of the strap and with one hotkey, you can switch to your main applications in the center. I hope you understand it. So maybe you want to implement it, maybe not ;).

So thanks for your great work! The funny thing is: Yesterday I thought: Why aren't there much more good Kwin-Effects! I think you heared me ;)

Best regards


Reply to this

-

 Re: Re: Re: Nice and an idea!

 
 by KAnton on: Jul 24 2011
 
Score 50%

First idea: Here it is!
Second idea: I understand... might be usefull, indeed. Let's say I'll implement it, if you say me how to keep the config ui clean :)

btw: if you click on a window that is not in your view the view will move automatically to that window. That migh be an alternative for the time being.

Of course I was looking into your head and found this thought. Then I implemented the effect in one night ;)
/me is dreaming of being able to implement this in one night...


Reply to this

-

 Re: Re: Re: Re: Nice and an idea!

 
 by FSchulz on: Jul 24 2011
 
Score 50%

Wow, that was fast! Nice! It works for me very well.Thanks!

Regarding the UI: Maybe you can structure it with tabs? If I know a better solution, I'll tell you...

Mmhh... The automatic sliding when you click on the icon is a nice feature :)

One question: When I press alt+meta and the overview over the strap appears, did the inner area, which shows the currently visible area, also flickers on your system when you move the visible area? I have a Nvida so maybe its because of this.

Best regards and thanks for your great work!

Oh and P.S.: Go out of my head! ;)


Reply to this

-

 Re: Re: Re: Re: Nice and an idea!

 
 by FSchulz on: Jul 24 2011
 
Score 50%

I like this effect more and more! Its very good. Also the automatic sliding, when you change the application is nice (an option would be, that the user can set the time/speed of the slide).

I also activated the effect to change with alt+tab between the windows on one virtual desktop and so I just can switch and slide over the screen with alt+tab and dont have to choose the application in my taskbar/dock. Also it is very nice that when you want to change the position of a window, you can hold it with the mouse, press meta+alt and then you can move it over the strap.

One thing is that I have the slide effect when I switch between the virtual desktops. I have three virtual desktops in a row. When I switch, for a short amount of time, there is a glitch in the effect, because I see the windows on the strap that are not visible at the time. Maybe you can fix this, than this effect would be more perfect ;) ... Sorry that I have so much ideas and found some bugs and make you more work...

Best regards!


Reply to this

-

 Re: Re: Re: Re: Re: Nice and an idea!

 
 by KAnton on: Jul 25 2011
 
Score 50%

@UI: Tabs it not enough, if you have a good idea how to organize the ui using tabs, I'm listening. Else I think simply tabs will not help to make it clean.
If you give me at least two other useful shortcuts I might have an idea... (and no, left and right end are no candidates)

@flicker: yes it happens, I think it's a problem inside kwin, it's on my TODO-list to hunt it.

@VD-slide-effect: I tried to copy your setup; the behaviour I saw, was that windows that are half in the view, are cut off and just the visible part was animated. Is that what you meant?
If yes: I think there isn't much I can do about it, sorry
If no: then I didn't get it...

@general: It's very satisfying to see that it is going over so well :)
And: Thank you for your much and good input, it's helping me to perfect my effect and to keep my TODO-list long :)

PS:Don't worry, today I was already looking into the heads of some other KDE-users, but they're all satisfied by the perfection of KDE, so I can sleep tonight. Yeah really they are!! No, I don't say it for laziness!


Reply to this

-

 Re: Re: Re: Re: Re: Re: Nice and an idea!

 
 by FSchulz on: Jul 25 2011
 
Score 50%

@UI: Mmmh... I think space is a good key (meta+alt+space) and maybe meta+space+v, because you just need one hand for it.

@VD-slide-effect: Mmmh.... for me I see also the windows that are outside the view for a very short time. So I have on VD1 a Browser (outside the view) on the right side. When I switch to VD2, the screen slides to VD2 and shows me for a very short time the browser, that is right on the outside of the view. Hard to describe. Hope you get it...

So thanks for your awesome work!



-

 Vertical version

 
 by herrbatka on: Jul 29 2011
 
Score 50%

I think that vertical version would be handy for netbook screens.


Reply to this

-

 Re: Vertical version

 
 by KAnton on: Aug 1 2011
 
Score 63%

Sorry that I couldn't reply earlier, something called real life was distracting me ;)
I already thought about this, but I wanted to hear whether it would be requested.
So... It was requested so I'll do it, when I have time, but currently I'm at some other things, so it may take a bit longer (between a few days and a few months).


Reply to this

-

 Re: Re: Vertical version

 
 by herrbatka on: Aug 1 2011
 
Score 50%

Thank you for the answer.

I'm still on the KDE 4.6 so didn't test it, but i'm wonder how maximalization works - maybe there should be key bind to max windows on whole strap.

Although it does not make sense for desktop, there are apps that basicly does not fit on netbook screen (like zenwalk package manager) or fits, but they actual working area is too small. If I could just use app with full blown interface at the top of window, yet with the option to scroll down and have also big working area...

Well, it's just one window (netbook) vs multiple windows (laptop, desktop) dilemma.


Reply to this

-

 Re: Re: Re: Vertical version

 
 by KAnton on: Nov 5 2011
 
Score 50%

Lasted a bit longer than expected (too many other things to do) but finally the vertical version is there :)
I'm not quite sure about the thing with maximizing to whole strap, as the strap is meant to be quite big (I have a horizontal strap with 5000px size).
You can still resize the window to a size bigger than your screen manually, but I don't think it makes much sense to have a window with a geometry of 1024x3000p. But you can convince me ;)


Reply to this

-

 Re: Re: Re: Re: Vertical version

 
 by herrbatka on: Nov 6 2011
 
Score 50%

Well, I can't test since I'm still on KDE 4.6.5

But I promise to install it when 4.7 will hit the repo. I guess that this should be usable on small screens, just opposit to virtual desktops.


Reply to this

-
.

 Error when compiling...

 
 by reves121 on: Nov 6 2011
 
Score 50%
reves121reves121
RevesDesigns
Home

Hi KAnton, I tried to compile your plasmoid, but I get this error:

/home/migue/Proyectos/workspacestrap/workspacestrap.cpp:26:31: error fatal: kactivityconsumer.h: No existe el archivo o el directorio
compilación terminada.
make[2]: *** [CMakeFiles/kwin4_effect_workspacestrap.dir/workspacestrap.o] Error 1
make[1]: *** [CMakeFiles/kwin4_effect_workspacestrap.dir/all] Error 2
make: *** [all] Error 2

Can you help me? Please.


Reply to this

-

 Re: Error when compiling...

 
 by naaamo2004 on: Nov 6 2011
 
Score 50%

+1


Reply to this

-

 Re: Re: Error when compiling...

 
 by KAnton on: Nov 6 2011
 
Score 50%

What version of KDE are you using?
The file kactivityconsumer.h just exists like this in KDELibs 4.7. In master it was renamed to kactivities/consumer.h
PS: @reves121: If you get compile errors you should recompile using 'LANG=en make' and post the output of that one.


Reply to this

-
.

 Re: Re: Re: Error when compiling...

 
 by reves121 on: Nov 6 2011
 
Score 50%
reves121reves121
RevesDesigns
Home

I'm using KDE 4.7.2 (Kubuntu 11.10).

I'm going to try to compile using the options you gave, I'll post comment later.


Reply to this

-

 Re: Re: Re: Re: Error when compiling...

 
 by KAnton on: Nov 6 2011
 
Score 50%

Can you please search for kactivityconsumer.h in /usr/include? (if it's there please give me the exact path)

You don't have to recompile this one, just for the next time (LANG=en means that the output is in english. I understood the output, but for general it's better to have english output) ;)


Reply to this

-

 Re: Re: Re: Re: Re: Error when compiling...

 
 by naaamo2004 on: Nov 6 2011
 
Score 50%

/usr/include/kworkspace/kactivityconsumer.h


Reply to this

-

 Re: Re: Re: Re: Re: Re: Error when compiling...

 
 by suebi on: Nov 8 2011
 
Score 63%

Users of Kubuntu 11.10 can open workspacestrap.cpp and replace in line 26

#include <kactivityconsumer.h>

with

#include </usr/include/kworkspace/kactivityconsumer.h>

At least this worked for me.



-

 Re: Re: Re: Re: Re: Re: Error when compiling...

 
 by kevincolyer on: Jan 4 2012
 
Score 50%

I think there is a typo in Cmakelists.txt, line 22. I think is should read if (EXISTS "/usr/include/kworkspace/kactivityconsumer.h") (there was a .hg at the end - with less of the heavy metal cmake worked!)

PS Wonderful creative thinking by the way!



-

 Great

 
 by naaamo2004 on: Nov 8 2011
 
Score 50%

Now it works for me, too :)
Great idea, thx for sharing!


Reply to this

goto page:  1  2  3  4  5  6 

Add commentBack






-

-
How do you like Plasma 5?
 The best KDE Desktop ever.
 Definitely a nice improvement.
 Not decided yet. Haven't tried it yet.
 I do not like some of the changes.
 KDE is taking the wrong way.
 I am still sticking with KDE 3.5.
 I have no opinion, but wanted to vote anyway.

resultmore




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

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

Copyright 2001-2014 KDE-Look.org Team  
All rights reserved. KDE-Look.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.