<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>Juozas's Dump - tagged #linux</title><link>https://kyselo.eu/juozaspo</link><description>A growing collection of anime, photos and any other kind of weird content.[Tumblr|​X/Twitter|​Pillowfort|​Loforo|​Mastodon] [Random post]</description><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/36297</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/36297</guid><description>&lt;img src="https://kyselo.eu//pub/ec/93/d3/ec93d3d452cf5c40635ef60f6edfd3df.jpg"&gt;</description><enclosure url="https://kyselo.eu/pub/ec/93/d3/ec93d3d452cf5c40635ef60f6edfd3df.jpg" length="328664" type="image/jpeg"/><pubDate>Tue, 28 Jan 2025 17:40:20 +0100</pubDate></item><item><title>GNOME bans Manjaro Core Team Member for uttering "Lunduke"</title><link>https://kyselo.eu/juozaspo/post/35383</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/35383</guid><description>&lt;a href="https://www.youtube.com/watch?v=HZ64k2BXAjs"&gt;https://www.youtube.com/watch?v=HZ64k2BXAjs&lt;/a&gt;</description><pubDate>Tue, 30 Jul 2024 21:01:18 +0200</pubDate></item><item><title>My firefox installation on Ubuntu got updated to 124</title><link>https://kyselo.eu/juozaspo/post/34808</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/34808</guid><description>&lt;p&gt;Mozilla is ready to release Mozilla Firefox 124, so Mozilla ppa for Ubuntu already has it already built even before the release date even though currently it is in the beta state. Because of that&amp;nbsp; Firefox version 124 got installed even if officially latest release is only Firefox 123 and no Release notes for 124 is ready yet.&lt;br&gt;&lt;/p&gt;</description><pubDate>Fri, 15 Mar 2024 22:13:40 +0100</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/34684</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/34684</guid><description>&lt;img src="https://kyselo.eu//pub/17/03/6d/17036dcb7aabca8c868682dc3dd7a6a1.png"&gt;</description><enclosure url="https://kyselo.eu/pub/17/03/6d/17036dcb7aabca8c868682dc3dd7a6a1.png" length="248571" type="image/png"/><pubDate>Sat, 24 Feb 2024 17:03:25 +0100</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/34198</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/34198</guid><description>&lt;img src="https://kyselo.eu//pub/c3/36/ca/c336ca0332c15e1a479e1d1c4bd70cee.jpg"&gt;</description><enclosure url="https://kyselo.eu/pub/c3/36/ca/c336ca0332c15e1a479e1d1c4bd70cee.jpg" length="74754" type="image/jpeg"/><pubDate>Tue, 14 Nov 2023 20:45:27 +0100</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/33750</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/33750</guid><description>&lt;img src="https://kyselo.eu//pub/0a/cc/4e/0acc4e25874f428906659e4383bcc633.jpg"&gt;</description><enclosure url="https://kyselo.eu/pub/0a/cc/4e/0acc4e25874f428906659e4383bcc633.jpg" length="53720" type="image/jpeg"/><pubDate>Thu, 28 Sep 2023 13:58:16 +0200</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/33366</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/33366</guid><description>&lt;img src="https://kyselo.eu//pub/5a/f2/9b/5af29bb2c437e505e62f4aa12a2e5870.jpg"&gt;</description><enclosure url="https://kyselo.eu/pub/5a/f2/9b/5af29bb2c437e505e62f4aa12a2e5870.jpg" length="1560434" type="image/jpeg"/><pubDate>Fri, 25 Aug 2023 15:07:43 +0200</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/33262</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/33262</guid><description>&lt;img src="https://kyselo.eu//pub/43/86/cc/4386ccf661bccfc77dc3d9db0ad1e127.jpg"&gt;</description><enclosure url="https://kyselo.eu/pub/43/86/cc/4386ccf661bccfc77dc3d9db0ad1e127.jpg" length="111189" type="image/jpeg"/><pubDate>Tue, 08 Aug 2023 19:10:29 +0200</pubDate></item><item><title>Clearing i/o cache on Linux</title><link>https://kyselo.eu/juozaspo/post/32866</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/32866</guid><description>&lt;p&gt;Running &lt;br&gt;&lt;/p&gt;&lt;pre&gt;&lt;i&gt;sync; echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;/i&gt; &lt;br&gt;&lt;/pre&gt;&lt;p&gt;under root or&lt;br&gt;&lt;/p&gt;&lt;pre&gt;&lt;i&gt;sudo bash -c 'sync; echo 3 &amp;gt; /proc/sys/vm/drop_caches'&lt;/i&gt;&lt;/pre&gt;&lt;p&gt;when using sudo helps to avoid some i/o caching issues when benchmarking file system operations such as duplicate finding. Meaning of values (from kernel documentation, https://www.kernel.org/doc/Documentation/sysctl/vm.txt):&lt;br&gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;To free pagecache: &lt;br&gt;&lt;/p&gt;&lt;pre&gt;echo 1 &amp;gt; /proc/sys/vm/drop_caches&lt;/pre&gt;&lt;p&gt;To free reclaimable slab objects (includes dentries and inodes): &lt;br&gt;&lt;/p&gt;&lt;pre&gt;echo 2 &amp;gt; /proc/sys/vm/drop_caches&lt;/pre&gt;&lt;p&gt;To free slab objects and pagecache: &lt;br&gt;&lt;/p&gt;&lt;pre&gt;echo 3 &amp;gt; /proc/sys/vm/drop_caches&lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;/p&gt;</description><pubDate>Mon, 26 Jun 2023 22:45:40 +0200</pubDate></item><item><title>tr -cd '[:print:]' &lt; /dev/urandom | gzip -9 &gt; /dev/null</title><link>https://kyselo.eu/juozaspo/post/32820</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/32820</guid><description>&lt;p&gt;Generates a huge cpu usage on linux. May generate excessive cpu heat and/or cause fan to run very fast. A great way to stress test the cpu and/or its fan on linux.&lt;br&gt;&lt;/p&gt;</description><pubDate>Thu, 22 Jun 2023 19:00:16 +0200</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/32166</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/32166</guid><description>&lt;img src="https://kyselo.eu//pub/6e/66/c0/6e66c052567eca4ea75d87ce0f6fce1b.jpg"&gt;</description><enclosure url="https://kyselo.eu/pub/6e/66/c0/6e66c052567eca4ea75d87ce0f6fce1b.jpg" length="366829" type="image/jpeg"/><pubDate>Sun, 23 Apr 2023 16:50:13 +0200</pubDate></item><item><title>Oneline random image html file generator</title><link>https://kyselo.eu/juozaspo/post/31534</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/31534</guid><description>&lt;p&gt;The command below generates a html file pointing to 100 random image files found in the directory tree of the working directory. You can adjust it to your needs by putting the paths you want to exclude or adding more extensions to placeholders as shown below. The output file shows images centered on screen, with max widths no larger than screen.&lt;br&gt;&lt;/p&gt;&lt;pre&gt;echo -e "&amp;lt;html&amp;gt;\n&amp;lt;head&amp;gt;\n&amp;lt;title&amp;gt;Random Images&amp;lt;/title&amp;gt;\n&amp;lt;/head&amp;gt;\n&amp;lt;style&amp;gt;\nimg {max-width:100%; height:auto}\nbody{text-align:center}\n&amp;lt;/style&amp;gt;\n&amp;lt;body&amp;gt;\n$(find -type f -not \( -ipath "./paths/*" -or -ipath "./to/*" -or -ipath "./exclude/*" \) -and \( -iname "*.jpg" -or -iname "*.jpeg" -or -iname "*.png" -or -iname "*.gif" -or -iname "*.webp" -or -iname "*.bmp" \) | cut -d\/ -f2- | sort | shuf -n 100 | tr '\n' '\0' | xargs -0 -I{} echo "&amp;lt;div style=\"margin:auto\"&amp;gt;&amp;lt;img title=\"{}\" src=\"$(realpath "{}")\"&amp;gt;&amp;lt;/div&amp;gt;")&amp;lt;/body&amp;gt;\n&amp;lt;html&amp;gt;" &amp;gt; /tmp/random.htm&lt;br&gt;&lt;/pre&gt;&lt;p&gt;The output file is saved as &lt;i&gt;/tmp/random.htm&lt;/i&gt;&lt;br&gt;&lt;/p&gt;</description><pubDate>Tue, 28 Feb 2023 21:47:08 +0100</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/30846</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/30846</guid><description>&lt;img src="https://kyselo.eu//pub/b9/8e/c4/b98ec4e75c6d13c7cfc54ba3882df5dc.png"&gt;</description><enclosure url="https://kyselo.eu/pub/b9/8e/c4/b98ec4e75c6d13c7cfc54ba3882df5dc.png" length="198615" type="image/png"/><pubDate>Tue, 17 Jan 2023 15:59:55 +0100</pubDate></item><item><title>rm -rf --no-preserve-root /</title><link>https://kyselo.eu/juozaspo/post/30819</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/30819</guid><description>&lt;p&gt;Trying to install an old Ubuntu Linux 10.04 LTS version and make it usable along currently running Ubuntu 22.04 LTS would fail as it would lead to dependency hell and other problems when trying to install video drivers. Just by installing base system, default kernel (2.6.x) and networking components the system would not boot unless booted from external usb with old bootloader installed on it. Also if target partition was formatted from modern system the bootloader would not install to any drive nor create its config files. It would still not work as the screen would not show anyhing unless the backported kernel (3.0.x) were installed from the repositories. It would require proprietary nvidia driver on graphical interface as open source driver would not work with my monitor as I found eariler. And after installing a newer kernel version that would work with current bootloader (from a deb file other than what is available on repositories) the nvidia driver installation would still fail as no kernel headers would be found at the time. Trying to install kernel header deb files would not work unless dpkg was updated to a version newer than available on the repositories. After upgrading dpkg and installing kernel headers the kernel modules would fail to build as it would not work with current c compiler, trying upgrade it would require manually downloading and installing required debs, and it might lead to dependency hell not mentioning some debs that would not be available to download ending with a system w/o working graphics. As I was trying to find such packages I ended by running the &lt;i&gt;rm -rf --no-preserve-root /&lt;/i&gt;&amp;nbsp; just out of frustration since I was unable to find them online :\ Also later I found that even backported 3.0.x nvidia kernel modules still wouldn't build as such kernel might be incompatible and/or driver would be broken. Conclusion: don't try to install a newer kernel from packages not coming in repositories and then try to install graphics drivers as it might lead to many problems in the future. Also don't use backported kernel as it would not be compatible with provided nvidia driver. Use virtual machine instead if needed.&lt;br&gt;&lt;/p&gt;</description><pubDate>Mon, 16 Jan 2023 19:05:02 +0100</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/29298</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/29298</guid><description>&lt;img src="https://kyselo.eu//pub/56/72/4d/56724d3dcf7a10360f43d1abb91e8135.png"&gt;</description><enclosure url="https://kyselo.eu/pub/56/72/4d/56724d3dcf7a10360f43d1abb91e8135.png" length="383944" type="image/png"/><pubDate>Thu, 20 Oct 2022 15:01:45 +0200</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/27567</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/27567</guid><description>&lt;img src="https://kyselo.eu//pub/05/cb/fc/05cbfc6dd1eb52f5b7456e0c6f52632c.jpg"&gt;</description><enclosure url="https://kyselo.eu/pub/05/cb/fc/05cbfc6dd1eb52f5b7456e0c6f52632c.jpg" length="43467" type="image/jpeg"/><pubDate>Sun, 17 Jul 2022 10:47:42 +0200</pubDate></item><item><title>Some useful number facts</title><link>https://kyselo.eu/juozaspo/post/26894</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/26894</guid><description>&lt;p&gt;0x00007FFFFFFFFFFF (2^47-1,140737488355327) is largest possible address size in 64-bit architecture, it's integer representation could be obtained by running a command in unix terminal as shown below&lt;br&gt;&lt;/p&gt;&lt;pre&gt;$ echo $((2**47)-1)&lt;br&gt;&lt;/pre&gt;&lt;p&gt;Any address larger then the number above will raise an exception.&lt;br&gt;&lt;/p&gt;</description><pubDate>Sat, 21 May 2022 18:00:33 +0200</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/26593</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/26593</guid><description>&lt;img src="https://kyselo.eu//pub/27/c0/c9/27c0c9680065837f5e29fd2e280d6b63.png"&gt;</description><enclosure url="https://kyselo.eu/pub/27/c0/c9/27c0c9680065837f5e29fd2e280d6b63.png" length="124340" type="image/png"/><pubDate>Sun, 01 May 2022 20:50:51 +0200</pubDate></item><item><title>Find manually installed packages that has other packages depending on it on Debian based systems</title><link>https://kyselo.eu/juozaspo/post/26356</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/26356</guid><description>&lt;p&gt;Running command below generates a list of packages that can be marked as automatically installed, as long as &lt;i&gt;apt-rdepends&lt;/i&gt; package were already installed. It generates a script that can be used to mark all found packages as manually installed.&lt;br&gt;&lt;/p&gt;&lt;pre&gt;echo \#\!/bin/bash &amp;gt; mark-auto.sh; apt-mark showmanual|xargs -I{} sh -c '[ "{}" = "$(apt-rdepends -r --state-follow=Installed --state-show=Installed {} 2&amp;gt;/dev/null)" ] || echo apt-mark auto {}' &amp;gt;&amp;gt; &lt;span data-auto-link="true" data-href="http://mark-auto.sh"&gt;mark-auto.sh&lt;br&gt;&lt;/span&gt;&lt;/pre&gt;&lt;p&gt;It can be modified to mark packages automatically if preferred instead of writing to a script&lt;/p&gt;&lt;pre class=""&gt;apt-mark showmanual|xargs -I{} sh -c '[ "{}" = "$(apt-rdepends -r --state-follow=Installed --state-show=Installed {} 2&amp;gt;/dev/null)" ] || apt-mark auto {}'&lt;a href="http://mark-auto.sh"&gt;&lt;span data-auto-link="true" data-href="http://mark-auto.sh"&gt;&lt;/span&gt;&lt;/a&gt;&lt;br&gt;&lt;/pre&gt;&lt;p&gt;Before running apt-get autoremove run it with pretend mode (-s), e.g&lt;/p&gt;&lt;pre&gt;apt-get -s autoremove --purge&lt;/pre&gt;&lt;p&gt;Mark any package not desired to be removed with&lt;br&gt;&lt;/p&gt;&lt;pre&gt;apt-mark manual &amp;lt;package&amp;gt;&lt;br&gt;&lt;/pre&gt;</description><pubDate>Sat, 16 Apr 2022 16:01:49 +0200</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/25947</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/25947</guid><description>&lt;img src="https://kyselo.eu//pub/df/b4/4c/dfb44ced5fcc95abbf1134d14cdb92d6.png"&gt;</description><enclosure url="https://kyselo.eu/pub/df/b4/4c/dfb44ced5fcc95abbf1134d14cdb92d6.png" length="226165" type="image/png"/><pubDate>Sat, 19 Mar 2022 19:40:35 +0100</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/25940</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/25940</guid><description>&lt;img src="https://kyselo.eu//pub/9f/07/be/9f07bee496850dd3e842fbae86d486a1.png"&gt;</description><enclosure url="https://kyselo.eu/pub/9f/07/be/9f07bee496850dd3e842fbae86d486a1.png" length="271515" type="image/png"/><pubDate>Sat, 19 Mar 2022 19:35:25 +0100</pubDate></item><item><title>Spam generator</title><link>https://kyselo.eu/juozaspo/post/25858</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/25858</guid><description>&lt;pre&gt;$ for q in $(eval echo {1..$((2+$RANDOM%200))}); do echo $(cat &amp;lt;/dev/urandom|tr -cd '[:lower:]'|tr -s '[:print:]'|head -c $((2+$RANDOM%32))); done|xargs&lt;br&gt;&lt;/pre&gt;&lt;p&gt;Generates a random amount of random words containing random lowercase letters (up to 200 words and 32 letters per word)&lt;br&gt;&lt;/p&gt;</description><pubDate>Sat, 12 Mar 2022 16:36:21 +0100</pubDate></item><item><title>Open random page of kyselo right from unix terminal</title><link>https://kyselo.eu/juozaspo/post/23781</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/23781</guid><description>&lt;div&gt;&lt;p&gt;Run command below in your unix terminal&lt;br&gt;&lt;/p&gt;&lt;pre&gt;$ firefox &lt;span data-auto-link="true" data-href="https://kyselo.eu/all?since=$(TZ=Europe/Prague"&gt;https://kyselo.eu/all?since=$(TZ=Europe/Prague&lt;/span&gt; date -d @$(shuf -i $(($(TZ=Europe/Prague date -d '2020-07-13T00:35:49' +"%s")))-$(date +"%s") -n 1) +"%Y-%m-%dT%H%%3A%M%%3A%S")&lt;br&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div&gt;&lt;p&gt;2020-07-13T00:35:49 is the date of first post in server time, replace 'firefox' with your browser command if you have different browser installed.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Edit:&lt;/b&gt; Added correct timezome matching to kyselo to command line, found by examining date of some posts and choosing correct timezone matching the site location.&lt;/p&gt;&lt;p&gt;&lt;b&gt;Edit2:&lt;/b&gt; Shortened command a bit by inlining some variables used before.&lt;br&gt;&lt;/p&gt;&lt;/div&gt;</description><pubDate>Sat, 11 Dec 2021 11:28:33 +0100</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/23682</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/23682</guid><description>&lt;img src="https://kyselo.eu//pub/e7/a1/b0/e7a1b056e0cf9ba8a01b3e59498080fa.jpg"&gt;</description><enclosure url="https://kyselo.eu/pub/e7/a1/b0/e7a1b056e0cf9ba8a01b3e59498080fa.jpg" length="23197" type="image/jpeg"/><pubDate>Tue, 07 Dec 2021 08:11:03 +0100</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/22701</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/22701</guid><description>&lt;img src="https://kyselo.eu//pub/54/23/c9/5423c984733810bf3bdc09397f8e3df4.png"&gt;</description><enclosure url="https://kyselo.eu/pub/54/23/c9/5423c984733810bf3bdc09397f8e3df4.png" length="15875" type="image/png"/><pubDate>Mon, 25 Oct 2021 11:42:49 +0200</pubDate></item><item><title>Switched to ESR release from regular Firefox</title><link>https://kyselo.eu/juozaspo/post/21372</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/21372</guid><description>&lt;p&gt;Since WebRender shipped with recent versions of Mozilla Firefox is too buggy and cause video screen tearing when watching Youtube videos in full screen and also it seems next versions are removing the ability to disable it too so I'm getting rid of it and going to use an ESR release instead and if the future versions of it remove remove this feature I'm going to get rid of firefox in my system entirely and use alternative browser that would still work with my configuration w/o problems&lt;br&gt;&lt;/p&gt;</description><pubDate>Fri, 10 Sep 2021 18:26:16 +0200</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/19401</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/19401</guid><description>&lt;img src="https://kyselo.eu//pub/46/08/74/460874a019d6edd9752cbd9961b706dc.png"&gt;</description><enclosure url="https://kyselo.eu/pub/46/08/74/460874a019d6edd9752cbd9961b706dc.png" length="338982" type="image/png"/><pubDate>Mon, 28 Jun 2021 19:32:28 +0200</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/19072</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/19072</guid><description>&lt;img src="https://kyselo.eu//pub/09/58/d9/0958d9e5f97fc157f8570f7b6f8078e2.jpg"&gt;</description><enclosure url="https://kyselo.eu/pub/09/58/d9/0958d9e5f97fc157f8570f7b6f8078e2.jpg" length="68578" type="image/jpeg"/><pubDate>Thu, 10 Jun 2021 23:42:32 +0200</pubDate></item><item><title>(no title)</title><link>https://kyselo.eu/juozaspo/post/19046</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/19046</guid><description>&lt;img src="https://kyselo.eu//pub/e6/20/1f/e6201f7dc989d1da83ab3fed8ae28453.png"&gt;</description><enclosure url="https://kyselo.eu/pub/e6/20/1f/e6201f7dc989d1da83ab3fed8ae28453.png" length="55701" type="image/png"/><pubDate>Wed, 09 Jun 2021 06:40:03 +0200</pubDate></item><item><title>Me trying to compile some programs on Gentoo</title><link>https://kyselo.eu/juozaspo/post/18991</link><guid isPermaLink="true">https://kyselo.eu/juozaspo/post/18991</guid><description>&lt;a href="https://www.youtube.com/watch?v=XWMDjDXTuds"&gt;https://www.youtube.com/watch?v=XWMDjDXTuds&lt;/a&gt;</description><pubDate>Sun, 06 Jun 2021 20:36:49 +0200</pubDate></item></channel></rss>
