Pnote 0.2 - desktop notepad

Window managers, icon programs, widgets, etc.
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#16 Post by zigbert »

technosaurusHave you tested this idea? I can't see how the field can get focus after another window has been opened.


Sigmund

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#17 Post by technosaurus »

That's what I ran into too, so I guess that is out unless there is some way to grab focus....I'm not complaining though, since this is what makes the keyboard work so nicely.
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#18 Post by jpeps »

zigbert wrote:
seaside wrote:

Code: Select all

  <action signal="focus-out-event">echo "$PAD" | xclip -i -selection clipboard</action>
Great stuff. Included for next release.


Thank you
Sigmund
To be able to paste into a terminal, vim, etc., I think pnote has to be open..which happens if "check exit" action is removed.

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#19 Post by seaside »

I'm wondering if it's worthwhile to have the clipboard action be the default.

If you didn't realize that just leaving the window would wipe out something specifically placed earlier on the clipboard, it might be confusing.

I know it was my suggestion, but perhaps better for a specific use as an option. :D

jpeps- Yes, the selection buffer is used to paste into terminals.

Cheers,
s

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#20 Post by jpeps »

Windowed version gets both the selection buffer & traditional clipboard.
Attachments
pnote-gray.png
(150.79 KiB) Downloaded 788 times

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

#21 Post by zigbert »

Is there a way to copy ONLY selected text to xclip ?

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#22 Post by seaside »

zigbert wrote:Is there a way to copy ONLY selected text to xclip ?

Code: Select all

xclip  -i -selection primary
But..... I think it gets wiped out if the program exits.

Cheers,
s

(EDIT) NO,it isn't wiped: Just tried it after Pnote exit - it still pastes in a terminal and is not on clipboard.

jpeps
Posts: 3179
Joined: Sat 31 May 2008, 19:00

#23 Post by jpeps »

think it's just writing everything to the buffer instead of the clipboard...

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#24 Post by charlie6 »

Hi Sigmund !

i'm trying to dig into the code to get Pnote working on icewm window manager ...

but till now i did not have found a solution ...
neither trying jpep's gtkdialog flavour.. :cry:

any idea would be welcome

thanks in advance
charlie

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

#25 Post by zigbert »

Hello Charlie
I have not used IceWM for ages, and have no idea on how to set it all up.

Sorry
Sigmund

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#26 Post by charlie6 »

Thanks for replying, Sigmund !

Edited:
I thought finding a workaround for it ... but nope ! :cry:
Using Menu/Utilities/Xbinkeys Config Tool does not work under Icewm WM.
It just work one time just after doing "Apply Save & Exit" in Xbinkeys Config Tool! (although there is a xbindkeys symlink in /root/Strartup). It does not longer work after closing the pnotes window.

(When finished to enter a text inside the Pnotes window, the Pnotes window shuts off by moving the mouses cursor inside it and leaving the window.)

I found another solution:
adding a keys combination like

Code: Select all

key "Alt+Ctrl+w"		pnote
inside /root/.icewm/keys works :)

Greetings
Charlie

Post Reply