From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C59A11387B1 for ; Sat, 18 Oct 2014 09:13:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61E9EE097E; Sat, 18 Oct 2014 09:13:05 +0000 (UTC) Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com [209.85.212.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 33FC2E0920 for ; Sat, 18 Oct 2014 09:13:03 +0000 (UTC) Received: by mail-wi0-f173.google.com with SMTP id fb4so3732745wid.0 for ; Sat, 18 Oct 2014 02:13:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=h3JmVH2OUP9SBzQgaQG2c7JnINNu9bYP5+TRtKewyZY=; b=NJRO+Phrx+SMBq/WcjgAbvB86+GADBMYpGnQU/h9bmVRXAsc69+CiR9GUQ9hXVL6jf ND861qYUbj27Y3WBOcQhv8Mmumawm/IQTqEqY9BTbkkteFUZzmvQC6ei4kofdRx6Y8d0 pvPAnY75Fqp4kVFMnvxAga+qpEutwceYE83P8jbdAVlAQBtha5V80cX6vB2m40mE5ds5 Eomz/9HVvTgQ/9zDHXIuJMOlb8kvWkcq+FtfblG/HI6C8JWXX4HOhEgPmPI+ykNkUZY0 z9alCerl7o/EcadW/YofG4HSggRjbyRKdTEjyxs06Q/pljiLP/p7oxMpE1YrQEhTYJp5 j+Lg== X-Received: by 10.181.29.105 with SMTP id jv9mr4884171wid.25.1413623582730; Sat, 18 Oct 2014 02:13:02 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa. [217.169.3.230]) by mx.google.com with ESMTPSA id dw9sm2374230wib.0.2014.10.18.02.13.01 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 18 Oct 2014 02:13:01 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] An alternative keyboard layout is lost Date: Sat, 18 Oct 2014 10:12:29 +0100 User-Agent: KMail/1.13.7 (Linux/3.14.14-gentoo; KDE/4.12.5; x86_64; ; ) References: In-Reply-To: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart5773346.fXdRaa5AEz"; protocol="application/pgp-signature"; micalg=pgp-sha256 Content-Transfer-Encoding: 7bit Message-Id: <201410181012.40561.michaelkintzios@gmail.com> X-Archives-Salt: a309d54f-50c7-4416-a23b-5a0eaa6264f8 X-Archives-Hash: 5d7adbb9e53a8b9b226e9020062324d7 --nextPart5773346.fXdRaa5AEz Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Saturday 18 Oct 2014 09:34:53 gevisz wrote: > This is the continuation from the thread > "XFCE weather plugin does not work" >=20 > 2014-10-18 10:03 GMT+03:00 Gevisz : > > On Fri, 17 Oct 2014 23:37:16 +0100 > >=20 > > David W Noon wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >>=20 > >> On Fri, 17 Oct 2014 22:33:45 +0100, Neil Bothwick (neil@digimed.co.uk) > >> wrote about "Re: [gentoo-user] Re: XFCE weather plugin does not work" > >>=20 > >> (in <20141017223345.16c96ec8@digimed.co.uk>): > >> > On Fri, 17 Oct 2014 21:13:52 +0000 (UTC), James wrote: > >> >> And last, can any patch that ends in .patch be applied to the > >> >> intended ebuild or does the gentoo ebuild auther have to put some > >> >> special code into an (EAPI-5) ebuild to facilitate user patches? > >> >=20 > >> > AFAIR the ebuild simply has to call epatch_user() in src_unpack() > >> > and any matching patches in /etc/portage/patches are applied. > >>=20 > >> The usual place is src_prepare(). > >>=20 > >> I have prepared some patches from the Xfce repository with line > >> addressing to match the Gentoo sources tarball. I attach a tarball of > >> theses patches that can be untarred in /etc/portage/patches/. > >=20 > > I have unpacked your patches to /etc/portage/patches as described here: > > http://wiki.gentoo.org/wiki//etc/portage/patches > > and then run # emerge xfce4-weather-plugin > >=20 > > After restarting xfce4, the weather-plugin started to work. Thank you. > >=20 > > Nevertheless, just > > # emerge --update --deep --with-bdeps=3Dy --newuse --backtrack=3D90 --a= sk > > world instead of # emerge xfce4-weather-plugin > > did not worked. > >=20 > >> The ebuild should have the following lines added: > >>=20 > >> src_prepare() { > >>=20 > >> epatch_user > >>=20 > >> } > >=20 > > I have not done this relying on the promise by Greg Kubaryk > > that the ebuild is epatch_user enabled. > >=20 > >> Don't forget to redo the manifest for the ebuild. > >=20 > > I never dealt with ebuilds on a maintaner level. > > So, may I ask if it is really necessary and for which purpose. >=20 > Just after emerging xfce4-weather-plugin with the patches > provided by David W Noon, I have noticed that I lost all my > alternative keyboard layouts. >=20 > I tried to set them anew via xfce4 Keyboard Layouts Plugin > version 0.5.6 but there is no keyboard layout that suits my > keyboard. >=20 > Unfortunately, unmerging xfce4-weather-plugin did not help. >=20 > Another thing I did just before re-emerging xfce4-weather-plugin > was a routine system update. This time only net-dns/libidn package > was updated from version 1.28 to version 1.29, and before that > update my alternative keyboard layouts were still present, as > I remember using them just after the update but before rebooting > the system. >=20 > So, it also may be that updating libidn package caused the damage. >=20 > I remember that, while installing Gentoo about 15 months ago, > I set my keyboard layout not via an xfce4 plugin but somewhere > in the X11 settings. (At that time I had gnome2 instead of xfce4 anyway). >=20 > So, may be now, re-emerging xfce4-weather-plugin, or trying > to set the alternative keyboard layout anew, I have created some > xfce4 configuration file that shadows X11 (or old gnome2) settings > that xfce4 used for keyboard layout previously. >=20 >=20 > Any thoughts? I think you are referring to the XkbLayout. In /etc/X11/xorg.conf.d/10- evdev.conf you can add a section like so with the keyboard languages of you= r=20 choice: Section "InputClass" Identifier "evdev keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" Option "XkbLayout" "gb,el" Option "XkbOptions"=20 "grp:alt_shift_toggle,grp_led:scroll,compose:menu,terminate:ctrl_alt_bksp" EndSection =2D-=20 Regards, Mick --nextPart5773346.fXdRaa5AEz Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAABCAAGBQJUQi8IAAoJELAdA+zwE4YeyZ8H/RSvpum5x2VQyDvQKl3HUZVi Wlr4lB5i4JSVdz+rm6ns9iwGoUFenEiuGIUGPDWm/fyGcNAWxxPqCVRijzZvQb9Y cjl2QVOtTRhF+V9qDImA+cZ9aPltQcy4d/wWWRxeYPrnDJcxMPT52Le/hoCPYduK jnf4/Gr/1IOER+6ZqybtU4kb+XUQt0COiK++L+HPH4qKOSw8Gu/9Xr77+UEqxAJL Jcw0dzamolph+/qg03JKHJbz9rArWslDpz2+5z3TCxBTvIkQJIHd6kl7AGaHY4/R tAfoCZvq5XkiF2cTsiODYbUjB341BSjt+0EyJNfQQQ4martmEBFfLgL4GJfeHeY= =7sVF -----END PGP SIGNATURE----- --nextPart5773346.fXdRaa5AEz--