General > On Topic
Why is the font different on Install & Remove Additional Software?
mpig:
--- Quote from: Valtam on September 17, 2014, 08:50:21 AM ---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.
--- End quote ---
Just one open and restart too, the font stay consistent like that.
--- Quote from: Scott(0) on September 17, 2014, 09:06:10 AM ---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
--- End quote ---
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
--- Quote from: Scott(0) on September 17, 2014, 09:37:36 AM ---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
--- End quote ---
YES! Finally. This is the cause. :D
And now, how i fix this problem? Any Suggestion?
--- Quote from: misko_2083 on September 17, 2014, 10:05:04 AM ---
--- Quote from: Scott(0) on September 17, 2014, 09:37:36 AM ---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
--- End quote ---
That might be it.
See if rebulding font information cache files makes any difference.
--- Code: ---sudo fc-cache -f -v
--- End code ---
--- End quote ---
No effect. :'(
anon222:
--- Quote from: Scott(0) on September 17, 2014, 09:37:36 AM ---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
--- End quote ---
That might be it.
See if rebulding font information cache files makes any difference.
--- Code: ---sudo fc-cache -f -v
--- End code ---
Scott:
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
Scott:
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
Jerry:
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.
Navigation
[0] Message Index
[#] Next page
Go to full version