keepnote
keepnote copied to clipboard
Filesystem browsing when opening notebook
Running Keepnote 0.78 on Kali 2017.1. When you create or restore a notebook the file system can be browsed to the required location. But when opening different notebooks the file system isn't browse-able.
Logs are not indicating any errors or failures.
As I keep separate notebooks for all my clients this is quite painful
The workaround I currently use is going through the filesystem and opening up the nbk files.
I was able to create a temporary workaround for this problem by editing the following file:
/usr/share/pyshared/keepnote/gui/main_window.py
I changed the order of the code on lines 547-555.
From:
file_filter = gtk.FileFilter()
file_filter.add_pattern("*.nbk")
file_filter.set_name(_("Notebook (*.nbk)"))
dialog.add_filter(file_filter)
file_filter = gtk.FileFilter()
file_filter.add_pattern("*")
file_filter.set_name(_("All files (*.*)"))
dialog.add_filter(file_filter)
To:
file_filter = gtk.FileFilter()
file_filter.add_pattern("*")
file_filter.set_name(_("All files (*.*)"))
dialog.add_filter(file_filter)
file_filter = gtk.FileFilter()
file_filter.add_pattern("*.nbk")
file_filter.set_name(_("Notebook (*.nbk)"))
dialog.add_filter(file_filter)
I will give it a go and see if it works for me as soon as I have spare time.
To me, the workaround posted by @denevin worked well. Thanks
The workaround posted by @denevin solved my issue.
@denevin solution still works.