Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 23 Aug 2014, 07:32
All times are UTC - 4
 Forum index » House Training » Bugs ( Submit bugs )
Wary and Racy 5.5, released March 3, 2013
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 10 of 11 [154 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11 Next
Author Message
Monsie


Joined: 01 Dec 2011
Posts: 633
Location: Kamloops BC Canada

PostPosted: Thu 14 Nov 2013, 04:00    Post subject:  

Thanks for weighing in Norm, Smile I appreciate any additional help here...

musher0,

I still think we are on the right track, but I admit that I am "flying by the seat of my pants" to some extent here in attempt to help... Laughing

Here is a screenshot of where the configuration files are for your particular model of keyboard. In my case, my keyboard is configured in the inet file. Notice the folder labelled pc If I open that folder, then I can locate the configuration files for the keyboard layout regarding the country and/or language that is in use.

Given your feedback, it looks to me that at least two keyboard files need to be configured (mapped) as located above: your microsoft inet file and the country/language file. Then, it might be a matter of making adjustments in your windows manager.

That said, I am interested in further feedback from Mr. Pierce.

Monsie
keyboard-model.jpg
Description 
jpg

 Download 
Filename  keyboard-model.jpg 
Filesize  164.14 KB 
Downloaded  176 Time(s) 

_________________
My username is pronounced: "mun-see". Derived from my surname, it was my nickname throughout high school.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Thu 14 Nov 2013, 07:29    Post subject:  

Hi, Monsie.

In ref. to your message here
http://murga-linux.com/puppy/viewtopic.php?p=736410&sid=4b4d58a241efe71be9ec9998385d3961#736410

I knew about xev, and have trained myself to read some of it, at least the
"keycode" information.

I gather "map" is used here in the sense of "establish", "draw the layout
of". To map a keyboard, is to establish or discover the layout of it, right?
More like surveying than simple geography. (This French-speaking
person's understanding of "map" in this sense, anyway. Please correct me
if I'm wrong.)

I've included the result of
Code:
xmodmap -pk

and a partial screen capture, which I find a bit confusing : six key
symbols per keycode will do it! Surprised If somebody would give me a few
hints on how to read this table, I'd be grateful.

Thanks in advance and best regards.

musher0
xmodmap-pk_is_a bit_confusing.jpg
 Description   
 Filesize   54.08 KB
 Viewed   516 Time(s)

xmodmap-pk_is_a bit_confusing.jpg

keys.map.zip
Description 
zip

 Download 
Filename  keys.map.zip 
Filesize  2.7 KB 
Downloaded  163 Time(s) 

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Thu 14 Nov 2013, 07:45    Post subject:  

Hello, again, Monsie.

In ref. to your message on top of this page.

I found my MSInet keyboard's partial layout at
/etc/X11/xkb/symbols/inet, as suggested in your illustration (thanks for
that), but it contains no reference to the Win and Menu keys. (Pls see
attached.)

In view of this new information, my question becomes this:
Is there a way to specify both the pc105 and the inet keyboards in
xorg.conf? And of course, would it solve the problem?

Thanks in advance, to you or anyone who can provide directions
about this.

Best regards.

musher0
MSInet-keyboard-layout.jpg
 Description   
 Filesize   31.65 KB
 Viewed   512 Time(s)

MSInet-keyboard-layout.jpg


_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)

Last edited by musher0 on Thu 14 Nov 2013, 08:27; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Thu 14 Nov 2013, 08:20    Post subject:  

Hello again.

Found in the two first entries here:
http://www.info.com/searchw?qkw=xorg.conf+%22model:+pc105,inet%22&qcat=web&q=&qhqn=&KW=

that it is possible to indicate manually, in xorg.conf
Code:
Option "xkb_model" "pc105+inet"


Now here's a "good" problem Smile : how do I configure for Puppy usage
those ten additional buttons at the top of the MSInet keyboard? Smile

BFN.

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)

Last edited by musher0 on Thu 14 Nov 2013, 08:26; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Thu 14 Nov 2013, 08:25    Post subject:  

Hello again!

Reporting success in mapping the "Menu" key to "ShowMenu Root" in
/root/.pekwm/keys. Nothing is simpler!

Now back to the Internet buttons: I will try mapping some at the next recess!

BFN.
Menu-key-configured-in-pekwm.jpg
 Description   
 Filesize   10.36 KB
 Viewed   503 Time(s)

Menu-key-configured-in-pekwm.jpg


_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Thu 14 Nov 2013, 09:16    Post subject:  

Edited Nov. 14, 4:18 p.m.
~~~~~~~~~~~~~~~~~
Hello all.

I'd like to map the Search button (top, 5th from the left) to "pfind", for
the Microsoft Internet keyboard.

There is a XF86Search key symbol in the xorg inet configuration, and I've
put it in the "keys" file for pekwm, like so:
Code:
KeyPress = "XF86Search" { Actions = "pfind &" }

