mirror of
https://github.com/kasmtech/workspaces-core-images.git
synced 2025-06-26 06:51:45 +02:00
Merge branch 'bugfix/KASM-1784_trash_delete_key' into 'develop'
KASM-1784 Update delete button press to delete file not move to trash Closes KASM-1784 See merge request kasm-technologies/internal/workspaces-core-images!5
This commit is contained in:
commit
5382492fef
@ -63,3 +63,13 @@ cat >/usr/bin/desktop_ready <<EOL
|
||||
until pids=\$(pidof xfce4-session); do sleep .5; done
|
||||
EOL
|
||||
chmod +x /usr/bin/desktop_ready
|
||||
|
||||
# Change the default behavior of the delete key which is to move to trash. This will now prompt the user to permanently
|
||||
# delete the file instead of moving it to trash
|
||||
mkdir -p /etc/xdg/Thunar/
|
||||
cat >>/etc/xdg/Thunar/accels.scm<<EOL
|
||||
(gtk_accel_path "<Actions>/ThunarStandardView/delete" "Delete")
|
||||
(gtk_accel_path "<Actions>/ThunarLauncher/delete" "Delete")
|
||||
(gtk_accel_path "<Actions>/ThunarLauncher/trash-delete-2" "")
|
||||
(gtk_accel_path "<Actions>/ThunarLauncher/trash-delete" "")
|
||||
EOL
|
||||
|
Loading…
x
Reference in New Issue
Block a user