<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Knowledge Base (Posts about xfe)</title><link>https://bgstack15.ddns.net/blog/</link><description></description><atom:link href="https://bgstack15.ddns.net/blog/categories/xfe.xml" rel="self" type="application/rss+xml"></atom:link><language>en</language><copyright>Contents © 2024 &lt;a href="mailto:bgstack15@gmail.com"&gt;bgstack15&lt;/a&gt; 
&lt;a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/"&gt;
&lt;img alt="Creative Commons License BY-SA"
style="border-width:0; margin-bottom:12px;"
src="https://bgstack15.ddns.net/.images/l_by-sa_4.0_88x31.png"&gt;&lt;/a&gt;</copyright><lastBuildDate>Sat, 17 Aug 2024 13:00:35 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Touch file with XFE Script</title><link>https://bgstack15.ddns.net/blog/posts/2024/08/17/touch-file-with-xfe-script/</link><dc:creator>bgstack15</dc:creator><description>&lt;p&gt;I use an empty file with the modification timestamp to indicate the last time I manually synced my SyncThing-ed directory of my mobile phone pictures to my backup location.&lt;/p&gt;
&lt;p&gt;I set up an alias to touch in my &lt;code&gt;~/.config/xfe/scripts&lt;/code&gt; directory.&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;$ ls -l ~/.config/xfe/scripts
total &lt;span class="m"&gt;3&lt;/span&gt;
lrwxrwxrwx &lt;span class="m"&gt;1&lt;/span&gt; bgstack15 bgstack15  &lt;span class="m"&gt;14&lt;/span&gt; Aug &lt;span class="m"&gt;13&lt;/span&gt; &lt;span class="m"&gt;14&lt;/span&gt;:42 touch -&amp;gt; /usr/bin/touch
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;So now I can just right-click the file and update the timestamp, now that I have re-synced. Because I keep some images on my mobile phone, I won't need to bother with any older than this synced-here file.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://bgstack15.ddns.net/blog/2024/scrot-xfe-touch.png"&gt;&lt;img alt="" src="https://bgstack15.ddns.net/blog/2024/scrot-xfe-touch.png"&gt;&lt;/a&gt;&lt;/p&gt;</description><category>touch</category><category>xfe</category><guid>https://bgstack15.ddns.net/blog/posts/2024/08/17/touch-file-with-xfe-script/</guid><pubDate>Sat, 17 Aug 2024 12:53:00 GMT</pubDate></item><item><title>xdg-mime command for window managers</title><link>https://bgstack15.ddns.net/blog/posts/2023/02/05/xdg-mime-command-for-window-managers/</link><dc:creator>bgstack15</dc:creator><description>&lt;p&gt;I don't use a desktop environment for most of my desktop systems, I use the &lt;a href="https://bgstack15.ddns.net/blog/outbound/http:/fluxbox.org/"&gt;fluxbox&lt;/a&gt; (&lt;a href="https://bgstack15.ddns.net/blog/categories/fluxbox/"&gt;my blog posts&lt;/a&gt;) window manager. It hasn't changed since before I started using it, and probably won't ever. I think it's mostly dead, but that also means it won't ever change! I did start packaging the latest (probable) upstream (&lt;a href="https://bgstack15.ddns.net/blog/outbound/https:/github.com/fluxbox/fluxbox"&gt;github&lt;/a&gt;) along with a patch I wrote for myself though.&lt;/p&gt;
&lt;p&gt;So, because I don't use a desktop environment, and I had forgotten I could use my &lt;a href="https://bgstack15.ddns.net/blog/outbound/https:/build.opensuse.org/package/show/home:bgstack15/mime_types_editor"&gt;package&lt;/a&gt; of &lt;a href="https://bgstack15.ddns.net/blog/outbound/https:/github.com/i026e/mime_types_editor"&gt;mime_types_editor&lt;/a&gt; or anything similar, I had a small problem when I try to use the "open directory" function beside a downloaded item in my web browser. So this command solved that for me:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;xdg-mime default xfe.desktop inode/directory
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;And also to help &lt;a href="https://bgstack15.ddns.net/blog/posts/2020/10/24/package-for-devuan-myautomount/"&gt;myautomount&lt;/a&gt; tray icon menu:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;xdg-mime default xfe.desktop inode/mount-point
&lt;/pre&gt;&lt;/div&gt;

&lt;h6&gt;Update 2023-11-08&lt;/h6&gt;
&lt;p&gt;For dvds, particularly with myautomount:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;xdg-mime default vlc.desktop x-scheme-handler/dvd
&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;Which adds to your mimeapps.list:&lt;/p&gt;
&lt;div class="code"&gt;&lt;pre class="code literal-block"&gt;&lt;span class="k"&gt;[Default Applications]&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="na"&gt;x-scheme-handler/dvd&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="s"&gt;vlc.desktop&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;</description><category>fluxbox</category><category>mimetype</category><category>xdg</category><category>xfe</category><guid>https://bgstack15.ddns.net/blog/posts/2023/02/05/xdg-mime-command-for-window-managers/</guid><pubDate>Sun, 05 Feb 2023 14:36:52 GMT</pubDate></item><item><title>xfe spec Fedora 26 with proper build dependencies</title><link>https://bgstack15.ddns.net/blog/posts/2017/11/25/xfe-spec-fedora-26-with-proper-build-dependencies/</link><dc:creator>bgstack15</dc:creator><description>&lt;p&gt;See the spec file at
&lt;a href="https://gist.github.com/bgstack15/ec1677daa1d19a9e1f5124068619e813"&gt;https://gist.github.com/bgstack15/ec1677daa1d19a9e1f5124068619e813&lt;/a&gt;. The
wonderful &lt;a href="http://roland65.free.fr/xfe/"&gt;X File Explorer&lt;/a&gt; does not properly
describe what is needed to compile it. So here is my research to help anyone
else trying to compile it on Fedora 26.&lt;/p&gt;
&lt;pre class="code literal-block"&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;dnf&lt;/span&gt; &lt;span class="n"&gt;install&lt;/span&gt; &lt;span class="n"&gt;rpm&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;build&lt;/span&gt; &lt;span class="n"&gt;intltool&lt;/span&gt; &lt;span class="n"&gt;fox&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;devel&lt;/span&gt; &lt;span class="n"&gt;glib&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;devel&lt;/span&gt; &lt;span class="n"&gt;libpng&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;devel&lt;/span&gt; &lt;span class="n"&gt;libXft&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;devel&lt;/span&gt; &lt;span class="n"&gt;freetype&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;devel&lt;/span&gt; &lt;span class="n"&gt;gcc&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;c&lt;/span&gt;&lt;span class="o"&gt;++&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;https://gist.github.com/bgstack15/ec1677daa1d19a9e1f5124068619e813&lt;/p&gt;</description><category>build</category><category>opensource</category><category>rpm</category><category>xfe</category><guid>https://bgstack15.ddns.net/blog/posts/2017/11/25/xfe-spec-fedora-26-with-proper-build-dependencies/</guid><pubDate>Sat, 25 Nov 2017 13:57:13 GMT</pubDate></item></channel></rss>