You are Here:
Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section



Why is the font different on Install & Remove Additional Software?

Author (Read 3820 times)

0 Members and 1 Guest are viewing this topic.

Re: Why is the font different on Install & Remove Additional Software?
« Reply #8 on: September 17, 2014, 11:44:01 AM »
 

mpig

  • Guest
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.

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

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.  :D
And now, how i fix this problem? Any Suggestion?

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: [Select]
sudo fc-cache -f -v

No effect.  :'(
 

Re: Why is the font different on Install & Remove Additional Software?
« Reply #7 on: September 17, 2014, 10:05:04 AM »
 

anon222

  • Muted
  • Gold Level Poster
  • *
  • 688
    Posts
  • Reputation: 192
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Pentium E5700 3GHz

  • MEMORY: 3Gb

  • VIDEO CARD: GeForce GT 430
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: [Select]
sudo fc-cache -f -v
 

Re: Why is the font different on Install & Remove Additional Software?
« Reply #6 on: September 17, 2014, 09:37:36 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Reputation: 186
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
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
 

Re: Why is the font different on Install & Remove Additional Software?
« Reply #5 on: September 17, 2014, 09:06:10 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Reputation: 186
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
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
« Last Edit: September 17, 2014, 09:38:24 AM by Scott(0) »
 

Re: Why is the font different on Install & Remove Additional Software?
« Reply #4 on: September 17, 2014, 08:50:21 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8778
    Posts
  • Reputation: 802
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
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.
 

Re: Why is the font different on Install & Remove Additional Software?
« Reply #3 on: September 17, 2014, 08:35:06 AM »
 

mpig

  • Guest
Yup, i have run an update. I know because there's Chromium on both, install & remove additional software.
 

Re: Why is the font different on Install & Remove Additional Software?
« Reply #2 on: September 17, 2014, 07:08:29 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 857
    Posts
  • Reputation: 186
  • Linux Lite Member
    • View Profile

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
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
 

Why is the font different on Install & Remove Additional Software?
« Reply #1 on: September 17, 2014, 06:28:38 AM »
 

mpig

  • Guest
I just realized there's two kind of fonts active. How can i fix this?

 

 

-->
X Close Ad

Linux Lite 6.6 FINAL Released - Support for 22 Languages Added - See Release Announcement Section