Skip to content

Instantly share code, notes, and snippets.

@meghprkh
Last active December 10, 2021 16:39
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save meghprkh/f4d7c5a0c95b70a330db3a30a398de3d to your computer and use it in GitHub Desktop.
Nautilus Tweaks #fedora
#!/bin/bash
xyz='file-roller '
IFS=$'\n'
for i in `echo "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS"`
do
xyz="$xyz -d \"$i\""
done
eval "$xyz"
  • To restore the original archive manager, put the below script in ~/.local/share/nautilus/scripts with name Compress and give executable permission
  • To hide certain files or directories, without renaming them, install this copr https://copr.fedorainfracloud.org/coprs/meghprkh/nautilus-hide/
  • touch ~/Templates/blank will bring you a New Document to right-click menu in Nautilus and any file you put in Templates folder will be copied to that folder when you select New Document > fileName in that folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment