A collection of custom context menu actions for the Nemo file manager, along with some miscellaneous feature scripts intended for the Cinnamon desktop environment.
Also included is a GTK over-ride file to increase the width of GTK application scrollbars, improve the visibility of labels on desktop icons, and improve the visibility of text on the cinnamon lock-screen / screen-saver.
Nemo actions add additional context menu items to the right click menu in the Nemo file manager and on the Cinnamon desktop.
An action can be added to Nemo by saving it's definition file with the file extension .nemo_action
in ~/.local/share/nemo/actions
Some actions in this repo also require an associated shell script. These should be saved in ~/.local/share/nemo/actions/scripts
and be made executable
These instructions assume a Debian/Ubuntu based distro for the commands to install dependencies. For users of other distros please replace sudo apt
with the equivalent for your distro's package management system.
First install git
sudo apt install git
Then clone this repo
git clone https://github.com/smurphos/nemo_actions_and_cinnamon_scripts.git
Having cloned the repo you can either install all of the actions using the commands below or refer to the index of actions to install individual actions.
To install all of the nemo actions
cp -rv ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/ ~/.local/share/nemo
Install other dependencies used by the actions
sudo apt install zenity xdotool wmctrl gprename mediainfo-gui shellcheck searchmonkey spacefm catfish tree imagemagick
Either sudo apt install xplayer
or sudo apt install totem
Open Nemo > Preferences > Plugins and review any actions you wish to disable.
In a terminal navigate to the nemo_actions_and_cinnamon_scripts
folder created when you originally cloned the repo
e.g cd nemo_actions_and_cinnamon_scripts
Once in the correct folder update your local copy with the latest commits, before reinstalling your actions.
git pull origin; cd ..
This action is obsolete in Nemo 4.6.x and later. Actions are sorted alphabetically by the filename of the action in the menu from this version of Nemo.
In earlier versions the ordering of actions in Nemo's context menu is based on the last modification date of the .nemo_action file.
This action and it's associated shell script will sort all installed actions alphabetically by the file name of the .nemo_action file. Assuming your action's display names are based on the file name this will result in actions being displayed in alphabetical order in the context menu.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/sort_actions.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/sort_actions.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
A set of two actions and an associated shell script to allow the user to gracefully close all open windows on the current workspace or all workspaces via right click on the desktop.
close_windows_in_workspace.nemo_action
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/close_windows_in_workspace.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/close_all_windows.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/close_windows.sh ~/.local/share/nemo/actions/scripts
sudo apt install xdotool wmctrl
A set of six actions to allow easy management of workspaces from the desktop context menu.
previous_workspace.nemo_action
workspace_overview.nemo_action
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/new-workspace.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/delete-workspace.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/previous_workspace.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/next_workspace.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/workspace_overview.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/window_overview.nemo_action ~/.local/share/nemo/actions
An action to quickly toggle the desktop background slide-show, along with an action to select the next wallpaper when the slide-show is active.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/toggle_slideshow.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/next-wallpaper.nemo_action ~/.local/share/nemo/actions
The first two actions give quick access from the desktop context menu to the shutdown and logoff session dialogues.
session_menu_logout.nemo_action
session_menu_poweroff.nemo_action
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/session_menu_logout.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/session_menu_poweroff.nemo_action ~/.local/share/nemo/actions
These five actions immediately invoke the requested action.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/session_reboot.nemo_action~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/session_shutdown.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/session_suspend.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/session_lock.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/session_logout.nemo_action ~/.local/share/nemo/actions
These actions allow you to open text files with a password prompt for elevated privileges if necessary from a regular instance of Nemo. They will all open the file with the specified text-editor using sudoedit to elevate privileges as the owner of the file if that is not the user. The could be as root or another user on the system.
Three versions are supplied, using the CLI text editor Nano, Linux Mint's default GUI text editor Xed and finally the GUI text editor Geany. If you have a different preferred text editor the actions and scripts can easily be modified to suit your needs. The actions invoking a GUI text editor require zenity.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/nano_sudoedit.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/nano_sudoedit_check.sh ~/.local/share/nemo/actions/scripts
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/xed_sudoedit.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/xed_sudoedit_check.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/zenity_askpass.sh ~/.local/share/nemo/actions/scripts
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/geany_sudoedit.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/geany_sudoedit_check.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/zenity_askpass.sh ~/.local/share/nemo/actions/scripts
These actions and their associated shell scripts allow the user to undertake a range of file management activities with elevated privileges if needed from a regular instance of Nemo.
They will all request password authentication if elevated privileges are necessary to complete the action.
All require zenity.
Supports single and multiple selections.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/copy_to_admin.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/copy_to_admin.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/zenity_askpass.sh ~/.local/share/nemo/actions/scripts
Supports single and multiple selections
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/move_to_admin.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/move_to_admin.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/zenity_askpass.sh ~/.local/share/nemo/actions/scripts
Supports single selections only.
create_link_in_target.nemo_action
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/create_link_in_target.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/create_link_in_target.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/zenity_askpass.sh ~/.local/share/nemo/actions/scripts
This action has two nemo_action files, one for right-click on a directory, and one for right-click on empty space.
create_dir_admin_background.nemo_action
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/create_dir_admin.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/create_dir_admin_background.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/create_dir_admin.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/zenity_askpass.sh ~/.local/share/nemo/actions/scripts
This action has two nemo_action files, one for right-click on a directory, and one for right-click on empty space.
create_file_admin_background.nemo_action
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/create_file_admin.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/create_file_admin_background.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/create_file_admin.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/zenity_askpass.sh ~/.local/share/nemo/actions/scripts
Supports single and multiple selections.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/delete_admin.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/delete_admin.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/zenity_askpass.sh ~/.local/share/nemo/actions/scripts
Supports single selections only.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/rename_admin.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/rename_admin.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/zenity_askpass.sh ~/.local/share/nemo/actions/scripts
Select single or multiple files / directories to be presented with a zenity window showing the total disk usage of the selection. Based on an action by Linux Mint forum member sadhu
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/disk_usage.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/disk_usage.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
Select single files / directories to be presented with a zenity window summarising the gvfs metadata associated with file.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/show_metadata.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/show_metadata.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
Select single files or directories to be presented with a zenity window stating which debian package(s) installed the file or has content in the folder. This action is only for nemo installed on Debian based systems
show_parent_package.nemo_action
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/show_parent_package.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/show_parent_package.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
Two actions to quickly create a desktop link to a selected directory. Add link to desktop creates a link desktop file with the link emblem on the icon. However these links function slightly differently from a regular symlink as when opened it will open the original target location. Add launcher to desktop will result in a plain folder without a link emblem. The function is otherwise identical to add link to desktop
add_link_to_desktop.nemo_action
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/add_link_to_desktop.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/add_link_to_desktop.sh ~/.local/share/nemo/actions/scripts
add_launcher_to_desktop.nemo_action
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/add_launcher_to_desktop.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/add_launcher_to_desktop.sh ~/.local/share/nemo/actions/scripts
Both these actions open the bulk rename utility GPrename. One action is for a single folder selection to bulk rename files in that folder. The other is for multiple selections and opens GPrename in the parent folder.
bulk_rename_folders.nemo_action
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/bulk_rename_files.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/bulk_rename_folders.nemo_action ~/.local/share/nemo/actions
sudo apt install gprename
This action allows the user to create and set custom emblems derived from image files, album art or video thumbnails to files and directories. For directories there is an option to use a random emblem generated from the directory contents and it can be run recursively on the selected directory and it's sub-directories.
Requires zenity, wmctrl, imagemagick and either xplayer or totem to be installed.
apply_custom_emblem.nemo_action
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/apply_custom_emblem.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/apply_custom_emblem.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity wmctrl imagemagick
Either sudo apt install xplayer
or sudo apt install totem
This action action provides an alteranative to the stock icon picker to quickly apply an image as a custom icon for a file or directory. Requires zenity.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/apply_custom_icon.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/apply_custom_icon.sh ~/.local/share/nemo/actions/scripts
sudo apt zenity
This action allows the user to set default folder view (list, compact or icon) and zoom level recursively to a directory and it's sub-directories.
Requires zenity, wmctrl, and gio. Mint users should be aware that gio is only available in Mint 19 and later.
set_folder_view_recursively.nemo_action
set_folder_view_recursively.sh
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/set_folder_view_recursively.nemo_action ~/.local/share/nemo/actions
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/set_folder_view_recursively.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity wmctrl
Shows information about media files in a separate window using mediainfo-gui - .
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/media-info.nemo_action ~/.local/share/nemo/actions
sudo apt install mediainfo-gui
Opens the selected folder in Searchmonkey for more fine-tuned file system searches including search by contents.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/catfish_search.nemo_action ~/.local/share/nemo/actions
sudo apt install catfish
Opens the selected folder in Searchmonkey for more fine-tuned file system searches including search by contents.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/searchmonkey.nemo_action ~/.local/share/nemo/actions
sudo apt install searchmonkey
Opens the selected folder in SpaceFM's search tool for more fine-tuned file system searches including search by contents.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/spacefm_search.nemo_action ~/.local/share/nemo/actions
sudo apt install spacefm
An action and associated shell script to produce an html tree-view of the directory and file structure below the selected directory. Requires tree - sudo apt install tree
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/print_tree.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/print_tree.sh ~/.local/share/nemo/actions/scripts
sudo apt install tree
Ever wanted to grab a random selection of music files or pictures from a collection? This action is for you. Uses zenity to ask the user to confirm number of files and where to paste them.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/get_random_file.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/get_random_files.sh ~/.local/share/nemo/actions/scripts
sudo apt install zenity
An action and associated shell script to quickly add or remove a ✓ emblem to the file/folder.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/toggle_checked.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/toggle_checked.sh ~/.local/share/nemo/actions/scripts
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/touch_file.nemo_action ~/.local/share/nemo/actions
This action and associated shell script will check your shell scripts for errors with shellcheck. Scripts with no issues will be marked with a checked emblem, scripts with warnings will be marked with a warning emblem and the shellcheck output along with the shell script itself will be opened in a text editor for review.
To install after cloning repo
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/toggle_checked.nemo_action ~/.local/share/nemo/actions
mkdir -p ~/.local/share/nemo/actions/scripts
cp -r ./nemo_actions_and_cinnamon_scripts/.local/share/nemo/actions/scripts/toggle_checked.sh ~/.local/share/nemo/actions/scripts
sudo apt install shellcheck
This is a small selection of feature scripts that add new features or improve existing features for the Cinnamon desktop.
These instructions assume a Debian/Ubuntu based distro for the commands to install dependencies. For users of other distros please replace sudo apt
woth the equivalent for your distro's package management system.
They also assume your distro is set up to automatically add ~/.local/bin/
to your $PATH when it exists. This is the case in Linux Mint main edition but not LMDE for example.
If after installation scripts are not autostarting on login check the output of echo $PATH
. If the output does not include ~/.local/bin/
this can normally be rectified by adding the string PATH=~/.local/bin/:$PATH
to ~/.profile
First install git
sudo apt install git
Then clone this repo if you haven't already.
git clone https://github.com/smurphos/nemo_actions_and_cinnamon_scripts.git
Having cloned the repo you can either install all of the scripts using the commands below or refer to the index of scripts to install individual scripts.
To install all of the cinnamon scripts
cp -rv ./nemo_actions_and_cinnamon_scripts/.local/bin/ ~/.local
sudo cp -r ./nemo_actions_and_cinnamon_scripts/opt/login_screen_random_background.sh /opt
To install autostart entries for relevant scripts
cp -rv ./nemo_actions_and_cinnamon_scripts/.config/autostart/ ~/.config
Install dependencies required by the scripts
sudo apt install zenity xdotool wmctrl
See the scripts index for any other script specific setup recommendations.
Log off and back on.
In a terminal navigate to the nemo_actions_and_cinnamon_scripts
folder created when you originally cloned the repo
e.g cd nemo_actions_and_cinnamon_scripts
Once in the correct folder update your local copy with the latest commits, before reinstalling your scripts.
git pull origin; cd ..
This script adds a user configurable desktop background slideshow function to the native Cinnamon screensaver/screen locker. It is intended to be run on user login as a startup application.
To install after cloning repo
mkdir -p ~/.local/bin
cp -r ./nemo_actions_and_cinnamon_scripts/.local/bin/lock_screen_slideshow.sh ~/.local/bin
cp -r ./nemo_actions_and_cinnamon_scripts/.config/autostart/lock_screen_slideshow.desktop ~/.config/autostart
Optionally review the script to amend end user editable variables to suit your preferences.
xdg-open ~/.local/bin/lock_screen_slideshow.sh
Logout and log back in.
This script facilitates the user being presented with a random background on the login screen. It is compatible with any Mint edition using Slick-Greeter and LightDM, not just Cinnamon. It is intended to be run from the root crontab.
login_screen_random_background.sh
To install after cloning repo
sudo cp -r ./nemo_actions_and_cinnamon_scripts/opt/login_screen_random_background.sh /opt
Optionally review the script to amend end user editable variables to suit your preferences.
sudoedit /opt/login_screen_random_background.sh
Login Screen Random Background is intended to be run from the root crontab. To set up run
sudo crontab -e
In the CLI text editor that opens add the following lines to the bottom of the file. Ctrl-O, Enter, Ctrl-X to save the new crontab entries. This will run the script on boot and every half an hour.
@reboot /opt/login_screen_random_background.sh
0,30 * * * * /opt/login_screen_random_background.sh
This script allows the user to different backgrounds for each Cinnamon workspace. It is intended to be run on user login as a startup application.
workspace_background_switcher.sh
To install after cloning repo
mkdir -p ~/.local/bin
cp -r ./nemo_actions_and_cinnamon_scripts/.local/bin/workspace_background_switcher.sh ~/.local/bin
cp -r ./nemo_actions_and_cinnamon_scripts/.config/autostart/workspace_background_switcher.desktop ~/.config/autostart
Optionally review the script to amend end user editable variables to suit your preferences.
xdg-open ~/.local/bin/workspace_background_switcher.sh
This script allows the user to set default opacity levels for open windows based on the window status and type. For example unfocused windows can be translucent whilst focused windows are opaque.
The effect is independent of the users theme and can be used with any GTK theme. It is intended to be run on user login as a startup application. Requires xdotool and wmctrl - sudo apt install xdotool wmctrl
To install after cloning repo
mkdir -p ~/.local/bin
cp -r ./nemo_actions_and_cinnamon_scripts/.local/bin/opacify_windows.sh ~/.local/bin
cp -r ./nemo_actions_and_cinnamon_scripts/.config/autostart/opacify_windows.desktop ~/.config/autostart
sudo apt install xdotool wmctrl
Optionally review the script to amend end user editable variables to suit your preferences.
xdg-open ~/.local/bin/opacify_windows.sh
This script uses zenity - sudo apt install zenity
to open a warning window on battery low and critically low events. This can be helpful if gaming or watching full screen video whilst running on battery as the zenity window will demand attention.
It is intended to be run on user login as a startup application. Please note the script modifies Cinnamon's default thresholds for Low & Critical battery events and actions. Please review the script if you want to set these thresholds to your preference.
To install after cloning repo
mkdir -p ~/.local/bin
cp -r ./nemo_actions_and_cinnamon_scripts/.local/bin/battery_mon.sh ~/.local/bin
cp -r ./nemo_actions_and_cinnamon_scripts/.config/autostart/battery_mon.desktop ~/.config/autostart
sudo apt install zenity
Optionally review the script to amend end user editable variables to suit your preferences.
xdg-open ~/.local/bin/battery_mon.sh
This small gtk.css file over-rides is intended to improve visibility of desktop icon labels and screen-saver / screen-locker text on light coloured backgrounds. It also increases the width of scroll bars in GTK3 apps and allows the scrollbars size to vary with changes in text scaling factor.
First clone this repo if you haven't already.
git clone https://github.com/smurphos/nemo_actions_and_cinnamon_scripts.git
To install the gtk.css over-ride file
cp -rv ./nemo_actions_and_cinnamon_scripts/.config/gtk-3.0/ ~/.config
Log off and back on.