Package Details: xinit-xsession 1-5

Git Clone URL: https://aur.archlinux.org/xinit-xsession.git (read-only, click to copy)
Package Base: xinit-xsession
Description: Allows ~/.xinitrc to be run as a session from your display manager
Upstream URL: None
Licenses: GPL3
Provides: xinit-xsession
Submitter: theblazehen
Maintainer: eclairevoyant
Last Packager: eclairevoyant
Votes: 44
Popularity: 0.011327
First Submitted: 2015-10-17 08:27 (UTC)
Last Updated: 2023-03-06 19:58 (UTC)

Latest Comments

1 2 Next › Last »

kseistrup commented on 2023-03-06 20:40 (UTC)

@eclairevoyant

That was fast! :)

I'm not sure I see the point in having env exec'ing into sh exec'ing into $XINITRC, though: We are on ArchLinux, and sh will be symlinked to /usr/bin/sh, which is also available as #!/bin/sh.

Or am I missing something?

eclairevoyant commented on 2023-03-06 19:56 (UTC)

@kseistrup Good point! Fixed.

kseistrup commented on 2023-03-06 19:28 (UTC)

@zielmartin

The varable expansion is not a bashism, it will also work in a POSIX compliant shell (#!/bin/sh). However, although bash does provide sh, I don't think that we have a default package that provides sh.

I think that bash should be kept as a dependency, but it would be nice if the shell script had #!/bin/sh at top so that those of us who are using another shell for sh (say dash) could have that smaller and faster shell exec'ing into the $XINITRC.

shackra commented on 2022-11-26 22:52 (UTC)

This is how you correctly install the files

package() {
        install -Dm755 xinitrcsession-helper "${pkgdir}/usr/bin/xinitrcsession-helper"
        install -Dm644 xinitrc.desktop "${pkgdir}/usr/share/xsessions/xinitrc.desktop"
}

zielmartin commented on 2021-04-29 13:01 (UTC)

Hi, I'm new to the AUR, so please excuse me if this isn't the place to discuss this.

Is there really a need for the bash dependency? It isn't a problem for me, but I'm just interested. Is the second line in the file xinitrcsession-helper : "${XINITRC:=$HOME/.xinitrc}" a bashism?

Thanks.

yan12125 commented on 2021-01-14 10:51 (UTC)

Thanks!

bigdavedev commented on 2021-01-14 10:06 (UTC)

Absolutely, I'll get on that. Thanks for the pointer!

yan12125 commented on 2021-01-03 10:18 (UTC) (edited on 2021-01-03 10:19 (UTC) by yan12125)

Hi, could you consider support $XINITRC environment variable like xinit does [1]? Here is a patched xinitrcsession-helper that uses $XINITRC if it is set or ~/.xinitrc otherwise: http://fars.ee/QGLc

[1] https://wiki.archlinux.org/index.php/XDG_Base_Directory

bigdavedev commented on 2019-01-09 14:55 (UTC) (edited on 2019-01-09 14:56 (UTC) by bigdavedev)

@yan12125 I have addressed your licensing comment and fixed a couple of other things. Please let me know if there is anything else.

yan12125 commented on 2018-12-30 08:56 (UTC)

licence should be license, and it's better to pick a license instead of using "unknown".