Reply to topic

Where does Klipper store list of applications for action

markum
Registered Member
Posts
160
Karma
1
Recently I turned Firefox into my main browser from within Firefox which unfortunately had an undesirable effect. Klipper actions which pop up when I put an url into the clipboard now only show Firefox and not the other browsers. This is very unfortunate since I intensively use Klipper actions. Reversing this, did not change a thing. All the other browsers are not present in Klipper actions anymore.
In systemsettings the other browsers are still present. So it seems like Klipper stores or retrieves the list from somewhere else. Does anyone know how to recreate that list by a command or where to edit the list in a config file.


markum, proud to be a member of KDE forums since 2008-Nov.
lueck
Mentor
Posts
120
Karma
2
markum wrote:Does anyone know how to recreate that list by a command or where to edit the list in a config file.

.kde[4]/share/config/klipperrc
markum
Registered Member
Posts
160
Karma
1
lueck wrote:
markum wrote:Does anyone know how to recreate that list by a command or where to edit the list in a config file.

.kde[4]/share/config/klipperrc

Unfortunately this file only contains Klippers config, but not the list of applications, at least on my system. If it does store the list there, I would need an example.


markum, proud to be a member of KDE forums since 2008-Nov.
User avatar google01103
Manager
Posts
4959
Karma
17
OS
did you look at ~/.kde[4]/share/apps/klipper


OpenSuse 13.1 x64, KDE 4.12.x

Problem solved? Please click on Image below the post with the best answer to mark your topic as solved.
markum
Registered Member
Posts
160
Karma
1
google01103 wrote:did you look at ~/.kde[4]/share/apps/klipper

Yes, it just contains the list of things stored in the clipboard.


markum, proud to be a member of KDE forums since 2008-Nov.
User avatar google01103
Manager
Posts
4959
Karma
17
OS
try ~/.kde[4]/share/config/systemsettingsrc there's a [klipper] section, which I think is what you're looking for, but there's no browser specific mentions

in post 1 you talk about systemsettings and the other browsers being present, not sure what you mean and how that relates to klipper


OpenSuse 13.1 x64, KDE 4.12.x

Problem solved? Please click on Image below the post with the best answer to mark your topic as solved.
markum
Registered Member
Posts
160
Karma
1
google01103 wrote:try ~/.kde[4]/share/config/systemsettingsrc there's a [klipper] section, which I think is what you're looking for, but there's no browser specific mentions

in post 1 you talk about systemsettings and the other browsers being present, not sure what you mean and how that relates to klipper

I mean the file associations in system settings. They still exist, I originaly thought Klipper would retrieve the systems browser list there. But it seems like it is stored somewhere else.


markum, proud to be a member of KDE forums since 2008-Nov.
User avatar google01103
Manager
Posts
4959
Karma
17
OS
apology - I did not originally understand what you were experiencing

this is what you're looking for Image

when looking at file associations did you look at the xhtml+xml or the html entry? the text -> html seems to be what Klipper uses
Image


OpenSuse 13.1 x64, KDE 4.12.x

Problem solved? Please click on Image below the post with the best answer to mark your topic as solved.
markum
Registered Member
Posts
160
Karma
1
google01103 wrote:apology - I did not originally understand what you were experiencing

this is what you're looking for Image

Yes, this is what I am looking for. Mine only shows Firefox. It looked like yours before
google01103 wrote:when looking at file associations did you look at the xhtml+xml or the html entry? the text -> html seems to be what Klipper uses
Image

[/quote]
I am aware. Both entries are full of all my installed browsers. So it appears like Klipper initially pulls the list of browsers, but stores it somewhere else. And I am looking for either the possiblity to trigger a renewal of that list or a way to edit it by hand, but therefor I need to know where it is stored and what I need to add there.


markum, proud to be a member of KDE forums since 2008-Nov.
User avatar google01103
Manager
Posts
4959
Karma
17
OS
let's try a test - right click in Dolphin and create a new html file, then right click the file and what does "open with" display? just FF or all you browsers?

2 things to try:
1) within KDE run: kbuildsycoca4 --noincremental (note: this rebuild the configuration cache)
2) clear your kde cache folder /var/tmp/kdecache/user_account, note: this should be done done with you KDE session not running


OpenSuse 13.1 x64, KDE 4.12.x

Problem solved? Please click on Image below the post with the best answer to mark your topic as solved.
markum
Registered Member
Posts
160
Karma
1
google01103 wrote:let's try a test - right click in Dolphin and create a new html file, then right click the file and what does "open with" display? just FF or all you browsers?

This shows all browsers.
google01103 wrote:2 things to try:
1) within KDE run: kbuildsycoca4 --noincremental (note: this rebuild the configuration cache)
2) clear your kde cache folder /var/tmp/kdecache/user_account, note: this should be done done with you KDE session not running

Tried it, unfortunately no change.


markum, proud to be a member of KDE forums since 2008-Nov.
User avatar google01103
Manager
Posts
4959
Karma
17
OS
does this happen to new/different user?

does klipper action for other file type work properly?

I did a content search of my KDE config folder (for terms firefox and then for klipper) and didn't see anything that appeared related to your problem


OpenSuse 13.1 x64, KDE 4.12.x

Problem solved? Please click on Image below the post with the best answer to mark your topic as solved.
markum
Registered Member
Posts
160
Karma
1
I just wanted to let you know that I finally just found a solution. It did not happen with a newly created user. I then found out that there is a folder mime in ~/.local/share/mime which did not exist in the newly created users folder. I renamed the folder and restarted. After doing this, the klipper function was restored.


markum, proud to be a member of KDE forums since 2008-Nov.

 
Reply to topic

Bookmarks



Who is online

Registered users: Alexa [Bot], Baidu [Spider], Bing [Bot], claydoh, Exabot [Bot], Google [Bot], koriun, Majestic-12 [Bot], mmistretta, MSNbot Media, scummos, Wiz, Yahoo [Bot]