[Okular-devel] Change the icons

Bemipefe bemipefe at libero.it
Sat Jan 28 17:02:48 UTC 2012


Perfect! Problem solved.
Now i want to know how to send you the modified source when i finish to 
do some change.

Thanks for patiance

On 27/01/12 18:10, Albert Astals Cid wrote:
> El Divendres, 27 de gener de 2012, a les 16:42:14, Bemipefe va escriure:
>> Launching kbuildsycoca4 with my home directory fix the problem to the
>> missing/unloaded libraries but the image is not changed. So i was returned
>> to the installation in /usr as usual.
>>
>> My commands are:
>>
>> *cmake -DCMAKE_INSTALL_PREFIX=/usr ..
>> make
>> sudo make install
>> *
>>
>> *export KDEDIRS=/usr/share/kde4/apps/okular:$(kde4-config --prefix);
>> kbuildsycoca4 **
>> tried also:
>>
>> export KDEDIRS=/usr:$(kde4-config --prefix); kbuildsycoca4*
>>
>> But this not fix the problem, indeed i read
>> onhttp://okular.kde.org/download.php:
>>
>> "If you install Okular in a different path than your system kde4 install
>> directory it is possible that you need to run"
>>
>> this is not my case i install in system directory.
>>
>> The strace command output is just like this:
>>
>> strace okular 2>&1 | grep png
>> open("/usr/lib64/libpng12.so.0", O_RDONLY) = 3
>> access("/usr/share/icons/oxygen/22x22/actions/process-working.png", R_OK) =
>> -1 ENOENT (No such file or directory)
>> access("/usr/share/icons/oxygen/22x22/animations/process-working.png",
>> R_OK) = 0
>> stat("/usr/share/icons/oxygen/22x22/animations/process-working.png",
>> {st_mode=S_IFREG|0644, st_size=703, ...}) = 0
>> stat("/usr/share/icons/oxygen/22x22/animations/process-working.png",
>> {st_mode=S_IFREG|0644, st_size=703, ...}) = 0
>> open("/usr/share/icons/oxygen/22x22/animations/process-working.png",
>> O_RDONLY|O_CLOEXEC) = 10
> Ok, maybe you were hitting the icon cache, make sure you clear it, in my case
> it is in
>    .kde/cache-xps/icon-cache.kcache
> so i did
>    rm .kde/cache-xps/icon-cache.kcache
> and then
>    strace okular 2>&1 | grep tool-ellipse-okular.png | grep "= 0"
> and once inside okular open the review bar and i get
>    access("/usr/share/kde4/apps/okular/pics/tool-ellipse-okular.png", R_OK) = 0
>
> This is the file being used.
>
> Albert
>
>> i don't know very well the command maybe i miss something.
>>
>> On 26/01/12 18:31, Albert Astals Cid wrote:
>>> El Dijous, 26 de gener de 2012, a les 15:32:28, Bemipefe va escriure:
>>>> I tried to install in my /home directory and i have launched the
>>>> export
>>>> and kbuildsycoca4 command. Unfortunately if i try to open a pdf with
>>>> okular it just say that there isn't a plugin to open the file. This
>>>> because the .so libraries are not present in /usr and so are not
>>>> loaded.
>>>> I don't know how to load it manually.
>>> Did you readhttp://okular.kde.org/download.php  ?
>>>
>>> If so tell me what was your cmake command and your KDEDIRS command.
>>>
>>>
>>> Albert
>>>
>>>> I tried also in a different distribution on another computer but the
>>>> problem remain.
>>>>
>>>> On 26/01/12 14:29, Bemipefe wrote:
>>>>> Thanks for reply.
>>>>>
>>>>> No i'm not setting this variable because i install directly in the
>>>>> "/usr" directory. I forget to say that the distribution package that
>>>>> contain the okular files was removed before installing okular from
>>>>> source. So i have only the files installed with the "make install"
>>>>> command.
>>>>>
>>>>> Indeed if i open the image in
>>>>> "/usr/share/kde4/apps/okular/pics/tool-ellipse-okular.png"
>>>>> i can see the modified image.
>>>>>
>>>>> However now i'm trying to install in a different directory.
>>>>> I keep you updated.
>>>>>
>>>>> On 25/01/12 22:43, Albert Astals Cid wrote:
>>>>>> Were are you installing? Are you setting KDEDIRS as explained in
>>>>>> http://okular.kde.org/download.php  ?
>>>>>>
>>>>>> Albert
>>>>>>
>>>>>>> Thanks in a advance.
>>>>>>> _______________________________________________
>>>>>>> Okular-devel mailing list
>>>>>>> Okular-devel at kde.org
>>>>>>> https://mail.kde.org/mailman/listinfo/okular-devel
>>>> _______________________________________________
>>>> Okular-devel mailing list
>>>> Okular-devel at kde.org
>>>> https://mail.kde.org/mailman/listinfo/okular-devel
>>> _______________________________________________
>>> Okular-devel mailing list
>>> Okular-devel at kde.org
>>> https://mail.kde.org/mailman/listinfo/okular-devel
> _______________________________________________
> Okular-devel mailing list
> Okular-devel at kde.org
> https://mail.kde.org/mailman/listinfo/okular-devel
>



More information about the Okular-devel mailing list