# fav_icons

feed_id: 8e6f85ee6051ef23
timestamp: 2021-12-22 13:42:01.829858243
format: image/png
source_url:
  https://forum.tromjaro.com/uploads/default/optimized/1X/_129430568242d1b7f853bb13ebea28b3f6af4e7_2_180x180.png


# articles

article_id: forum.tromjaro.com-topic-21
title: TROMjaro Beta 2021.11.16
author: Tio
feed_id: 8e6f85ee6051ef23
url: https://forum.tromjaro.com/t/tromjaro-beta-2021-11-16/21
timestamp: 2021-11-15 22:14:09
synced: 2021-11-22 13:42:07.266169347
html:
              <h2>
  <a name="added-a-few-packages-1" class="anchor" href="#added-a-few-packages-1"></a>Added a few packages:</h2>
  <ul>
  <li>removed <code>riseup-vpn-git</code> and replaced with <code>riseup-vpn</code>.</li>
  <li>added: <code>gnome-calculator, evince,</code> and <code>gtkhash-thunar</code>
  </li>
  </ul>
  <h2>
  <a name="a-few-other-changes-2" class="anchor" href="#a-few-other-changes-2"></a>A few other changes:</h2>
  <ul>
  <li>We have created some template files, so that when you right click in the File Manager you can create a new LibreOffice Spreadsheet, Document, and so forth. It is a handy little thing. Basically we added <a href="https://www.drive.tromsite.com/s/58gn8FgBd2k2i22">these</a> files, to the <code>Templates</code>  folder.</li>
  <li>We improved a bit the code for the Global Menu toggle. Here is the new code:</li>
  </ul>
  <pre><code class="lang-auto">    #! /bin/bash
      FILE1=/usr/lib/vala-panel/appmenu-registrar
      FILE2=/usr/lib/vala-panel/appmenu-registrar.OFF
      if [ -f "$FILE1" ]; then
          ## Disable Global Menu
          sudo -A mv "$FILE1" "$FILE2" || exit
          xfconf-query -c xfce4-panel -p /plugins/plugin-3/plugins/plugin-3/compact-mode -n -t bool -s true
          killall appmenu-registrar
          ## Reset panels and windows
          xfce4-panel -r &amp;
          xfwm4 --replace &amp;
          xfce4-panel &amp;
          sleep 4 &amp;&amp; notify-send 'Top menu DISABLED !' 'Restart your computer in order for this to work properly!'

      elif [ -f "$FILE2" ]; then
          ## Enable Global Menu
          sudo -A mv "$FILE2" "$FILE1" || exit
          xfconf-query -c xfce4-panel -p /plugins/plugin-3/plugins/plugin-3/compact-mode -n -t bool -s false
          ## Reset panels and windows
          xfce4-panel -r &amp;
          xfwm4 --replace &amp;
          xfce4-panel &amp;
          sleep 4 &amp;&amp; notify-send 'The top menu ENABLED !' 'Restart your computer in order for this to work properly!'

      else
          notify-send 'ERROR: is the Global Menu installed ?'
      fi
  </code></pre>
  <p>Copy this into the file <code>.local/bin/global_menu_toggle</code></p>
  <ul>
  <li>
  <p>Muted the mic by default</p>
  </li>
  <li>
  <p>Added a few new packages for the Settings Manager and inserted them into that cluster of settings. The packages are: <code>antimicrox</code> for game controllers, and <code>guvcview</code> for webcam control. To add such “apps” to the Settings Manager right click the Apps menu, then click “Edit Applications”. Find them, and move them to the Settings category. Now go to the folder <code>.local/share/applications/</code> and find the .desktop file of that particular app. For example, for <code>guvcview</code> that file is called <code>guvcview.desktop</code>. Right click and edit it with the Text Editor.  To the Category section add “X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;” for the Hardware category. “X-XFCE-PersonalSettings;” for Personal Settings, “X-XFCE-SystemSettings;” for System, and “X-XFCE-OtherSettings;” for Other. All of them have to have the “X-XFCE-SettingsDialog;” too, so keep that in mind! Now you know how to add apps to the Settings Manager!</p>
  </li>
  </ul>
  <p></p><div class="video-container">
      <video width="100%" height="100%" preload="metadata" controls="">
        <source src="/uploads/default/original/1X/5751b0562829764b13dc303ddd0cb4bece5ee416.mp4">
        <a href="https://forum.tromjaro.com/uploads/default/original/1X/5751b0562829764b13dc303ddd0cb4bece5ee416.mp4">/uploads/default/original/1X/5751b0562829764b13dc303ddd0cb4bece5ee416.mp4</a>
      </source></video>
    </div><p></p>
  <ul>
  <li>
  <p>We added no opacity to the left side menu when hovering it, so that the icons are more visible. To do that right click the panel, then go to Panel Preferences. There in the Appearance tab select 100 for “Enter”.</p>
  </li>
  <li>
  <p>We replaced Parole Media Player with SMplayer, simply because SMplayer is faster and works better overall. Remove the <code>parole</code> package and install these: <code>smplayer, smplayer-skins, smplayer-themes</code>. Now if you want a quick way to make all audio and video files open with smplayer, edit the file <code>.config/mimeapps.list</code> and under “[Added Associations]” remove all lines that start with <code>audio</code> or <code>video</code> with these:</p>
  </li>
  </ul>
  <pre><code class="lang-auto">audio/vnd.dts=smplayer.desktop;
  audio/mp4=smplayer.desktop;
  video/3gpp=smplayer.desktop;
  video/3gpp2=smplayer.desktop;
  video/annodex=smplayer.desktop;
  video/dv=smplayer.desktop;
  video/isivideo=smplayer.desktop;
  video/mj2=smplayer.desktop;
  video/mp2t=smplayer.desktop;
  video/mp4=smplayer_enqueue.desktop;smplayer.desktop;
  video/ogg=smplayer.desktop;
  video/vnd.mpegurl=smplayer.desktop;
  video/vnd.vivo=smplayer.desktop;
  video/wavelet=smplayer.desktop;
  video/x-anim=smplayer.desktop;
  video/x-flic=smplayer.desktop;
  video/x-matroska-3d=smplayer.desktop;
  video/x-mng=smplayer.desktop;
  video/x-msvideo=smplayer_enqueue.desktop;smplayer.desktop;
  video/x-nsv=smplayer.desktop;
  video/x-ogm+ogg=smplayer.desktop;
  video/x-sgi-movie=smplayer.desktop;
  x-content/video-bluray=smplayer.desktop;
  x-content/video-dvd=smplayer.desktop;
  x-content/video-hddvd=smplayer.desktop;
  x-content/video-svcd=smplayer.desktop;
  x-content/video-vcd=smplayer.desktop;
  audio/amr=smplayer.desktop;
  audio/amr-wb=smplayer.desktop;
  audio/annodex=smplayer.desktop;
  audio/basic=smplayer.desktop;
  audio/midi=smplayer.desktop;
  audio/mp2=smplayer.desktop;
  audio/mpeg=smplayer.desktop;
  audio/prs.sid=smplayer.desktop;
  audio/usac=smplayer.desktop;
  audio/vnd.audible.aax=smplayer.desktop;
  audio/vnd.dts.hd=smplayer.desktop;
  audio/webm=smplayer.desktop;
  audio/x-aifc=smplayer.desktop;
  audio/x-aiff=smplayer.desktop;
  audio/x-amzxml=smplayer.desktop;
  audio/x-ape=smplayer.desktop;
  audio/x-gsm=smplayer.desktop;
  audio/x-iriver-pla=smplayer.desktop;
  audio/x-it=smplayer.desktop;
  audio/x-m4b=smplayer_enqueue.desktop;smplayer.desktop;
  audio/x-minipsf=smplayer.desktop;
  audio/x-mo3=smplayer.desktop;
  audio/x-mod=smplayer.desktop;
  audio/x-ms-asx=smplayer.desktop;
  audio/x-musepack=smplayer.desktop;
  audio/x-pn-audibleaudio=smplayer.desktop;
  audio/x-pn-realaudio-plugin=smplayer.desktop;
  audio/x-psf=smplayer.desktop;
  audio/x-riff=smplayer.desktop;
  audio/x-s3m=smplayer.desktop;
  audio/x-scpls=smplayer.desktop;
  audio/x-speex=smplayer.desktop;
  audio/x-stm=smplayer.desktop;
  audio/x-voc=smplayer.desktop;
  audio/x-tta=smplayer.desktop;
  audio/x-wav=smplayer.desktop;
  audio/x-wavpack=smplayer.desktop;
  audio/x-wavpack-correction=smplayer.desktop;
  audio/x-xi=smplayer.desktop;
  audio/x-xm=smplayer.desktop;
  audio/x-xmf=smplayer.desktop;
  x-content/audio-cdda=smplayer.desktop;
  x-content/audio-dvd=smplayer.desktop;
  x-content/audio-player=smplayer.desktop;
  application/ogg=smplayer.desktop;
  application/mxf=smplayer.desktop;
  application/vnd.adobe.flash.movie=smplayer.desktop;
  application/octet-stream=smplayer.desktop;
  </code></pre>
  <p>Then under “[Default Applications]” do the same, and then add:</p>
  <pre><code class="lang-auto">audio/vnd.dts=smplayer.desktop
  video/3gpp=smplayer.desktop
  video/3gpp2=smplayer.desktop
  video/annodex=smplayer.desktop
  video/dv=smplayer.desktop
  video/isivideo=smplayer.desktop
  video/mj2=smplayer.desktop
  video/mp2t=smplayer.desktop
  video/mp4=smplayer.desktop
  video/ogg=smplayer.desktop
  video/vnd.mpegurl=smplayer.desktop
  video/vnd.vivo=smplayer.desktop
  video/wavelet=smplayer.desktop
  video/x-anim=smplayer.desktop
  video/x-flic=smplayer.desktop
  video/x-matroska-3d=smplayer.desktop
  video/x-mng=smplayer.desktop
  video/x-msvideo=smplayer.desktop
  video/x-nsv=smplayer.desktop
  video/x-ogm+ogg=smplayer.desktop
  video/x-sgi-movie=smplayer.desktop
  x-content/video-bluray=smplayer.desktop
  x-content/video-dvd=smplayer.desktop
  x-content/video-hddvd=smplayer.desktop
  x-content/video-svcd=smplayer.desktop
  x-content/video-vcd=smplayer.desktop
  audio/amr=smplayer.desktop
  audio/amr-wb=smplayer.desktop
  audio/annodex=smplayer.desktop
  audio/basic=smplayer.desktop
  audio/midi=smplayer.desktop
  audio/mp2=smplayer.desktop
  audio/mp4=smplayer.desktop
  audio/mpeg=smplayer.desktop
  audio/prs.sid=smplayer.desktop
  audio/usac=smplayer.desktop
  audio/vnd.audible.aax=smplayer.desktop
  audio/vnd.dts.hd=smplayer.desktop
  audio/webm=smplayer.desktop
  audio/x-aifc=smplayer.desktop
  audio/x-aiff=smplayer.desktop
  audio/x-amzxml=smplayer.desktop
  audio/x-ape=smplayer.desktop
  audio/x-gsm=smplayer.desktop
  audio/x-iriver-pla=smplayer.desktop
  audio/x-it=smplayer.desktop
  audio/x-m4b=smplayer.desktop
  audio/x-minipsf=smplayer.desktop
  audio/x-mo3=smplayer.desktop
  audio/x-mod=smplayer.desktop
  audio/x-ms-asx=smplayer.desktop
  audio/x-musepack=smplayer.desktop
  audio/x-pn-audibleaudio=smplayer.desktop
  audio/x-pn-realaudio-plugin=smplayer.desktop
  audio/x-psf=smplayer.desktop
  audio/x-riff=smplayer.desktop
  audio/x-s3m=smplayer.desktop
  audio/x-scpls=smplayer.desktop
  audio/x-speex=smplayer.desktop
  audio/x-stm=smplayer.desktop
  audio/x-voc=smplayer.desktop
  audio/x-tta=smplayer.desktop
  audio/x-wav=smplayer.desktop
  audio/x-wavpack=smplayer.desktop
  audio/x-wavpack-correction=smplayer.desktop
  audio/x-xi=smplayer.desktop
  audio/x-xm=smplayer.desktop
  audio/x-xmf=smplayer.desktop
  x-content/audio-cdda=smplayer.desktop
  x-content/audio-dvd=smplayer.desktop
  x-content/audio-player=smplayer.desktop
  application/ogg=smplayer.desktop
  application/mxf=smplayer.desktop
  </code></pre>
  <p>Save the file!</p>
  <h2>
  <a name="remove-zombie-apps-3" class="anchor" href="#remove-zombie-apps-3"></a>Remove zombie apps</h2>
  <p>If say you install the application Peek, and then you rename it via the menu as “Desktop Recorder”, but then you will remove this app, you will still see it as “Desktop Recorder” in your apps. Living there like a zombie. This is awful and so far we could not find any solution for this. So, we had to invent one. We made a script. This is it:</p>
  <pre><code class="lang-auto">#!/bin/bash
  data="$HOME"/.local/share/applications/tweaked-desktop-files
  detectfiles() {
  	for file in "$HOME"/.local/share/applications/*.desktop; do
  		[ -d "$file" ] || grep -xq "$file" "$data" &amp;&amp; continue
  		name=$(basename "$file") || continue
  		[ -f /usr/share/applications/"$name" ] ||
  			ls /var/lib/flatpak/app/*/current/active/files/share/applications/"$name" &gt;/dev/null 2&gt;&amp;1 ||
  			[ -f /var/lib/snapd/desktop/applications/"$name" ] &amp;&amp;
  			echo "$file" &gt;&gt; "$data"
  	done
  }

  fixfiles() {
  	lastmod=$(stat -c "%Y" "$data")
  	tmp="$(mktemp -u)"
  	[ -f "$data" ] &amp;&amp; cp "$data" "$tmp" &amp;&amp; copied='true'
  	[ "$copied" = 'true' ] &amp;&amp; while IFS= read -r file; do
  		[ -f "$file" ] || { sed -i "/^$file$/d" "$tmp" ; continue; }
  		name=$(basename "$file") || continue
  		[ -f /usr/share/applications/"$name" ] ||
  			ls /var/lib/flatpak/app/*/current/active/files/share/applications/"$name" &gt;/dev/null 2&gt;&amp;1 ||
  			[ -f /var/lib/snapd/desktop/applications/"$name" ] ||
  			mv "$file" "$file.bak"
  	done &lt; "$data"

  	[ "$copied" = 'true' ] &amp;&amp; [ "$(stat -c '%Y' "$data")" = "$lastmod" ] &amp;&amp; mv "$tmp" "$data"

  	for bakfile in "$HOME"/.local/share/applications/*.desktop.bak; do
  		origfile="${bakfile/%.bak}"
  		[ -f "$origfile" ] &amp;&amp; continue
  		name=$(basename "$origfile") || continue
  		[ -f /usr/share/applications/"$name" ] ||
  			ls /var/lib/flatpak/app/*/current/active/files/share/applications/"$name" &gt;/dev/null 2&gt;&amp;1 ||
  			[ -f /var/lib/snapd/desktop/applications/"$name" ] &amp;&amp;
  			mv "$bakfile" "$origfile"
  	done
  }

  pidof -q -o %PPID -x fix-tweaked-desktop-files &amp;&amp; exit

  while :; do
  	local_new=$(ls -ad "$HOME"/.local/share/applications/*.desktop 2&gt;/dev/null)
  	pacman_new=$(ls -ad /usr/share/applications/*.desktop 2&gt;/dev/null)
  	flatpak_new=$(ls -ad /var/lib/flatpak/app/*/current/active/files/share/applications/*.desktop 2&gt;/dev/null)
  	snap_new=$(ls -ad /var/lib/snapd/desktop/applications/*.desktop 2&gt;/dev/null)
  	[ "$local_new" != "$local_old" ] &amp;&amp; detectfiles
  	[ "$pacman_new" != "$pacman_old" ] ||
  		[ "$flatpak_new" != "$flatpak_old" ] ||
  		[ "$snap_new" != "$snap_old" ] &amp;&amp; fixfiles
  	local_old=$local_new
  	pacman_old=$pacman_new
  	flatpak_old=$flatpak_new
  	snap_old=$snap_new
  	sleep 5
  done

  </code></pre>
  <p>Go to the folder <code>.local/bin</code> and create a new text file called “fix-tweaked-desktop-files”. Add the above script to it. Save it. Close the text file. Now right click the file, got to Properties, then Permissions and select “Allow this file to run as a program”.</p>
  <p><img src="https://forum.tromjaro.com/uploads/default/original/1X/a3da2295554939fdc5e306037b89e4e9752e6533.png" alt="image" data-base62-sha1="nnvb9LDL6lOwsaIFtgcve5VYa8b" width="519" height="480"></p>
  <p>That’s it! Now we have to make it run all the time. So go to the file <code>.profile</code> from your home directory, and add this line at the end of whatever is there: <code>fix-tweaked-desktop-files &amp;</code> . Now reboot the computer. From now on no more zombie files! And if you are to reinstall that Peek application it will even restore your custom edits, so that it will be named “Desktop Recorder” again! How cool!</p>
              <p><small>3 posts - 2 participants</small></p>
              <p><a href="https://forum.tromjaro.com/t/tromjaro-beta-2021-11-16/21">Read full topic</a></p>
            

summary:
  Added a few packages: removed riseup-vpn-git and replaced with riseup-vpn.  added: gnome-calculator, evince, and gtkhash-thunar    A few other changes:  We have created some template files, so that when you right click in the File Manager you can create a new LibreOffice Spreadsheet, Document, and s

plain_text:
  Added a few packages: removed riseup-vpn-git and replaced with riseup-vpn.  added: gnome-calculator, evince, and gtkhash-thunar    A few other changes:  We have created some template files, so that when you right click in the File Manager you can create a new LibreOffice Spreadsheet, Document, and so forth. It is a handy little thing. Basically we added these files, to the Templates  folder.  We improved a bit the code for the Global Menu toggle. Here is the new code:      #! /bin/bash     FILE1=/usr/lib/vala-panel/appmenu-registrar     FILE2=/usr/lib/vala-panel/appmenu-registrar.OFF     if [ -f "$FILE1" ]; then         ## Disable Global Menu         sudo -A mv "$FILE1" "$FILE2" || exit         xfconf-query -c xfce4-panel -p /plugins/plugin-3/plugins/plugin-3/compact-mode -n -t bool -s true         killall appmenu-registrar         ## Reset panels and windows         xfce4-panel -r &         xfwm4 --replace &         xfce4-panel &         sleep 4 && notify-send 'Top menu DISABLED !' 'Restart your computer in order for this to work properly!'      elif [ -f "$FILE2" ]; then         ## Enable Global Menu         sudo -A mv "$FILE2" "$FILE1" || exit         xfconf-query -c xfce4-panel -p /plugins/plugin-3/plugins/plugin-3/compact-mode -n -t bool -s false         ## Reset panels and windows         xfce4-panel -r &         xfwm4 --replace &         xfce4-panel &         sleep 4 && notify-send 'The top menu ENABLED !' 'Restart your computer in order for this to work properly!'      else         notify-send 'ERROR: is the Global Menu installed ?'     fi  Copy this into the file .local/bin/global menu toggle   Muted the mic by default     Added a few new packages for the Settings Manager and inserted them into that cluster of settings. The packages are: antimicrox for game controllers, and guvcview for webcam control. To add such “apps” to the Settings Manager right click the Apps menu, then click “Edit Applications”. Find them, and move them to the Settings category. Now go to the folder .local/share/applications/ and find the .desktop file of that particular app. For example, for guvcview that file is called guvcview.desktop. Right click and edit it with the Text Editor.  To the Category section add “X-XFCE-SettingsDialog;X-XFCE-HardwareSettings;” for the Hardware category. “X-XFCE-PersonalSettings;” for Personal Settings, “X-XFCE-SystemSettings;” for System, and “X-XFCE-OtherSettings;” for Other. All of them have to have the “X-XFCE-SettingsDialog;” too, so keep that in mind! Now you know how to add apps to the Settings Manager!                        /uploads/default/original/1X/5751b0562829764b13dc303ddd0cb4bece5ee416.mp4            We added no opacity to the left side menu when hovering it, so that the icons are more visible. To do that right click the panel, then go to Panel Preferences. There in the Appearance tab select 100 for “Enter”.     We replaced Parole Media Player with SMplayer, simply because SMplayer is faster and works better overall. Remove the parole package and install these: smplayer, smplayer-skins, smplayer-themes. Now if you want a quick way to make all audio and video files open with smplayer, edit the file .config/mimeapps.list and under “[Added Associations]” remove all lines that start with audio or video with these:    audio/vnd.dts=smplayer.desktop; audio/mp4=smplayer.desktop; video/3gpp=smplayer.desktop; video/3gpp2=smplayer.desktop; video/annodex=smplayer.desktop; video/dv=smplayer.desktop; video/isivideo=smplayer.desktop; video/mj2=smplayer.desktop; video/mp2t=smplayer.desktop; video/mp4=smplayer enqueue.desktop;smplayer.desktop; video/ogg=smplayer.desktop; video/vnd.mpegurl=smplayer.desktop; video/vnd.vivo=smplayer.desktop; video/wavelet=smplayer.desktop; video/x-anim=smplayer.desktop; video/x-flic=smplayer.desktop; video/x-matroska-3d=smplayer.desktop; video/x-mng=smplayer.desktop; video/x-msvideo=smplayer enqueue.desktop;smplayer.desktop; video/x-nsv=smplayer.desktop; video/x-ogm+ogg=smplayer.desktop; video/x-sgi-movie=smplayer.desktop; x-content/video-bluray=smplayer.desktop; x-content/video-dvd=smplayer.desktop; x-content/video-hddvd=smplayer.desktop; x-content/video-svcd=smplayer.desktop; x-content/video-vcd=smplayer.desktop; audio/amr=smplayer.desktop; audio/amr-wb=smplayer.desktop; audio/annodex=smplayer.desktop; audio/basic=smplayer.desktop; audio/midi=smplayer.desktop; audio/mp2=smplayer.desktop; audio/mpeg=smplayer.desktop; audio/prs.sid=smplayer.desktop; audio/usac=smplayer.desktop; audio/vnd.audible.aax=smplayer.desktop; audio/vnd.dts.hd=smplayer.desktop; audio/webm=smplayer.desktop; audio/x-aifc=smplayer.desktop; audio/x-aiff=smplayer.desktop; audio/x-amzxml=smplayer.desktop; audio/x-ape=smplayer.desktop; audio/x-gsm=smplayer.desktop; audio/x-iriver-pla=smplayer.desktop; audio/x-it=smplayer.desktop; audio/x-m4b=smplayer enqueue.desktop;smplayer.desktop; audio/x-minipsf=smplayer.desktop; audio/x-mo3=smplayer.desktop; audio/x-mod=smplayer.desktop; audio/x-ms-asx=smplayer.desktop; audio/x-musepack=smplayer.desktop; audio/x-pn-audibleaudio=smplayer.desktop; audio/x-pn-realaudio-plugin=smplayer.desktop; audio/x-psf=smplayer.desktop; audio/x-riff=smplayer.desktop; audio/x-s3m=smplayer.desktop; audio/x-scpls=smplayer.desktop; audio/x-speex=smplayer.desktop; audio/x-stm=smplayer.desktop; audio/x-voc=smplayer.desktop; audio/x-tta=smplayer.desktop; audio/x-wav=smplayer.desktop; audio/x-wavpack=smplayer.desktop; audio/x-wavpack-correction=smplayer.desktop; audio/x-xi=smplayer.desktop; audio/x-xm=smplayer.desktop; audio/x-xmf=smplayer.desktop; x-content/audio-cdda=smplayer.desktop; x-content/audio-dvd=smplayer.desktop; x-content/audio-player=smplayer.desktop; application/ogg=smplayer.desktop; application/mxf=smplayer.desktop; application/vnd.adobe.flash.movie=smplayer.desktop; application/octet-stream=smplayer.desktop;  Then under “[Default Applications]” do the same, and then add: audio/vnd.dts=smplayer.desktop video/3gpp=smplayer.desktop video/3gpp2=smplayer.desktop video/annodex=smplayer.desktop video/dv=smplayer.desktop video/isivideo=smplayer.desktop video/mj2=smplayer.desktop video/mp2t=smplayer.desktop video/mp4=smplayer.desktop video/ogg=smplayer.desktop video/vnd.mpegurl=smplayer.desktop video/vnd.vivo=smplayer.desktop video/wavelet=smplayer.desktop video/x-anim=smplayer.desktop video/x-flic=smplayer.desktop video/x-matroska-3d=smplayer.desktop video/x-mng=smplayer.desktop video/x-msvideo=smplayer.desktop video/x-nsv=smplayer.desktop video/x-ogm+ogg=smplayer.desktop video/x-sgi-movie=smplayer.desktop x-content/video-bluray=smplayer.desktop x-content/video-dvd=smplayer.desktop x-content/video-hddvd=smplayer.desktop x-content/video-svcd=smplayer.desktop x-content/video-vcd=smplayer.desktop audio/amr=smplayer.desktop audio/amr-wb=smplayer.desktop audio/annodex=smplayer.desktop audio/basic=smplayer.desktop audio/midi=smplayer.desktop audio/mp2=smplayer.desktop audio/mp4=smplayer.desktop audio/mpeg=smplayer.desktop audio/prs.sid=smplayer.desktop audio/usac=smplayer.desktop audio/vnd.audible.aax=smplayer.desktop audio/vnd.dts.hd=smplayer.desktop audio/webm=smplayer.desktop audio/x-aifc=smplayer.desktop audio/x-aiff=smplayer.desktop audio/x-amzxml=smplayer.desktop audio/x-ape=smplayer.desktop audio/x-gsm=smplayer.desktop audio/x-iriver-pla=smplayer.desktop audio/x-it=smplayer.desktop audio/x-m4b=smplayer.desktop audio/x-minipsf=smplayer.desktop audio/x-mo3=smplayer.desktop audio/x-mod=smplayer.desktop audio/x-ms-asx=smplayer.desktop audio/x-musepack=smplayer.desktop audio/x-pn-audibleaudio=smplayer.desktop audio/x-pn-realaudio-plugin=smplayer.desktop audio/x-psf=smplayer.desktop audio/x-riff=smplayer.desktop audio/x-s3m=smplayer.desktop audio/x-scpls=smplayer.desktop audio/x-speex=smplayer.desktop audio/x-stm=smplayer.desktop audio/x-voc=smplayer.desktop audio/x-tta=smplayer.desktop audio/x-wav=smplayer.desktop audio/x-wavpack=smplayer.desktop audio/x-wavpack-correction=smplayer.desktop audio/x-xi=smplayer.desktop audio/x-xm=smplayer.desktop audio/x-xmf=smplayer.desktop x-content/audio-cdda=smplayer.desktop x-content/audio-dvd=smplayer.desktop x-content/audio-player=smplayer.desktop application/ogg=smplayer.desktop application/mxf=smplayer.desktop  Save the file!  Remove zombie apps If say you install the application Peek, and then you rename it via the menu as “Desktop Recorder”, but then you will remove this app, you will still see it as “Desktop Recorder” in your apps. Living there like a zombie. This is awful and so far we could not find any solution for this. So, we had to invent one. We made a script. This is it: #!/bin/bash data="$HOME"/.local/share/applications/tweaked-desktop-files detectfiles() { 	for file in "$HOME"/.local/share/applications/*.desktop; do 		[ -d "$file" ] || grep -xq "$file" "$data" && continue 		name=$(basename "$file") || continue 		[ -f /usr/share/applications/"$name" ] || 			ls /var/lib/flatpak/app/*/current/active/files/share/applications/"$name" >/dev/null 2>&1 || 			[ -f /var/lib/snapd/desktop/applications/"$name" ] && 			echo "$file" >> "$data" 	done }  fixfiles() { 	lastmod=$(stat -c "%Y" "$data") 	tmp="$(mktemp -u)" 	[ -f "$data" ] && cp "$data" "$tmp" && copied='true' 	[ "$copied" = 'true' ] && while IFS= read -r file; do 		[ -f "$file" ] || { sed -i "/^$file$/d" "$tmp" ; continue; } 		name=$(basename "$file") || continue 		[ -f /usr/share/applications/"$name" ] || 			ls /var/lib/flatpak/app/*/current/active/files/share/applications/"$name" >/dev/null 2>&1 || 			[ -f /var/lib/snapd/desktop/applications/"$name" ] || 			mv "$file" "$file.bak" 	done < "$data"  	[ "$copied" = 'true' ] && [ "$(stat -c '%Y' "$data")" = "$lastmod" ] && mv "$tmp" "$data"  	for bakfile in "$HOME"/.local/share/applications/*.desktop.bak; do 		origfile="${bakfile/%.bak}" 		[ -f "$origfile" ] && continue 		name=$(basename "$origfile") || continue 		[ -f /usr/share/applications/"$name" ] || 			ls /var/lib/flatpak/app/*/current/active/files/share/applications/"$name" >/dev/null 2>&1 || 			[ -f /var/lib/snapd/desktop/applications/"$name" ] && 			mv "$bakfile" "$origfile" 	done }  pidof -q -o %PPID -x fix-tweaked-desktop-files && exit  while :; do 	local new=$(ls -ad "$HOME"/.local/share/applications/*.desktop 2>/dev/null) 	pacman new=$(ls -ad /usr/share/applications/*.desktop 2>/dev/null) 	flatpak new=$(ls -ad /var/lib/flatpak/app/*/current/active/files/share/applications/*.desktop 2>/dev/null) 	snap new=$(ls -ad /var/lib/snapd/desktop/applications/*.desktop 2>/dev/null) 	[ "$local new" != "$local old" ] && detectfiles 	[ "$pacman new" != "$pacman old" ] || 		[ "$flatpak new" != "$flatpak old" ] || 		[ "$snap new" != "$snap old" ] && fixfiles 	local old=$local new 	pacman old=$pacman new 	flatpak old=$flatpak new 	snap old=$snap new 	sleep 5 done   Go to the folder .local/bin and create a new text file called “fix-tweaked-desktop-files”. Add the above script to it. Save it. Close the text file. Now right click the file, got to Properties, then Permissions and select “Allow this file to run as a program”.  That’s it! Now we have to make it run all the time. So go to the file .profile from your home directory, and add this line at the end of whatever is there: fix-tweaked-desktop-files & . Now reboot the computer. From now on no more zombie files! And if you are to reinstall that Peek application it will even restore your custom edits, so that it will be named “Desktop Recorder” again! How cool! 3 posts - 2 participants Read full topic


article_id: forum.tromjaro.com-topic-19
title: TROMjaro Beta 2021.10.19
author: Tio
feed_id: 8e6f85ee6051ef23
url: https://forum.tromjaro.com/t/tromjaro-beta-2021-10-19/19
timestamp: 2021-11-15 21:00:27
synced: 2021-11-22 13:42:07.264605327
html:
              <h2>
  <a name="we-replaced-the-default-file-manager-and-terminal-1" class="anchor" href="#we-replaced-the-default-file-manager-and-terminal-1"></a>We replaced the default file manager and terminal.</h2>
  <p>We first shipped with Nautilus and Fedora Terminal, so that they both get proper integration. We chose Nautilus because the default XFCE file browser (Thunar) could not handle the file search properly. It has to use a third party app (Catfish) for the job. But Nautilus + Fedora Terminal are not a proper way to go about. For example XFCE allows you to save Sessions, which means all of your opened windows should reopen when you reboot or shut down your machine. This is extremely handy. But Nautilus windows could not be saved. The default file manager in XFCE can, and properly well. On top of that the truth is Thunar was already installed on TROMjaro XFCE since we cannot simply remove it (it is part of the desktop), but we hid it. So we had 2 file managers…that’s not good… Overall Thunar seems more powerful + it supports custom scripts.</p>
  <p>Anyways, after many tests we decided that the best is to use as many of the default XFCE apps as possible since they are properly integrated with the desktop. As for the search issue, Thunar is getting a big improvement and the new search is already implemented but in the testing phase. Plus, we’ve added a “right click” search option to open Catfish to make it easier for you to search stuff. So Thunar is getting better.</p>
  <p><strong>If you already use TROMjaro XFCE here’s how you can switch to Thunar.</strong></p>
  <ol>
  <li>
  <p>Unhide Thunar by right clicking the apps menu (bottom left) then Edit Applications. Search for Thunar and Thunar Settings, click them, one by one, then toggle the “Hide from Menu”. Save.</p>
  </li>
  <li>
  <p>Add to the <code> .config</code> folder (in the Home directory) <a href="https://www.drive.tromsite.com/s/SK36HeZ53eJHymB">this</a> Thunar folder that contains the custom scripts we made. So it will be .config/Thunar (and some files in that folder). Restart the computer for them to take effect.</p>
  </li>
  <li>
  <p>Remove Nautilus and the unnecessary packages. Search them in Add/Remove Software one by one, and remove: <code>gtkhash-nautilus, nautilus, nautilus-admin, nautilus-empty-file, sushi, gnome-terminal-fedora</code>. You will see some warning messages that this or that package may optionally need any of those. Ignore it.</p>
  </li>
  <li>
  <p>Install the needed packages: <code>xfce4-terminal, catfish, thunar-volman, thunar-archive-plugin</code>. No need to choose any of the options when asked.</p>
  </li>
  <li>
  <p>Make Thunar and XFCE Terminal as defaults by opening the Default Applications.</p>
  </li>
  </ol>
  <p>Also, right click and remove the Nautilus icon from the left sidebar. You can do the same from the apps menu left corner, right click “Files” and hide it. Via “Edit Applications” (as explained above) you can also rename Thunar to “Files”.</p>
  <p>Sorry that you have to do all of this. But since this is still Beta we may push such big changes. Tho is hard to see what big changes we will push from now on.</p>
  <h2>
  <a name="we-have-improved-the-calamares-package-by-updating-many-of-its-files-2" class="anchor" href="#we-have-improved-the-calamares-package-by-updating-many-of-its-files-2"></a>We have improved the Calamares package by updating many of its files.**</h2>
  <p>Maybe this could solve the issue with the packages database sync after the installation.</p>
  <h2>
  <a name="we-moved-our-project-files-from-gitlab-trade-based-to-our-our-gitea-instance-herehttpsgittromtftromjaro-3" class="anchor" href="#we-moved-our-project-files-from-gitlab-trade-based-to-our-our-gitea-instance-herehttpsgittromtftromjaro-3"></a>We moved our project files from Gitlab (trade-based) to our our Gitea instance <a href="https://git.trom.tf/TROMjaro">here</a>.</h2>
              <p><small>1 post - 1 participant</small></p>
              <p><a href="https://forum.tromjaro.com/t/tromjaro-beta-2021-10-19/19">Read full topic</a></p>
            

summary:
  We replaced the default file manager and terminal.We first shipped with Nautilus and Fedora Terminal, so that they both get proper integration. We chose Nautilus because the default XFCE file browser (Thunar) could not handle the file search properly. It has to use a third party app (Catfish) for th

plain_text:
  We replaced the default file manager and terminal.We first shipped with Nautilus and Fedora Terminal, so that they both get proper integration. We chose Nautilus because the default XFCE file browser (Thunar) could not handle the file search properly. It has to use a third party app (Catfish) for the job. But Nautilus + Fedora Terminal are not a proper way to go about. For example XFCE allows you to save Sessions, which means all of your opened windows should reopen when you reboot or shut down your machine. This is extremely handy. But Nautilus windows could not be saved. The default file manager in XFCE can, and properly well. On top of that the truth is Thunar was already installed on TROMjaro XFCE since we cannot simply remove it (it is part of the desktop), but we hid it. So we had 2 file managers…that’s not good… Overall Thunar seems more powerful + it supports custom scripts. Anyways, after many tests we decided that the best is to use as many of the default XFCE apps as possible since they are properly integrated with the desktop. As for the search issue, Thunar is getting a big improvement and the new search is already implemented but in the testing phase. Plus, we’ve added a “right click” search option to open Catfish to make it easier for you to search stuff. So Thunar is getting better. If you already use TROMjaro XFCE here’s how you can switch to Thunar.   Unhide Thunar by right clicking the apps menu (bottom left) then Edit Applications. Search for Thunar and Thunar Settings, click them, one by one, then toggle the “Hide from Menu”. Save.     Add to the  .config folder (in the Home directory) this Thunar folder that contains the custom scripts we made. So it will be .config/Thunar (and some files in that folder). Restart the computer for them to take effect.     Remove Nautilus and the unnecessary packages. Search them in Add/Remove Software one by one, and remove: gtkhash-nautilus, nautilus, nautilus-admin, nautilus-empty-file, sushi, gnome-terminal-fedora. You will see some warning messages that this or that package may optionally need any of those. Ignore it.     Install the needed packages: xfce4-terminal, catfish, thunar-volman, thunar-archive-plugin. No need to choose any of the options when asked.     Make Thunar and XFCE Terminal as defaults by opening the Default Applications.    Also, right click and remove the Nautilus icon from the left sidebar. You can do the same from the apps menu left corner, right click “Files” and hide it. Via “Edit Applications” (as explained above) you can also rename Thunar to “Files”. Sorry that you have to do all of this. But since this is still Beta we may push such big changes. Tho is hard to see what big changes we will push from now on.  We have improved the Calamares package by updating many of its files.** Maybe this could solve the issue with the packages database sync after the installation.  We moved our project files from Gitlab (trade-based) to our our Gitea instance here. 1 post - 1 participant Read full topic


article_id: forum.tromjaro.com-topic-11
title: About the Releases category
author: Tio
feed_id: 8e6f85ee6051ef23
url: https://forum.tromjaro.com/t/about-the-releases-category/11
timestamp: 2021-11-15 14:10:06
synced: 2021-11-22 13:42:07.266025319
html:
              <p>Simply put, this is where we will announce the new TROMjaro releases. If you use TROMjaro make sure you follow this category.</p>
              <p><small>1 post - 1 participant</small></p>
              <p><a href="https://forum.tromjaro.com/t/about-the-releases-category/11">Read full topic</a></p>
            

summary:
  Simply put, this is where we will announce the new TROMjaro releases. If you use TROMjaro make sure you follow this category.1 post - 1 participant Read full topic

plain_text:
  Simply put, this is where we will announce the new TROMjaro releases. If you use TROMjaro make sure you follow this category.1 post - 1 participant Read full topic


