JAN
27
2009
|
My favourite KDE 4.2 feature: Task Bar And Window GroupingI was going to make it "Konsole Tabs Are Session Managed Again" but it's a restored KDE 3 feature and all the kids know that commandline hacking is not cool. So instead here's one that I found about just today while proofreading the Visual Guide to 4.2 and one that made my heart leap. Are you someone who likes to control your desktop? Have everything organised just the way you like it? I am, that's why I've been using KDE for *gulp* 10 years this year. I used to think I was intrinsically chaotic, but after a while I found I could be a lot more productive if I keep related apps together. At first I did this with many virtual desktops. But now KDE has found a way to give me EVEN MORE CONTROL on a single desktop, and without making anything else more complicated. Here's a screenshot tour of this cool new feature. The default taskbar grouping setting is 'By Program name, when taskbar full'. This does the job 90% of the time. However, sometimes tasks relate to one another that are from different applications. Here's a screenshot of my X60 hard at work producing a highly complex KDE application using Qt Designer. I also have a text file open in KWrite where I've noted my plans and Vim running in a Konsole to actually write the code (had to get a Konsole in somewhere!). But what about all these windows? Do I actually want to be presented with all Designer's SDI window tabs when I'm cutting the code? No! Is Assistant's icon too similar to Designer's, so I click the wrong thing? Yes! Fortunately the restored task grouping feature of Plasma's Task Manager applet lets me do anything I could with KDE 3, and even more. First, we switch the Grouping setting to 'Manual'. To get to the Task Manager Settings, you click on an empty area of the taskbar. If the taskbar happens to already be full of windows, tough! Finding an empty area is hard. This needs improvement. There is an empty pixel between each task, see if you can find it. Now we can group our tasks together. For wrangling the UI, I want the Designer windows AND the DESIGN KWrite window with my master plan. For actual coding, I want Konsole, Qt Assistant, and Konqi for the KDE API docs (I really should get round to generating them in Assistant format). To group a task, alt-drag and drop it onto another task. The task label changes into 'GroupN' with an arrow indicating it can be expanded and a tiny number indicating how many tasks are in the group. Drag, drag, drag, done. As you can see, a left click expands the group. GroupN doesn't tell me anything though, let's change that. Right-click the group and select 'Edit Group' - someone forgot the '...' there that indicates this opens a dialog. So that's 2 groups, 'User Interface' and 'Code'. Want to see what's inside one? You could right-click as I showed you already, or you can middle-click a group and it pops open. Another middle-click and it springs shut again. Don't get your mouse pointer caught! Now let's start using these groups to tidy up my hacking session. Right-click the Code group, click Minimise or press 'N' (on an X60 your fingers are never far from the keyboard) and all the User Interface windows are gone. Get the UI finished, switch to our Code group, job done. What else does the humble task bar hold in store for us? I don't know, I didn't work on it, but here are my wishes: * Left-click a group should react like left clicking a single task - minimise or restore all tasks. I think that's enough. Enjoy KDE 4.2. |
![]() |
Comments
The Easy Way to the Task Manager Settings
Chani just educated me in the shortest way to any plasmoid's settings on the toolbar - click the Panel Toolbox button aka Cashew, putting that Panel into edit mode, then a right click on any plasmoid will show you an abbreviated context menu including the Settings action.
Notice
I was a bit confused by "alt-drag and drop", which actually means drag it while holding Alt key pressed.
Hope that would be helpful to someone.
(btw, still works perfectly in KDE 4.9)