Skip to content

Commit 07ae225

Browse files
author
alpha
committed
Thunar Modified and that's removing
1 parent edf127b commit 07ae225

File tree

4 files changed

+22
-0
lines changed

4 files changed

+22
-0
lines changed

scripts.tar.xz

312 Bytes
Binary file not shown.

scripts/addthunar

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@
1111
sudo apt update >/dev/null 2>/dev/null
1212
sudo apt -y install "thunar*"
1313
# echo " Install nemo to dock as favorite"
14+
thunar&
15+
sleep 3
16+
sudo killall thunar
17+
if [ ! -e ~/.config/Thunar/uca.xml.bak ]; then
18+
cp ~/.config/Thunar/uca.xml ~/.config/Thunar/uca.xml.bak
19+
sed -i $'/<\/actions>/{e cat ./thunar-execute-script.txt\n}' ~/.config/Thunar/uca.xml
20+
fi
1421
echo ""
1522
echo -n "Hit Any Key:"
1623
read -r -n 1 -s answer

scripts/removethunar

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
# echo " CAUTION!!:if remove command is waited longtime,stop this script(quit at Window-close button or ^c) and run update-manager for update all snap!!"
1111
sudo apt remove -y --purge nemo "thunar*"
1212
sudo apt remove -y --autoremove >/dev/null 2>/dev/null
13+
sudo killall thunar
14+
rm -rf ~/.config/Thunar
1315
echo ""
1416
echo -n "Hit Any Key:"
1517
read -r -n 1 -s answer

scripts/thunar-execute-script.txt

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<action>
2+
<icon>utilities-terminal</icon>
3+
<name>端末で実行</name>
4+
<submenu></submenu>
5+
<unique-id>1743523409781016-2</unique-id>
6+
<command>/bin/gnome-terminal --command %f</command>
7+
<description>Execute on terminal </description>
8+
<range></range>
9+
<patterns>*</patterns>
10+
<startup-notify/>
11+
<other-files/>
12+
</action>
13+

0 commit comments

Comments
 (0)