Pbdict - upgrade

Stuff that has yet to be sorted into a category.
Post Reply
Message
Author
User avatar
alienjeff
Posts: 2265
Joined: Sat 08 Jul 2006, 20:19
Location: Winsted, CT - USA

#7 Post by alienjeff »

@Henry:

I prefer "dict" to "PBdict." As a matter of fact, I can't remember the last time I used PBdict, though it must be well over a year ago.

I've got my F4 key assigned to open a console*, so when I need a definition, I hit F4 and type: dict word <enter>. No mouse manipulation or cursor aiming/placement. I can leave my hands on the keyboard where the work gets done. My point is that with PBdict, I have to type the word in anyways, so why needlessly bother with mouse shenanigans and just cut to the chase?

The mouse-GUI thing could be taken to the extreme here with a radio button for each letter of the alphabet. That way we could cater to hunt-and-peckers who refuse to learn touch typing. And think of the boon that would ultimately be down the road for surgeons specializing in carpal tunnel syndrome!

Guess I forgot to tag </sarcasm> to the end of my previous post - or for the emoticon-addicted, :roll:

* F4 console key binding from ~/.jwm/jwmrc-personal:

Code: Select all

<Key key="F4">exec:rxvt</Key>     <!-- start rxvt console -->
[size=84][i]hangout:[/i] ##b0rked on irc.freenode.net
[i]diversion:[/i] [url]http://alienjeff.net[/url] - visit The Fringe
[i]quote:[/i] "The foundation of authority is based upon the consent of the people." - Thomas Hooker[/size]

Henry
Posts: 863
Joined: Sun 30 Jul 2006, 02:28
Location: Oregon USA
Contact:

#8 Post by Henry »

Thanks for the tip, alienjeff.

I like it.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#9 Post by zigbert »

ok Henry - I got you. :wink:

I made those changes in Puppy 2.17, and it runs gtk 2.8. The new Puppy 3 has upgraded to gtk 2.10, and I guess that is the reason why it doesn't work correct here. I haven't got the time to investigate this issue more. Unfortunatly, there have been some gtkdialog-issues with Puppy 3.

Thanks for clear explanation
Sigmund

User avatar
steve_s
Posts: 1595
Joined: Mon 26 May 2008, 13:29
Location: Austin, TX, USA
Contact:

Re: Pbdict - upgrade

#10 Post by steve_s »

zigbert wrote:Just 4 minor changes:
- You can press enter after searchword to activate script.
- Exit button now works.
- Changed to gtkdialog3.
- Added icons to buttons.

Files should be placed in /usr/local/pbdict/.

Sigmund
Thanks for this, Sigmund! and thanks to MU for the original. 8)

Post Reply