but nothing happens.

How do I do that? Thanks in advance.

~~~~~~~~~~~~
Edit : Sorry. I should have typed:
Code:
KeyPress = "XF86Search" { Actions = "Exec pfind &" }

~~~~~~~~~~~~

musher0

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)

Last edited by musher0 on Thu 14 Nov 2013, 17:06; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Thu 14 Nov 2013, 11:26    Post subject:  

musher0 wrote:
This computer has a qwerty MS Internet keyboard, and my instinctive reaction was to specify "microsoftInet" as the keyboard.

Your instincts are good. But did you really specify "microsoftInet", as stated, or did you specify "microsoftinet"? Since "microsoftInet" doesn't exist, specifying it will cause the default model, pc105, to be used.

No matter which of those you used, the keyboard should have been correctly configured to use the Super_L and Super_R (Windows) keys. Specifying "microsoftinet" should configure all of the same keys that the pc105 model has (including Super_L and Super_R), plus ten more. If it doesn't, there may be a problem with the XKB rules data in Wary 5.5.

Thanks for posting the output from those two commands. It all looks correct, but that's no surprise since you say it is working now, using pc105 for the model.

So, in order to chase down this bug, we need to temporarily change to the failing model and try again.
Code:
setxkbmap -model microsoftinet
setxkbmap -query
setxkbmap -print

This should tell us whether or not both the pc105 and the microsoftinet symbols are being included.

After testing you can switch back to pc105:
Code:
setxkbmap -model pc105


musher0 wrote:
- does Puppy use the entire set of possible X.org keyboards or just a sub-set?

I don't know, but I'd guess that it uses all that were available at the time of the X release it uses. I am not aware of any being excluded from Puppy, but don't know for sure.

musher0 wrote:
- is the entire list of keyboards in the keyboard wizard valid?
(of course nobody has all those keyboards to check them and publish results centrally, but still.)

I am not aware of any that are invalid. I would be surprised if they are all 100% bug-free. Smile

musher0 wrote:
- does openbox "steal" a keyboard vector of some kind for the Win keys so other wm's can't use it?

Window managers can grab keys. For instance, JWM is usually configured to grab F12. This prevents other applications from using it. So it would also prevent other window managers from using it. But I don't know why anyone would have more than one window manager running.

musher0 wrote:
- does xbindkeys do the same?

xbindkeys also grabs keys. I am not sure if it can be configured to then put the key back into the queue for other applications to access, or not.

musher0 wrote:
- how do you get the "menu" key to work on any wm?

I see that you have since solved that one.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Thu 14 Nov 2013, 13:19    Post subject:  

Thanks, Dr. Pierce, Smile

Another diagnosis, perhaps, after viewing the results of the second test you
recommended? Smile Thanks in advance.

musher0
setxkbmap-microsoftinet-results.jpg
 Description   Results of npierce's suggested tests for microsoftinet keyboard :) The pekwm menu at the right was called from the "Menu" key.
 Filesize   38.88 KB
 Viewed   466 Time(s)

setxkbmap-microsoftinet-results.jpg


_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Thu 14 Nov 2013, 13:40    Post subject:  

That output also looks normal. It correctly claims to be including the symbols for both the pc105 and microsoftinet models (and, of course, the qc layout).

Let's see if the pc105 symbols are being recognized. What output do you get when you run these commands and press each of the Windows and Menu keys?:
Code:
setxkbmap -model microsoftinet
xev | grep keycode


(By the way, does your Search button work after running these commands?)
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Thu 14 Nov 2013, 14:20    Post subject:  

Hello, npierce.

Thanks for the quick reply. It's much appreciated.

It is a bit tricky to do a screen capture while xev is active, since it
captures also the movements of the cursor. I have done the test, though,
and I could see that keycode 115 is mapped to LWIN, keycode 116 is
mapped to RWIN, and the "Menu" key is correctly grabbed by pekwm.
The pekwm menu appears upon pressing the "Menu" key, and there is a
bunch of zeros where the keycode and keysym for it would normally
appear in the console.

As an alternate confirmation, please find attached a screen capture
indicating that the LWIN+w combination works as expected to call an
aemenu in echinus -- with the microsoftinet keyboard activated.

As to your other question, as of this writing, I am still unable to get the
"Search" button to call "pfind" in pekwm. I'm still groping around in the
dark, so to speak, concerning the proper procedure to follow.

Looking in the inet file, there seems to be two possible keysyms for the
"Search" button, XF86Search and XF86WWW. I specified XF86Search in
pekwm. Maybe I should use the other one? On the other hand, xev does
not indicate any keysym when I press the "Search" button, just keycode
229.

Again, thanks in advance for any lead. BFN.

musher0
LWIN+w_echinus,wary5.5,microsoftinet.jpg
 Description   Main aemenu activated by LWIN+w key combination in echinus wm.
Puppy: wary-5.5; xorg keyboard configuration: microsoftinet.
 Filesize   45.19 KB
 Viewed   452 Time(s)

LWIN+w_echinus,wary5.5,microsoftinet.jpg


_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Thu 14 Nov 2013, 15:44    Post subject:  

musher0 wrote:
It is a bit tricky to do a screen capture while xev is active, since it captures also the movements of the cursor.

Hence the suggestion to use
Code:
xev | grep keycode

to filter-out non-keycode events. But as long as you saw that it was working, that's good. Do you remember if it reported "Super_L", "Super_R", and "Menu" for keysyms? Probably it did or you wouldn't have had the success you reported later.

musher0 wrote:
As an alternate confirmation, please find attached a screen capture indicating that the LWIN+w combination works as expected to call an aemenu in echinus -- with the microsoftinet keyboard activated.

Great! So it is working now. Strange that it didn't work before.

musher0 wrote:
. . . xev does not indicate any keysym when I press the "Search" button, just keycode 229.

That's sad.

After entering
Code:
setxkbmap -model microsoftinet

keycode 229 should be mapped to XF86Search. This is because of this line in /etc/X11/xkb/symbols/inet (in the "microsoftinet" block):
Code:
    key <I65>   {       [ XF86Search            ]       };

and this line in /etc/X11/xkb/keycodes/xfree86 (in the xkb_keycodes "basic" block):
Code:
    <I65> =   229;

To double-check that the keyboard is still configured for the microsoftinet model, use this again:
Code:
setxkbmap -print

and look to ensure that inet(microsoftinet) is listed on the line for xkb_symbols.
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4230
Location: Gatineau (Qc), Canada

PostPosted: Thu 14 Nov 2013, 17:00    Post subject:  

Hello again, npierce.

My bad... It's my entry in pekwm's keys file that was wrong. Please see
the correct entry in attached screen capture. (Note to myself: An editor
typing typos, now that's original! Shocked Crying or Very sad )

As a side note, I noticed that the handy
Code:
xev | grep keycode

command line delivers results if the pressed key has not been grabbed
by the wm. To future readers, if you see nothing with the above command
while you press a key/button, keep in mind that the code has more than
likely been entered and recognized, so the error is somewhere else.

I guess it'll be smooth sailing from here.

Many, many thanks, npierce, for your patient directions.
Also to Monsie for his earlier leads.

Have a great day, guys! Sincerely,

musher0
XF86Search-in-pekwm.jpg
 Description   Correct syntax for a pekwm keypress.
 Filesize   11 KB
 Viewed   415 Time(s)

XF86Search-in-pekwm.jpg


_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Fri 15 Nov 2013, 11:31    Post subject: Re: Super_L and Super_R keys  

musher0 wrote:
I guess it'll be smooth sailing from here.

Many, many thanks . . .

You're welcome. Happy sailing!
Back to top
View user's profile Send private message 
npierce

Joined: 28 Dec 2009
Posts: 858

PostPosted: Fri 15 Nov 2013, 17:13    Post subject: Re: 5.5 wary does not power down  

created4el wrote:
. . . it shuts down... (or halts but doesn't power off... at least it doesn't just blissfully sit there like before...

Some Puppy users with old hardware have succeeded in getting Puppy to power-off completely by first booting Puppy with this command at the boot prompt:

puppy acpi=force

Others have had success doing the opposite:

puppy acpi=off

Still others have had no luck with either. But it's worth a try.
Back to top
View user's profile Send private message 
dlfuller

Joined: 27 May 2014
Posts: 1

PostPosted: Tue 27 May 2014, 16:43    Post subject: Hard Drive Installation
Subject description: error: file not found. grub rescue>
 

Noobie here. I tried Wary-5.5 on an old Dell Inspiron 5000. Everything worked as expected (great) so then I went through the Puppy Universal Installer steps to install on a ext4 hard drive. Defaults were chosen and files saved to the drive as a "full" install.

Bootup from the hard drive stopped with "error: file not found. grub rescue>".

I wiped the hard drive and created a new, single ext3 partition. Then went through the installer steps again for another "full" install. But again, the same "grub rescue>" on startup.

Please, I'd appreciate a clue to what is going wrong and what I need to do.

--added later--

I may have stumbled on a partial solution to the situation by going to System > Grub4Dos bootloader config and following the steps to install on the MBR of the hard drive. It did force me to go through the Puppy Universal Installer steps again. But in the end, Wary Puppy booted from the hard drive as the default in the new Grub4Dos dialog.

Is a Grub bootloader required if only Wary is installed? Is Grub4Dos the best choice?
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 10 of 11 [154 Posts]   Goto page: Previous 1, 2, 3, ..., 8, 9, 10, 11 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Bugs ( Submit bugs )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1147s ][ Queries: 13 (0.0074s) ][ GZIP on ]