Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 04-28-2011, 05:53 AM   #1
odradek
Junior Member
odradek began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2011
Device: odradek
Choosing display programs for various formats

When I click on items in my Calibre list, they open in the program my OS has them associated with, e.g., .pdf opens in Adobe Reader, and .txt opens in notepad. I'd like to change this so that, for example, clicking on a .txt file in the list will open it in yBook reader. I want to leave my OS associations the same---when clicking on a .txt file in my file manager, I almost always want it to open in notebook, but an ebook in .txt format is a different thing. It seems this bug was noted thirteen months ago:
http://oldbugs.calibre-ebook.com/ticket/5265
It seems like it should be a simple matter. Is there any way Calibre can do this?
odradek is offline   Reply With Quote
Old 04-28-2011, 06:54 AM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,488
Karma: 1063785
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
Calibre uses the system associations when it is told not to open in it's internal ebook viewer. There is no way to change this.
user_none is offline   Reply With Quote
Advert
Old 04-28-2011, 08:24 AM   #3
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
You may want to use the open with plugin. Check the plugins section.
Manichean is offline   Reply With Quote
Old 04-28-2011, 08:30 AM   #4
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by odradek View Post
It seems this bug was noted thirteen months ago:
http://oldbugs.calibre-ebook.com/ticket/5265
Not a bug. Follow Manichean's advice, find the "Open with" GUI plugin in this index.
DoctorOhh is offline   Reply With Quote
Old 04-28-2011, 09:34 AM   #5
odradek
Junior Member
odradek began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2011
Device: odradek
Thank you. I installed the Open With plugin, customized it with the line:
Title=text
Format=TXT
Application Path="C:\Users\Mike\Documents\My eBooks\yBook\yBook.exe"

Now when I click on a .txt file, Calibre still opens it in notepad.
odradek is offline   Reply With Quote
Advert
Old 04-28-2011, 09:41 AM   #6
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
Quote:
Originally Posted by odradek View Post
Thank you. I installed the Open With plugin, customized it with the line:
Title=text
Format=TXT
Application Path="C:\Users\Mike\Documents\My eBooks\yBook\yBook.exe"

Now when I click on a .txt file, Calibre still opens it in notepad.

The instructions in the first post for that plugin says to restart calibre and add it to a menu. I added it to the context menu via Preferences - Toolbar. I right click on any book entry and select open text and it opens the text in the application I chose.

Good Luck.
DoctorOhh is offline   Reply With Quote
Old 04-28-2011, 09:41 AM   #7
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
You'll need to actually use the plugin. See the plugins description page, especially the first screenshot. You'll also need to add the plugin to a toolbar or menu as described in this thread.
Manichean is offline   Reply With Quote
Old 04-28-2011, 12:00 PM   #8
odradek
Junior Member
odradek began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2011
Device: odradek
I am actually using the plugin, and opening a text file from the menu item on the toolbar does work, but simply double-clicking on the item in the list does not.
odradek is offline   Reply With Quote
Old 04-28-2011, 12:09 PM   #9
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by odradek View Post
I am actually using the plugin, and opening a text file from the menu item on the toolbar does work, but simply double-clicking on the item in the list does not.
Well, obviously. Doubleclicking isn't using the plugin, but rather Calibre's internal routines for opening the file. You can't change that behaviour, you only have the choice between Calibre's internal viewer and the program associated in the OS to handle the file for doubleclicking.
Manichean is offline   Reply With Quote
Old 04-28-2011, 12:13 PM   #10
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by odradek View Post
I am actually using the plugin, and opening a text file from the menu item on the toolbar does work, but simply double-clicking on the item in the list does not.
You did add the OWPI to 'Context menu?

That is the way it is supposed to work. (You might want to use tweaks to set: Control behavior of double clicks on the book list. to 'do_nothing' ) to avoid confusions
theducks is offline   Reply With Quote
Old 04-28-2011, 12:22 PM   #11
odradek
Junior Member
odradek began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2011
Device: odradek
Quote:
Originally Posted by Manichean View Post
Well, obviously.
Not obvious at all, just bad design. Having to find an item on a menu and click that for certain filetypes but not others is awkward---obviously.
odradek is offline   Reply With Quote
Old 04-28-2011, 12:25 PM   #12
odradek
Junior Member
odradek began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2011
Device: odradek
Quote:
Originally Posted by theducks View Post
You did add the OWPI to 'Context menu?
Yes, not I have to find it on the contextual menu and then find "text" on its sub-menu to open a text file. The simple double click that works for other file types still won't work for text.
odradek is offline   Reply With Quote
Old 04-28-2011, 12:41 PM   #13
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by odradek View Post
Yes, not I have to find it on the contextual menu and then find "text" on its sub-menu to open a text file. The simple double click that works for other file types still won't work for text.
That sounds like there is problems with the file associations in you OS if you have behaviour 'use internal viewer' for txt (and TEXT) unticked.

Note. there are 2 associations that may need to be present, depending on the files extension
theducks is offline   Reply With Quote
Old 04-28-2011, 01:21 PM   #14
odradek
Junior Member
odradek began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Apr 2011
Device: odradek
The file association for .txt in my OS is to open it in notepad (a simple text editor), since I do a lot of things with text files that are not ebooks. The file association I want _within_ Calibre is to open .txt files in yBook since, within Calibre, I only expect to open ebooks for reading, not text files for editing.

Do you mean there are two file associations to be set within Calibre? I can't find where "behaviour 'use internal viewer' for txt" is.
odradek is offline   Reply With Quote
Old 04-28-2011, 01:39 PM   #15
kiwidude
calibre/Sigil Developer
kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.kiwidude ought to be getting tired of karma fortunes by now.
 
Posts: 4,601
Karma: 2092290
Join Date: Oct 2010
Location: Australia
Device: Kindle Oasis
Your question was answered in post#2. You cannot get double click behaviour to open a "third" choice of text editor. You can:
- Get double click to open in the internal viewer
- Get double click to open in your system text editor (which you have set to notepad)
- Use the Open with plugin to have a menu item (optionally with keyboard shortcut) to open it in the editor of your choice

That's all the options you have.
kiwidude is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
TV Programs nickkindle Calibre 12 04-25-2011 03:25 PM
Greetings, programs! Kismatt Introduce Yourself 8 01-15-2011 04:26 PM
Pixel Qi 10" display will be sold as USB powered Secondary Display Dulin's Books News 8 09-28-2010 06:15 PM
Convert Epub and Msreader formats to Kindle formats bruc79 Calibre 17 06-22-2010 04:50 AM
Choosing a reader based on open content formats wrburgess Which one should I buy? 3 12-01-2009 09:37 PM


All times are GMT -4. The time now is 10:10 PM.


MobileRead.com is a privately owned, operated and funded community.