LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 11-11-2012, 02:44 PM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
change resolution in crunchbang 10 (=Debian sqeeze)


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?
Attached Files
File Type: pdf inxi.pdf (32.1 KB, 56 views)
 
Old 11-11-2012, 03:11 PM   #2
jim_p
Member
 
Registered: Aug 2009
Distribution: Debian testing
Posts: 564

Rep: Reputation: 131Reputation: 131
"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
 
Old 11-22-2012, 05:26 AM   #3
VDP76
Member
 
Registered: Apr 2010
Location: Bayreuth, Germany
Distribution: CrunchBang Linux (#!)
Posts: 111

Rep: Reputation: 19
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?

Last edited by VDP76; 11-22-2012 at 05:29 AM.
 
1 members found this post helpful.
Old 11-23-2012, 11:15 AM   #4
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by VDP76 View Post
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.
 
Old 11-26-2012, 03:34 PM   #5
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,153

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by VDP76 View Post
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble booting Debian Sqeeze ARM in Qemu abtekk Debian 1 09-06-2011 08:07 AM
Nautilus cannot handle computer locations (Debian Sqeeze, Gnome 2.30.2) SkyerSK Linux - Newbie 2 03-16-2011 02:59 AM
[SOLVED] Debian Sqeeze - pressing e key writes 0128 SkyerSK Linux - Newbie 2 03-09-2011 07:57 AM
Replacing Ubuntu with debian sqeeze, leaving Vista KlaasJan Debian 1 02-01-2011 05:02 AM
LXer: Debian 6.0 Sqeeze graphical installation screen shots LXer Syndicated Linux News 0 01-19-2011 04:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration