Siduction Forum
Siduction Forum => Software - Support => Topic started by: tomsiduction on 2018/08/13, 17:49:03
-
Hallo
Ich stehe vor einem Problem
Sowohl
dolphin-root
als auch
kate-root sind nicht installierbar?
Vielen Dank für jeden Hinweis
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libdolphinvcs5-root_4%3a17.08.3-6_amd64.deb (--unpack):
Versuch, »/usr/lib/x86_64-linux-gnu/libdolphinvcs.so.5.0.0« zu überschreiben, welches auch in Paket libdolphinvcs5:amd64 4:18.04.0-1 ist
dpkg-deb: Fehler: einfügen subprocess was killed by signal (Datenübergabe unterbrochen (broken pipe))
Vorbereitung zum Entpacken von .../dolphin-root_4%3a17.08.3-6_amd64.deb ...
Entpacken von dolphin-root (4:17.08.3-6) ...
dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/dolphin-root_4%3a17.08.3-6_amd64.deb (--unpack):
Versuch, »/etc/xdg/servicemenu.knsrc« zu überschreiben, welches auch in Paket dolphin 4:18.04.0-1 ist
dpkg-deb: Fehler: einfügen subprocess was killed by signal (Datenübergabe unterbrochen (broken pipe))
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/libdolphinvcs5-root_4%3a17.08.3-6_amd64.deb
/var/cache/apt/archives/dolphin-root_4%3a17.08.3-6_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
-
Stimmt, ich sollte das Zeug mal löschen
-
Hallo
"
Stimmt, ich sollte das Zeug mal löschen"
Und welche Lösung gibt es dann, wenn ich mit Dolphin oder Kate o.ä. als root arbeiten will?
Vielen Dank
-
Das ist einfach - Du patchest und kompostierst das selbst oder hoffst auf ein Einsehen innerhalb von KDE.
Ich hab mit dauerhaften Patches dafür ein ganz leichtes Problem - macht man das halbwegs sauber (eigene Pakete) fällt man bei qt und KF5 upgrades fürchterlich auf die Nase - also immer wenn die Pfeifen, müssen wir hopsen. Geht man mit dem Upstream und patched - dito. Das ist es irgendwie nicht wert. Es gibt andere Filemanager und Editoren, die solchen Schwachsinn nicht machen.
Edit: Macht man das unsauber und patched einfach die Orginalquellen, dann fällt man mit jeder neuen Version+1 auf die Nase und wird angeschrien, dass das nicht mehr funktioniert - einfachste Lösung ist ein eigenes Patchset und lokal kompilieren.
-
@tom,
pcmanfm-qt mit "kdesu" oder "kdesudo"
juffed oder leafpad mit "kdesu" oder "kdesudo"
;-)
-
even better - feather mit *sudo
@dibl - juffed is less or more dead (since years). Tsujan developed featherpad instead - (i "helped" with nitpicking, grumbling and (as he said) some useful suggestions 8))
Edit: One should have a look at the available options - with defaults featherpad looks a bit 'naked'
-
Yep.
Leafpad works OK, too. Very minimal, but edits text files.
-
I would tend to agree if s/leafpad/mousepad - mousepad is the XFCE clone of Leafpad and strongly improved - for Qt i would suggest Notepad (new, but capable - replaced nano for me) - ok, a reason might be too that i know the developer and we just have built in what we use on a daily base 8) - so right now it is the the only suckless edior i know beside nano. And if we find out about missed functionality it will be added.
-
.....ok, a reason might be too that i know the developer and we just have built in what we use on a daily base 8) -
Thanks for doing that!
Good old nano -- it never fails. But, sometimes it is good to see the text file in black font on white background, especially when there is a lot of text to navigate. Especially when you are editing in the dark ..... ;-)
-
Vielen Dank
-
Mit den soeben veröffentlichten KDE Applications-18.08.0 ist das Editieren als Root in Dolphin wieder möglich. Zusätzlich wird an der Möglichkeit gearbeitet, Dateien, die Root gehören, auch bearbeiten zu können, wenn Dolphin im Usermode läuft.
-
gute Neuigkeiten.
Und Danke ans Team, speziell Alf, für den zeitweisen Ersatz durch Dolphin-root. Ich denke dass ein paar Distris diesen Weg gegangen sind hat die Entscheidung der KDE-Entwickler ebenfalls beeinflusst, neben den diversen "Bug"-reports
Grüße
ayla
-
@ayla - normalerweise ist so was richtig einfach, das Patch-System von debian ist für solche Sachen bestens geeignet. Leider kann ich manchmal nicht so, wie ich gern möchte: Da wir die Pakete von debian beziehen, kann ich in Siduction nicht einfach so überpatcjhen.
Das würde auf Dauer zu hefig.
Und auf Diskussionen mit Herrn Flöser lege ich auch keinerlei Wert, das ist schon vor 10 Jahren grandios in die Hose gegangen. Seine Wortwahl im Umgang mit Kritik stellt selbst mich in den Schatten und das muss man erst mal hinbekommen - ok, das Problem Flöser hat sich ja auch erledigt. Das könnte auf Dauer gut für KDE sein.
-
Melmarker is this the Notepad you mean https://notepadqq.com/wp/ I am struggling to find any other.
-
apt install featherpad
-
Is there any way to change to root with it open or does it need to be started as root. It runs from root terminal but not kdesu.
-
As I mentioned yesterday in this thread in German:
With the just released KDE Applications-18.08.0 editing as root in Dolphin is possible again. Additionally, they are working on the possibility to edit files that belong to root, even if Dolphin is running in user mode.
-
Thanks Devil, I had seen your post and this feature look like it will be useful but 18.08 is not here yet and I wanted to try featherpad ,for me where my main use is just editing config files nano still remains default.
-
@titan - you have already noticed that kdesu(do) don't exist anymore - try lxqt-sudo or plain sudo.
-
@titan- you might be interested in: https://github.com/lxqt/lxqt/issues/470#issuecomment-414133387
#ifndef Q_OS_WIN
// Prohibit using sudo or kdesu (but allow using the root user directly)
if (getuid() == 0) {
if (!qEnvironmentVariableIsEmpty("SUDO_USER")) {
std::cout << "Executing Dolphin with sudo is not possible due to unfixable security vulnerabilities." << std::endl;
return EXIT_FAILURE;
} else if (!qEnvironmentVariableIsEmpty("KDESU_USER")) {
std::cout << "Executing Dolphin with kdesu is not possible due to unfixable security vulnerabilities." << std::endl;
return EXIT_FAILURE;
}
}
#endif
just delete these lines from dolphins main.cpp and recompile it - you will be able to run dolphin with sudo again.
if one login as root it should work too again.