Discussion:
GEdit - can't select text with keyboard
Johnny Rosenberg
2010-02-13 18:41:21 UTC
Permalink
I have recently installed Ubuntu 9.10. Before that I had the now very
old Ubuntu 8.10. With Ubuntu 8.10 GEdit 2.24.0 is the default text
editor, in Ubuntu 9.10 it is GEdit 2.28.0. My wife still use GEdit
2.26.1 on Ubuntu 9.04, so I have three different versions to compare
to each other.

I just opened GEdit for the first time since I installed Ubuntu 9.10
and I noticed that I can no longer select text with Shift+?, Shift+?,
Shift+? etc. It seems like Shift+?, for example, behaves exactly like
?, that is moving the cursor forwards.

I just asked my wife to test this on her computer (Ubuntu 9.04, GEdit
2.26.1, just like I mentioned above), end Shift+? works perfectly for
her.

Is this a difference between GEdit 2.28.0 and 2.26.1 or is there a
setting that went wrong in my case?

I can still select text using the mouse, but I find that very inconvenient.


Regards

Johnny Rosenberg
Robert Spanjaard
2010-02-13 18:58:55 UTC
Permalink
Post by Johnny Rosenberg
I have recently installed Ubuntu 9.10. Before that I had the now very
old Ubuntu 8.10. With Ubuntu 8.10 GEdit 2.24.0 is the default text
editor, in Ubuntu 9.10 it is GEdit 2.28.0. My wife still use GEdit
2.26.1 on Ubuntu 9.04, so I have three different versions to compare to
each other.
I just opened GEdit for the first time since I installed Ubuntu 9.10 and
I noticed that I can no longer select text with Shift+?, Shift+?,
Shift+? etc. It seems like Shift+?, for example, behaves exactly like ?,
that is moving the cursor forwards.
I just asked my wife to test this on her computer (Ubuntu 9.04, GEdit
2.26.1, just like I mentioned above), end Shift+? works perfectly for
her.
Is this a difference between GEdit 2.28.0 and 2.26.1 or is there a
setting that went wrong in my case?
I can still select text using the mouse, but I find that very
inconvenient.
Seems to be a setting somewhere. I'm using the same version of Ubuntu/
gedit, but the keyboard selection still works.
--
Regards, Robert http://www.arumes.com
Karl F. Larsen
2010-02-13 19:17:11 UTC
Permalink
Post by Robert Spanjaard
Post by Johnny Rosenberg
I have recently installed Ubuntu 9.10. Before that I had the now very
old Ubuntu 8.10. With Ubuntu 8.10 GEdit 2.24.0 is the default text
editor, in Ubuntu 9.10 it is GEdit 2.28.0. My wife still use GEdit
2.26.1 on Ubuntu 9.04, so I have three different versions to compare to
each other.
I just opened GEdit for the first time since I installed Ubuntu 9.10 and
I noticed that I can no longer select text with Shift+???, Shift+???,
Shift+??? etc. It seems like Shift+???, for example, behaves exactly like ???,
that is moving the cursor forwards.
I just asked my wife to test this on her computer (Ubuntu 9.04, GEdit
2.26.1, just like I mentioned above), end Shift+??? works perfectly for
her.
Is this a difference between GEdit 2.28.0 and 2.26.1 or is there a
setting that went wrong in my case?
I can still select text using the mouse, but I find that very
inconvenient.
Seems to be a setting somewhere. I'm using the same version of Ubuntu/
gedit, but the keyboard selection still works.
Yes if you start gedit and then select help they tell you all
about setting up keyboard selection at least on 10.04


73 Karl
--
Karl F. Larsen, AKA K5DI
Linux User
#450462 http://counter.li.org.
Key ID = 3951B48D
Robert Spanjaard
2010-02-14 01:06:40 UTC
Permalink
Post by Karl F. Larsen
Post by Robert Spanjaard
Post by Johnny Rosenberg
I have recently installed Ubuntu 9.10. Before that I had the now very
old Ubuntu 8.10. With Ubuntu 8.10 GEdit 2.24.0 is the default text
editor, in Ubuntu 9.10 it is GEdit 2.28.0. My wife still use GEdit
2.26.1 on Ubuntu 9.04, so I have three different versions to compare
to each other.
I just opened GEdit for the first time since I installed Ubuntu 9.10
and I noticed that I can no longer select text with Shift+?, Shift+?,
Shift+? etc. It seems like Shift+?, for example, behaves exactly like
?, that is moving the cursor forwards.
I just asked my wife to test this on her computer (Ubuntu 9.04, GEdit
2.26.1, just like I mentioned above), end Shift+? works perfectly for
her.
Is this a difference between GEdit 2.28.0 and 2.26.1 or is there a
setting that went wrong in my case?
I can still select text using the mouse, but I find that very inconvenient.
Seems to be a setting somewhere. I'm using the same version of Ubuntu/
gedit, but the keyboard selection still works.
Yes if you start gedit and then select help they tell you all
about setting up keyboard selection at least on 10.04
Thanks for your 'help'. Now get lost.
--
Regards, Robert http://www.arumes.com
Johnny Rosenberg
2010-02-14 21:15:39 UTC
Permalink
Post by Robert Spanjaard
Post by Johnny Rosenberg
I have recently installed Ubuntu 9.10. Before that I had the now very
old Ubuntu 8.10. With Ubuntu 8.10 GEdit 2.24.0 is the default text
editor, in Ubuntu 9.10 it is GEdit 2.28.0. My wife still use GEdit
2.26.1 on Ubuntu 9.04, so I have three different versions to compare to
each other.
I just opened GEdit for the first time since I installed Ubuntu 9.10 and
I noticed that I can no longer select text with Shift+???, Shift+?? ,
Shift+??? etc. It seems like Shift+???, for example, behaves exactly like ???,
that is moving the cursor forwards.
I just asked my wife to test this on her computer (Ubuntu 9.04, GEdit
2.26.1, just like I mentioned above), end Shift+??? works perfectly for
her.
Is this a difference between GEdit 2.28.0 and 2.26.1 or is there a
setting that went wrong in my case?
I can still select text using the mouse, but I find that very inconvenient.
Seems to be a setting somewhere. I'm using the same version of Ubuntu/
gedit, but the keyboard selection still works.
? ? ? ?Yes if you start gedit and then select help they tell you all about
setting up keyboard selection at least on 10.04
No, it doesn't provide anything useful for this matter (GEdit 2.28.0).

Johnny Rosenberg
Johnny Rosenberg
2010-02-15 17:34:22 UTC
Permalink
Post by Johnny Rosenberg
Post by Robert Spanjaard
Post by Johnny Rosenberg
I have recently installed Ubuntu 9.10. Before that I had the now very
old Ubuntu 8.10. With Ubuntu 8.10 GEdit 2.24.0 is the default text
editor, in Ubuntu 9.10 it is GEdit 2.28.0. My wife still use GEdit
2.26.1 on Ubuntu 9.04, so I have three different versions to compare to
each other.
I just opened GEdit for the first time since I installed Ubuntu 9.10 and
I noticed that I can no longer select text with Shift+???, Shift+?? ,
Shift+??? etc. It seems like Shift+???, for example, behaves exactly like ???,
that is moving the cursor forwards.
I just asked my wife to test this on her computer (Ubuntu 9.04, GEdit
2.26.1, just like I mentioned above), end Shift+??? works perfectly for
her.
Is this a difference between GEdit 2.28.0 and 2.26.1 or is there a
setting that went wrong in my case?
I can still select text using the mouse, but I find that very inconvenient.
Seems to be a setting somewhere. I'm using the same version of Ubuntu/
gedit, but the keyboard selection still works.
? ? ? ?Yes if you start gedit and then select help they tell you all about
setting up keyboard selection at least on 10.04
No, it doesn't provide anything useful for this matter (GEdit 2.28.0).
Johnny Rosenberg
I found the reason for my problems. Unfortunately I didn't find a way
to solve it?
I have my own keyboard layout which I created myself by adding stuff
to /usr/share/X11/xkb/symbols/se, /usr/share/X11/xkb/rules/evdev.lst
and /usr/share/X11/xkb//rules/evdev.xml.

One of the features of my layout is that I can use my arrow keys for
typing arrows, like ????????, using the AltGr (Right Alt) with or
without the Shift key.

For example, in /usr/share/X11/xkb/symbols/se, which defines my own
layout as a variant of the Swedish layout, the right arrow key is
defined like this:
key <RGHT> {[Right, Right, rightarrow,
U21E8 ]};

The four elements within [{}] stands for what happens if we press the
key alone, with Shift, With AltGr and with Shift+AltGr. Right means
move the cursor right, rightarrow means the symbol ? and U21E8 means
the hexadecimal code for the Unicode character ???. So it seems like I
need to find out what to replace the second ?Right? with to make it
work. Unfortunately I don't have a clue what it could be, if something
like that even exists.

I searched in that folder for other files containing ?<RGHT>? and I
found quite a few, but all of them was done like this:
key <RGHT> { [Right ] };

It seems like that line means something like ?The usual right arrow
key function?.

One funny thing I found was that I can actually highlight text in some
other applications, like OpenOffice.org for instance, but not in Gedit
or Tomboy. I can do it in my web browser though (Opera). Seems like
some applications do things like that differently.

So I guess I have to write a new thread now about how to solve this.
I guess that the question marks below displays what I'm looking for,
in case anyone reads this and know the answer:

key <RGHT> {[Right, ?????, rightarrow,
U21E8 ]};

This is what I want to obtain:
?: Move cursor one step to the right
Shift+?: Move cursor one step to the right and highlight
AltGr+?: Type a ???
Shift+AltGr+?: Type a ???
Johnny Rosenberg
2010-02-15 17:39:38 UTC
Permalink
Post by Johnny Rosenberg
Post by Johnny Rosenberg
Post by Robert Spanjaard
Post by Johnny Rosenberg
I have recently installed Ubuntu 9.10. Before that I had the now very
old Ubuntu 8.10. With Ubuntu 8.10 GEdit 2.24.0 is the default text
editor, in Ubuntu 9.10 it is GEdit 2.28.0. My wife still use GEdit
2.26.1 on Ubuntu 9.04, so I have three different versions to compare to
each other.
I just opened GEdit for the first time since I installed Ubuntu 9.10 and
I noticed that I can no longer select text with Shift+???, Shift+?? ,
Shift+??? etc. It seems like Shift+???, for example, behaves exactly like ???,
that is moving the cursor forwards.
I just asked my wife to test this on her computer (Ubuntu 9.04, GEdit
2.26.1, just like I mentioned above), end Shift+??? works perfectly for
her.
Is this a difference between GEdit 2.28.0 and 2.26.1 or is there a
setting that went wrong in my case?
I can still select text using the mouse, but I find that very inconvenient.
Seems to be a setting somewhere. I'm using the same version of Ubuntu/
gedit, but the keyboard selection still works.
? ? ? ?Yes if you start gedit and then select help they tell you all about
setting up keyboard selection at least on 10.04
No, it doesn't provide anything useful for this matter (GEdit 2.28.0).
Johnny Rosenberg
I found the reason for my problems. Unfortunately I didn't find a way
to solve it?
I have my own keyboard layout which I created myself by adding stuff
to /usr/share/X11/xkb/symbols/se, /usr/share/X11/xkb/rules/evdev.lst
and /usr/share/X11/xkb//rules/evdev.xml.
One of the features of my layout is that I can use my arrow keys for
typing arrows, like ????????, using the AltGr (Right Alt) with or
without the Shift key.
For example, in /usr/share/X11/xkb/symbols/se, which defines my own
layout as a variant of the Swedish layout, the right arrow key is
key <RGHT> {[Right, ? ? ? ? ? ? ? ?Right, ? ? ? ? ? ? ? ?rightarrow,
? ? ? ?U21E8 ? ? ? ? ? ? ? ?]};
The four elements within [{}] stands for what happens if we press the
key alone, with Shift, With AltGr and with Shift+AltGr. Right means
move the cursor right, rightarrow means the symbol ? and U21E8 means
the hexadecimal code for the Unicode character ???. So it seems like I
need to find out what to replace the second ?Right? with to make it
work. Unfortunately I don't have a clue what it could be, if something
like that even exists.
I searched in that folder for other files containing ?<RGHT>? and I
key <RGHT> { ? ?[Right ] ? ?};
It seems like that line means something like ?The usual right arrow
key function?.
One funny thing I found was that I can actually highlight text in some
other applications, like OpenOffice.org for instance, but not in Gedit
or Tomboy. I can do it in my web browser though (Opera). Seems like
some applications do things like that differently.
So I guess I have to write a new thread now about how to solve this.
I guess that the question marks below displays what I'm looking for,
key <RGHT> {[Right, ? ? ? ? ? ? ? ??????, ? ? ? ? ? ? ? ?rightarrow,
? ? ? ?U21E8 ? ? ? ? ? ? ? ?]};
?: Move cursor one step to the right
Shift+?: Move cursor one step to the right and highlight
AltGr+?: Type a ???
Shift+AltGr+?: Type a ???
In case someone wonders how I know that the problem is related to my
keyboard layout, I just want to add that I can highlight text with my
keyboard if I switch to the default Swedish layout, but not with my
own layout./
And I also want to point out that everything works with my own
keyboard layout except Shift+[?|?|?|?].

