Lack of resolution available (solved)
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Lack of resolution available (solved)
My display is a Vizio 22" which I use both as TV and computer monitor. I am running dual boot Win 10 Pro / linuxmint 19.1. In linux I show only 3 resolutions available, 1920x1080 (16x9), 1020x768 (4x3) and 800x600 (4x3). In windows mode I show several other resolutions including 1360x768 (16x9), I would like this resolution but it is not available in linux. Anyway I can add this resolution to my linuxmint boot system?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Lack of resolution available
In a terminal type
look at the output, we want to know the name of the port the monitor is connected to, this is part of the output from mine:
My monitor is connected on
Next enter:
The output will look something like:
We want to know the modeline. Now in a terminal (copy/paste the parameters in the modeline from the cvt output), replace HDMI-2 with the port you got from running xrandr above:
Now go and check and see if that monitor resolution is available and works. In cinnamon menu > preferences > display.
If it works, post back and I'll tell you how to make it permanent.
Code: Select all
xrandr
Code: Select all
VGA-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 673mm x 284mm
HDMI-2
.Next enter:
Code: Select all
cvt 1360 768
The output will look something like:
Code: Select all
# 1360x768 59.80 Hz (CVT) hsync: 47.72 kHz; pclk: 84.75 MHz
Modeline "1360x768_60.00" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
Code: Select all
xrandr --newmode "1360x768" 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync
xrandr --addmode HDMI-2 "1360x768"
If it works, post back and I'll tell you how to make it permanent.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: Lack of resolution available
Outstanding, it works. Thank you, now you said something about making it permanent?
Re: Lack of resolution available
In
Simply add the two lines for
/home/you
you should find a file called .profile
. This is what the content of mine looks like:
Code: Select all
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.
# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022
# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
# set PATH so it includes user's private bin directories
PATH="$HOME/bin:$HOME/.local/bin:$PATH"
xrandr --newmode
and xrandr --addmode
that worked to the end of the file. It gets executed every time you start up. Note - if you have more resolutions that you want to add, simply repeat what you have done to get the modelines for the other resolutions and also add them as well.Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: Lack of resolution available
I understand the xrandr lines but I can't find the ".profile". I typed cd /home/gunter but it does not change anything.
Re: Lack of resolution available
Sorry to be such a pain but I am 79 and tried to read something on linux the problem is I can't remember things as I used to (I am thinking of putting up Post-It notes in the bathroom so I don't forget to flush).
Re: Lack of resolution available
In your file manager, make sure "Show Hidden Files" is checked ...
.profile
is a hidden file.Re: Lack of resolution available (Resolved)
Thank, everything is working properly now, at least the display is. Hope I can get the networking problem resolved.
Thanks again,
Gunter
Thanks again,
Gunter
Re: Lack of resolution available
Don't worry, I'm 65 and trying to catch upSorry to be such a pain but I am 79
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0