<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=7000&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] Sources.list hates me!]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=7000</link>
		<description><![CDATA[The most recent posts in [SOLVED] Sources.list hates me!.]]></description>
		<lastBuildDate>Wed, 01 Jan 2025 15:16:36 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53815#p53815</link>
			<description><![CDATA[<p>LO adds a byte order mark unless the file is saved in a specific (UTF-8 without BOM) context. Been that way for a long long time, mostly to accomodate calc and db csv usage files. Running as root has nothing to do with the problem. In the future if you continue to run root for editing just use a root terminal and nano for conf files as the save routine in LO writer is annoying anyway.</p><p><a href="https://bugs.documentfoundation.org/show_bug.cgi?id=44291" rel="nofollow">https://bugs.documentfoundation.org/sho … i?id=44291</a></p><p>TC</p>]]></description>
			<author><![CDATA[dummy@example.com (trinidad)]]></author>
			<pubDate>Wed, 01 Jan 2025 15:16:36 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53815#p53815</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53806#p53806</link>
			<description><![CDATA[<p>Please note that whilst we can continue to be amazed about all your different operator habits, the OP problem was not a question about how and when to be root.</p><p>The problem was that libreoffice writer apparently added some extra &quot;invisible&quot; bytes to the beginning of a supposedly text file, and the solution was to remove those bytes.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Wed, 01 Jan 2025 07:08:40 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53806#p53806</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53805#p53805</link>
			<description><![CDATA[<p>use sudo but with -A and set your </p><div class="codebox"><pre><code>$SUDO_ASKPASS</code></pre></div><p> to </p><div class="codebox"><pre><code>/usr/bin/ssh-askpass</code></pre></div><p> just install </p><div class="codebox"><pre><code>ssh-askpass-gnome</code></pre></div><p> to provide the askpass.</p>]]></description>
			<author><![CDATA[dummy@example.com (EDX-0)]]></author>
			<pubDate>Wed, 01 Jan 2025 06:58:15 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53805#p53805</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53803#p53803</link>
			<description><![CDATA[<p>i seem to remember using &quot;sudo gedit&quot; for some files that required elevated privileges to save edits.</p><p>then i came across a commentary saying never to use plain &quot;sudo&quot; for gui applications but use &quot;gksudo gedit&quot; instead.</p><p>that was many years ago and i don&#039;t remember the exact scenario/situation but in those days when something went borked i just did a fresh install and carried on(simpler times...ha!)</p>]]></description>
			<author><![CDATA[dummy@example.com (stargate-sg1-cheyenne-mtn)]]></author>
			<pubDate>Wed, 01 Jan 2025 06:32:36 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53803#p53803</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53801#p53801</link>
			<description><![CDATA[<p>@ steve_v</p><p>For some of us yes. <br />For 99.999999 of the normie population that I make things for who have no idea what emacs, tty, or kate or even nano mean:</p><p>Ehrr, I don&#039;t like titlebar color, file manager&gt;&gt;filesystem root&gt;&gt;usr/share/themes/(default-theme)/(appropriate folder)/(appropriate file)</p><p>Right-click&gt;&gt;edit as root&gt;&gt;opens in text-editor as root&gt;&gt;edit file&gt;&gt;save&gt;&gt;close&gt;&gt;root privileges gone. Logout&gt;&gt;login&gt;&gt;changes applied.</p><p>Profit. It&#039;s all about the GUI for new users or users that don&#039;t care to learn how to use the CLI.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Wed, 01 Jan 2025 04:21:46 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53801#p53801</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53798#p53798</link>
			<description><![CDATA[<p>for editing config files there are also ways that don&#039;t involve running a text editor as root, but running it as a normal user and then using tee with sudo and an askpass program to create an authentication prompt so that the current buffer of the text editor (for example vim) is sent to tee and then tee which has root priviledges just writes the text onto the file.</p><p>other option is to make use of sudoedit</p>]]></description>
			<author><![CDATA[dummy@example.com (EDX-0)]]></author>
			<pubDate>Wed, 01 Jan 2025 01:24:19 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53798#p53798</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53790#p53790</link>
			<description><![CDATA[<div class="quotebox"><cite>greenjeans wrote:</cite><blockquote><div><p>I actually made a right-click extension &quot;Edit file as Root&quot; years ago that opens files in Pluma for me to edit, super handy. Much better than just working in the root account for long periods of time I reckon.</p></div></blockquote></div><p>steve_v:<br />*opens a bunch of root-owned files in kate tabs, as unprivileged user*<br />*screws around for as long as needed, as unprivileged user*<br />*hits &quot;save&quot;*<br />*gets polkit authentication prompt*<br />*profits*</p><p>Much better than just having a GUI editor running as root for long periods of time I recon.</p><p>Aside, everything any of us might do in a GUI editor can also be done in emacs at a TTY.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Tue, 31 Dec 2024 18:18:33 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53790#p53790</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53783#p53783</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>Opposite to steve_v&#039;s opinion I am using geany as a gui multi-tab text editor to edit my confs and scripts as root for convenience.</p></div></blockquote></div><p>Yep.<br />I&#039;ve been doing it for years, I actually made a right-click extension &quot;Edit file as Root&quot; years ago that opens files in Pluma for me to edit, super handy. Much better than just working in the root account for long periods of time I reckon.</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Tue, 31 Dec 2024 15:16:20 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53783#p53783</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53781#p53781</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>... the initial attempt was made as root and it came up in Libre Office Writer when moused ...</p></div></blockquote></div><p>Take this as learning. Never ever attempt to modify any Linux conf or script file with anything else but a pure text editor. These kinda files are pure ASCII text, no control characters allowed but CR LF and maybe TAB. LO and like as Windows editors add characters that are not welcome in the Linux world. </p><p>Opposite to steve_v&#039;s opinion I am using geany as a gui multi-tab text editor to edit my confs and scripts as root for convenience. I am setting up a root terminal and a policy kit policy to enable to do that. When I call up geany from this root terminal I am getting all the files I ever fooled with on my system (unless I did not remove them from the list of files). This setup also allows easy copy/paste into the files.</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Tue, 31 Dec 2024 13:01:38 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53781#p53781</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53780#p53780</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>whatever happened to gksudo and kdsudo for elevated privileges in gui applications(i.e. mousepad, synaptic, etc.)?</p></div></blockquote></div><p>gksu and so on have been replaced by pkexec and polkit policies some time ago. Somewhere in the release notes should be a note telling that gksu is depracated and removed from the distribution (inherited from Debian).</p>]]></description>
			<author><![CDATA[dummy@example.com (rolfie)]]></author>
			<pubDate>Tue, 31 Dec 2024 12:50:35 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53780#p53780</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53779#p53779</link>
			<description><![CDATA[<p>kdesudo was replaced with a config option for kdesu some time ago, but kdesu and friends are living on borrowed time because wayland (intentionally) doesn&#039;t support running GUI applications as another user at all.</p><p>While I generally disagree with wayland&#039;s intentionally missing features, in this case nothing of value is really lost. <br />GUI applications that need to do something with elevated permissions should handle this themselves (with e.g. a polkit auth prompt when writing a file), and I have never seen <em>any</em> good argument for running entire GUI programs as root. KDE applications (e.g. dolphin, kate) already do this, and I expect other DEs do as well or soon will. <br />If synaptic doesn&#039;t, then that&#039;s a bug that should be filed against synaptic.</p><p>As for mousepad... I&#039;m still completely baffled as to why anyone would want to run a GUI text editor as root. Use a modern GUI editor that handles saving files with elevated permissions... Or just use GNU nano, because there&#039;s <em>zero</em> need for a GUI editor when working with config files to begin with.</p><p>Running libreoffice as root just to edit a text file is especially insane IMO, and I see no reason any desktop environment should support it or provide tools to enable it. kdesu and gksu were hacks, situations where they are useful (as opposed to pathological) are few and far between, and there&#039;s no reason for them to continue to exist.</p><p>&quot;Run as administrator&quot; for GUI applications (along with GUI logins as root) is a terrible idea inherited from Winblows and perpetuated by ex-Winblows users. It needs to die, and sooner rather than later.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Tue, 31 Dec 2024 12:19:46 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53779#p53779</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53775#p53775</link>
			<description><![CDATA[<p>whatever happened to gksudo and kdsudo for elevated privileges in gui applications(i.e. mousepad, synaptic, etc.)?</p>]]></description>
			<author><![CDATA[dummy@example.com (stargate-sg1-cheyenne-mtn)]]></author>
			<pubDate>Tue, 31 Dec 2024 10:32:51 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53775#p53775</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53770#p53770</link>
			<description><![CDATA[<div class="quotebox"><cite>Red_Fir wrote:</cite><blockquote><div><p>the initial attempt was made as root and it came up in Libre Office Writer when moused.<br />Subsequent efforts made as su&#039;d user in Mousepad</p></div></blockquote></div><p>The only thing more confusing here than the use of libreoffice for editing a simple text file... Is the use of libreoffice <em>as root</em>. <br />Just.. Why? Use a real text editor, from an elevated terminal. Nano, vi(m), emacs, mcedit, all work just fine without any weird encoding issues or the hazard of runing enormous GUI bloat as root. Nano has been the default $EDITOR for years, and with good reason.</p>]]></description>
			<author><![CDATA[dummy@example.com (steve_v)]]></author>
			<pubDate>Tue, 31 Dec 2024 07:36:03 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53770#p53770</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53766#p53766</link>
			<description><![CDATA[<p>nano works fine, so does vim for editing that sort of text files without adding other extraneous bits, bytes and chars that should not be there.</p><p>on the offhand you can also use something like the <a href="https://github.com/eylles/devuan-scripts/blob/master/add-mirrors.sh" rel="nofollow">https://github.com/eylles/devuan-script … mirrors.sh</a> script from devuan-scripts, which does some automation to set the sources.list correctly for the current suites.</p>]]></description>
			<author><![CDATA[dummy@example.com (EDX-0)]]></author>
			<pubDate>Tue, 31 Dec 2024 04:19:38 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53766#p53766</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] Sources.list hates me!]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=53765#p53765</link>
			<description><![CDATA[<p>Tah Dah!!!<br />Thank you very much!<br />Mousepad did the trick.</p>]]></description>
			<author><![CDATA[dummy@example.com (Red_Fir)]]></author>
			<pubDate>Tue, 31 Dec 2024 03:17:22 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=53765#p53765</guid>
		</item>
	</channel>
</rss>
