1827385 Members
4227 Online
109963 Solutions
New Discussion

Gnome Testing

 
David Heath_1
Advisor

Gnome Testing

Hi,
I am involved with testing the new Gnome desktop for use with HP-UX 11 and was wondering if anyone could answer me a few queries I have. I have searched high and low and as its not really supported yet I cant find many answers.

Firtsly, the most annoying thing I have found is that I cannot use the pipe key. This is proving very annoying when doing many everyday tasks and I have had to revert back to CDE just to do my administration tasks. Does anyone know how to get the pipe working and if not a suitable work around.

Also, how does the desktop load up? Basically what I am after is a login to my secure shell. At the minute with CDE, I have an entry in my .dtprofile which loads up ssh and asks me for my ssh password just after I login. Obviously, .dtprofile is not used with Gnome and I was wondering if there was an equivalent to this where I could put the ssh entry in, to ask me for my password.

Any help would be great. Oh and I am quite new to Unix and Gnome so nice easy terms would be appreciated greatly.

Many thanks.
12 REPLIES 12
Frank Gilsdorf
Advisor

Re: Gnome Testing

Hi David,

1.) Are you using a non-english keyboard. You have to play around with xmodmap. Hope it's better in the final version.

2.) Thats not the way gnome works. Try a tool like gnomessh. It opens a window, starts ssh in it, manages your accounts and so on... http://www.gnome.org/applist/listrecent.php3?category_query=Internet%20Tools

Bye
Frank
David Heath_1
Advisor

Re: Gnome Testing

Excellent about SSh. Ill give that a go.

Unfortuantetly I have changed all I can with the keyboard settings, as well as changing the keyboard. I am using an english keyboard and can get some sort of a pipe using shift and the '\' '|' key, but it is broken in two. This doesn't seem to work though and when doing a ypcat passwd | grep username or similar command. Anymore ideas?

Thanks for the help.

David.
Frank Gilsdorf
Advisor

Re: Gnome Testing

Hi David,

yesterday I've made a new installation of gnome on a new HP11.00 system. It works fine without xmodmap or something else. So your problems must be outside of Gnome.

Did you use the depot file from http://www.hp.com/go/gnome ? Have you installed the qualitypack september 2001?

Frank
Alex Glennie
Honored Contributor

Re: Gnome Testing

Does the pipe symbol work under CDE on this same system at all ?

I have no problems here in the UKRC.I'd take a look and compare the output from xmodmap -pke command from a good and bad system/session .... it sounds like the keyboard mapping is the most likely cause.

Also there are tools out there to allow you to map the keys : have a look for a freeware utility called Xkeymap (nice little gui).
David Heath_2
New Member

Re: Gnome Testing

The pipe works fine in CDE, thats why I think its a Gnome setting somewhere.

Here is the output from a xmodmap in Gnome:

xmodmap: up to 3 keys per modifier, (keycodes in parentheses):

shift Shift_L (0x1b), Shift_R (0x62)
lock Caps_Lock (0x1d)
control Control_L (0x1a), Control_R (0x61)
mod1 Alt_L (0x22), Alt_R (0x42), Mode_switch (0x84)
mod2
mod3
mod4
mod5

Its the same in CDE.

This is the error I get if I use the broken pipe in gnome:

$ ypcat passwd ?? grep dahea
Usage: ypcat [-k] [-t] [-d domain] mname
ypcat -x

where mname may be either a mapname or a map nickname
-k prints keys as well as values
-t inhibits map nickname translation
-x prints a list of map nicknames and their corresponding mapnames

As you can see it just doesn't understand what I am doing.

If I do the pipe symbol as root in Gnome I get this character:

^??

I cant even get the broken pipe as root.

Does this make any more sense as to what could be happening?
Thank you everyone for your help all the same,

David.


Alex Glennie
Honored Contributor

Re: Gnome Testing

What about xmodmap -pke output ?

fyi I've attached the Xkeymap binary .....

output on an HP US keyboard ie no ?? sign above the 3 but a # (which works fine) =

keycode | \ 0x65 101 0145
keysym baclslash bar mu mu
Ascii \ 0x5c 92 0134

output from xmodmap -pke =

keycode 101 = backslash bar mu mu

You *may* need to remap a keycode to represent the bar under gnome ?

I'd first compare the xmodmap -pke outputs for the CDE desktop and the gnome desktop though .... also what type of keyboard are you using here ? serial number on the back eg C3757B ABA or ABU ?

Appologies but I'm still getting to grips with gnome too.

ps as Bruce Forsyth once said points win prizes.

before you ask where's the attachment .... looks like you can't attach files larger than 1 MB ! post your email and I'll send it to you if you want/need it.
David Heath_1
Advisor

Re: Gnome Testing

 
Alex Glennie
Honored Contributor

Re: Gnome Testing

This has never been a strong point of mine but perhaps this eg helps ?

check the current keymap using
#xmodmap -pk | more
111 0xff08 (BackSpace)
91 0x003a (colon) 0x002a (asterisk) 0x04b9 (kana_KE)2)

modify key assign
#xmodmap -e keycode 91 = BackSpace

This command changed "colon (:)" to "BackSpace".

although xmodmap changes should revert back to default after the xserver is started I'd be tempted to say :

a) keep a copy of your original settings : xmodmap -pke > file

b) test changing a keycode you are least likely to use ie not a colon.

c) As I understand it bar is what your are trying to map to a keycode.

good luck ..... I'm off to test the above out too ....
Alex Glennie
Honored Contributor

Re: Gnome Testing

Mmmm haven't got this working yet ...... ps syntax = xmodmap -e "keycode ### = ???" ....


back soon I'll try under CDE to make sure I can get it running.
Alex Glennie
Honored Contributor

Re: Gnome Testing

OK here's what I've found :

under CDE =>

xmodmap -e "keycode 93 = bracketleft bar degree degree"

works in so much as it remaps the { to |

when the "{[" key is pressed in conjunction with the Alt key.

On the same system under gnome this does not work or rather xmodmap accepts the change but alt "{[" does not yield a | .

conclusion : the modifier key (ALT) is also mapped differntly under gnome ?

anyone else got any ideas by head hurts ;)

I keep trying let me know how you get on ....
David Heath_1
Advisor

Re: Gnome Testing

Many thanks Alex, your really doing well!! I am starting to understand how it all works!!

I'll give it a go too and see what I come up with.

Thanks again.
David.

Take a break, dont work too hard!!
Alex Glennie
Honored Contributor

Re: Gnome Testing

David,

until I figure out how to get xmodmap to work under gnome this may help but its not ideal :

try in a terminal window :

echo "\0174" if you get a "|" sign you could at least cut and paste it into the command line arguments for your everyday sys admin work : and hence avoid having to switch back and forth between desktops .......

I'm sure this can be done I just need sometime to figure out how .... back probably on Monday