Re: forcing mplayer instead of flash player?
Ole Jørgen Brønner <[email protected]> Mon, 09 May 2011 01:08:14 +0200
| Newsgroups | gmane.comp.web.opera.linux |
|---|---|
| Message-ID | <op.vu6qj0jwvocxtk@tabole> |
I think the newest flash versions deletes the file immediately to make sure it doesn't "leak" if something crashes. You can still find the files in /proc/*/fd as long as the plugin is running. I use the following script to play flash videos "externally": #!/bin/zsh VIDEOS=($(find /proc/*/fd -lname "/tmp/Flash*" 2> /dev/null)) if [[ $#VIDEOS == 0 ]]; then echo "No videos found" exit 0 fi IFS=$'\n' VIDEOS_LS=($(ls -1lHh $VIDEOS)) select CHOICE in $VIDEOS_LS; do if test $REPLY -ge 0 2>/dev/null ; then # just test for integer argument mplayer $VIDEOS[$REPLY] elif [[ $REPLY[1] == c ]]; then VIDEO=$VIDEOS[$REPLY[2,-1]] if read "NAME?Name? "; then if [[ -z $NAME ]]; then NAME=$(ls -l $VIDEO | grep --only-matching "Flash[^ ]*") fi echo "cp $VIDEO ~/\"$NAME.flv\"" cp -i $VIDEO ~/"$NAME.flv" fi fi done It should be floating some userjs scripts that try to replace the flash with mplayer(plugin?), but I've never had any success with them. -- Ole Jørgen Brønner On Thu, 05 May 2011 00:26:17 +0200, Liviu Andronic <[email protected]> wrote: > Dear all > On my system (Xubuntu 10.04) flash eats a lot of CPU cycles and > significantly raises the temp of the system. > > Is there some way to force Opera to use, say, the gnome-mplayer > browser plug-in instead of the bloated flash players? Alternatively, > could anyone hint where does Opera temporary store the cached Flash > files? Until several months ago these always ended up in /tmp and it > was easy to track them down, but since I'm not quite sure how to track > them. > > Thank you > Liviu > -- Opera-Linux: https://list.opera.com/mailman/listinfo/opera-linux More lists: https://list.opera.com/mailman/listinfo/ Unsubscribe: mailto:[email protected]?subject=unsubscribe