Changing display resolution permanently

24 views
Skip to first unread message

h4nnibal

unread,
May 23, 2013, 1:36:10 PM5/23/13
to ilug...@googlegroups.com
Hi,

I am right now working on a Meego board. The default resolution is 1024x600.

To fit the screen into the display, I usually scale it with this.

xrandr --output LVDS0 --scale 1.28x1.25

I want to remove the headache of setting this every time by setting it somewhere.

I tried the following
[1] adding it in .xinitrc
[2] added it in /etc/init.d/rc.local
[3] /boot/extlinux/extlinux.conf 's boot command line

But in vain.

Any suggestions?

--
regards,
Arjun S R

deepak kumar

unread,
May 24, 2013, 3:25:15 AM5/24/13
to ilug...@googlegroups.com
normally this should work by adding int .xinitrc, how did you add the
.xinitrc file, did u copy it from /etc/skel/xinitrc to your home
folder?
if not did u add exec before the command you have specified.
> --
> --
> "Freedom is the only law".
> "Freedom Unplugged"
> http://www.ilug-tvm.org
>
> You received this message because you are subscribed to the Google
> Groups "ilug-tvm" group.
> To control your subscription visit
> http://groups.google.co.in/group/ilug-tvm/subscribe
> To post to this group, send email to ilug...@googlegroups.com
> To unsubscribe from this group, send email to
> ilug-tvm-u...@googlegroups.com
>
>
>
> For details visit the google group page:
> http://groups.google.com/group/ilug-tvm?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Free Software Users Group, Thiruvananthapuram" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to ilug-tvm+u...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Thanks & Regards
Deepak Kumar ND
Software Engineer | @_deepak0
+91-9895821948 | skype: deepakkumarnd

Jaseem Abid

unread,
May 24, 2013, 7:51:33 AM5/24/13
to ILUG TVM
On Thu, May 23, 2013 at 11:06 PM, h4nnibal <arju...@gmail.com> wrote:
Hi,

I am right now working on a Meego board. The default resolution is 1024x600.

To fit the screen into the display, I usually scale it with this.

xrandr --output LVDS0 --scale 1.28x1.25

This should go after starting X server
 
I want to remove the headache of setting this every time by setting it somewhere.

I tried the following
[1] adding it in .xinitrc
[2] added it in /etc/init.d/rc.local
[3] /boot/extlinux/extlinux.conf 's boot command line

I start my window manager with startx in .xinitrc and added a $ startx in my .profile. So, I will add this command just under the startx in .profile with may be a 2 second sleep.

Find what is starting your window manager and add a hook after that doing this. 

 

But in vain.

Any suggestions?

--
regards,
Arjun S R

--
--
"Freedom is the only law".
"Freedom Unplugged"
http://www.ilug-tvm.org
 
You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to ilug...@googlegroups.com
To unsubscribe from this group, send email to
ilug-tvm-u...@googlegroups.com
 
 
 
For details visit the google group page: http://groups.google.com/group/ilug-tvm?hl=en
 
---
You received this message because you are subscribed to the Google Groups "Free Software Users Group, Thiruvananthapuram" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ilug-tvm+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 



--
Regards, 

Jaseem Abid
github.com/jaseemabid

Visakh

unread,
May 25, 2013, 1:54:59 AM5/25/13
to ilug...@googlegroups.com
Hi,
  I have two similar configurations (single and dual monitor setups on my laptop). So, I used a very quick and dirty solution for this.
  Assuming that you use X-server only with a DE, you can add the same line to your DE's 'application autostart' or 'startup programs' list. I have both configurations in my startup list, but keep only one of them enabled as required.

Regards,
Gokul Das

Arjun Suresh Raji

unread,
May 27, 2013, 5:05:15 AM5/27/13
to Ind. Linux User Group
On Fri, May 24, 2013 at 12:55 PM, deepak kumar <deepak...@gmail.com> wrote:
normally this should work by adding int .xinitrc, how did you add the
.xinitrc file, did u copy it from /etc/skel/xinitrc to your home
folder?
No 
if not did u add exec before the command you have specified.


 My ~/.xinitrc looks like this.
<code>
#!/bin/bash
export DISPLAY=:0.0
sleep 10s
exec xrandr --output LVDS0 --scale 1.28x1.25
</code>

Arjun Suresh Raji

unread,
May 27, 2013, 5:10:39 AM5/27/13
to Ind. Linux User Group
Wish I could do it. This issue is in my atom board(linux kernel 2.6.37.6-adaptation-oaktrail) with meego on it. The DE does not have things like crontab, upstart or autostart.

Syam Krishnan

unread,
May 29, 2013, 9:16:56 PM5/29/13
to ilug...@googlegroups.com
On 05/27/2013 02:40 PM, Arjun Suresh Raji wrote:
>
>
>
> Wish I could do it. This issue is in my atom board(linux kernel
> 2.6.37.6-adaptation-oaktrail) with meego on it. The DE does not have
> things like crontab, upstart or autostart.

Do you have xdm?
See if the files described in this page applies to you:
http://synergy2.sourceforge.net/autostart.html

