Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Some display settings of lubuntu

59

Credits

10

Prestige

12

Contribution

registered members

Rank: 2

Credits
59
Posted at 3/5/2015 10:58:49        Only Author  1#

Some display settings of lubuntu

set display scale:

  1. root@firefly:~# cat /sys/class/graphics/fb0/scale
  2. xscale=100 yscale=100
  3. left=100 top=100 right=100 bottom=100

  4. root@firefly:~# echo 95 > /sys/class/graphics/fb0/scale
  5. root@firefly:~# cat /sys/class/graphics/fb0/scale
  6. xscale=95 yscale=95
  7. left=95 top=95 right=95 bottom=95

  8. root@firefly:~# echo yscale=80 > /sys/class/graphics/fb0/scale
  9. root@firefly:~# cat /sys/class/graphics/fb0/scale
  10. xscale=100 yscale=80
  11. left=100 top=80 right=100 bottom=80

  12. root@firefly:~# echo xscale=80 > /sys/class/graphics/fb0/scale
  13. root@firefly:~# cat /sys/class/graphics/fb0/scale
  14. xscale=80 yscale=100
  15. left=80 top=100 right=80 bottom=100
Copy the code


set HDMI output mode
  1. root@firefly:~# cat /sys/class/display/display0.HDMI/mode
  2. 1920x1080p-60

  3. root@firefly:~# cat /sys/class/display/display0.HDMI/modes
  4. auto
  5. 1920x1080p-60
  6. 1920x1080p-50
  7. 1280x720p-60
  8. 1280x720p-50
  9. 720x576p-50
  10. 720x480p-60

  11. root@firefly:~# echo 720x480p-60 > /sys/class/display/display0.HDMI/mode
Copy the code


set full color depth
Set full color depth need to use fbset, however, it installed by default in Lubuntu of Firefly-RK3288. if your ubuntu is not installed fbset, you can install it by: sudo apt-get install fbset

then, create a file /etc/init/fbset.conf  
  1. # fbset - run fbset to set truecolor fbmode
  2. description "run fbset ASAP"
  3. start on startup and started udev or starting lightdm
  4. task
  5. script
  6.     [ -x /bin/fbset ] && /bin/fbset -a -nonstd 1 -depth 32 -rgba "8/0,8/8,8/16,8/24"
  7. end script
Copy the code


create a file /etc/X11/xorg.conf
  1. Section "Screen"
  2.     Identifier "Default Screen"
  3.     DefaultDepth 24
  4. EndSection
Copy the code


at last, add startup code in file /etc/rc.local   
  1. service lightdm stop
  2. fbset -a -nonstd 1 -depth 32 -rgba 8/0,8/8,8/16,8/24
  3. service lightdm start
Copy the code



Reply

Use props Report

127

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
127
Posted at 1/11/2026 20:16:11        Only Author  2#
I’m genuinely grateful for your share, this article is fantastic! Get your hands on the Vault-Associate-002 valid cram materials questions for free—the key to your next promotion!
Reply

Use props Report

130

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
130
Posted at 1/19/2026 06:35:51        Only Author  3#
This article is incredible, thank you for sharing it! With the Test H12-841_V1.5 collection pdf, I was able to secure a promotion and salary hike. It’s now available for free to all. Good luck on your career growth!
Reply

Use props Report

130

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
130
Posted at 3 day before        Only Author  4#
我々はあなたに提供するのは最新で一番全面的なCompTIAのN10-009J問題集で、最も安全な購入保障で、最もタイムリーなCompTIAのN10-009J試験のソフトウェアの更新です。無料デモはあなたに安心で購入して、購入した後1年間の無料CompTIAのN10-009J試験の更新はあなたに安心で試験を準備することができます、あなたは確実に購入を休ませることができます私たちのソフトウェアを試してみてください。もちろん、我々はあなたに一番安心させるのは我々の開発する多くの受験生に合格させるCompTIAのN10-009J試験のソフトウェアです。
Reply

Use props Report

133

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
133
Posted at 3 day before        Only Author  5#
다른 방식으로 같은 목적을 이룰 수 있다는 점 아세요? 여러분께서는 어떤 방식, 어느 길을 선택하시겠습니까? 많은 분들은Salesforce인증CRT-450시험패스로 자기 일에서 생활에서 한층 업그레이드 되기를 바랍니다. 하지만 모두 다 알고계시는그대로Salesforce인증CRT-450시험은 간단하게 패스할 수 있는 시험이 아닙니다. 많은 분들이Salesforce인증CRT-450시험을 위하여 많은 시간과 정신력을 투자하고 있습니다. 하지만 성공하는 분들은 적습니다.
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list