You are not logged in.

#1 2017-06-11 12:31:01

Vbaxbear
Member
Registered: 2015-12-28
Posts: 29

Reboot/Restart not starting urxvt, ignoring xrandr settings...

Hi,

I just restarted my Notebook (after a month or so) and it seems that stuck with a lot of problems now

This is my .xinitrc

#! /bin/bash
export $(dbus-launch)
xset -b
setxkbmap de
xrandr --output eDP1 --dpi 135 
xrdb ~/.Xdefaults
exec i3
urxvtd -q -o -f

normally xrandr --output eDP1 --dpi 135 should make my applications readable - but at the moment its gets just ignored even when I execute it manually

also I am not able to start urxvt/urxvtc it just wont happen anything -> had to install xterm to be able to do anything.

I really got no idea where this problems come from and really need your help hmm and I need it fast sad

Offline

#2 2017-06-11 12:38:07

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: Reboot/Restart not starting urxvt, ignoring xrandr settings...

You should be able to start urxvt just fine, but any bindings to urxvtc will fail as you don't start the daemon.

Lines after `exec` will never do anything.  Read `man exec` to see why.

Your hash-bang is broken, it can't have a space, but that's really not relevant as xinitrc does not need a hash-bang anyways.

Also, dbus-launch is not needed and can be removed.  I'm not sure why xrandr isn't doing what you want but to start, please post the output of `xrandr` once you are in X.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2017-06-11 12:59:06

Vbaxbear
Member
Registered: 2015-12-28
Posts: 29

Re: Reboot/Restart not starting urxvt, ignoring xrandr settings...

I reinstalled rxvt-unicode-256xresources and it works again (in the way it should)

thank you for correcting my .xinitrc

xrandr:

Screen 0: minimum 8 x 8, current 2880 x 1620, maximum 32767 x 32767
eDP1 connected primary 2880x1620+0+0 (normal left inverted right x axis y axis) 340mm x 190mm
   2880x1620     59.96*+  50.00  
   2048x1536     60.00  
   1920x1440     60.00  
   1856x1392     60.01  
   1792x1344     60.01  
   2048x1152     60.00  
   1920x1080     60.00  
   1600x1200     60.00  
   1400x1050     59.98  
   1600x900      60.00  
   1280x1024     60.02  
   1280x960      60.00  
   1440x810      60.00  
   1368x768      60.00  
   1280x720      60.00  
   1024x768      60.00  
   1024x576      60.00  
   960x540       60.00  
   800x600       60.32    56.25  
   864x486       60.00  
   640x480       59.94  
   720x405       60.00  
   640x360       60.00  
DP1 disconnected (normal left inverted right x axis y axis)
DP2 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)

but I just panicked because my browser had a wrong resolution and my urxvt wasn't working

So only problem left is - how to fix google-chrome-stable? Will google a little bit if you have an idea I would appreciate your help.

Thanks so far.

Offline

#4 2017-06-11 13:11:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,546
Website

Re: Reboot/Restart not starting urxvt, ignoring xrandr settings...

Vbaxbear wrote:

So only problem left is - how to fix google-chrome-stable?

This is the first you've mentioned it.  How on earth could anyone here know how to fix it as you've not told us what is wrong with it.  Is it relevant to this thread?  If not, start a new thread for your chrome issue(s).


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#5 2017-06-11 13:14:20

Vbaxbear
Member
Registered: 2015-12-28
Posts: 29

Re: Reboot/Restart not starting urxvt, ignoring xrandr settings...

I thought it is clear that the problem with chrome is also a resolution problem because that is what I tried to solve before - I just didn't notice that it is just chrome.

google-chrome-stable --force-device-scale-factor=1.5

does what I want

but before it worked out of the box -> is there a way to make it work out of the box again -> can't put --force-device-scale-factor=1.5 into dmenu when I would like to start chrome from there

Last edited by Vbaxbear (2017-06-11 13:17:31)

Offline

#6 2017-06-11 13:34:04

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: Reboot/Restart not starting urxvt, ignoring xrandr settings...

Not an installation issue. Moving to Newbie Corner.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#7 2017-06-11 13:59:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,887

Re: Reboot/Restart not starting urxvt, ignoring xrandr settings...

xdpyinfo | grep resolution

?

This

xrandr --output eDP1 --dpi 135

is at least wrong and maybe illegal, there's only a global dpi - try

xrandr --dpi 135

Also ensure that i3 doesn't invoke some own autostart scripts or direct randr calls to alter the DPI (thus check the effective resolution after login with the first mentioned command)

Offline

#8 2017-06-11 14:24:02

Vbaxbear
Member
Registered: 2015-12-28
Posts: 29

Re: Reboot/Restart not starting urxvt, ignoring xrandr settings...

xrandr was working fine - I was wrong
chrome seems to have problems to scale right by its own.

-> I will open a new thread for this problem

here is everything solved

Offline

Board footer

Powered by FluxBB