Add mounting/unmounting ISO files in Thunar

This commit is contained in:
exu 2024-02-18 11:53:20 +01:00
parent 64cc0288af
commit 7182cf287e
2 changed files with 26 additions and 2 deletions

View File

@ -1,6 +1,7 @@
; thunar GtkAccelMap rc-file -*- scheme -*-
; this file is an automated accelerator map dump
;
; (gtk_accel_path "<Actions>/ThunarBookmarks/2daa880cf55d19c03e7a7a2776671f94" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-type" "")
; (gtk_accel_path "<Actions>/ThunarBookmarks/134cf305a61c72f784680835c93c28fd" "")
; (gtk_accel_path "<Actions>/ThunarStatusBar/toggle-last-modified" "")
@ -75,16 +76,16 @@
(gtk_accel_path "<Actions>/ThunarStandardView/invert-selection" "<Primary>i")
; (gtk_accel_path "<Actions>/ThunarWindow/view-side-pane-shortcuts" "<Primary>b")
; (gtk_accel_path "<Actions>/ThunarWindow/view-location-selector-menu" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-mtime" "")
; (gtk_accel_path "<Actions>/ThunarWindow/edit-menu" "")
; (gtk_accel_path "<Actions>/ThunarWindow/reload" "<Primary>r")
; (gtk_accel_path "<Actions>/ThunarActionManager/copy" "<Primary>c")
; (gtk_accel_path "<Actions>/ThunarActionManager/move-to-trash" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/unselect-all-files" "Escape")
; (gtk_accel_path "<Actions>/ThunarActionManager/delete-3" "<Shift>KP_Delete")
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-side-pane" "F9")
; (gtk_accel_path "<Actions>/ThunarBookmarks/bd09eece7395e751859c8153dca05324" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/arrange-items-menu" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/sort-by-mtime" "")
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-side-pane" "F9")
; (gtk_accel_path "<Actions>/ThunarWindow/open-computer" "")
; (gtk_accel_path "<Actions>/ThunarWindow/bookmarks-menu" "")
; (gtk_accel_path "<Actions>/ThunarWindow/toggle-image-preview" "")
@ -106,6 +107,7 @@
; (gtk_accel_path "<Actions>/ThunarWindow/open-trash" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/open-in-new-window" "<Primary><Shift>o")
; (gtk_accel_path "<Actions>/ThunarWindow/view-statusbar" "")
; (gtk_accel_path "<Actions>/ThunarBookmarks/356c14bf86880b16a82a896aac1ea75d" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/open-location" "")
; (gtk_accel_path "<Actions>/ThunarStandardView/duplicate" "")
; (gtk_accel_path "<Actions>/ThunarActionManager/trash-delete-2" "KP_Delete")

View File

@ -56,4 +56,26 @@
<text-files/>
<video-files/>
</action>
<action>
<icon>drive-optical</icon>
<name>ISO-Datei hier einhängen</name>
<submenu></submenu>
<unique-id>1708204340305596-1</unique-id>
<command>fuseiso -p %f %f.mount</command>
<description>ISO-Datei im aktuellen Verzeichnis als Ordner einhängen</description>
<range>*</range>
<patterns>*.iso;*.nrg;*.bin;*.mdf;*.img</patterns>
<other-files/>
</action>
<action>
<icon>drive-optical</icon>
<name>ISO-Datei aushängen</name>
<submenu></submenu>
<unique-id>1708253344784089-1</unique-id>
<command>fusermount -u %f</command>
<description>Eingehängtes ISO-Verzeichnis aushängen</description>
<range>*</range>
<patterns>*.mount</patterns>
<directories/>
</action>
</actions>