bohoomil / fontconfig-ultimate

freetype2-infinality run-time settings => infinality compatible fontconfig => infinality-bundle
453 stars 38 forks source link

'/etc/X11/xinit/xinitrc.d/infinality-settings' should have '.sh' suffix. #85

Closed dontdieych closed 9 years ago

dontdieych commented 9 years ago

See this bug report.

https://bugs.archlinux.org/task/41471

I start X using startx command on console. So I copied '/etc/X11/xinit/xinitrc' to '$HOME/.xinitrc' then edit it.

if [ -d /etc/X11/xinit/xinitrc.d ] ; then                                        
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do                                       
  [ -x "$f" ] && . "$f"                                                          
 done                                                                            
 unset f                                                                         
fi                                                                               

Because this block, infinalty settings does not applied.

bohoomil commented 9 years ago

When you use a simple wildcard (* without a suffix) everything should work and I'd recommend you leave it this way. However, I can suffix the file as well if it makes it more robust.

I will introduce the change on the next update.

dontdieych commented 9 years ago

Thanks. Your are my hero.

dontdieych commented 9 years ago

Thanks.

      1. 오전 6:34에 "bohoomil" notifications@github.com님이 작성:

Closed #85 https://github.com/bohoomil/fontconfig-ultimate/issues/85 via e0a0bc0 https://github.com/bohoomil/fontconfig-ultimate/commit/e0a0bc02355ab96a27d18dba4a1cd03d580de0d6 .

— Reply to this email directly or view it on GitHub https://github.com/bohoomil/fontconfig-ultimate/issues/85#event-290360153 .

bohoomil commented 9 years ago

My pleasure. :-)