Author Topic: Klipper can't find default actions  (Read 1247 times)

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Klipper can't find default actions
« on: July 27, 2010, 09:10:17 PM »
I have searched a lot on forum - no answer.

I am using Klipper extensively (this means a lot) and I used to configure the "actions" to suit me in pclos2009-kde, see here for more details:

http://www.pclinuxos.com/forum/index.php/topic,64154.msg524069.html#msg524069

I have attempted a couple of times in pclos2010-kde.  I seem to be working blind though as I can not actually find the listing of the default actions. The window is empty, see attached pictures

Would somebody using klipper try Klipper > Configure > Actions and report what they see in the window?  Anything.

To be expected: something relating to each item in Kliper Actions selection panel I have shown.

I have shown my default actions list in the second picture and the ? marks I think represents my attempts but I can't find them again and edit or delete.

32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

genomega

  • Guest
Re: Klipper can't find default actions
« Reply #1 on: July 27, 2010, 10:53:24 PM »
Klipper is working as expected for me.

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Klipper can't find default actions
« Reply #2 on: July 27, 2010, 11:00:39 PM »
genomega
Do you mean that you can see all your default action macros in the window that is empty in my case?
Can you attach a screen shot ?
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Klipper can't find default actions
« Reply #3 on: July 29, 2010, 07:42:57 AM »
Klipper is working for me but I can not configure the actions macros.  Still no Klipper users that can show a picture of the configure page, in my case the empty window in the picture. ?

genomega attempted an answer, but since mine works it did not tell me what I would like to find out. He might have meant that he could see the macros  ???
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline everge48

  • Sr. Member
  • ****
  • Posts: 383
Re: Klipper can't find default actions
« Reply #4 on: July 29, 2010, 10:01:30 AM »
wedgeling,
I've never used any of those features but just experimenting with adding actions I had no problem. They show up in the window and the actions are written to klipper's config immediately.
~/.kde4/share/config/klipperrc

Then if I remove klipperrc log out and back in a new klipperrc file will be created with the default values.



« Last Edit: July 30, 2010, 10:12:10 AM by 4evergr8ful »
Any sufficiently advanced technology is indistinguishable from magic.

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Klipper can't find default actions
« Reply #5 on: July 29, 2010, 06:51:26 PM »
4evergr8ful
Looks like this is another 'pecularity' I have, something not quite working> I will follow your lead and hide the existing klippeklipperrc and see what happens.

Your post also suddenly focussed my attention on the 'drop down' or pop up menu, this has extra options that are not fully formed, like no icon, opera  option showing up multiple times (actually quite handy as the distance from mouse pointer to option sometimes shortened.  I have the pop up happen where the mouse is currently.

Depending on your mode of operation I think you are missing out on some great performance tricks but everyone has different likes.   :)

Could you post your klipperrc mine below

Code: [Select]
[gert@localhost ~]$ cat ~/.kde4/share/config/klipperrc
[$Version]
update_info=klipper-kconfigxt.upd:KlipperNoSpacesInKeyNames

[Actions]
StripWhiteSpace=false

[General]
MaxClipItems=200
Number of Actions=0
PopupAtMousePosition=true
TimeoutForActionPopups=0
URLGrabberEnabled=true
Version=v0.9.7
[gert@localhost ~]$

"I shall be back"  ;D
« Last Edit: July 29, 2010, 06:57:57 PM by wedgeling »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline everge48

  • Sr. Member
  • ****
  • Posts: 383
Re: Klipper can't find default actions
« Reply #6 on: July 30, 2010, 02:02:51 AM »
Here's what it looks like now after removing the old one..

[General]
Number of Actions=0
Version=v0.9.7


Hope I was able to help. Good luck.
« Last Edit: July 30, 2010, 10:13:12 AM by 4evergr8ful »
Any sufficiently advanced technology is indistinguishable from magic.

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Klipper can't find default actions
« Reply #7 on: July 30, 2010, 03:43:23 AM »
Naaah, not what I was hoping for. I am going to bite the bullet and reinstall Klipper which I figure is hidden in kdebase4-workspace I can't for the life of me figure what I may have done that has upset Klipper.  I thought it was one of the programs I started real late looking at customising when I changed over to pclos2010-kde.

How did you start klipper maybe this is a clue, I can't actually see klipper anywhere until I start the program using konsole. I don't find it in PC menu.

Also do a locate on klipper like mine below

Quote
[gert@localhost ~]$ locate klipper
/home/gert/.kde4/share/apps/klipper
/home/gert/.kde4/share/apps/klipper/history2.lst
/home/gert/.kde4/share/config/klipperrc
/home/gert/Documents/100728-klipper_investigation.glk
/usr/bin/klipper
/usr/lib/libkdeinit4_klipper.so
/usr/share/applications/kde4/klipper.desktop
/usr/share/apps/kconf_update/klipper-kconfigxt.upd
/usr/share/autostart/klipper.desktop
/usr/share/doc/HTML/en/klipper
/usr/share/doc/HTML/en/klipper/common
/usr/share/doc/HTML/en/klipper/index.cache.bz2
/usr/share/doc/HTML/en/klipper/index.docbook
/usr/share/doc/HTML/en/klipper/screenshot.png
/usr/share/icons/hicolor/128x128/apps/klipper.png
/usr/share/icons/hicolor/16x16/apps/klipper.png
/usr/share/icons/hicolor/32x32/apps/klipper.png
/usr/share/icons/hicolor/48x48/apps/klipper.png
/usr/share/icons/hicolor/64x64/apps/klipper.png
/usr/share/icons/oxygen/128x128/apps/klipper.png
/usr/share/icons/oxygen/16x16/apps/klipper.png
/usr/share/icons/oxygen/22x22/apps/klipper.png
/usr/share/icons/oxygen/32x32/apps/klipper.png
/usr/share/icons/oxygen/48x48/apps/klipper.png
/usr/share/icons/oxygen/64x64/apps/klipper.png
[gert@localhost ~]$
« Last Edit: July 30, 2010, 03:50:08 AM by wedgeling »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Klipper can't find default actions
« Reply #8 on: July 30, 2010, 04:50:43 AM »
This is starting to be hard.

I have re-installed kdebase4-workspace and restarted, no change the window is empty, 1st picture I attached in original post.

