LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Blogs > linux-related notes
User Name
Password

Notices


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

Autostart script method to fix the GTK3 scroll-warp feature-bug

Posted 09-27-2016 at 08:41 PM by the dsc
Updated 09-27-2016 at 08:44 PM by the dsc

I'm not aware of there being something like a "gtk-3.0-settings.d" to preserve settings.ini options between theme changes (including involuntary ones), so that's a work-around method, adding that to the session auto-start script:

Code:
! grep warps-slider $HOME/.config/gtk-3.0/settings.ini && echo "gtk-primary-button-warps-slider = false" >> $HOME/.config/gtk-3.0/settings.ini
But that of course only works after a new login (not mentioning a pretty default-ish settings.ini that doesn't explicitly give the default as "true"). But perhaps it could be made into a subshell loop that does that every now and then:

Code:
(while true ; do
! grep warps-slider $HOME/.config/gtk-3.0/settings.ini && echo "gtk-primary-button-warps-slider = false" >> $HOME/.config/gtk-3.0/settings.ini
sleep 10m ; done ) &
Then only GTK3 applications would need to be restarted.
Posted in Uncategorized
Views 609 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 05:08 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration