LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Why is the font different on Install & Remove Additional Software?
#1
I just realized there's two kind of fonts active. How can i fix this?

[Image: font.jpg]
Reply
#2
Hi Mpig,
Have you run an update (menu > all > install updates) recently? A new version of the install-additional-software script (aka light-software) was released today, 9-17-14. Maybe this will fix the font issue.
~Scott
[Image: q7j1yAl.png]
Reply
#3
Yup, i have run an update. I know because there's Chromium on both, install & remove additional software.
Reply
#4
I see in the screenshot you have both Install & Remove Additional Software open at the same time, if you have just one open, does the font stay consistent? Also, try a restart and see if it is still happening.
Reply
#5
Notice the height value in each script. In lite-remover height=700, in lite-software height=730. I wonder if the added height is causing the font to change? This is only a guess, I haven't tested anything.

/usr/scripts/lite-remover
selection=$(zenity --window-icon="$ic" --list --radiolist --width=880 --height=700 --column="Select" --column="Name" --column="Category" \


/usr/scripts/lite-software
selection=$(zenity --window-icon="$ic" --list --checklist --width=880 --height=730 --column="Select" --column="Name" --column="Category" \


Here are the dates on the scripts on my laptop for comparison:
scott@laptop:~$ head /usr/scripts/lite-software | grep Date
# Date: September 17th, 2014

scott@laptop:~$ head /usr/scripts/lite-remover | grep Date
# Date: Aug 27th, 2014
[Image: q7j1yAl.png]
Reply
#6
I think it has to do with how the scripts are executed.

Install Additional Software
gksudo sh /usr/scripts/lite-software

Remove Additional Software
sh /usr/scripts/lite-remover

On my system these two commands produce different fonts:
leafpad test
gksudo leafpad test
[Image: q7j1yAl.png]
Reply
#7
(09-17-2014, 01:37 PM)Scott(0) link Wrote: I think it has to do with how the scripts are executed.

Install Additional Software
gksudo sh /usr/scripts/lite-software

Remove Additional Software
sh /usr/scripts/lite-remover

On my system these two commands produce different fonts:
leafpad test
gksudo leafpad test
That might be it.
See if rebulding font information cache files makes any difference.
Code:
sudo fc-cache -f -v
Reply
#8
(09-17-2014, 12:50 PM)Valtam link Wrote: I see in the screenshot you have both Install & Remove Additional Software open at the same time, if you have just one open, does the font stay consistent? Also, try a restart and see if it is still happening.

Just one open and restart too, the font stay consistent like that.

(09-17-2014, 01:06 PM)Scott(0) link Wrote: Notice the height value in each script. In lite-remover height=700, in lite-software height=730. I wonder if the added height is causing the font to change? This is only a guess, I haven't tested anything.

/usr/scripts/lite-remover
selection=$(zenity --window-icon="$ic" --list --radiolist --width=880 --height=700 --column="Select" --column="Name" --column="Category" \


/usr/scripts/lite-software
selection=$(zenity --window-icon="$ic" --list --checklist --width=880 --height=730 --column="Select" --column="Name" --column="Category" \


Here are the dates on the scripts on my laptop for comparison:
scott@laptop:~$ head /usr/scripts/lite-software | grep Date
# Date: September 17th, 2014

scott@laptop:~$ head /usr/scripts/lite-remover | grep Date
# Date: Aug 27th, 2014

Same like yours:

audi@audi-Aspire-3680:~$ head /usr/scripts/lite-software | grep Date
# Date: September 17th, 2014
audi@audi-Aspire-3680:~$ head /usr/scripts/lite-remover | grep Date
# Date: Aug 27th, 2014

(09-17-2014, 01:37 PM)Scott(0) link Wrote: I think it has to do with how the scripts are executed.

Install Additional Software
gksudo sh /usr/scripts/lite-software

Remove Additional Software
sh /usr/scripts/lite-remover

On my system these two commands produce different fonts:
leafpad test
gksudo leafpad test

YES! Finally. This is the cause.  Big Grin
And now, how i fix this problem? Any Suggestion?

(09-17-2014, 02:05 PM)misko_2083 link Wrote: [quote author=Scott(0) link=topic=883.msg5085#msg5085 date=1410961056]
I think it has to do with how the scripts are executed.

Install Additional Software
gksudo sh /usr/scripts/lite-software

Remove Additional Software
sh /usr/scripts/lite-remover

On my system these two commands produce different fonts:
leafpad test
gksudo leafpad test
That might be it.
See if rebulding font information cache files makes any difference.
Code:
sudo fc-cache -f -v
[/quote]

No effect.  :'(
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)