You are not logged in.
I recently began playing w/ the kde packages and find myself looking for a method to use gparted under kde. Since it requires gtk, I'm pretty sure it won't run under KDE
# gparted
No protocol specified
(gpartedbin:12196): Gtk-WARNING **: cannot open display: :0.0
Last edited by graysky (2009-06-21 19:19:42)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
99.9% of gtk/gnome programs can run in kde without trouble. A different toolkit only means loading up more libraries than you normally would, and having to use different ways of making the theme match to the rest of your system. Some people use qtcurve-kde4 for kde and qtcurve-gtk2 under lxappearance or a similar program, some use gtk-kde4, some use gtk-qt-engine, whatever. I find the first option the simplest.
I use gparted regularly.
That error looks like you're trying to run it as plain root from a terminal. Try installing gksu and running it with "gksu gparted".
Even normal 'sudo gparted', while typically not advised, I believe would work.
Last edited by FrozenFox (2009-06-21 12:38:54)
Offline
Cool, thanks for the info
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
It runs just fine under kde, but it requires admin priviledges. Since
kdesu gparted
or
kdesudo gparted
(the latter requires the kdesudo package from AUR).
Don't even attempt "sudo gparted" while running KDE, it may even crash your running x-session.
Last edited by scarecrow (2009-06-21 12:44:25)
Microshaft delenda est
Offline
If sudo gparted crashes your x session, there's something wrong with your setup. I've used sudo for such things as gparted on occasion for years across many distributions and de's and not had any problems.
Graysky: Would appreciate if you edited the first post and marked this solved.
Offline
Well, you don't need to install gksu because kde has its own su(do)-command: kdesu
edit: late ...
Last edited by arlite (2009-06-21 12:55:14)
Offline
Under what circumstances would "sudo gparted" let KDE crash? Just being curious.
Offline
You could also try qtparted, but I find it more flaky than gparted.
Offline
I use partitionmanager. It uses kdelibs and alot like gparted. You'll find it in aur supported.
Setting Up a Scripting Environment | Proud donor to wikipedia - link
Offline