Revert "Xfce: fix duplicated launcher in xfce4-panel (fixes #139)"
This reverts commit 7c47f9d01b20bd8459ec8bf4ddd4f1a0e0fbc403. Fixed in Xfce 4.18 https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/581#note_49570
This commit is contained in:
parent
9a747def9d
commit
1065ad8a68
@ -1,9 +0,0 @@
|
|||||||
[Desktop Entry]
|
|
||||||
Encoding=UTF-8
|
|
||||||
Type=Application
|
|
||||||
Name=Fix bug duplicated launcher in xfce4-panel
|
|
||||||
Exec=/usr/share/kali-themes/fix-duplicated-xfce-panel-launcher.sh
|
|
||||||
OnlyShowIn=XFCE;
|
|
||||||
RunHook=1
|
|
||||||
StartupNotify=false
|
|
||||||
Terminal=false
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
# Kill xfconf to force reading the modified configuration
|
|
||||||
pkill -9 xfconf
|
|
||||||
|
|
||||||
|
|
||||||
sed -i -zE 's|(\s+<value[^\n]+)\1|<value type="string" value="xfce4-terminal-emulator.desktop"/>\1|' \
|
|
||||||
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-panel.xml
|
|
||||||
|
|
||||||
# Remove autorun file after first run
|
|
||||||
echo "Hidden=true" >> ~/.config/autostart/fix-duplicated-xfce-panel-launcher.desktop
|
|
||||||
Loading…
x
Reference in New Issue
Block a user