Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393681 - lxde-base/lxdm-0.4.1 - remove redundant .xprofile handling
Summary: lxde-base/lxdm-0.4.1 - remove redundant .xprofile handling
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: LXDE team (DEFUNCT)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 22:23 UTC by Mitch Harder
Modified: 2012-05-23 08:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mitch Harder 2011-12-08 22:23:47 UTC
Summary:  In lxde-base/lxdm-0.4.1, a user .xprofile configuration file is being processed twice due to an upstream change that is doubling up on a older fix incorporated in the Gentoo ebuild.

History:  In earlier versions of lxde-base/lxdm (version 0.3.x and older), the ebuild was constructed to provide an xinitrc file in the /etc/lxdm directory in order to process a users .xprofile.  Otherwise, this capability was not provided in earlier versions.

The upstream LXDM project has fixed this in versions 0.4.x and higher in the Xsession file.

Now, when the Gentoo ebuild inserts an xinitrc, the .xprofile script is processed twice.

With the upstream changes to the Xsession file, we can drop inserting an xinitrc file into the /etc/lxdm directory.

Here's the changes I've made to my local ebuild:

--- /usr/portage/lxde-base/lxdm/lxdm-0.4.1-r2.ebuild	2011-09-27 07:38:52.000000000 -0500
+++ /usr/local/portage/lxde-base/lxdm/lxdm-0.4.1-r2.ebuild	2011-12-08 16:22:50.000000000 -0600
@@ -59,8 +59,6 @@
 src_install() {
 	emake DESTDIR="${D}" install || die
 	dodoc AUTHORS README TODO || die
-	exeinto /etc/lxdm
-	doexe "${FILESDIR}"/xinitrc || die
 }
 
 pkg_postinst() {


Reproducible: Always
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2012-02-04 10:40:29 UTC
Thanks fixed in 0.4.1-r3
Comment 2 Alex 2012-05-23 07:03:25 UTC
Hi there,
Even though this bug is fixed I want to ask: I beleive I have a related issue but failed to solve it.
I have gentoo x86_64 stable (apart from few pkgs, like lxdm, which do not exist in stable) and have the following problem:
once lxde session is started on tty7 (using lxdm through /etc/init.d/xdm) the keyboard input on tty1 is broken. Precisely, after loggin in on tty1 I should press each key TWICE in order a symbol to appear.
once lxde session is closed the input on tty1 becomes normal.

Any clue, guys, what is wrong?

I did not modify things a lot, really, almost everything out of the box. I just put 'lxdm' in /etc/conf.d/xdm

I have another system, gentoo x86 and there everything works ok on tty1. Both systes are almost identical. I hardly tried to make my new x86_64 be as much close to previous x86 as possible.
BUT there is still a bit older lxdm there, I guess (even though I do 'emerge -DNu world' each Monday). It HAS /etc/lxdm/xinitrc file.
Is it important that this old /etc/lxdm/xinitrc does source files from '/etc/X11/xinit/xinitrc.d'?

I have tried to manually put this xinitrc file back to /etc/lxdm/ on my new x86_64 system. But I have noticed no changes.

BTW, I have NO any other desktop managers or enviroments, like gnome, kde, etc.

AND, if you think I must file a new bug, than against what? gentoo in general? X? tty? lxdm? lxde? Confused ...

Well, I understand that I can work on tty2, tty3, instead of tty1, it is not THAT problematic, but would be happy to make gentoo better.

Thanks in advance
Comment 3 Markos Chandras (RETIRED) gentoo-dev 2012-05-23 08:08:40 UTC
Please do not reply to closed bugs. Either open a new one or ask your questions to http://forums.gentoo.org or gentoo-user mailing list. Bugzilla is not a place to ask for support. Thank you