<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6731&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / [SOLVED] mate desktop pdf opens in terminal with vim]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6731</link>
		<description><![CDATA[The most recent posts in [SOLVED] mate desktop pdf opens in terminal with vim.]]></description>
		<lastBuildDate>Wed, 02 Oct 2024 17:50:57 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [SOLVED] mate desktop pdf opens in terminal with vim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=52488#p52488</link>
			<description><![CDATA[<p>When now testing the case, I noted,&#160; that the wrong behavior has disappeared. <br />It was limited to the &quot;recent files&quot; in the application menu of mate. <br />I did install some mate-menues-extras Items. <br />Probably it fixed the case. Possibly after a restart or a logout-login sequence.</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Wed, 02 Oct 2024 17:50:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=52488#p52488</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] mate desktop pdf opens in terminal with vim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51162#p51162</link>
			<description><![CDATA[<p>Method 1: Right mouse click on a pdf file &gt; Select &quot;Properties&quot; in a drop-down menu &gt; &quot;Open With&quot;</p><p>Method 2: &quot;Preferred Applications&quot;</p><div class="codebox"><pre><code>mate-default-applications-properties</code></pre></div><p>If you open a document file with a sort of vim, it may become a default for all documents.<br />If, for example, you open a wxMaxima worksheet *.wxmx with wxMaxima, then it is a default for all archives.</p><p>It seems to be a standard behaviour for all Linux Desktops (freedesktop.org)</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Tue, 16 Jul 2024 20:32:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51162#p51162</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] mate desktop pdf opens in terminal with vim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51161#p51161</link>
			<description><![CDATA[<p>Go to Menu and under &quot;All&quot; find &quot;Preferred Applications.&quot; In the Office tab, make sure Atril is selected under Document Viewer.</p>]]></description>
			<author><![CDATA[dummy@example.com (Ron)]]></author>
			<pubDate>Tue, 16 Jul 2024 20:17:57 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51161#p51161</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] mate desktop pdf opens in terminal with vim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51152#p51152</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>program that handles the mouse click...</p></div></blockquote></div><div class="codebox"><pre><code>$ cat /usr/share/applications/atril.desktop | grep Exec
TryExec=atril
Exec=atril %U</code></pre></div><p><strong>Is it <span style="color: #FF0000">&quot;Open in Terminal&quot;?</span></strong> </p><div class="codebox"><pre><code>$ cat /usr/share/applications/atril.desktop | grep Terminal=
Terminal=false</code></pre></div><div class="codebox"><pre><code>ls ~/.local/share/applications | grep atr</code></pre></div><p><strong>Mozo - Mate Menu Editor</strong><br />_https://wiki.mate-desktop.org/mate-desktop/applications/mozo/</p><div class="codebox"><pre><code>mozo</code></pre></div><p><strong>EDIT:</strong><br />Right mouse click on a pdf file &gt; Select &quot;Properties&quot; in a drop-down menu &gt; &quot;Open With&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Tue, 16 Jul 2024 11:03:41 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51152#p51152</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] mate desktop pdf opens in terminal with vim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51151#p51151</link>
			<description><![CDATA[<p>The way to find out is to use <span class="bbc">strace</span>, focussing on the <span class="bbc">open</span> or <span class="bbc">openat</span> system calls and reducing it to the files concerned. Something like</p><div class="codebox"><pre><code>$ strace -f -s 200 $program | sed &#039;/open/!d;s|[^&quot;]*&quot;||;s|&quot;.*||&#039; | sort -u</code></pre></div><p> where $program is that program that handles the mouse click... your file browser(?).</p><p>EDIT: However if the click handling program farms out the decision logic to some dbus activated something, it breaks the call chain and becomes slightly more complext to trace. You might then need to trace dbus to work out where the decision logic is sited, and then set up a way to strace that.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Tue, 16 Jul 2024 09:16:19 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51151#p51151</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] mate desktop pdf opens in terminal with vim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51150#p51150</link>
			<description><![CDATA[<p>In XFCE it is &quot;Default Applications&quot; &amp; they are discovered/changed via <span class="bbc">menu:Settings | Default Applications</span>. I would imagine/hope that all DAs have a similar setup.</p>]]></description>
			<author><![CDATA[dummy@example.com (alexkemp)]]></author>
			<pubDate>Tue, 16 Jul 2024 09:00:43 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51150#p51150</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] mate desktop pdf opens in terminal with vim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51148#p51148</link>
			<description><![CDATA[<p>Thanks for answering.<br />When opening with atril , the file opens and displays properly. This is not the problem.</p><div class="codebox"><pre><code>file 240703_Importstrategie-2.pdf
240703_Importstrategie-2.pdf: PDF document, version 1.7, 38 pages</code></pre></div><p>The problem is in the calling structure of the mate menu tree, where a flawed command reference is stored somewhere.<br />See the &#039;top&#039; listing.<br />mate-panel invokes vim over a terminal instead of invoking atril.</p><p>Where does mate panel store its preferences?</p>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Tue, 16 Jul 2024 08:07:28 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51148#p51148</guid>
		</item>
		<item>
			<title><![CDATA[Re: [SOLVED] mate desktop pdf opens in terminal with vim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51145#p51145</link>
			<description><![CDATA[<p>MATE 1.26.0</p><div class="codebox"><pre><code>$ atril --version
MATE Document Viewer 1.26.0</code></pre></div><p>Atril opens PDFs without problems.</p><p>Check your pdf with mediainfo</p><div class="codebox"><pre><code>mediainfo *.pdf</code></pre></div><div class="codebox"><pre><code>$ file *.pdf
Graphics_with_Maxima.pdf: PDF document, version 1.4, 6 pages</code></pre></div><p>Try to open the pdf file with Firefox.</p>]]></description>
			<author><![CDATA[dummy@example.com (igorzwx)]]></author>
			<pubDate>Mon, 15 Jul 2024 23:19:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51145#p51145</guid>
		</item>
		<item>
			<title><![CDATA[[SOLVED] mate desktop pdf opens in terminal with vim]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51133#p51133</link>
			<description><![CDATA[<p>daedalus<br />From Desktop: <br />About Mate<br />mate 1.26.0<br />about Atril<br />Atril is a simple multi-page document viewer.&#160; &#160;1.26.0</p><p>When I download or extract a pdf from a mail, it shows up in &quot;latest documents&quot;. Then I click on It , and a terminal with vi opens it. </p><div class="codebox"><pre><code>%PDF-1.7^M and so on.</code></pre></div><p>System /Personal/ Preferred Applications /Büro (office) states atril for Documents . whatever documents means . </p><div class="codebox"><pre><code>~/.config/mimeapps.list Line 21 :
application/pdf=atril.desktop</code></pre></div><div class="codebox"><pre><code>cd /usr/share/mime/application 
#  grep &quot;pdf&quot; *                   
pdf.xml:&lt;mime-type xmlns=&quot;http://www.freedesktop.org/standards/shared-mime-info&quot; type=&quot;application/pdf&quot;&gt;
pdf.xml:  &lt;glob pattern=&quot;*.pdf&quot;/&gt;
pdf.xml:  &lt;alias type=&quot;application/x-pdf&quot;/&gt;
pdf.xml:  &lt;alias type=&quot;image/pdf&quot;/&gt;
pdf.xml:  &lt;alias type=&quot;application/nappdf&quot;/&gt;
x-bzpdf.xml:&lt;mime-type xmlns=&quot;http://www.freedesktop.org/standards/shared-mime-info&quot; type=&quot;application/x-bzpdf&quot;&gt;
x-bzpdf.xml:  &lt;glob pattern=&quot;*.pdf.bz2&quot;/&gt;
x-gzpdf.xml:&lt;mime-type xmlns=&quot;http://www.freedesktop.org/standards/shared-mime-info&quot; type=&quot;application/x-gzpdf&quot;&gt;
x-gzpdf.xml:  &lt;glob pattern=&quot;*.pdf.gz&quot;/&gt;
x-lzpdf.xml:&lt;mime-type xmlns=&quot;http://www.freedesktop.org/standards/shared-mime-info&quot; type=&quot;application/x-lzpdf&quot;&gt;
x-lzpdf.xml:  &lt;glob pattern=&quot;*.pdf.lz&quot;/&gt;
x-wwf.xml:  &lt;sub-class-of type=&quot;application/pdf&quot;/&gt;
x-xzpdf.xml:&lt;mime-type xmlns=&quot;http://www.freedesktop.org/standards/shared-mime-info&quot; type=&quot;application/x-xzpdf&quot;&gt;
x-xzpdf.xml:  &lt;glob pattern=&quot;*.pdf.xz&quot;/&gt;</code></pre></div><p>What points the application wrongly to vi ?</p><p>top:</p><div class="codebox"><pre><code>30511 md        20   0  553320  53296  34844 S   0,0   0,1   1:00.55              `- mate-panel                                                                                                                    
30514 md        20   0  553320  53296  34844 S   0,0   0,1   0:06.22                  `- mate-panel                                                                                                                
30515 md        20   0  553320  53296  34844 S   0,0   0,1   0:00.14                  `- mate-panel                                                                                                                
30516 md        20   0  553320  53296  34844 S   0,0   0,1   0:00.00                  `- mate-panel                                                                                                                
 9803 md        20   0  562952  59816  41856 S   3,3   0,1   0:11.46                  `- mate-terminal                                                                                                             
 9806 md        20   0  562952  59816  41856 S   0,0   0,1   0:00.00                      `- mate-terminal                                                                                                         
 9808 md        20   0  562952  59816  41856 S   0,0   0,1   0:00.00                      `- mate-terminal                                                                                                         
 9809 md        20   0  562952  59816  41856 S   0,0   0,1   0:00.00                      `- mate-terminal                                                                                                         
10188 md        20   0   14064   7808   4828 S   0,0   0,0   0:00.17                      `- zsh                                                                                                                   
10590 md        20   0    8468   4876   2760 R   0,3   0,0   0:01.03                          `- top                                                                                                               
10585 md        20   0   36664  17880  10032 S   0,0   0,0   0:00.02                      `- vim /tmp/240703_Importstrategie-2.pdf                                                                                 
10587 md        20   0   36664  17880  10032 S   0,0   0,0   0:00.00                          `- vim /tmp/240703_Importstrategie-2.pdf  </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (bai4Iej2need)]]></author>
			<pubDate>Mon, 15 Jul 2024 16:25:00 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51133#p51133</guid>
		</item>
	</channel>
</rss>
