xrandr [megoldva]

Fórumok

Sziasztok.

képernyőméretet szeretném nagyobbítani oly módon, hogy virtuálisan görgethessem ha az egérrel túlcsordulok a monitoron. Régebben ment, de most valahogy nem sikerül életre keltenem ezt a lehetőséget, annak idején sajnos nem mentettem el a scriptemet.

Jelenleg így néz ki:

a="1280"
b="2000"

xrandr --fb "$a"x"$b" --output LVDS1 --mode 1280x800 --panning "$a"x"$b"+0+0/"$a"x"$b"+0+0/64/64/64/64

exit 0

..és nem megy, ez az üzenet fogad:

warning: output LVDS1 not found; ignoring

Szerintetek ez mitől jön?

-----------
xrandr -q

Screen 0: minimum 320 x 200, current 1280 x 1200, maximum 8192 x 8192
LVDS-0 connected primary 1280x800+0+0 (normal left inverted right x axis y axis) 303mm x 190mm
1280x800 60.00*+ 50.00
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
800x600 60.00 60.32 56.25
700x525 59.98
640x512 60.02
640x480 60.00 59.94
512x384 60.00
400x300 60.32 56.34
320x240 60.05
VGA-0 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
DisplayPort-2 disconnected (normal left inverted right x axis y axis)

Hozzászólások

ott irja: nincs LVDS1
xrandr -q mit mond?

gyorsan felraktam az lshw-t, ami slackon nincs meg alapból, az ezt írja:

lshw -c video
*-display:0
description: VGA compatible controller
product: Mobile 4 Series Chipset Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 07
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:30 memory:f4400000-f47fffff memory:d0000000-dfffffff ioport:1800(size=8)
*-display:1 UNCLAIMED
description: Display controller
product: Mobile 4 Series Chipset Integrated Graphics Controller
vendor: Intel Corporation
physical id: 2.1
bus info: pci@0000:00:02.1
version: 07
width: 64 bits
clock: 33MHz
capabilities: pm bus_master cap_list
configuration: latency=0
resources: memory:f4200000-f42fffff

Nem nagyon értem miért nem megy a dolog, egy debianos live csontra futtatja a fenti scriptemet.

---
--- A gond akkor van, ha látszólag minden működik. ---
---

akkor szépen szájbarágva:
mivel nincs LVDS1 de van LVDS-0:

xrandr --fb "$a"x"$b" --output LVDS-0 --mode 1280x800 --panning "$a"x"$b"+0+0/"$a"x"$b"+0+0/64/64/64/64

Köszi, ez bejött!

:)))))

a megoldás:

a="1280"
b="2000"

out=LVDS-0
#out=LVDS1 #ez a debianomra kell

xrandr --fb "$a"x"$b" --output $out --mode 1280x800 --panning "$a"x"$b"+0+0/"$a"x"$b"+0+0/64/64/64/64

exit 0

Most már csak a kde-t kell rábírnom, hogy restartoljon és így a menüsorom is alulra kerül. De ez már nem nagy feladat.

---
--- A gond akkor van, ha látszólag minden működik. ---
---

Milyen jó is volt anno mikor kézzel kellett konfigolni a xorg-ot.
Sose volt felbontás hiba.
Azóta mióta auto konf van jön elő ha nem jó/nem tudja a monitor a helyes EDID infót átadni az xrandr mókolás amivel lesz két nagy villanás. És a login screen ugyanúgy fosh.
A xorg.conf-ba meg hiába rakod be a 50-monitor.conf-ba a jó sorokat cseszik rá..

pch
--
http://www.buster.hu "A" számlázó
--