Wallpaper not resizing when display scaled
See original GitHub issueHello, first of all thank you for the amazing job you are doing. Qtile is amazing!
I have an issue I am not able to solve. Not sure if it is a bug in qtile or just an issue related to my config.
From time to time, I connect a secondary monitor to my laptop. I want to set a refresh rate for this monitor of 120 and scale it by 10%. When I am on Gnome, I do not have any issues. When on Qtile, I cannot seem to make it work. I have tried the following:
- make qtile run an autostart file with an xrandr command in it:
@hook.subscribe.startup
def autostart():
home = os.path.expanduser('~/.config/qtile/autostart.sh')
subprocess.run([home])
#!/usr/bin/sh
sh /home/eugenio/.local/bin/auto-screen-rotate.sh eDP-1 "Wacom HID 4956 Finger touch" &
picom &
xrandr --output eDP-1 --primary --output DP-1 --scale 1.1x1.1 --right-of eDP-1 --mode 1920x1280 --rate 120 &
sleep 1 &&
feh --no-fehbg --bg-scale /home/eugenio/Sync/Sfondi/wallhaven-vg6dqp.jpg --bg-scale /home/eugenio/Sync/Sfondi/1245752.jpg &
sleep 10 && xinput map-to-output 'Wacom HID 4956 Finger touch' eDP-1 &
While the other commands are working correctly, the xrandr command is ineffective.
- start qtile from an xsession:
#!/usr/bin/bash
xsetroot -solid gray
xrandr --output eDP-1 --primary --output DP-1 --scale 1.1x1.1 --right-of eDP-1 --mode 1920x1280 --rate 120
qtile start
As in the previous case, qtile starts but the xrandr command is not working.
What I am doing wrong? Or is this a problem with qtile setting xrandr on its own and overriding my configuration?
Thank you very much.
Issue Analytics
- State:
- Created 2 years ago
- Comments:16 (9 by maintainers)
Top Results From Across the Web
Why can't I move and scale my pictures to… - Apple Community
If Perspective Zoom is on, the wallpaper moves as you tilt your screen. To turn it off, tap the Perspective Zoom button.
Read more >Scaling issues - Wallpaper Engine - Steam Community
Correct, you should crop (scaling will cause the image to be stretched in one direction, cropping means to cut off parts of the...
Read more >Windows scaling issues for high-DPI devices - Microsoft Support
Right-click the application, select Properties, select the Compatibility tab, and then select the Disable display scaling on high DPI settings check box.
Read more >background image not scaling with window size - Stack Overflow
I want it to keep the image's native ratio inside the div but fill the width of the page completely without having the...
Read more >Resizing background images with background-size - CSS
The background-size CSS property lets you resize the background image of an element, overriding the default behavior of tiling the image at ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yep, it is working now! Great job!
Think I’ve got it this time… 🤞
Can you try again?