maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   MeeGo / Harmattan (https://talk.maemo.org/forumdisplay.php?f=45)
-   -   n9 stock twitter image cache cleanup path.. (https://talk.maemo.org/showthread.php?t=85296)

soryuuha 2012-07-06 04:26

n9 stock twitter image cache cleanup path..
 
hi guys,

my twitter client fetched wrongly-aligned twitter contact picture..

how do i clear the twitter's iamge cache?

dicksonleong8 2012-07-06 04:43

Re: n9 stock twitter image cache cleanup path..
 
Twitter app keep profile image caches at /home/user/.cache/data/twitter/profile

You can clean up through terminal or filebox

soryuuha 2012-07-06 08:05

Re: n9 stock twitter image cache cleanup path..
 
hi dickson, thanks for the response, it indeed clear the image cache..however, my image still not aligned well..got empty white spaces.......any help on this?

http://i.imgur.com/8Ed3A.png

dicksonleong8 2012-07-06 09:33

Re: n9 stock twitter image cache cleanup path..
 
Sometimes i also have such problem. The bug seem to be cause by the app itself, not the cached image

soryuuha 2012-07-07 08:06

Re: n9 stock twitter image cache cleanup path..
 
Quote:

Originally Posted by dicksonleong8 (Post 1232809)
Sometimes i also have such problem. The bug seem to be cause by the app itself, not the cached image

thanks dickson! your name resembles character in Xenoblade Chronicles anyway!

Roth 2014-10-28 20:09

Re: n9 stock twitter image cache cleanup path..
 
Quote:

Originally Posted by soryuuha (Post 1233257)
thanks dickson! your name resembles character in Xenoblade Chronicles anyway!

Xenoblade is a great game. I'm looking forward to the new one on Wii U next year.

You can use this command to clear the cache:

rm /home/user/.cache/data/twitter/twcache*

and there's a help app called ProfileMatic that you can set to run the command every so often.

zxcvbnm3230 2014-10-28 20:54

Re: n9 stock twitter image cache cleanup path..
 
This is a translated version of the workaround from russian Maemo/MeeGo/Sailfish community on 4pda:
1. Go /home/user/.cache/data/twitter/profile and find a folder named as the first two letters of your twi login (example: for twitter login KoltyshevNV it's a folder named Ko, so it's case sensitive).
2. There are files named like $LOGIN_bigger.png and $LOGIN_orig.png (where $LOGIN means your login). The file you want is $LOGIN_bigger.png, delete it (you can simply check it by opening).
3. After that you should play around with standard twi app (I opened my twitter profile in the stock app, then clicked on my avatar to see the original, whereas 4pda advises just to post anything). You will see you normal avatar in the app.
4. This is VERY IMPORTANT! If you ignore this step, your avatar will break again some day, so to prevent it you should do the following in terminal:
Code:

devel-su
#rootme
cd /home/user/.cache/data/twitter/profile/YOUR-FOLDER
chmod -w $LOGIN_bigger.png

where YOUR-FOLDER is a folder you've found in the first step of this instruction and $LOGIN is the same as in the second step.

Since this moment your twi avatar on the feed page will be normall (note that your avatar for previous tweets will NOT be 'repaired').

I think, this is clear enough :)


All times are GMT. The time now is 16:03.

vBulletin® Version 3.8.8