From: Gevisz <gevisz@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] An alternative keyboard layout is lost
Date: Sat, 18 Oct 2014 12:23:32 +0300 [thread overview]
Message-ID: <544231b8.88aa980a.5de2.5ab5@mx.google.com> (raw)
In-Reply-To: <201410181012.40561.michaelkintzios@gmail.com>
On Sat, 18 Oct 2014 10:12:29 +0100
Mick <michaelkintzios@gmail.com> wrote:
> On Saturday 18 Oct 2014 09:34:53 gevisz wrote:
> > This is the continuation from the thread
> > "XFCE weather plugin does not work"
> >
> > 2014-10-18 10:03 GMT+03:00 Gevisz <gevisz@gmail.com>:
> > > On Fri, 17 Oct 2014 23:37:16 +0100
> > >
> > > David W Noon <dwnoon@ntlworld.com> wrote:
> > >> -----BEGIN PGP SIGNED MESSAGE-----
> > >> Hash: SHA1
> > >>
> > >> 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"
> > >>
> > >> (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?
> > >> >
> > >> > AFAIR the ebuild simply has to call epatch_user() in src_unpack()
> > >> > and any matching patches in /etc/portage/patches are applied.
> > >>
> > >> The usual place is src_prepare().
> > >>
> > >> 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/.
> > >
> > > 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
> > >
> > > After restarting xfce4, the weather-plugin started to work. Thank you.
> > >
> > > Nevertheless, just
> > > # emerge --update --deep --with-bdeps=y --newuse --backtrack=90 --ask
> > > world instead of # emerge xfce4-weather-plugin
> > > did not worked.
> > >
> > >> The ebuild should have the following lines added:
> > >>
> > >> src_prepare() {
> > >>
> > >> epatch_user
> > >>
> > >> }
> > >
> > > I have not done this relying on the promise by Greg Kubaryk
> > > that the ebuild is epatch_user enabled.
> > >
> > >> Don't forget to redo the manifest for the ebuild.
> > >
> > > I never dealt with ebuilds on a maintaner level.
> > > So, may I ask if it is really necessary and for which purpose.
> >
> > 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.
> >
> > 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.
> >
> > Unfortunately, unmerging xfce4-weather-plugin did not help.
> >
> > 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.
> >
> > So, it also may be that updating libidn package caused the damage.
> >
> > 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).
> >
> > 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.
> >
> >
> > 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 your
> choice:
>
>
> Section "InputClass"
> Identifier "evdev keyboard catchall"
> MatchIsKeyboard "on"
> MatchDevicePath "/dev/input/event*"
> Driver "evdev"
> Option "XkbLayout" "gb,el"
> Option "XkbOptions"
> "grp:alt_shift_toggle,grp_led:scroll,compose:menu,terminate:ctrl_alt_bksp"
> EndSection
Yes, something like that. But I have no /etc/X11/xorg.conf.d/ directory.
So, I did that configuration in another file.
But the problem is that I have not changed anything related to the keyboard
layout just before my alternative keyboard layouts disappeared.
next prev parent reply other threads:[~2014-10-18 9:24 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-18 8:34 [gentoo-user] An alternative keyboard layout is lost gevisz
2014-10-18 9:12 ` Mick
2014-10-18 9:23 ` Gevisz [this message]
2014-10-18 10:10 ` [gentoo-user] " gevisz
2014-10-18 18:04 ` Gevisz
2014-10-18 21:08 ` Matti Nykyri
2014-10-19 14:24 ` gevisz
2014-10-19 10:28 ` [gentoo-user] " Stroller
2014-10-19 14:08 ` Gevisz
2014-10-19 15:46 ` Gevisz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=544231b8.88aa980a.5de2.5ab5@mx.google.com \
--to=gevisz@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox