Re: [qubes-users] Custom resolutions-xrandr

2018-03-12 Thread Yuraeitha
On Monday, March 12, 2018 at 5:30:29 AM UTC+1, randal...@gmail.com wrote:
> Did that solve the black bar issue? Also I'm the so called average user so I 
> would need a small step by step guide cause this looks super confusing.
> Thanks an advance

Google hates me tonight, but I'll try again. For some reason google kept 
deleting my messages some hours back, but my last message got through, so maybe 
this one will too. Seemingly my situation isn't an isolated case either. But 
anyway, lets get on-topic (and hope this successfully posts this time).

Use this command "xrandr" in dom0 terminal to find the supported resolutions on 
your machine, as well as the screens exact name. The exat name is important. 
For example my screens name is eDP1, but you put eDP-1 in your command. Is your 
screen really named that and not eDP1? It might explain partly why it doesn't 
work. Run "xrandr" in dom0 terminal, nothing else, just that one command. It'll 
give you a print out of all connected screens, supported resolutions and screen 
names.

Also, this is a working command, I use it my self daily. 
xrandr --output eDP1 --mode 1920x1080 

Remember to only put a resolution that your setup supports. Even supported 
resolutions can look bad though, so try aim for one with proper proportions. 
Most normal setups support 1920x1080, if you can see it in the list, then yours 
also support it, in that case give that one a try to begin with. Remember to 
double check your screen's name, even a single letter difference can make it 
stop working.

First test the command in dom0 terminal, if it works, and you found your ideal 
settings, then you can turn it into a script, which afterwards can be either 
keybinded, autostarted, or turned into a shortcut (whichever you prefer most).

in a clean dom0, type this (no sudo here!) 
nano screen-resolution-script.sh 

Terminal becomes an editor, now just write this exact command into your window, 
modified with the values (resolution and screen name) that fits your system. 

The Nano editor can be saved by "ctrl+x", keep eyes on window as you do this, 
ans you'll notice the message at bottom. Something like 2Do you want to save?" 
Press Y for yes, and accept the name you gave it earlier with enter. 

Now your script is located in dom0 at 
/home/your-user-name/screen-resolution-script.sh 

In order to make it executeable, write this in dom0 terminal 
chmod +x screen-resolution-script.sh 

Now, for example keybind it, type this in dom0 again
xfce4-keyboard-settings 

a window will popup, go to the "Application Shortcuts" and click the add 
button. Now add the path to your script, and bind a key. 

I gotta hurry running now, so I cant explain the other two approaches right 
now. But it's quickly done too. 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/5cb20f4f-71ab-4ee7-a0d6-c8242aa647ef%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Custom resolutions-xrandr

2018-03-11 Thread randallrbaker
Did that solve the black bar issue? Also I'm the so called average user so I 
would need a small step by step guide cause this looks super confusing.
Thanks an advance

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/a2fe3409-858c-40ee-a074-d253119df535%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Custom resolutions-xrandr

2018-03-11 Thread Nazar Zhuk
> If im trying to create a custom resolution that I can auctually see on my 
> 3200x1800 how do I get rid of the black area and make the resolution full 
> screen? I tried adding xrandr --output eDP-1 set "scaling mode" "full aspect" 
> and nothing is happening.I allready made a resolution of 1800x1400, but 
> instead of going full it just shrinks the display to fit into a box.

This worked for me on Dell XPS 13 (9360) with 3200x1800 screen: 
https://askubuntu.com/a/377944.

My normal setup though is increasing fonts in dom0 XFCE; and in VM's 
Xft.dpi=216, GDK_SCALE=2, GDK_DPI_SCALE=0.5. There is QT5 scaling option too. 
See https://wiki.archlinux.org/index.php/HiDPI#X_Resources

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/E8Wn6ifqjqJLN3DmOucXBoZirPO57z8339l9Wz94_BWz7D95RrTJPkqIExLeIAx7RA0FC8uK2Qhqcy-_6EQlDikN6eMXuMBQSfU7aS7ZFdE%3D%40zhuk.online.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Custom resolutions-xrandr

2018-03-10 Thread randallrbaker
If im trying to create a custom resolution that I can auctually see on my 
3200x1800 how do I get rid of the black area and make the resolution full 
screen? I tried adding xrandr --output eDP-1 set "scaling mode" "full aspect" 
and nothing is happening.I allready made a resolution of 1800x1400, but instead 
of going full it just shrinks the display to fit into a box.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/ca710c96-5e51-4c7a-a399-155712e860d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.