Current version: 0.9
About this applet:
I developed this applet initially because I wanted a quick and easy replacement to the old GNOME2 'Sticky Notes' applet. The design decisions changed a little while implementing and I ended up with this applet.
This applet monitors a user entered directory for any changes and displays that directory's contents. The contents are then selectable, and it will open whatever you click with the default launcher associated with Cinnamon.
Icon used is from a standard theme: folder-saved-search-symbolic.svg
Note that in later releases of Cinnamon, the icon has changed to a magnifying glass (no longer within a folder).
Thanks to these applet authors:
The following applets served as an example for me to learn from - I may have used some code from them aswell.
Tested with Cinnamon 1.6 and 1.7 on ArchLinux, and with Mint-Cinnamon 14.1 LiveDVD (64 bit).
Note: This package now exists in the Arch User Repository. If you run ArchLinux it's recommended you get the applet from there instead.
How to install:
- Download the applet zip file.
- Move or copy the applet zip to the following directory: $HOME/.local/share/cinnamon/applets/
- Unzip into that directory.
- Go to 'Preferences' -> 'Cinnamon Settings' -> 'Applets'
- Scroll down to find 'Path Monitor' and select it.
- Left click the new applet icon and type in a path to monitor
Path Monitor now has a right click context menu. From here you can configure settings and spawn extra instances of the applet. Path Monitor also supports filtering of file types. It will let you filter out the following types of files:
* Hidden files
* Temporary document files (files ending with "~")
* Your own custom exclusion pattern
About basic path/file filtering:
The file/path filtering will match any part of any entry in your file list with whatever text you enter. For example, if I have an entry named "atextfile.txt" and I enter in the exclusion pattern "ext", then it would match and exclude that entry from displaying. Using a single comma "," separates patterns so you can enter multiple pattern exclusions.
About multiple instances of the applet:
Please note that support for multi-instances in path-monitor is experimental. It has the potential to break in a later release of cinnamon.
Cinnamon v1.7 and above have added the native ability to start multiple applets using the applet manager. Unfortunately I'm not yet sure how this works with storing settings for multiple instances. Due to this, I've let the applet itself handle multi-instances.
In one of the screenshots above you should see that you have the 'Monitor an extra path..." feature in the context menu. Clicking this will add an extra instance of 'path-monitor' and allow you to configure it's settings. It should also be able to save any settings you change and automatically start the extra instances next time you open Cinnamon. Note that you can only start extra instances from the "master" applet, that is, the very first one to appear in your cinnamon tray. Extra instances only allow you to 'Exit' instead of spawning additional copies, so you will notice that the context menu has that difference between your 'master' copy and any extra copies..
Changes in v0.9:
* Right click context menu for easy configuration.
* All applets can save their settings.
* Code clean-ups.
Changes in v0.5:
* Manual support for multiple instances of the applet.
* Manual support for changing file filtering settings.
* Hidden files are no longer displayed by default.
Changes in v0.4:
* Fix GSettingsSchema loading when outside of user's $HOME.
* Code clean-ups
Changes in v0.3:
* Now remembers the path you enter.
* Changed UUID to be consistent in applet.js and metadata.json.
* Hard coded to only show 25 entries, list shouldn't go past end of screen unless you have a small vertical resolution set on your display.