LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   change resolution in crunchbang 10 (=Debian sqeeze) (https://www.linuxquestions.org/questions/debian-26/change-resolution-in-crunchbang-10-%3Ddebian-sqeeze-4175436682/)

floppy_stuttgart 11-11-2012 02:44 PM

change resolution in crunchbang 10 (=Debian sqeeze)
 
1 Attachment(s)
hello there,
I just installed crunchbang on a PC (see inxi output of it in the attachment).
I can change the screen to 1024x768 at each session, but the change are gone after each reboot.
So, how should I make these changes persistent?

jim_p 11-11-2012 03:11 PM

"Pin" it inside xorg.conf like so (example from my configuration)

Code:

Section "Screen"
        Identifier        "Default Screen"
        Device                "7800"
        Monitor                "S1701"
        DefaultDepth        24
        SubSection "Display"
                Modes                "1280x1024"
        EndSubSection
EndSection


VDP76 11-22-2012 05:26 AM

hi,
if you do not want to mess up with xorg.conf, try to edit your ~/.config/openbox/autostart file adding something like
Code:

xrandr --output LVDS --mode 1024x768 &
use LVDS accordingly to your configuration, so just type
Code:

xrandr
in a terminal and see how it is called in your case...

edit: I see now your inxi output, do you have xrandr installed!? how did you chenge your resolutuion in the first place?

floppy_stuttgart 11-23-2012 11:15 AM

Quote:

Originally Posted by VDP76 (Post 4834672)
I see now your inxi output, do you have xrandr installed!? how did you chenge your resolutuion in the first place?

inxi

I forgot to say that the inxi-output was done with a USB-Boot of TinyCoreLinux (vesa) via a UBCD/plop.
This was done for posting the hardware content.
So, the inxi output is not done on debian 10 (crunchbang) and dont reflect the sw-module of it.

I will try your advice.

floppy_stuttgart 11-26-2012 03:34 PM

Quote:

Originally Posted by VDP76 (Post 4834672)
hi,
if you do not want to mess up with xorg.conf, try to edit your ~/.config/openbox/autostart file adding something like
Code:

xrandr --output LVDS --mode 1024x768 &

xrandr -s 1024x768 &

placed right after

## Start session manager
lxsession &

worked.
Thanks.

But Im a good forum member answering all questions, so
xrandr gives

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1600 x 1200
default connected 1024x768+0+0 0mm x 0mm
1600x1200 75.0 70.0 65.0 60.0
1400x1050 75.0 60.0
1280x1024 75.0 60.0
1280x960 60.0
1280x854 75.0 60.0
1360x768 60.0
1280x800 75.0 60.0
1152x864 75.0 60.0
1280x768 75.0 60.0
1280x720 75.0 60.0
1024x768 75.0* 70.0 60.0
1024x576 75.0 60.0
960x600 60.0
832x624 75.0
960x540 60.0
800x600 75.0 72.0 60.0 56.0
768x576 60.0
720x576 60.0
856x480 60.0
800x480 75.0 60.0
720x480 61.0
640x480 75.0 73.0 67.0 60.0
640x400 72.0
512x384 60.0
400x300 60.0
320x240 61.0
320x200 71.0


All times are GMT -5. The time now is 03:11 PM.