Domain: martin-graesslin.com
Stories and comments across the archive that link to martin-graesslin.com.
Stories · 8
-
Why Screen Lockers On X11 Cannot Be Secure
jones_supa writes: One thing we all remember from Windows NT is the security feature requiring the user to press CTRL-ALT-DEL to unlock the workstation (this can still be enabled with a policy setting). The motivation was to make it impossible for other programs to mimic a lock screen, as they couldn't react to the special key combination. Martin Gräßlin from the KDE team takes a look at the lock screen security on X11. On a protocol level, X11 doesn't know anything of screen lockers. Also the X server doesn't know that the screen is locked as it doesn't understand the concept. This means the screen locker can only use the core functionality available to emulate screen locking. That in turn also means that any other client can do the same and prevent the screen locker from working (for example opening a context menu on any window prevents the screen locker from activating). That's quite a bummer: any process connected to the X server can block the screen locker, and even more it could fake your screen locker. -
KDE Software Compilation 4.11 Released
jrepin writes "The KDE community has released version 4.11 of Software Compilation, which is dedicated to the memory of Atul 'toolz' Chitnis, a great Free and Open Source Software champion from India. This version of Plasma Workspaces will be supported for at least two years, and delivers further improvements to basic functionality with a smoother taskbar, smarter battery widget and improved sound mixer. The introduction of KScreen brings intelligent multi-monitor handling. KWin window manager incorporates first experimental support for Wayland. This release marks massive improvements in the Kontact PIM suite, giving much better performance and many new features, like scam detection and scheduling e-mail sending. Kate text editor improves the productivity of Python and Javascript developers with new plugins, Dolphin file manager became faster, and the educational applications bring various new features. The Nepomuk semantic storage and search engine received substantial performance improvements." The performance enhancements to nepomuk (KDE's semantic desktop engine) are particularly welcome. This release of the Plasma desktop also marks the end of Plasma version one; primary development focus will now switch to updating KDE for Qt 5. There should still be more updates to KDE 4, however. Also released recently by the KDE team was the first RC of Plasma Media Center 1.1. -
KWin Maintainer: Fanboys and Trolls Are the Cancer Killing Free Software
An anonymous reader writes "Martin Gräßlin, maintainer of the KWin window manager, writes an informative blog post about his experiences with the less favorable pockets of the Free Software community. Quoting: 'Years ago I had a clear political opinion. I was a civil-rights activist. I appreciated freedom and anything limiting freedom was a problem to me. Freedom of speech was one of the most important rights for me. I thought that democracy has to be able to survive radical or insulting opinions. In a democracy any opinion should have a right even if it's against democracy. I had been a member of the lawsuit against data preservation in Germany. I supported the German Pirate Party during the last election campaign because of a new censorship law. That I became a KDE developer is clearly linked to the fact that it is a free software community. But over the last years my opinion changed. Nowadays I think that not every opinion needs to be tolerated. I find it completely acceptable to censor certain comments and encourage others to censor, too. What was able to change my opinion in such a radical way? After all I still consider civil rights as extremely important. The answer is simple: Fanboys and trolls.'" -
KDE Plasma Can Now Run On Wayland
An anonymous reader writes "With the upcoming KDE 4.11, there's an initial Wayland backend through the KWin manager. The author notes on his blog: 'Once the system is fully started you can just use it. If everything works fine, you should not even notice any difference, though there are still limitations, like only the three mouse buttons of my touchpad are supported ;-)'" -
Why KDE Plasma Makes Sense For Linux Gaming
sfcrazy writes "Martin Gräßlin, a lead KDE developer, addresses some queries around a topic bugging Gnome and Unity users — the fallback mode. In this post he says that 'having the non-composited mode around allows us to do things like turning compositing off when running games or heavy OpenGL based applications such as Blender. So if you want to get some of the now finally available games for Linux, KDE Plasma should be your primary choice to enjoy the game. I have also heard of users switching to KDE Plasma because we still provide non OpenGL based setups.'" -
KWin Adds Support for QML Decorations
As part of a KDE-wide effort to prepare for Qt 5/QtQuick2, and a push to improve the window manager, KWin now sports QML decoration support. Currently, the C++ API for decorators is "...not very Qt like and requires a strong understanding of how the window decoration in KWin works ... [and] seems to be too difficult to be used." This complexity increases maintenance burden: "In 4.9 we ship four window decorations: the Aurorae theme engine, Oxygen, Plastik, b2 and Laptop. Together they are 10 kSLOC of C++ code and 1 kSLOC QML code (Aurorae). Before Aurorae got ported to QML the size of the decorations was 13 kSLOC. Overall that is about 10 per cent of the KWin source base, which is rather large." Basing his work on the QML version of the Aurorae engine, Martin Gräßlin set out to port Plastik to QML (the C++ version has already bitrotted, and was slated for removal): "After one and a half days of work I’m proud to say that writing decorations in QML is possible. ... In the current state the decoration consists of 370 lines of QML code and I expect to need an additional 100 lines to finish the buttons (they are already functional, that is the close button closes the window) and add some of the configuration options. The same API in C++ consists of 1500 lines of code. So we do not only get fewer lines of code but also a more readable and easier to maintain codebase. For something like a window decoration a declarative approach is much better suited than the imperative C++ way of painting elements." -
KDE KWin May Drop Support For AMD Catalyst Drivers
An anonymous reader writes "The KWin window manager maintainer for KDE is looking at removing the legacy OpenGL 1.0 renderer from the KWin code-base due to the costs of supporting legacy hardware. This means dropping support for non-GL2+ graphics cards, which are all over six years old, but in the process would mean that for now there is no longer any support for the AMD Catalyst driver on the KDE desktop. Due to driver bugs, AMD's proprietary Catalyst software only works well with the GL1 renderer even though their latest hardware supports OpenGL 4." -
KDE SC 4.7 May Use OpenGL 3 For Compositing
An anonymous reader writes "KDE SC 4.5 is about to be released and KDE SC 4.6 is being discussed. However, Martin Graesslin has revealed some details about what they are planning for KDE 4.7. According to Martin's blog post, they are looking at OpenGL 3.0 to provide the compositing effects in KDE SC 4.7. OpenGL 3.0 provides support for frame buffer objects, hardware instancing, vertex array objects, and sRGB framebuffers."