Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-15-2022, 04:19 PM   #1
arguendo
Junior Member
arguendo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2022
Device: Kindle Paperwhite
Unable to set tweak - Apply button inactive

I am running Calibre 5.38 on Windows 10. I wanted to set a tweak (to change startup sorting) in Preferences->Tweak but under no circumstances would the "Apply" button activate.

Searching in the forums I noticed some old posts regarding a tweaks.py file. I rarely sign in to my machine as admin and do all my work as a non-privileged user. Since I installed Calibre for all users and learned that the tweaks were in a python file I thought this might be a permissions problem. So I logged in as administrator and ran Calibre. However logging in as admin made no difference. The "Apply" button is never active.

I then went looking for a tweaks.py file. All I found was a "default_tweaks.py" file in C:\Program Files (x86)\Calibre2\app\resources. I tried copying default_tweaks.py to a tweaks.py file
and editing the sort_columns_at_startup tweak. That caused Calibre to fail to start. So, my last ditch effort was to change the default_tweaks.py file directly (after saving a copy of course.)

I copied the tweaks.py that I created and edited file back over the default_tweaks.py in order to be sure that it wasn't a typo in the tweaks.py file that caused the failure to start. With the change directly in the default_tweaks.py Calibre is now working as I expected.

I'm certain my solution if not the recommended one and am wondering if anyone can shed some light on my problem. In particular, what would cause the "Apply" button to always be greyed out and inactive?
arguendo is offline   Reply With Quote
Old 03-15-2022, 05:47 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,660
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@arguendo - to activate the main Apply button you must hit the Apply changes to this tweak button for the individual settings you change.

Never change anything in the calibre installation folder (e.g. C:\Program Files\Calibre2),

If it is a permissions problem it will be in the Configuration folder, which I doubt, you can open via the Preferences>Miscellaneous->Open calibre configuration folder button. If you can open files there with a text editor then it ain't a permissions problem.

BR
Attached Thumbnails
Click image for larger version

Name:	Screenshot 2022-03-16 085029.jpg
Views:	534
Size:	184.8 KB
ID:	192790  

Last edited by BetterRed; 03-15-2022 at 05:52 PM. Reason: added a screen shot
BetterRed is online now   Reply With Quote
Advert
Old 03-15-2022, 05:51 PM   #3
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: 30,942
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
As BR said: All tweaks have 2 levels of Apply.
Each setting needs an apply, then when all is done tweaking, the Tweaks menu needs an apply (and you should trigger a Restart Calibre message
theducks is offline   Reply With Quote
Old 03-16-2022, 11:56 AM   #4
arguendo
Junior Member
arguendo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2022
Device: Kindle Paperwhite
@BetterRed
Thanks for the tip on checking the configuration file. I have no problem accessing the folder.

However, my problem remains that the "Apply" button is greyed out. On my platform (Windows 10) the button is named "Apply" not "Apply Changes to this Tweak" but it is greyed out and does not respond. It only becomes active if I click on "Restore Defaults".
Attached Thumbnails
Click image for larger version

Name:	Tweaks.png
Views:	231
Size:	29.9 KB
ID:	192802  
arguendo is offline   Reply With Quote
Old 03-16-2022, 01:30 PM   #5
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: 30,942
Karma: 60358908
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 arguendo View Post
@BetterRed
Thanks for the tip on checking the configuration file. I have no problem accessing the folder.

However, my problem remains that the "Apply" button is greyed out. On my platform (Windows 10) the button is named "Apply" not "Apply Changes to this Tweak" but it is greyed out and does not respond. It only becomes active if I click on "Restore Defaults".
It is scrolled off INSIDE (user UI font too big?)
Attached Thumbnails
Click image for larger version

Name:	tweak save.JPG
Views:	842
Size:	28.1 KB
ID:	192808  
theducks is offline   Reply With Quote
Advert
Old 03-16-2022, 02:00 PM   #6
arguendo
Junior Member
arguendo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2022
Device: Kindle Paperwhite
OMG! So embarrassed. I just never even saw the scroll bar on the right. Thanks for your help.
arguendo is offline   Reply With Quote
Reply

Tags
tweak


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to Set to White Text on Black Background clintbradford Kindle Fire 1 06-17-2014 03:37 PM
Apply Functions on a column on a set of select row Khan-Dam Calibre 4 02-19-2014 01:43 PM
Unable to set buttons vitalyb Kindle Formats 0 09-13-2008 04:09 PM


All times are GMT -4. The time now is 03:20 AM.


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