GNOME

I’ve implemented 2 extensions for the gnome-shell (version 3.2, 3.4, 3.6, 3.8):

Desktop Icons Switch
Recent Items

 


diDesktop Icons Switch

This extension adds a switch to enable or disable the desktop icons. This is also possible via gnome-tweak-tool, but this is for faster access to turn the icons on and off…

Latest version: 4 (update for gnome-shell 3.8)

Download and activate it via extensions.gnome.org: Desktop Icons Switch

Alternatively download and extract to “~/.local/share/gnome-shell/extensions/”: DesktopIconsSwitch-4.tar.gz

 

 

 

 

 

 


recent itemsRecent Items

Something missing for the GNOME 3: a simple list for the last recently used items and, since you can search your recently used porns in the overview mode, an easy way to delete this list. So, this is my first extension.

Latest Version 7: update for gnome-shell 3.8 (thanks to grynays!)

Changelog version 4:

- “More…”-Button
- Blacklisting MIME Media Types
- Fixed undeclared Variable (thx oib)

Todos:

- right-click on single entry: remove from list, show in folder
- gui for settings
- hide button after cleaning
- folders?
- private-mode?
- error-msg if file does not exist
- overview tab (like the extension for zeitgeist)?

Settings:

To change the default settings (10 items, 50 more-items, no blacklisting), go to the top of your extensions.js, should be here:

~/.local/share/gnome-shell/extensions/RecentItems@bananenfisch.net/extension.js
or /usr/share/gnome-shell/extensions/RecentItems@bananenfisch.net/extension.js

If you set MORE = 0, there will be no “More…”-Button. Available media-types are: text, image, audio, video, application, multipart, message, model. You can define one or more (seperate with “,”) types.

For example, to blacklist all images use:

To blacklist all images, videos and audios, you can use:

Don’t forget to restart the shell, after changing settings…

Install

Download and activate it via extensions.gnome.org: Recent Items

Alternatively download and extract to “~/.local/share/gnome-shell/extensions/”: RecentItems-7.tar.gz

The code:

10 Antworten zu “GNOME”

  1. [...] Meine fertige Extension kann übrigens auch direkt von dieser Seite installiert und aktiviert werden: https://extensions.gnome.org/extension/72/recent-items/. Der Code findet sich hier: GNOME. [...]

  2. Thanks, this is a great extension,… I had no idea how to clear gnome-shell history, apparently deleting recently-used.xbel doesn’t do the trick, probably because it’s loaded into memory somewhere. So that hack probably only works if done from outside gnome-shell.

    Anyways, I was thinking maybe an extension that enabled/disabled the recording of recently used files. Kind of like private mode in Firefox would be great. It shouldn’t necessarily clear the history, just allow me to stop recording the history. A thing that would be useful when accessing truecrypt partitions or external hard drives where I don’t need the files to show up in history later.

    I tried looking for documentation of the JS api, but couldn’t really find any. Do you know where I can find an overview of methods on GtkRecentManager?

  3. Kurt Fleisch sagt:

    thats a good idea, jonas. i have to check, how this is possible to implement (the JS-bindings are not well documented, and i’m new at this libs…). it’s on the todo-list :-)

  4. Kurt Fleisch sagt:

    here is a doc: http://developer.gnome.org/gtkmm/stable/classGtk_1_1RecentManager.html

    some functions are already implemented here: /usr/share/gnome-shell/js/misc/docInfo.js
    i was searching in gconf/dconf for settings, but nothing found…

  5. Francesco sagt:

    Thankyou for the amazing recent item extensions, i use it very often. Now that precise pangolin is out, colud you update the extension to gnome 3.4?
    Thankyou so much!
    Frà

  6. Kurt Fleisch sagt:

    Hi Francesco,

    thank you!
    i will update the extension for gnome 3.4 as soon as the gnome-shell 3.4 will be available on debian unstable (i hope, this could be very soon: http://www.0d.be/debian/debian-gnome-3.4-status.html ), as i use debian on all my systems…

  7. Robert sagt:

    Hi Kurt,

    Could you please update the extension to Gnome 3.8?

    Thanks,

    Robert

  8. Paolo sagt:

    The Recent Items extension is very nice. Thank you for developing it and compliment to all of us.

    When you have time, consider updating it for gnome 3.8.

  9. Thiago Moreira sagt:

    To use with gnome 3.8, just add 3.8 in version list on file “metadata.json” locate in “/home/username/.local/share/gnome-shell/extensions/DesktopIconsSwitch@bananenfisch.net”

  10. Kurt Fleisch sagt:

    Thanks Thiago! – i’m still on 3.6, but have updated the extensions by adding the version. Should be online at http://extensions.gnome.org/ now too!

Hinterlasse eine Antwort