MaartenBaert / ssr

SimpleScreenRecorder, a screen recorder for Linux
http://www.maartenbaert.be/simplescreenrecorder/
GNU General Public License v3.0
2.5k stars 288 forks source link

Add new recordings to desktops recent files #900

Open bertwesarg opened 2 years ago

bertwesarg commented 2 years ago

Thanks for this nice tool, but is it already possible, that new recordings will be added to the DE recent files list? Not sure how to achieve this with Qt, I did that once in Python GTK with:

import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk as gtk
gtk.RecentManager.get_default()
MaartenBaert commented 2 years ago

I don't think there's a portable way to do this. Unfortunately different toolkits and desktop environments track recently opened files in a completely separate way, there is no standardized place to keep track of recent files.