Sponsored Content
Operating Systems Linux Fedora Xrandr on startup - Fedora 19, VMWare Fusion Post 302898594 by jaykayen on Wednesday 23rd of April 2014 01:16:40 AM
Old 04-23-2014
Tools Xrandr on startup - Fedora 19, VMWare Fusion

I've tried following multiple procedures from various sites but can't seem to get this figured out. There was another thread on here about the same thing but I couldn't figure out how to apply it to my situation. This is my first time on Linux so I'm just learning.

I am running Fedora 19, Cinnamon DE in a VM using VMWare Fusion on a Retina MacBook Pro. I checked the box in VMWare's settings to "Use full resolution for Retina Display" because without it, the display is fuzzy and just plain horrible. The problem, though, is that whenever I login to Linux, the resolution switches to 2560x1600 and everything is just too small. So I switch the res back to 1680x1050 where I like it but the next time I startup the machine, the resolution is back to 2560x1600. So at first I created a bash alias like so

Code:
alias res="xrandr --output Virtual1 --mode 1680x1050 --rate 60"

and it works. But I can't figure out how to automatically run this when I login. I've tried placing the following script in /etc/init.d/ :

Code:
#!/bin/sh
exec /usr/bin/xrandr --output Virtual1 --mode 1680x1050 --rate 60

but this doesn't do anything. The file is named "screenres" and has permissions "-rwxr-xr-x".

I think there may be a problem with using VMWare Fusion though. It seems like the resolution is low until after I login. Once I login, the resolution seems to switch to the correct settings for a moment (I can tell by the size of the mouse pointer) but before the black screen goes away, the resolution switches to 2560x1600.

I'm just lost as to what to do. Might anyone have some suggestions or advice for me?
 

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Fusion de 2 fichiers

Bonjour, je souhaiterais un script bash fusionnant 2 fichiers tout en virant les doublons. Exemple : fic1 : toto titi fic2 : toto tata Résultat souhaité, fic 3 : toto titi tata Merci. (1 Reply)
Discussion started by: Celmar
1 Replies

2. Red Hat

fedora grub help, moving to tri boot (XP, ubuntu, fedora soemething)

I will shortly be adding a fedora flavor to my devel box. I currently have XP (installed first on an ssd), ubuntu 10.04 (installed second on the first partition of a platter drive), and I want to add either Cent or SL on the second partition of the platter drive. I will probably also want to... (0 Replies)
Discussion started by: LMHmedchem
0 Replies

3. Ubuntu

VMware crash on startup

Hi all This is kind of urgent... please give any advice if possible. I'll try and explain it as simply as possible. As a new user of VMware, I was impressed with it. Until it decided to freeze every time I start it. I have an assessment due tomorrow, and I need to submit the files via... (1 Reply)
Discussion started by: qf_woodfox
1 Replies

4. Red Hat

Fedora startup script help

Can someone please tell me how to run a fedora startup script? I read these guides and tried to do what they said with no luck. Create a Startup Script Custom Startup Script | Open Source Club at Ohio State University This is what I put in my startup script. #!/bin/bash # chkconfig:... (6 Replies)
Discussion started by: cokedude
6 Replies

5. UNIX for Advanced & Expert Users

xrandr: cannot find crtc for output VGA1

If you get one of these two messages it means you either have a bad connection or you forgot to turn off the screen that you used last (the second one only happens in my experience when use multiple types of screens). xrandr: cannot find crtc for output VGA1 xrandr: cannot find crtc for output... (0 Replies)
Discussion started by: cokedude
0 Replies

6. UNIX for Advanced & Expert Users

xrandr imagining things

Why is my xrandr imagining things? I have disconnected VGA1 power. How is the VGA1 still coming up? $ xrandr Screen 0: minimum 320 x 200, current 1024 x 768, maximum 4096 x 4096 LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 304mm x 228mm 1024x768 60.0*+ ... (2 Replies)
Discussion started by: cokedude
2 Replies

7. Linux

Fedora on VMware

I am trying to install Fedora 18 on a Windows system through VMware. When I power on the virtual machine I get messages that Fedora is starting, but the end result is just a screen with a graphic of a large blue box. No buttons to be found and input does nothing. I do have Knoppix running using the... (5 Replies)
Discussion started by: intranslation
5 Replies

8. Shell Programming and Scripting

Apache tomcat startup script not booting at startup.

I copied the script from an AskUbuntu post - #!/bin/bash ### BEGIN INIT INFO # Provides: tomcat7 # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop Tomcat server ### END INIT INFO ... (14 Replies)
Discussion started by: Hijanoqu
14 Replies
VMWARE-TOOLBOX-CMD(1)						   Open VM Tools					     VMWARE-TOOLBOX-CMD(1)

NAME
vmware-toolbox-cmd - GUI toolbox (commandline version) SYNOPSIS
vmware-toolbox-cmd DESCRIPTION
This is a console version of vmware-toolbox, and depends on libvmtools and libguestlib. OPTIONS
vmware-toolbox-cmd has no options. SEE ALSO
vmware-checkvm(1) vmware-hgfsclient(1) vmware-user(1) vmware-xferlogs(1) libguestlib(3) libvmtools(3) vmware-guestd(8) vmware-hgfsmounter(8) vmware-toolbox(8) vmware-user-suid-wrapper(8) vmblock(9) vmci(9) vmhgfs(9) vmmemctl(9) vmsock(9) vmsync(9) vmxnet(9) vmxnet3(9) HOMEPAGE
More information about vmware-toolbox-cmd and the Open VM Tools can be found at <http://open-vm-tools.sourceforge.net/>. AUTHOR
Open VM Tools were written by VMware, Inc. <http://www.vmware.com/>. This manual page was put together from homepage materials by Daniel Baumann <daniel.baumann@progress-technologies.net>, for the Debian project (but may be used by others). 2010.03.20-243334 2010-04-08 VMWARE-TOOLBOX-CMD(1)
All times are GMT -4. The time now is 07:20 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy