Firefly Open Source Community

Title: Some display settings of lubuntu [Print This Page]

Author: lin_jc    Time: 3/5/2015 10:58
Title: 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




Author: jackgra680    Time: 1/11/2026 20:16
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!
Author: jimking992    Time: 1/19/2026 06:35
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!
Author: mattwhi452    Time: 2/1/2026 11:55
厘?はあなたに戻工するのは恷仟で匯桑畠中議なCompTIAのN10-009J}鹿で、恷も芦畠な澓隠嬾で、恷もタイムリ`なCompTIAのN10-009JYのソフトウェアの厚仟です。o創デモはあなたに芦伉で澓して、澓した瘁1定gのo創CompTIAのN10-009JYの厚仟はあなたに芦伉でYを笋垢襪海箸できます、あなたは_gに澓を俚ませることができます暴たちのソフトウェアをしてみてください。もちろん、厘?はあなたに匯桑芦伉させるのは厘?の_kする謹くの鞭Y伏に栽鯉させるCompTIAのN10-009JYのソフトウェアです。
Author: danielk750    Time: 2/1/2026 17:23
다른 방식으로 같은 목적을 이룰 수 있다는 점 아세요? 여러분께서는 어떤 방식, 어느 길을 선택하시겠습니까? 많은 분들은Salesforce인증CRT-450시험패스로 자기 일에서 생활에서 한층 업그레이드 되기를 바랍니다. 하지만 모두 다 알고계시는그대로Salesforce인증CRT-450시험은 간단하게 패스할 수 있는 시험이 아닙니다. 많은 분들이Salesforce인증CRT-450시험을 위하여 많은 시간과 정신력을 투자하고 있습니다. 하지만 성공하는 분들은 적습니다.
Author: nickhun505    Time: 2/16/2026 22:41
This article is outstanding in every way, thank you for sharing. I hope the Reliable RCWA APP simulations content helps, and it comes at no cost.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1