Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Posted Apr 17, 2010 12:17 UTC (Sat) by nix (subscriber, #2304)In reply to: Has KDE 4 caught up with KDE 3 yet? by wstephenson
Parent article: Aaron Seigo on the Future of KDE (Datamation)
- Starting with the minor stuff, I'm used to being able to run programs on the root window, or at least display their output there. Can't do that in KDE4. Thanks to a comment here yesterday I now know I have to do some plasma hacking to fix this, which should be fun. :)
- In fvwm+KDE3, I have bound virtually everything to keys (so maximize vertically and horizontally are on different keys). I have several hundred keybindings at this point, but I don't have several hundred keys. So I use key sequences heavily. These appear to have disappeared from KDE4, with no replacement.
- For that matter, khotkeys in KDE4 apparently only allows access to wm functions available over dbus. Virtually nothing related to specific windows appears to be available over dbus. Maybe I just haven't found it, but I'd have expected binding 'maximize this window' to a key to be obvious!
- In fvwm, I use layering and matching to customized window classes to have a set of borderless, titlebarless procmeters displaying a dozen critical stats on different machines down the right-hand-side of the screen. The rightmost of all fills most of the RHS, is at the same layer as everything else, and is the procmeter for the local machine: as it is on the same layer, maximizing windows butts up against this procmeter and does not occlude it. The others are at a higher/lower layer (switchable with a hotkey, hyper-=/hyper-+, where hyper is PrtSc and flips on the mod5 bit). The effect is that with one keystroke I can cause all but the local-system procmeters (and the xdaliclock and pager) to vanish beneath the active window, or reappear again.
(Screenshot, with procmeters in raised position: <http://www.esperi.org.uk/~nix/temporary/procmeter-configu...>)
I've been using procmeters arrayed like this for nearly fifteen years now: if they're not running, I feel almost like the machines have suddenly gone opaque on me. With them there, I can feel the pulse of the machine: because procmeter doesn't normally fork, I can even spot it and guess what's wrong when fork() has started to fail!
In fvwm2 this is about ten lines, no matter how many procmeters happen to be present, plus a -name parameter to give the rightmost procmeter a class other than 'ProcMeter3':
# Flip procmeters to the background
AddToFunc "BegoneProcmeter" "I" All (ProcMeter3, Layer 6) Layer 0 2
+ "I" All (XDaliClock, Layer 6) Layer 0 2
+ "I" All (ProcRightmost, Layer 5) Layer 0 3
+ "I" All (FvwmPager) Layer 0 2
# Flip them back into the foreground again
AddToFunc "ReturnProcmeter" "I" All (ProcMeter3, Layer 2) Layer 0 6
+ "I" All (XDaliClock, Layer 2) Layer 0 6
+ "I" All (ProcMeter3, Layer 3) Layer 0 5
+ "I" All (FvwmPager) Layer default
+ "I" All (FvwmPager) Lower
Key KP_Subtract A 5 BegoneProcmeter
Key equal A 5 ReturnProcmeter
Key KP_Begin A S5 Maximize 100 100
In KWin, it appears to be impossible to do *any* of this. There's no layer management, no binding of raise/lower to keys, no *nothing*. Plasmoids plainly can't do it because they're nailed to the desktop background, while these procmeters spend most of their time raised *above* the active window.
What am I missing? Is there some secret scripting engine I'd missed? 'cos this is really not a lot to demand of a window manager (fvwm 1 could do it way back in 1995, although there were no layers back then so I had to use raise/lower), and if KWin can't even do this I suspect it's not for me.
Posted Apr 17, 2010 23:04 UTC (Sat)
by nybble41 (subscriber, #55106)
[Link]
wmctrl -i -r 0x04000016 -b add,maximized_vert,maximized_horz
In addition to the window ID (-i), as shown above, you can also select the target window by WM_CLASS (-x) or title (default). You can also control other flags, such as 'sticky', 'above', 'shaded' and 'hidden', move and resize windows, switch virtual desktops, and change the focus.
Posted Apr 19, 2010 20:31 UTC (Mon)
by rfunk (subscriber, #4054)
[Link] (17 responses)
In KDE4 you just have to start thinking in high-level terms of plasmoids and widgets, rather than in low-level terms of borderless windows.
Posted Apr 19, 2010 21:38 UTC (Mon)
by nix (subscriber, #2304)
[Link] (7 responses)
Posted Apr 19, 2010 21:52 UTC (Mon)
by rfunk (subscriber, #4054)
[Link] (6 responses)
And in fact plasmoids now seem to get cross network capability ("share this widget on the network") automatically. I haven't tried it and don't know the details of it though.
And they're only nailed to the desktop background if that's where you put them. They can also be on a transparent panel if you like.
Posted Apr 19, 2010 22:10 UTC (Mon)
by nix (subscriber, #2304)
[Link] (5 responses)
Gah.
Posted Apr 23, 2010 16:50 UTC (Fri)
by jospoortvliet (guest, #33164)
[Link] (4 responses)
Posted Apr 23, 2010 22:54 UTC (Fri)
by nix (subscriber, #2304)
[Link] (3 responses)
Posted Apr 24, 2010 8:48 UTC (Sat)
by jospoortvliet (guest, #33164)
[Link] (2 responses)
Another thing, as I'm behind a plasma desktop now I can check out a few things, so let me do that.
I don't know what you need exactly, but under the global keyboard shortcuts (kwin) I see a lot of shortcuts. you can also give individual windows a shortcut and configure their options under 'right mouseclick on decoration > advanced'. Combined, does that bring you what you need?
Posted Apr 24, 2010 9:42 UTC (Sat)
by nix (subscriber, #2304)
[Link] (1 responses)
Ah well, the kde devs are not telepaths and I'd never mentioned any of this before. I'll repost it on the kde@ list shortly.
Combined and window shortcuts would let me switch focus to the window on a keystroke. These windows contain nothing but procmeters that don't respond to keystrokes, so giving them the focus is a waste of time; and it raises the window but does not lower it. also, the 'maximize does not cover the outermost procmeter' still isn't satisfied :/
gah. this took *five minutes* with fvwm2.
Posted Apr 24, 2010 10:06 UTC (Sat)
by jospoortvliet (guest, #33164)
[Link]
Cheers and enjoy the weather :D
Posted Apr 23, 2010 16:20 UTC (Fri)
by jschrod (subscriber, #1646)
[Link] (8 responses)
While Web browser rightily start to use more processes to shield windows or tabs from each other, KDE starts to integrate everything and its darling into one big giantic mess, able to overwrite memory of each other's plasmoids at will.
And this is called a Good Design(tm) nowadays. I'm getting old.
Posted Apr 23, 2010 16:52 UTC (Fri)
by jospoortvliet (guest, #33164)
[Link] (4 responses)
Posted Apr 23, 2010 17:37 UTC (Fri)
by dlang (guest, #313)
[Link] (3 responses)
Posted Apr 24, 2010 8:44 UTC (Sat)
by jospoortvliet (guest, #33164)
[Link] (2 responses)
I greatly respect the core plasma hackers and I'm sure the situation might be more complex than you think...
Posted May 3, 2010 19:21 UTC (Mon)
by dlang (guest, #313)
[Link] (1 responses)
synchronization would be an issue, but how close does the animation of different things need to be synced? and why? In anycase, this is what Futex are good for.
wakeups can be batched by the OS (there have been some articles on this recently)
I suspect that the core plasma hackers are focused so tightly on their use-case and world that they are missing the other advantages.
putting everything in one process is great for some things, but it makes things very fragile as there are a LOT of ways for things to go wrong.
Posted May 3, 2010 20:22 UTC (Mon)
by jospoortvliet (guest, #33164)
[Link]
Again, I can't really argue about this, but I certainly would appreciate a more stable Plasma so if you could find it in your hart to put in the effort to make it possible, my blessing is yours ;-)
Posted Apr 23, 2010 22:52 UTC (Fri)
by nix (subscriber, #2304)
[Link] (2 responses)
Whoever thought this was a better idea than having each tab a separate process and the containing window another one was an absolute maniac. It is evident to everyone (other than, apparently, the Konsole authors) that you do not want *every shell you own* to implode *simultaneously* if Konsole has a bug...
Posted Apr 25, 2010 14:22 UTC (Sun)
by halla (subscriber, #14185)
[Link] (1 responses)
Posted Apr 25, 2010 15:32 UTC (Sun)
by nix (subscriber, #2304)
[Link]
Posted Apr 28, 2010 10:50 UTC (Wed)
by daenzer (subscriber, #7050)
[Link] (1 responses)
FWIW, you can't do that with compositing anyway, as the root window contents are clobbered by the compositing manager.
P.S. I couldn't live without my gkrellm any more than you could without your procmeters. :)
Posted Apr 28, 2010 12:00 UTC (Wed)
by nix (subscriber, #2304)
[Link]
(Now back to trying to figure out why X crashes and wrecks my console on exit in 2.6.33/4 but not in 2.6.32 :/ gah. Bugs, bugs, all around me bugs...)
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
Has KDE 4 caught up with KDE 3 yet?
> display their output there. Can't do that in KDE4. Thanks to a comment
> here yesterday I now know I have to do some plasma hacking to fix this,
> which should be fun. :)
Has KDE 4 caught up with KDE 3 yet?