Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Configure linux to only use 90% of screen area?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Cothol
n00b
n00b


Joined: 01 Sep 2005
Posts: 13

PostPosted: Fri Jul 28, 2006 5:19 pm    Post subject: Configure linux to only use 90% of screen area? Reply with quote

I have an old Dell Inspiron 5000 laptop that I would like to install linux on. The laptop woks just fine except that about 10% of the screen (a big row at the very bottom) is dead (not black but just blue light, flashing).

Is there any way I could configure linux (at kernel level I guess) so this area of the screen isn't used? Or would this have to be done at the bios level?
Or is there some other solution?

I'm not a "kernel hacker"/programmer at all, but know my way around in linux/gentoo.
Back to top
View user's profile Send private message
ld50
Tux's lil' helper
Tux's lil' helper


Joined: 13 Feb 2005
Posts: 135

PostPosted: Fri Jul 28, 2006 6:04 pm    Post subject: Reply with quote

Maybe you could configure you're window manager for that.
iirc, next version of fluxbox will let you do that, don't know about others.
Back to top
View user's profile Send private message
Cothol
n00b
n00b


Joined: 01 Sep 2005
Posts: 13

PostPosted: Fri Jul 28, 2006 6:15 pm    Post subject: Reply with quote

Well, yes, I figured I'd be able to configure x.org to do what I want. The problem is I will not always be running x.org and I want to be able to see what I am typing in the terminal.

Maybe there is an setting for this in the deafult graphics drivers? (note that I am only brainstorming on what might be possible I dont actually know if these things are possible).
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Fri Jul 28, 2006 6:37 pm    Post subject: Reply with quote

I dont know of anything similar built into the kernel, and found no patch related to this thingie.

But I dont think that there should be too much problem in adjusting that (making all the stuff work correctly with that setting would be another thing, I think). I am not too familiar with the kernel sources, but I think that this could be implemented at various levels. If you are using binary drivers for the graphics, then that level is not an option. But you could try to hack a bit in drivers/char/vt.c, or at fb level, in drivers/video/fbcvt.c, but, as I said, those are just assumptions, im not familiar with the code itself, so, I cant give any more concrete pointers of what should you be looking :)
Back to top
View user's profile Send private message
Cothol
n00b
n00b


Joined: 01 Sep 2005
Posts: 13

PostPosted: Sat Jul 29, 2006 8:37 am    Post subject: Reply with quote

Thanks for the reply 6thpink, I know what you're saying and I too think it would not be too much work, I just don't know where to look.

That other programs could have problems with settings like that I didn't think of. But to me it seems like that if I get x.org to work other programs using the window manager (no fullscreen apps) should woke fine.
Back to top
View user's profile Send private message
ronmon
Veteran
Veteran


Joined: 15 Apr 2002
Posts: 1043
Location: Key West, FL

PostPosted: Sat Jul 29, 2006 12:30 pm    Post subject: Reply with quote

Actually, you could do this with gensplash by setting the text area to not use that area of the screen. Take a look at some of the .cfg files in /etc/splash to get an idea of how it works. Then make adjustments as needed. As an example, if you have a 1024x768 screen it might look like this:
Code:

# (tx, ty) are the (x, y) coordinates of the text window in pixels.
# tw/th is the width/height of the text window in pixels.
tx=0
ty=0
tw=1024
th=691

_________________
Ask Questions the Smart Way - by ESR
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Sat Jul 29, 2006 12:41 pm    Post subject: Reply with quote

I am not familiar with gensplash.

But if I am right, that is what you use to define a certain area of the screen to put a logo or progress bar thingie, isn't it?

Mmm, quite ingenious, it should work for this purpose in plain text console, but that will not be usefull the any other graphics driver, like the xorgs ones, but maybe he could try any other thing for xorg, since this tip could work for the console.

Nice one :)
Back to top
View user's profile Send private message
Cothol
n00b
n00b


Joined: 01 Sep 2005
Posts: 13

PostPosted: Sun Jul 30, 2006 9:07 am    Post subject: Reply with quote

he, thanks of the input guys, that was a good solution ronmon but I'm sorry to say that yesterday I decided to open the thing up and se if I could fix the screen, maybe there was a loose connector or something I thought. Well, I got it open and after just a minute gently trying to see what was wrong the whole screen turned bright white, permanently it seems... :oops:

But I guess it was about to happen any day anyway...

But thanks again for trying to help! :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum