[vox-tech] Cut and paste
Hi, I sorta remember a thread like this, but couldn't find it in the archives. When I run konsole, when I highlight some text, I can middle click and paste it into another (or same) xterm, but I can't paste it into a GUI program like FireFox. If I want to cut and paste, I have to go to the menu-edit-copy then I can paste to FireFox. It's like there are 2 clipboards or something. Can't I do cut and paste without mousing? The menu-edit-copy doesn't have a keyboard shortcut. I'd rather just use simple xterm but I don't even have the menu option for copy. Thanks Jay ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
[vox-tech] BTW Thanks
BTW, Thanks to everyone who helped me get my laptop up and running. I'm wireless, and sound capable now. I haven't really worked on anything else, since I don't really need anything else right now Jay ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Cut and paste
Jay Strauss wrote: Hi, I sorta remember a thread like this, but couldn't find it in the archives. When I run konsole, when I highlight some text, I can middle click and paste it into another (or same) xterm, but I can't paste it into a GUI program like FireFox. If I want to cut and paste, I have to go to the menu-edit-copy then I can paste to FireFox. It's like there are 2 clipboards or something. Can't I do cut and paste without mousing? The menu-edit-copy doesn't have a keyboard shortcut. I'd rather just use simple xterm but I don't even have the menu option for copy. Thanks Jay ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech Please disregard my original post. I didn't realize I could middle button on GUI apps. Jay ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Cut and paste
--On Saturday, October 02, 2004 11:14:34 AM -0500 Jay Strauss [EMAIL PROTECTED] wrote: If I want to cut and paste, I have to go to the menu-edit-copy then I can paste to FireFox. It's like there are 2 clipboards or something. Can't I do cut and paste without mousing? The menu-edit-copy doesn't have a keyboard shortcut. Actually, yes, there are two clipboards. See http://www.jwz.org/doc/x-cut-and-paste.html. Many apps will support Ctrl-C, Ctrl-X, and Ctrl-V as shortcuts for the menu copy, cut, and paste commands. But of course for konsole those keystrokes go to the terminal session. On top of that, if you're using KDE then you're probably running klipper. Klipper takes over some of the clipboard operation, so depending on how that's configured, things may work differently for you. -- Ken Herron ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Cut and paste
On Sat, Oct 02, 2004 at 11:14:34AM -0500, Jay Strauss wrote: It's like there are 2 clipboards or something. Can't I do cut and paste without mousing? The menu-edit-copy doesn't have a keyboard shortcut. It IS a little bizarre sometimes. :^/ You can add a copy keyboard shortcut to Konsole by going to Settings-Configure Shortcuts... There's a Copy command in there which, by default, has no keyboard shortcut. You could also do the slightly-tedious (but understandable since this is a terminal app): [Alt] pause... (Session menu at the top will become selected) [Right] (to move to the Edit menu) [Down](to 'pull down' the Edit menu; Copy is first, so will be selected) [Enter] (to choose Edit) Text selection (highlighting) in Konsole and then middle-click pasting SHOULD work, though. But it does seem there's a difference between pasting the highlighted selection and pasting something you've Edit-Copy'd BTW, quick example... I can set [Alt]+[C] to be 'Copy' in my Konsole. However, that makes it impossible (or difficult, at best) to send an Alt-C sequence to a program I'm running _in_ the terminal. Emacs, for example, seems to use Alt-C to capitalize words. ('foo foo foo' becomes 'Foo Foo Foo' if I hit Alt-C three times) So be sure to pick some key sequence you don't need in the apps you'll be running. (Like [Alt]+[Ctrl]+[Shift]+[C] or something wacky :^) ) Good luck! -bill! [EMAIL PROTECTED]New Breed Software http://www.newbreedsoftware.com/ Tux Paint 0.9.14 -- Coming soon! ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] Cut and paste
On Sat, Oct 02, 2004 at 10:06:13AM -0700, Ken Herron wrote: On top of that, if you're using KDE then you're probably running klipper. Klipper takes over some of the clipboard operation, so depending on how that's configured, things may work differently for you. Unless you disabled it, like I did. :^) To remove: Right-click the little 'clipboard-and-paper-with-a-'k'-on-it' icon in the System Tray in the Kicker panel and select 'Quit.' (It'll ask if you want it to start automatically next time you login.) To add: Choose Klipper from the Utilities submenu of the K Menu -bill! [EMAIL PROTECTED]New Breed Software http://www.newbreedsoftware.com/ Tux Paint 0.9.14 -- Coming soon! ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] bring to front X-window command
Peter Jay Salzman wrote: snip Jon, your xlib calls are: XRaiseWindow(Display *display, Window w); XLowerWindow(Display *display, Window w); Finally got around to trying this, and it does work directly in simple windows managers (tested in openbox). However, it doesn't quite work in KDE. Rather than the window coming to the top, the window's entry in the taskbar just flashes at me. A little googling tells me something about the override-redirect attribute and that it might help if it was set to true. I tried this, and now nothing happens with the window at all. :( Here is the relevant code: Display *dpy; Window win; ... code to get dpy and win ... // set the override-redirect attribute to True XSetWindowAttributes set_att; set_att.override_redirect = 1; XChangeWindowAttributes( dpy, win, CWOverrideRedirect, set_att); XRaiseWindow( dpy, win ); Anyone able to help? Thanks, Jonathan ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] bring to front X-window command
On Sat, Oct 02, 2004 at 02:06:24PM -0700, Jonathan Stickel wrote: Finally got around to trying this, and it does work directly in simple windows managers (tested in openbox). However, it doesn't quite work in KDE. Rather than the window coming to the top, the window's entry in the taskbar just flashes at me. KDE does have an option to 'reduce focus from being lost', e.g. by pop-ups, so the flashing is probably their way of dealing with it. Try the above again, with that focus option turned off. Good luck! -bill! ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] bring to front X-window command
Bill Kendrick wrote: On Sat, Oct 02, 2004 at 02:06:24PM -0700, Jonathan Stickel wrote: Finally got around to trying this, and it does work directly in simple windows managers (tested in openbox). However, it doesn't quite work in KDE. Rather than the window coming to the top, the window's entry in the taskbar just flashes at me. KDE does have an option to 'reduce focus from being lost', e.g. by pop-ups, so the flashing is probably their way of dealing with it. Try the above again, with that focus option turned off. Yep, you are right. In KDE 3.3, the option is Focus stealing prevention level: none|low|medium|high|extreme. Setting it to none allows my code to bring the desired window to the top. However, I would like to override this feature in my program so that the window rises to the top no matter what the WM/DE trys to do. From what I understand, setting the override-redirect attribute of the window to True should do what I want. Instead, nothing happens when XRaiseWindow is called, neither in KDE or Openbox. Any ideas here? If I can't override the WM, I'll have to put something in the help to tell users to turn off the appropriate focus setting. Do other WM/DE have this option like KDE? Does Gnome? Thanks! Jonathan ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech
Re: [vox-tech] bring to front X-window command
On Sat, 2 Oct 2004, Jonathan Stickel wrote: However, I would like to override this feature in my program so that the window rises to the top no matter what the WM/DE trys to do. That seems to defeat the purpose of that feature in KDE which you're trying to override! From what I understand, setting the override-redirect attribute of the window to True should do what I want. Instead, nothing happens when XRaiseWindow is called, neither in KDE or Openbox. From an earlier conversation in this thread, I got the impression that override-redirect is something that the window manager uses to override the default behavior of the application (to override the XRaiseWindow call of the application.) In your case, KDE uses override-redirect to prevent your app from coming up to the top. The app doesn't get to do the overriding, only the WM. Or that's the impression I got from earlier posting in this thread... Wish I could be of more help! -Mark -- Mark K. Kim AIM: markus kimius Homepage: http://www.cbreak.org/ Xanga: http://www.xanga.com/vindaci Friendster: http://www.friendster.com/user.php?uid=13046 PGP key fingerprint: 7324 BACA 53AD E504 A76E 5167 6822 94F0 F298 5DCE PGP key available on the homepage ___ vox-tech mailing list [EMAIL PROTECTED] http://lists.lugod.org/mailman/listinfo/vox-tech