Rednotebook opens .txt-files in the terminal and not with texteditor

Asked by Paulus Rütter

When I create a new .txt-File on my notebook in my RedNotebook-Journal - directory "/home/paul/.rednotebook/data/Files" and set a link to this file it will be opened with the LXTerminal. The existing .txt-files - also created directly in the "/home/paul/.rednotebook/data/Files"-directory on my PC - will be opened regularly with GEDIT (my texteditor). The strange thing is: when I copy an existing .txt-File - created on my PC - rename it and set a link to this file - it will be opened with gedit! Also when I create a .txt-file in this directory on my PC it will be opened with the texteditor: on the PC AND ON MY NOTEBOOK! Only when I create a .txt-file on my Notebook this "terminal-malfunction" happens... very strange! PC-OS is UBUNTU with UNITY, NB-OS is LUBUNTU with LXDE. And here the last two lines from the rednotebook.log:
2013-02-10 14:02:34,927 INFO Clicked URI "file:///home/paul/.rednotebook/data/Files/test.txt"
2013-02-10 14:02:34,928 INFO Trying to open file:///home/paul/.rednotebook/data/Files/test.txt with xdg-open
Okay, I solved this problem by this way: I took an existing .txt-file, named it "template.txt" - and use this after given the name I want, when I need a new .txt-file with a link to this file - but this is not a smart way...
Do you know, why Rednotebook show this behaviour only on my Notebook but not on my PC?
I would be very grateful for an answer!

Question information

Language:
English Edit question
Status:
Answered
For:
RedNotebook Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jendrik Seipp (jendrikseipp) said :
#1

This is probably the fault of xdg-open. RedNotebook does not try to
alter its behaviour. You might want to try explicitly setting an app for
opening txt files for your OS.

Can you help with this problem?

Provide an answer of your own, or ask Paulus Rütter for more information if necessary.

To post a message you must log in.