Right now I am using LiveCD pclos2010.07-kde an empty window.  :'( :'(

I have just run up the earlier version LiveCD pclos2010-kde, Klipper configure no macros in window
« Last Edit: July 30, 2010, 05:02:49 AM by wedgeling »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Klipper can't find default actions
« Reply #9 on: July 30, 2010, 05:17:27 AM »
Oh boy, getting a bit nervous here but I am on my LiveCD-remastered except it is pclos2009.kde
The atttached picture show the window as I expected it to look in pclos2010-kde
What next  ??? ???
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline everge48

  • Sr. Member
  • ****
  • Posts: 383
Re: Klipper can't find default actions
« Reply #10 on: July 30, 2010, 05:51:02 AM »
locate klipper identical here except that .glk file you have in your Documents folder.

Can you post klipperrc from your 2009 remaster.
~/.kde/share/config/klipperrc
Any sufficiently advanced technology is indistinguishable from magic.

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Klipper can't find default actions
« Reply #11 on: July 30, 2010, 07:35:11 AM »
4evergr8ful

I am in XFCE right now and I am installing kdebase4-workspace right now, I will get this problem nailed down.

~/.kde/share/config/klipperrc
I had a look inside mine as you can see above but I see no hint of configuration data in here or link to another program. If anything it seems to me that any change out to have com in via update_info=klipper-kconfigxt.upd:KlipperNoSpacesInKeyNames

/usr/share/apps/kconf_update/klipper-kconfigxt.upd
this was a likely candiate for holding such data too but looking in there did not enlighten me either, this is the time I would like to be real programmer as is I guessing from rudimentary knowledge of various programming languages.

This download is going to take some time so I will run up my remaster on an acer laptop and see what I can find. I will come back and modify this post with the result.

Edit: The download to XFCE was a waste of time right at the end failed. Now we are getting somewhere however, at least juicy bits to work with. Brilliant suggestion. You will have to wait till I get back in KDE missing my klipper here.   ;D

Ok: that took 5 minutes to get back into KDE.

Here is the content you asked for:

Quote
[$Version]
update_info=klippershortcuts.upd:04112002,klipperrc.upd:25082001,klipperrc.upd:kde3.1

[Action_1]
Number of commands=6

[Action_1/Command_0]
Commandline[$e]=opera %s
Description=Open with &Opera

[Action_1/Command_1]
Commandline[$e]=kfmclient exec %s
Description=Open with &Konqueror

[Action_1/Command_2]
Commandline[$e]=ps x |grep -q '[m]ozilla' && mozilla -remote openURL\\(%s, new-window\\) || mozilla %s
Description=Open with &Mozilla

[Action_1/Command_3]
Commandline[$e]=kmail --body  %s
Description=Send &URL

[Action_1/Command_4]
Commandline[$e]=ps x |grep -q '[f]irefox' && firefox -remote openURL\\(%s, new-window\\) || firefox %s
Description=Open with &Firefox

[Action_1/Command_5]
Commandline[$e]=kmail  --attach %s
Description=Send &Page
Enabled=true

[Action_2/Command_2]
Commandline[$e]=kmail --body  %s
Description=Send &URL
Enabled=true

[Action_2/Command_3]
Commandline[$e]=ps x |grep -q '[f]irefox' && firefox -remote openURL\\(%s, new-window\\) || firefox %s
Description=Open with &Firefox
Enabled=true

[Action_2/Command_4]
Commandline[$e]=kmail  --attach %s
Description=Send &Page
Enabled=true

[Action_7]
Description=ftp URL
Number of commands=5
Regexp=^ftp://.

[Action_7/Command_0]
Commandline[$e]=kfmclient exec %s
Description=Open with &Konqueror
Enabled=true

[Action_7/Command_1]
Commandline[$e]=netscape -no-about-splash -remote openURL\\(%s, new-window\\)
Description=Open with &Netscape
Enabled=true

[Action_7/Command_2]
Commandline[$e]=mozilla -remote openURL\\(%s, new-window\\)
Description=Open with &Mozilla
Enabled=true

[Action_7/Command_3]
Commandline[$e]=kmail --body  %s
Description=Send &URL
Enabled=true

[Action_7/Command_4]
Commandline[$e]=kmail  --attach %s
Description=Send &File
Enabled=true

[General]
AutoStart=true
IgnoreSelection=false
MaxClipItems=401
NoEmptyClipboard=true
PopupAtMousePosition=true
ReplayActionInHistory=false
SelectionTextOnly=true
Strip Whitespace before exec=true
Synchronize=false
Timeout for Action popups (seconds)=8
TrackImages=true
URLGrabberEnabled=true
UseGUIRegExpEditor=false
Version=v0.9.7

Now that is talking to me, I am tempted just to dump this one right where the present one on this system is, but since it is from kde 3.5.10 I had better just sit back and think.  <rock> ??? me ???<hard place>

I have now deleted my ~/.kde/share/config/klipperrc and log out/in and me have nix klipperrc (one more rock to the left position above) this is getting funny and real challenging.

4evergr8ful please, I need your file (looking like the monster above   :D
« Last Edit: July 30, 2010, 08:57:59 AM by wedgeling »
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline everge48

  • Sr. Member
  • ****
  • Posts: 383
Re: Klipper can't find default actions
« Reply #12 on: July 30, 2010, 09:00:31 AM »
Actually, now I am getting to know some Klipper's performance tricks and I must say you are right I was missing out.

Thanks for posting your klipperrc from KDE3. So from what I can tell in getting to know Klipper KDE4 klipperrc only holds the custom actions not the default actions. The coding for the default actions must be built into the app itself, that's my guess.

Good luck modifying the file. Remember, if you botch it up you can just grab a fresh copy from /etc/skel/.kde4/share/config/klipperrc
« Last Edit: July 30, 2010, 11:30:17 PM by 4evergr8ful »
Any sufficiently advanced technology is indistinguishable from magic.

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Klipper can't find default actions
« Reply #13 on: July 30, 2010, 09:11:06 AM »
What you are saying is what I have been pushing in the back of my brain, I did not want to hear that. (one more rock to the left  ;D)

I don't have a skel, this I noticed and why I asked you for the locate and klipper  to see you content

pclos2009-kde-remaster does have a skel (forgot what was inside, better check that now)  

Wait til you get klipper zinging you don't need sliced bread any more  ;D

32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline everge48

  • Sr. Member
  • ****
  • Posts: 383
Re: Klipper can't find default actions
« Reply #14 on: July 30, 2010, 09:12:23 AM »
Now that is talking to me, I am tempted just to dump this one right where the present one on this system is, but since it is from kde 3.5.10 I had better just sit back and think.  <rock> ??? me ???<hard place>
I have now deleted my ~/.kde/share/config/klipperrc and log out/in and me have nix klipperrc (one more rock to the left position above) this is getting funny and real challenging.

I wouldn't replace the one from KDE4 with the one from KDE3 but merge it wisely.  ;)

Actually, I had to reboot not log out to see the newly created klipperrc in ~/.kde4/share/config. kbuildsycoca4 wasn't enough either had to completely reboot.

EDIT: Oh, yes I see that you don't have /etc/skel. You don't have that directory on your computer at all?
« Last Edit: July 30, 2010, 09:30:36 AM by 4evergr8ful »
Any sufficiently advanced technology is indistinguishable from magic.