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 Fri 29 Jul 2016, 14:07
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Tahrpup keyboard shortcuts don't work at startup
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
jimbo66

Joined: 05 Jan 2016
Posts: 12
Location: Sydney, Australia

PostPosted: Fri 08 Jan 2016, 03:30    Post subject:  Tahrpup keyboard shortcuts don't work at startup  

I'm new to Puppy (tahr 6.0.2) and I have a problem in that 2 of my 3 shortcuts don't work at startup, I have to restart windows manager ??? - the one that works at startup is #3. Some sort of JWM bug?


<Key mask="C" key="grave">exec:/usr/bin/libreoffice4.3 --calc -o /root/my-documents/jrs.ods</Key>

<Key mask="C" key="apostrophe">exec:/bin/sh /root/cmc</Key>

<Key keycode="115">exec:xdotool mousemove --polar 0 0</Key>
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 7658
Location: Charleston S.C. USA

PostPosted: Fri 08 Jan 2016, 10:58    Post subject:  

Have you done Quickpet->Info->Tahrpup updates?
If not, do so.
Also, install any offered service packs.

Reboot after doing the updates.

May have to redo the keyboard shortcuts setup.

There was a bug the update should fix.

_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
jimbo66

Joined: 05 Jan 2016
Posts: 12
Location: Sydney, Australia

PostPosted: Fri 08 Jan 2016, 18:04    Post subject:  

Thanks for the reply, problem persists. However, I can live with it for the moment, as I usually only boot once a week.
Back to top
View user's profile Send private message 
bigpup


Joined: 11 Oct 2009
Posts: 7658
Location: Charleston S.C. USA

PostPosted: Sat 09 Jan 2016, 00:00    Post subject:  

So you did do all the Tahrpup updates and it still is not working?
_________________
I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected Shocked
Back to top
View user's profile Send private message 
jimbo66

Joined: 05 Jan 2016
Posts: 12
Location: Sydney, Australia

PostPosted: Sat 09 Jan 2016, 02:52    Post subject:  

Yes, did all the updates, still no joy. As a temporary get-around is there a console command to re-start jwm that I could put in a tray icon.?
Back to top
View user's profile Send private message 
MochiMoppel


Joined: 26 Jan 2011
Posts: 1034
Location: Japan

PostPosted: Sat 09 Jan 2016, 04:34    Post subject:  

jimbo66 wrote:
is there a console command to re-start jwm that I could put in a tray icon.?
This would be
Code:
 jwm -restart
but this would be only a work around without fixing the problem.

As none of your shortcuts are standards, I assume that they are saved in your pupsave file, right? I also take from your description that #1 and #2 work after you restart JWM, right?

If so then something is fishy with the way keysyms (like 'apostrophe' and 'grave') are assigned to keycodes. Since #3 works for you and #3 is the one defined by keycodes, you should try keycodes for #1 and #2.

Open a console and type xev.
With the small window active type an apostrophe. You should see an output that looks like this:
Code:
KeyRelease event, serial 36, synthetic NO, window 0x2c00001,
    root 0xbd, subw 0x2c00002, time 23821408, (33,39), root:(434,577),
    state 0x0, keycode 48 (keysym 0x27, apostrophe), same_screen YES,
    XLookupString gives 1 bytes: (27) "'"
    XFilterEvent returns: False

In above example (your output may differ) you see that 'apostrophe' is a symbolic name for keycode 48.
Now change you shortcut to
Code:
<Key mask="C" keycode="48">exec:/bin/sh /root/cmc</Key>

and see if this works at startup.
Back to top
View user's profile Send private message 
jimbo66

Joined: 05 Jan 2016
Posts: 12
Location: Sydney, Australia

PostPosted: Sat 09 Jan 2016, 05:52    Post subject:  

They're stored in /root/.jwm/jwmrc-personal, Pupsave happens automatically and regularly and I think at shutdown.

Thks for the restart, I will try using keycodes, should have thought of that.......

Even so, it's still a bug, and even though things that don't work bug me, it's only a once a week problem.

It's Saturday night here, so I may be away until Monday.

Thks again for the advice.
Back to top
View user's profile Send private message 
jimbo66

Joined: 05 Jan 2016
Posts: 12
Location: Sydney, Australia

PostPosted: Sat 09 Jan 2016, 06:07    Post subject:  

Using keycodes worked....................thks
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.0321s ][ Queries: 11 (0.0035s) ][ GZIP on ]