Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Jun 2020 18:35:19 +0200
From:      Jacques Foucry <jacques+freebsd@foucry.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Xorg, lightdm, xfce & German Keyboard
Message-ID:  <20200621163519.GV16409@mithril>
In-Reply-To: <20200621152318.9c5d95a5.freebsd@edvax.de>
References:  <636e8210-85df-6142-22c8-5393333494d3@chemie.uni-hamburg.de> <20200621101222.576d5977@archlinux> <92c75d0893dcbb9ba395b1e8352f02be25d45d7e.camel@riseup.net> <3e3de7a2-fe5a-ec9a-1755-dd1b3f383408@chemie.uni-hamburg.de> <20200621143043.d1fa826f.freebsd@edvax.de> <20200621125625.GU16409@mithril> <20200621152318.9c5d95a5.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Le dimanche 21 juin 2020 à 15:23:18 (+0200), Polytropon à écrit:
> > Hum… that strange for me to.
[snip]

> > 
> > I made a symlink lsn -s .xinitrc .xsession but many commands are not executed:
> > 
> > xrandr --output DP2-1 --mode 2560x1440
> > xrandr --output DP2-1 --primary
> > xrandr --output eDP1 --off
> > setxkbmap -model logitech_base -layout us -variant altgr-intl -option terminate:ctrl_alt_bksp,misc:typo,compose:lwin
> > if [ -f ~/.Xmodmap ]; then
> >   xmodmap ~/.Xmodmap
> > fi
> > 
> > exec i3
> > 
> > 
> > The keybaord iѕ ok but the xrandr commandせ are not executed.
> > 
> > If I launch `sh .xinitrc` after login it works.
> > 
> > I suppose they are not in the right file, but which is the good one?
> 
> "Selective execution" is not a feature of X initialization
> procedures. ;-)
> 
> Could it be that there's a $PATH issue? Or permisison issue?
> 
> I'm using the "cargo cult" method of the "cascaded approach"
> which has been working so far. All commands are in ~/.xinitrc,
> and my ~/.xsession looks like this:
> 
> In ~/.xsession:
> 
> 	#!/bin/csh
> 	source ~/.cshrc
> 	exec ~/.xinitrc
> 
> In ~/.xinitrc:
> 
> 	#!/bin/sh
> 	[ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc
> 	numlockx
> 	xsetroot -solid rgb:3b/4c/7a
> 	xset b 100 1000 15 &
> 	xset r rate 250 30 &
> 	xset s off &
> 	xset -dpms &
> 	exec wmaker


Oh ! Thnaks for sharing, It will inspiring me.
> 
> Note that I'm using the C shell as my default dialog shell
> (and login shell).


Oldies… I use zsh now.

> All commands in .xinitrc will be executed after xdm login.
> In the past, there were calls do xrandr, which I removed
> because it works now by settings in a partial xorg.conf
> file. :-)
> 
> By the way, the "cargo cult" also includes that both files
> ~/.xinitrc and ~/.xsession are +x attributes (executable).

notice.

Thanks again.
-- 
Jacques Foucry



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200621163519.GV16409>