LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bodhi
User Name
Password
Bodhi This forum is for the discussion of Bodhi Linux.

Notices


Reply
  Search this Thread
Old 10-18-2018, 12:10 AM   #1
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,413

Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
Fix default resolution to 1280x1024


I have two computers using crt monitors that support 1280x1024, but neither one automatically boots that way, they start up 1024x768.

I'll deal with the easy one is this thread, and hopefully the solution applies to the other one too, if not I'll address that afterwards.

So, after boot, all I have to do is select 1280x1024 from the ArandR menu. So I put a login command to xrandr it and that works fine too, so now I boot fine.

tldr - after going to fullscreen and back, it goes back to 1024x768.

The problem is, this computer is used by my little kids for games, and I've set everything to run full screen. And on some games that allow the setting, I've set them to whatever the lowest resolution they support, i.e. 640x480 or 800x600. This is because most of these games look just as good at those resolutions fullscreen anyway, and they are slow computers and gameplay slows down on some games if I keep them at higher resolution.

So when they exit a game and return to the desktop, which I've arranged with icons around the edges for their games, it's back to 1024x768 and thus the icons are overlapping/etc. I could just rearrange the desktop and stick with 1024x768, but then when I do use the computer to web browse or whatever it's too small. Plus when they watch a 720p video, they would no longer actually getting 720p quality cuz they need the 1280 width (not that they would probably notice, but this stuff matters to me!).
 
Old 10-18-2018, 01:24 AM   #2
the_waiter
Bodhi Developer
 
Registered: Jun 2018
Location: Banská Bystrica, Slovakia
Distribution: Bodhi Linux
Posts: 864

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
This is only I have found

https://askubuntu.com/questions/178767/fixed-resolution
https://askubuntu.com/questions/2370...i-close-a-game
 
Old 10-18-2018, 07:16 AM   #3
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,413

Original Poster
Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
Ya, seems have to just execute xrandr command to fix it after ever game that breaks it. I was hoping there was a general fix. I already applied that workaround on the other machine to every single desktop file, changing the exec line to sh -c "oldExecLine ; path/scriptToSetResolution" and made a script to fix it (with the thought that if I change monitors and dont want it to force 1280x1024 anymore I only have one script to edit instead of a million desktop files). Just annoying to have to do, but does work.
 
Old 10-19-2018, 03:24 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by enigma9o7 View Post
tldr - after going to fullscreen and back, it goes back to 1024x768.
does it do that with every sort of fullscreen activity, or only with (some) games?
i'd say the games are broken.
i have very few here on my machine that do that also.
or maybe they can be set up to run in full resolution.

also, do you really bombard your kids with Cathode Ray Tubes? I thought those died out ~10 years ago...
 
Old 10-19-2018, 10:22 AM   #5
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,413

Original Poster
Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564
It seems to be with every fullscreen activity that changes resolution. For example gcompris runs fullscreen without issue.

Some that do it include frozen-bubbles from bodhi appcenter. This game defaults to 800x600, there is no configuration of resolution.

Other examples include supertux and extreme tux racer. They have lots of resolutions to choose from, but if I have to turn it down to minimum to avoid gameplay slowdown.

Also, I really do, these were dormant for a while so they haven't died yet.

Last edited by enigma9o7; 10-19-2018 at 11:17 AM.
 
Old 10-19-2018, 12:26 PM   #6
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
ok.

output of
Code:
xrandr
lspci -k
please.
 
  


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
Can't Get 1280x1024 Resolution HexJunkie Linux - General 2 10-19-2006 07:20 PM
Can't get 1280x1024 resolution rul3r Slackware 4 10-08-2006 09:15 PM
Problem getting default resolution of 1280x1024 on dell 1907FP LCD sadik_anwar Ubuntu 1 09-05-2006 09:06 PM
cannot get a resolution to 1280x1024 chadypu Slackware 8 06-07-2005 12:53 AM
Can't get my resolution set to 1280x1024 Blurp Linux - Hardware 4 12-02-2003 05:08 AM

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

All times are GMT -5. The time now is 08:51 AM.

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