regards,

Syam

Arjun Suresh Raji

unread,
Jun 18, 2013, 8:56:42 AM6/18/13
to Ind. Linux User Group
On Thu, May 30, 2013 at 6:46 AM, Syam Krishnan <sya...@gmail.com> wrote:
See if the files described in this page applies to you:
http://synergy2.sourceforge.net/autostart.html

I do not have xdm. things explained are applicable to desktop system.
Here is my pstree.

init,1
  |-udevd,104 -d
  |   `-udevd,613 -d
  |-dbus-daemon,271 --system --fork
  |-connmand,288 -W nl80211,wext
  |-wpa_supplicant,297 -u
  |-syslogd,298 -m 0
  |-klogd,300 -x
  |-acpid,307
  |-sshd,314
  |   `-sshd,664
  |       `-bash,666
  |           `-pstree,967 -npla
  |-corewatcher,325
  |-uxlaunch,332
  |   |-uxlaunch,338
  |   |-Xorg,375 :0 -logfile /tmp/Xorg.0.meego.log -dpi 120 -nolisten tcp -noreset -auth /home/meego/.Xauthority vt2
  |   |   `-{Xorg},379
  |   |-mcompositor,397
  |   |   `-{mcompositor},416
  |   |-mthemedaemon,400
  |   |-applauncherd.bi,401
  |   |   |-booster-m,422
  |   |   |   |-{booster-m},429
  |   |   |   `-{booster-m},431
  |   |   |-booster-d,423
  |   |   |   `-{booster-d},428
  |   |   `-booster-q,424
  |   |-meego-im-uiserv,402 -remote-theme
  |   |   `-{meego-im-uiser},419
  |   |-meegofeedbackd,403
  |   |   `-{meegofeedbackd},412
  |   |-msyncd,404
  |   |-uxlaunch,405
  |   |   `-meego-ux-daemon,411 --opengl
  |   |       |-{meego-ux-daemo},430
  |   |       |-{meego-ux-daemo},436
  |   |       |-{meego-ux-daemo},439
  |   |       |-{meego-ux-daemo},440
  |   |       |-{meego-ux-daemo},441
  |   |       |-{meego-ux-daemo},442
  |   |       |-{meego-ux-daemo},443
  |   |       |-{meego-ux-daemo},444
  |   |       |-{meego-ux-daemo},445
  |   |       |-{meego-ux-daemo},446
  |   |       |-{meego-ux-daemo},447
  |   |       |-{meego-ux-daemo},448
  |   |       |-{meego-ux-daemo},449
  |   |       |-{meego-ux-daemo},450
  |   |       |-{meego-ux-daemo},451
  |   |       |-{meego-ux-daemo},452
  |   |       |-{meego-ux-daemo},454
  |   |       |-{meego-ux-daemo},455
  |   |       |-{meego-ux-daemo},456
  |   |       |-{meego-ux-daemo},461
  |   |       |-{meego-ux-daemo},462
  |   |       |-{meego-ux-daemo},463
  |   |       |-{meego-ux-daemo},464
  |   |       |-{meego-ux-daemo},465
  |   |       |-{meego-ux-daemo},468
  |   |       |-{meego-ux-daemo},469
  |   |       |-{meego-ux-daemo},470
  |   |       |-{meego-ux-daemo},471
  |   |       |-{meego-ux-daemo},472
  |   |       |-{meego-ux-daemo},473
  |   |       `-{meego-ux-daemo},487
  |   |-tracker-store,407
  |   |   |-{tracker-store},432
  |   |   |-{tracker-store},433
  |   |   |-{tracker-store},434
  |   |   `-{tracker-store},435
  |   |-messageserver,409
  |   `-tracker-miner-f,410
  |       `-{tracker-miner-},639
  |-avahi-daemon,343
  |   `-avahi-daemon,344
  |-ofonod,359
  |-bluetoothd,363
  |-sensord,376 -d --log-target=4 --log-file-path=/var/log/sensord.log
  |   `-{sensord},420
  |-timed,377
  |-ssh-agent,381
  |-console-kit-dae,383 --no-daemon
  |   |-{console-kit-da},384
  |   |-{console-kit-da},385
  |   `-{console-kit-da},387
  |-dbus-daemon,391 --fork --session --print-pid 9 --print-address 11
  |-gconfd-2,394
  |-pulseaudio,427 --start
  |-mission-control,480
  |-libsocialweb-co,486
  |-gnome-keyring-d,501 --start --foreground --components=secrets
  |   |-{gnome-keyring-},510
  |   `-{gnome-keyring-},511
  |-upowerd,518
  `-login,586
      `-bash,587

AFAIK, No one has used synergy with the dm in meego. 
--
Arjun S R


Arjun Suresh Raji

unread,
Jun 24, 2013, 12:42:31 PM6/24/13
to Ind. Linux User Group
Hi,
This problem was solved by recompiling the display driver for this board after changing it. :)

On Thu, May 23, 2013 at 11:06 PM, h4nnibal <arju...@gmail.com> wrote:
--
Reply all
Reply to author
Forward
0 new messages