Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Flashplayer default to "Low Quality" <-- Solved
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
iphands
n00b
n00b


Joined: 01 Oct 2005
Posts: 61

PostPosted: Thu Mar 01, 2007 3:51 am    Post subject: Flashplayer default to "Low Quality" <-- Solved Reply with quote

This one has always bugged me...
I want my flash player (banner ads, and youtube alike) to default to low quality or no anti aliasing.
Is there a simple fix??

Thx,
-Ian


Last edited by iphands on Fri Apr 13, 2007 6:01 am; edited 1 time in total
Back to top
View user's profile Send private message
iphands
n00b
n00b


Joined: 01 Oct 2005
Posts: 61

PostPosted: Fri Mar 02, 2007 2:49 am    Post subject: Reply with quote

I have done some research on my own system (the net yields almost nothing).
Take a look at a grep of an strace on flashplayer:
Code:

execve("/usr/bin/flashplayer", ["flashplayer"], [/* 58 vars */]) = 0
stat64("flashplayer", 0xbfa4e840)       = -1 ENOENT (No such file or directory)
read(4, "/usr/bin/flashplayer\n", 1024) = 21
stat64("/usr/bin/flashplayer", {st_mode=S_IFREG|0755, st_size=7811616, ...}) = 0
open("/home/iphands/.flashrc", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/share/icons/gflashplayer128.xpm", 0xbfa4f800) = -1 ENOENT (No such file or directory)
stat64("/usr/share/icons/gflashplayer128.xpm", 0xbfa4f800) = -1 ENOENT (No such file or directory)
open("/usr/bin/flashplayer", O_RDONLY)  = 4
open("/lib/tls/i686/sse2/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/sse2/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/tls/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/i686/sse2/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/i686/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/sse2/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/sse2/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/i686/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/sse2/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/sse2/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/i686/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/sse2/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/libflashsupport.so", O_RDONLY) = -1 ENOENT (No such file or directory)


Notice this line:
open("/home/iphands/.flashrc", O_RDONLY) = -1 ENOENT (No such file or directory)

Wonder what that is? Could this be an in house conf file? I looked around but found nothing on it.....
What do you all think?
Back to top
View user's profile Send private message
iphands
n00b
n00b


Joined: 01 Oct 2005
Posts: 61

PostPosted: Fri Apr 13, 2007 6:01 am    Post subject: Wooo hoooo! Reply with quote

I did it!

To accomplish this goal, one would have to edit the binary.
This should do it:

Code:
cd <where your plugin resides>
cp libflashplayer.so libflashplayer.so.bak && sed -i 's/HIGH/LOW/g' libflashplayer.so && sed -i 's/LOW/HIGH/' libflashplayer.so


Taadaa. Just restart your browser!
Remember to restore the backup if the plugin fails. Oh and I take no responsibility for and damage this may cause. (I've only tested on flash 9) :D
Oh and there may be multiple instances of the plugin throughout the system. Renaming them is an easy way to determine which one your particular browser relies on! (it may differ for firefox/konqueror/mozilla users)

EDIT: Almost all of the flash content is "Low Quality" by default now but, I still get a high quality flash banner occasionally.
Back to top
View user's profile Send private message
chrissywolcott
n00b
n00b


Joined: 26 Jun 2008
Posts: 1

PostPosted: Thu Jun 26, 2008 4:33 pm    Post subject: help for a newbie? Reply with quote

where do i go to run/install this code? i tried running it from the command line but that doesn't work.

excuse the ignorance. i'm a newbie
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum