question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Change user grub settings to 1920x1080 if available

See original GitHub issue

Right now Matter only works properly on a 1920x1080 grub screen.

When a user runs set-matter.sh the script should detect if the resolution 1920x1080 would be available (is listed when running vbeinfo on grub terminal), and if so, change the GRUB_GFXMODE property in /etc/default/grub to 1920x1080. If 1920x1080 is not available, cancel the installation.

Read this short wiki page before starting https://github.com/mateosss/matter/wiki/Considerations

Be sure to ask in the comments for any questions!

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
GMFranceschinicommented, Sep 30, 2019

My bad, executing update-grub worked after setting the right resolution. Looks still a little bit too zoomed but definitely ok. I add the file anyway, maybe it can help:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE="1920x1080x32"

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
GRUB_THEME="/boot/grub/themes/Matter/theme.txt"

0reactions
mateossscommented, Jul 18, 2020

Working now.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to safely change grub2 screen resolution? - Ask Ubuntu
To do this safely requires two steps. Step 1: find the preferred mode. Reboot and press and hold Shift to display your grub....
Read more >
How to Change Screen Resolution of Grub Boot Menu in Ubuntu
It's easy to fix by setting an appropriate screen resolution for the Grub boot-menu in Ubuntu. 1.) Tell which video modes your graphics...
Read more >
Managing the NICE DCV Session display layout
The display layout specifies the default configuration that's used when clients connect to the session. However, clients can manually override the layout ...
Read more >
Zoom system requirements: Windows, macOS, Linux
This article lists the requirements for using the Zoom desktop client on Windows, macOS, and Linux. This article covers: System...
Read more >
How can I increase the Hyper-V display resolution? - Super User
Here is how you can change the resolution of Ubuntu (Linux) ... between the quotes (The maximum possible resolution is 1920x1080) like this: ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found