Regards

Johnny Rosenberg

Steve
2010-02-13 19:00:57 UTC
Permalink
On Sat, 13 Feb 2010 18:41:21 -0000, Johnny Rosenberg
Post by Johnny Rosenberg
I have recently installed Ubuntu 9.10. Before that I had the now very
old Ubuntu 8.10. With Ubuntu 8.10 GEdit 2.24.0 is the default text
editor, in Ubuntu 9.10 it is GEdit 2.28.0. My wife still use GEdit
2.26.1 on Ubuntu 9.04, so I have three different versions to compare
to each other.
I just opened GEdit for the first time since I installed Ubuntu 9.10
and I noticed that I can no longer select text with Shift+?, Shift+?,
Shift+? etc. It seems like Shift+?, for example, behaves exactly like
?, that is moving the cursor forwards.
I just asked my wife to test this on her computer (Ubuntu 9.04, GEdit
2.26.1, just like I mentioned above), end Shift+? works perfectly for
her.
Is this a difference between GEdit 2.28.0 and 2.26.1 or is there a
setting that went wrong in my case?
I can still select text using the mouse, but I find that very
inconvenient.
Regards
Johnny Rosenberg
It works on my version of gedit 2.28.0
--
Steve
Tero Pesonen
2010-02-13 19:10:07 UTC
Permalink
Post by Johnny Rosenberg
I have recently installed Ubuntu 9.10. Before that I had the now very
old Ubuntu 8.10.
Is 14-months-old software really considered "very very old" these days?
I guess I am dinosaur, then, being happy with years-old software
versions.

For your problem: I am afraid I can't offer much help. For text editing,
I've used either Emacs or Kate (a KDE app, runs on Gnome just fine and
available also on Ubuntu.) If you're doing serious editing, I would
suggest a text editor specifically designed for that.

I hope you get your problem solved.

Tero Pesonen
--
tero-at-tpesonen.net
GPG KeyID 315FD528
Johnny Rosenberg
2010-02-13 22:39:39 UTC
Permalink
Post by Tero Pesonen
Post by Johnny Rosenberg
I have recently installed Ubuntu 9.10. Before that I had the now very
old Ubuntu 8.10.
Is 14-months-old software really considered "very very old" these days?
I guess I am dinosaur, then, being happy with years-old software
versions.
For your problem: I am afraid I can't offer much help. For text editing,
I've used either Emacs or Kate (a KDE app, runs on Gnome just fine and
available also on Ubuntu.) If you're doing serious editing, I would
suggest a text editor specifically designed for that.
My editing is probably categorized among the simple tasks in most
cases, and I use GEdit because it is simple, starts reasonable fast
and still has some nice features. I like Emacs very much, and I use it
now and then, but I am not 100% convinced about their philosophy? and
all the funny keyboard shortcuts? I am just not used to them yet?
I actually used Emacs quite a lot between 1986 and 1993 or so (as a
student at a university). In the beginning on a Primos system (PR1ME
750, I think), later on Unix. With Primos we had no Internet, but when
they throw their machine out and got a Unix machine they also
connected to Internet and I used Emacs a lot for playing MUD and also
for IRC, which was a very new thing at that time.

Regards

Johnny Rosenberg
Post by Tero Pesonen
I hope you get your problem solved.
Tero Pesonen
--
tero-at-tpesonen.net
GPG KeyID 315FD528
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Loading...