Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/usr/bin/xrandr: failed to parse 'x' as a position #38

Open
brozkeff opened this issue Jan 15, 2016 · 9 comments
Open

/usr/bin/xrandr: failed to parse 'x' as a position #38

brozkeff opened this issue Jan 15, 2016 · 9 comments

Comments

@brozkeff
Copy link

I use Mint 17.2 with XFce, and connecting a Dell monitor via HDMI (with reduction to DisplayPort on my HP laptop) that is physically to the LEFT of my laptop screen. By default Xfce shows a pop-up on connecting allowing me only to "extend to the right" which is the opposite I need (and it cannot remember what I set in Advanced settings manually each time).

Trying to use autorandr after I set the correct positions (saved one profile "tierra"), after disconnecting the external screen (saved another profile "mobile"), and then trying to reload the tierra after re-connecting the external screen leads to the following error, not changing anything:

$ ./autorandr --save tierra
Saving current configuration as profile 'tierra'

(disconnecting external screen)

$ ./autorandr --save mobile
Saving current configuration as profile 'mobile'

(now reconnecting external screen, testing:)

$ ./autorandr
mobile
tierra (detected)

(trying to apply the profile:)

brozkeff@dorjelegpa ~/bin/autorandr $ ./autorandr --change
mobile
tierra (detected)
 -> loading profile tierra
/usr/bin/xrandr: failed to parse 'x' as a position
Try '/usr/bin/xrandr --help' for more information.
@phillipberndt
Copy link

See #33 and #36

@adeleglise
Copy link

Hello, I'm still encountering this issue.

xrandr -v
xrandr program version       1.5.0
Server reports RandR version 1.5
 OS: Manjaro Linux x86_64
Host: HP EliteBook 850 G3
Kernel: 4.14.30-1-MANJARO

When trying to apply a saved configuration : /usr/bin/xrandr: failed to parse 'x' as a position

@phillipberndt
Copy link

See above.. have a look at #33 and #36..

@adeleglise
Copy link

Thanks for the quick response. I did take a look a the related tickets, it just wasn't really obvious what to do.

I've installed the autorandr-git aur package.

@phillipberndt
Copy link

I've installed the autorandr-git aur package.

And that fixed it (great if it did :-)) or is that what you did to install autorandr originally and now you're facing this bug? If it's the latter, then autorandr-git is maintained here, please refile this bug over there & paste the "config" file of your profile please!

@adeleglise
Copy link

Ok will do ! Right now I can't confirm that the profile changing bug is still here.

I'll give an update here, and confirm on the other repo if necessary.

@wwalker
Copy link

wwalker commented Sep 14, 2019

I have the same problem. I used autorandr on my desktop and it works great! Thank you!
But I used it on my notebook with only the LCD display.

I've saved 2 profiles and neither one will load:

autorandr --save 1920x1080 
xfce4-display-settings  # rotate the display
autorandr --save 1080x1920
wwalker@plutonium:~$ autorandr --load 1920x1080
 -> loading profile 1920x1080
/usr/bin/xrandr: failed to parse 'x' as a position
Try '/usr/bin/xrandr --help' for more information.
wwalker@plutonium:~$ autorandr --load 1080x1920
 -> loading profile 1080x1920
/usr/bin/xrandr: failed to parse 'x' as a position
Try '/usr/bin/xrandr --help' for more information.
wwalker@plutonium:~$

autorandr--load.txt
dot-autorandr.zip

I've attached a bash -x of autorandr load and a zip of my .autorandr directory

@wwalker
Copy link

wwalker commented Sep 14, 2019

I notice what seems to be a missing mode on my notebook.

On my notebook, which is "broken" load tries to run this:

/usr/bin/xrandr --output LVDS-1 --mode primary --pos x --rotate 1920x1080+0+0 --output VGA-1 --off --output DP-1 --off --output DP-2 --off --output DP-3 --off

On my desktop that works, load runs this:

/usr/bin/xrandr --output DVI-I-1 --off --output DP-1 --mode 3840x2160 --pos 0x0 --primary --output DP-2 --off --output DP-3 --off --output HDMI-1 --mode 3840x2160 --pos 3840x0

@wwalker
Copy link

wwalker commented Sep 15, 2019

Hi! If you are reading this, then you should know this repo is apparently no longer maintained.

https://github.com/phillipberndt/autorandr is being maintained, and fixed this problem for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants