Image 01
profile-image

kbios

Alberto Mattea
deKorator Themes
System Software
Grub2 Kcm

System Software 35 comments

by kbios
Score 75.3%
Apr 04 2011
Ok, the latest git version contains lots of fixes targeted specifically at Fedora 17, plus some other improvements. I tested it quickly in a VM, but the feedback of a day-to-day user would be useful. - Mar 20 2012
Ah, just noticed that Fedora no more provides update-grub :-(
So you will also need to create /usr/sbin/update-grub with the following contents:

#!/bin/sh
set -e
exec grub-mkconfig -o /boot/grub2/grub.cfg

and set it executable (chmod 0755 /usr/sbin/update-grub) - Mar 20 2012
Just tried Fedora 17 in a virtual machine. The problem is that Fedora now installs grub.cfg under /boot/grub2 instead of /boot/grub, and grub-mkconfig as grub2-mkconfig. I will fix this in the next version, for now you can do (in a terminal as root)

cd /boot/grub
ln -s ../grub2/grub.cfg grub.cfg
cd /usr/sbin
ln -s grub2-mkconfig grub-mkconfig

The first time you will still be prompted about wrong permissions, but after entering your password it will work. - Mar 20 2012
Hi jakepbg, and sorry for the delay. Does it help if you add

#include <unistd.h>

at the top of helper.cpp? - Mar 17 2012
The automatic read slot seems a really good idea, although it would probably need some checks to avoid potential security risks. It may be good also for the other part of the module requiring root access: vbetest (currently in git). I'll work on it for v1.4.
I have seen your work, that's very good, Linux is all about choice.

Alberto - Mar 26 2011
Hi, thanks for your constructive comment. I'll try to explain what's behind this decision.
First of all, I think setting grub.cfg to 0400 is useless anyway, since
1) one can simply read the password directly from the scripts in grub.d
2) if you have direct access to the machine, you can easily get the password with a bunch of techniques, it won't be a 400 to stop you (and crypting the disk will be useless in this case, since /boot cannot be crypted).
Second, that's why I added support for sha512 crypted passwords: anyone considering security so important would never use cleartext ones.
Fixperm is designed to avoid to annoy the user with UAC-style messsages, and since you probably won't be running grub-mkconfig manually everyday (probably just when installing a new kernel) I think it does its job.
That said, since kde it's all about giving the user the power to judge and decide, I'm likely going to add an option to disable it in version 1.4 (1.3 is in string freeze now).
Alberto - Mar 26 2011
Thanks! - Mar 08 2011
Ah, so it seems slackware is using a different directory structure. So most likely one of the other files are in a place which is different from what kde expects them to be. For example, /usr/lib/kde4/libexec/kcmgrub2helper may be /usr/lib/libexec/kcmgrub2helper. To be sure, you could search for the equivalent files in other k control modules: for example a search for all the files that begin with org.kde.kcontrol should give you the correct path for .conf, .service and .policy files. - Feb 22 2011
Ok, so the problem is within the helper. Could you check that the following files/directories are correctly installed (Assuming kde is installed in /usr)?
/usr/share/kde4/apps/kcmgrub2/kcmgrub2.py
/usr/share/kde4/apps/kcmgrub2/kcmgrub2.ui
/usr/share/kde4/services/kcmgrub2.desktop
/usr/lib/kde4/libexec/kcmgrub2helper
/etc/dbus-1/system.d/org.kde.kcontrol.kcmgrub2.conf
/usr/share/dbus-1/system-services/org.kde.kcontrol.kcmgrub2.service
/usr/share/polkit-1/actions/org.kde.kcontrol.kcmgrub2.policy

You might also try reloading dbus. - Feb 22 2011
Hi, could you please execute it with "kcmshell4 kcmgrub2" from the command line, try to save the settings and post the output here? The module shouldn't be executed as root, and that error message usually means that the c++ helper has not been properly installed. - Feb 19 2011
Hi, thanks for the kind words.
Yes, I plan doing that as soon as I have some free time, probably in a few weeks. - Feb 15 2011
Ok, since no one has opposed to this, I will make the change for version 1.2 (which will allow translation changes). For now, enjoy the new 1.1! - Feb 03 2011
Hi Craig
You're right - not everyone knows what Grub2 is, and I surely agree that from a distribution point of view bootloader configuration would sound better (every distribution has only one bootloader, after all). My concern, though, is from a kde point of view: there is already, for example, a module for Grub Legacy, and renaming mine "bootloader configuration" would probably sound like saying "this is official" or something like that.
However, I don't want to impose my view in any way, so I would like to hear other opinions about this and then decide in time for 1.1 (this Thursday). - Jan 31 2011
Thanks! - Jan 31 2011
Thank you! I will add it in the upcoming 1.1 version, which should also have a workaround for ubuntu natty and a few other fixes. - Jan 28 2011
Thank you! That's very appreciated. - Jan 27 2011
WOW, that was fast!
Thanks - Jan 26 2011
Run Command

Plasma 4 Widgets 145 comments

by Emdek
Score 76.7%
Feb 04 2012
Thanks, and sorry for the delay! - Feb 11 2012
Hi, while i really like this widget, I've been running into these issues:
- Cut text (as reported above) -> fixed by adding
m_comboBox->setFixedHeight(30);
in
RunCommandApplet::init()

- I cannot resize it whatever I try (panel settings opened or closed, objects locked or unlocked). The resize cursor appears, but nothing happens. Since by default it takes all the space on the panel, I have put
setPreferredWidth(200);
and it seems to work.

I am under KDE 4.8.0 amd64

Thanks again for this great applet - Feb 01 2012
Win Classic

deKorator Themes 4 comments

by kbios
Score 63.3%
Jan 17 2012
Thanks! - Jan 17 2012
FanSpeed

Plasma 4 Widgets 30 comments

Score 81.6%
Apr 12 2011
Very useful. Thanks! - Apr 12 2011
Run Command

Plasma 4 Widgets
by Emdek

Score 76.7%
9   Feb 11 2012
FanSpeed

Plasma 4 Widgets
by nik3nt3

Score 81.6%
9   Apr 12 2011
UFW KControl Module

System Software
by CraigD

Score 83.7%
9   Apr 12 2011