Author |
Message |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Wed 05 May 2010, 06:13 Post subject:
|
|
technosaurusHave you tested this idea? I can't see how the field can get focus after another window has been opened.
Sigmund
_________________ Stardust resources
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 4787 Location: Kingwood, TX
|
Posted: Wed 05 May 2010, 06:49 Post subject:
|
|
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 github repositories. I may eventually get around to updating my blogspot.
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Wed 05 May 2010, 11:20 Post subject:
|
|
zigbert wrote: | seaside wrote: | Code: | <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.
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 917
|
Posted: Wed 05 May 2010, 19:00 Post subject:
|
|
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.
jpeps- Yes, the selection buffer is used to paste into terminals.
Cheers,
s
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Thu 06 May 2010, 02:11 Post subject:
|
|
Windowed version gets both the selection buffer & traditional clipboard.
Description |
|

Download |
Filename |
pnote-gray.png |
Filesize |
150.79 KB |
Downloaded |
612 Time(s) |
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Thu 06 May 2010, 15:31 Post subject:
|
|
Is there a way to copy ONLY selected text to xclip ?
_________________ Stardust resources
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 917
|
Posted: Thu 06 May 2010, 19:49 Post subject:
|
|
zigbert wrote: | Is there a way to copy ONLY selected text to xclip ? |
Code: | 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.
|
Back to top
|
|
 |
jpeps
Joined: 31 May 2008 Posts: 3217
|
Posted: Thu 06 May 2010, 23:46 Post subject:
|
|
think it's just writing everything to the buffer instead of the clipboard...
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Fri 04 Jul 2014, 05:13 Post subject:
|
|
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..
any idea would be welcome
thanks in advance
charlie
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Fri 04 Jul 2014, 09:04 Post subject:
|
|
Hello Charlie
I have not used IceWM for ages, and have no idea on how to set it all up.
Sorry
Sigmund
_________________ Stardust resources
|
Back to top
|
|
 |
charlie6

Joined: 30 Jun 2008 Posts: 1199 Location: Saint-Gérard / Walloon part of Belgium
|
Posted: Fri 04 Jul 2014, 12:32 Post subject:
|
|
Thanks for replying, Sigmund !
Edited:
I thought finding a workaround for it ... but nope !
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: | key "Alt+Ctrl+w" pnote |
inside /root/.icewm/keys works
Greetings
Charlie
|
Back to top
|
|
 |
|