You are not logged in.
Pages: 1
Hello,
I'm using 2 monitors, if i make full screen on youtube on one of my monitors and click mouse on the 2nd one fullscreen is closing, how i can fix it ? i need to have fullscreen on one of my monitor and work on nextone.
Offline
You might want to set FF to fullscreen and try Flash Game Maximizer
https://addons.mozilla.org/en-US/firefo … maximizer/
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Its not wkoring, it resize my windows to center of my screen - http://img833.imageshack.us/img833/3204/kyet.jpg
and still 'fullscreen' is closing
Last edited by McQueenNewbie (2013-06-14 21:46:48)
Offline
To fix it I used the AUR fullscreenhack package. It installs a library that you have to manually load with LD_PRELOAD:
LD_PRELOAD=/path/to/libfshack-npapi.so /usr/bin/firefox
You may just create a simple script that calls Firefox like that and put it into your path. It fixed all full screen flash player issues I've had without it before.
Last edited by pks (2013-06-15 07:38:39)
Offline
LD_PRELOAD=/path/to/libfshack-npapi.so /usr/bin/firefox
ERROR: ld.so: object '/path/to/libfshack-npapi.so' from LD_PRELOAD cannot be preloaded: ignored.
(process:1223): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
No protocol specified
No protocol specified
Error: cannot open display: :0
i installed fullscreenhack package but it change nothing
Offline
You have to insert the correct path to libfshack-npapi.so. I guess it will reside in /usr/lib, which would change it to the following command:
LD_PRELOAD=/usr/lib/libfshack-npapi.so /usr/bin/firefox
Offline
That path is correct, file is in /usr/lib but still got
fullscreen hack loaded... running under flash = 0
(process:893): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
No protocol specified
No protocol specified
Error: cannot open display: :0
Offline
The GLib warning can safely be ignored. The second error 'Error: cannot open display: :0' doesn't look well, though. I guess I'm safe to assume you're running the command from within a X terminal?
I just saw that the hack is only intended to fix issues with Nvidia cards. I've got an Intel graphics chip but it still fixes the click-close issue and problems with size. But, well...
Offline
If you want to use it only for YT videos, I suggest you try something different. Get the link and display it in a mediaplayer. I am doing it this way:
- install FlashGot
- add your mediaplayer as download manager (I use SMPlayer)
- set the manager for "flashgot media" to your player
- open YT video, wait for it to play and pause it
- use the context menu of the media icon in the addon/statusbar to open the video.
Or use a Flash downloader addon.
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
The GLib warning can safely be ignored. The second error 'Error: cannot open display: :0' doesn't look well, though. I guess I'm safe to assume you're running the command from within a X terminal?
I just saw that the hack is only intended to fix issues with Nvidia cards. I've got an Intel graphics chip but it still fixes the click-close issue and problems with size. But, well...
corret i'm using it in x terminal
If you want to use it only for YT videos, I suggest you try something different. Get the link and display it in a mediaplayer. I am doing it this way:
- install FlashGot
- add your mediaplayer as download manager (I use SMPlayer)
- set the manager for "flashgot media" to your player
- open YT video, wait for it to play and pause it
- use the context menu of the media icon in the addon/statusbar to open the video.
Or use a Flash downloader addon.
i need it not only for youtube, and i dont wanna download all files to watch it (i watch over 1k movies on yt per day, its part of my work).
Last edited by McQueenNewbie (2013-06-15 09:11:57)
Offline
Look at step 2 in "Get Flash videos to remain full screen when working (clicking) in the other desktop" in the following link: http://www.webupd8.org/2012/10/ubuntu-m … creen.html
It's a workaround for Ubuntu but I think it also works on Arch.
Offline
mplayer "path-to-url" #mplayer2
mpv "path-to-url"
Custom hint mode for Pentadactyl:
" .pentadactylrc
" Launch current URL as an argument
nmap <S-q> -s -js commands.execute('!mpv "' + content.location.href.replace(/([$`"\\])/g, "\\$1") + '" &> /dev/null &');
" Custom hint
js <<EOF
hints.addMode("q", "Launch video from hint", function (elem, loc)
commands.execute('!mpv "' + loc.replace(/([$`"\\])/g, "\\$1")
+ '" &> /dev/null &'));
EOF
Alternatively you could use quvi which can automatically set the preferred quality and window title. I.e.
# ~/.quvirc
exec = "mpv --quiet --cache 4096 --title=%t %u"
format = fmt45_720p,fmt44_480p,fmt35_480p,fmt101_360p,fmt100_360p,fmt43_360p,fmt18_360p,fmt34_360p,fmt83_240p,fmt36_240p,fmt5_240p
Last edited by Earnestly (2013-06-15 10:34:34)
Offline
Look at step 2 in "Get Flash videos to remain full screen when working (clicking) in the other desktop" in the following link: http://www.webupd8.org/2012/10/ubuntu-m … creen.html
It's a workaround for Ubuntu but I think it also works on Arch.
well i think its gonna work, but how i can run ghex as root ? i cant save changes from my user login ?
gksu ghex /path/to/libflashplayer.so
gksu ghex /usr/lib/mozilla/plugins/libflashplayer.so
No protocol specified
(gksu:1632): Gtk-WARNING **: cannot open display: :0
mplayer "path-to-url" #mplayer2 mpv "path-to-url"
Custom hint mode for Pentadactyl:
" .pentadactylrc js <<EOF hints.addMode("q", "Launch video from hint", function (elem, loc) commands.execute('!mpv "' + loc.replace(/([$`"\\])/g, "\\$1") + '" &> /dev/null &')); EOF
i think i'm too big newbie to understand what do you mean ? i'm very glad you want to help me but could you explain what to do ?
Last edited by McQueenNewbie (2013-06-15 10:34:06)
Offline
i think i'm too big newbie to understand what do you mean ? i'm very glad you want to help me but could you explain what to do ?
http://5digits.org/pentadactyl/ is a plugin for Firefox which adds vim-like interaction and mouse-less browsing. I'm sure the same can be done for vimperator, dwb and vimprobable but I'm unsure how.
The entire rational is to bypass flash entirely where possible.
All of that regex is simply used to clean up the url and escape any malicious content. E.g. "http://some.malicious.url/?=$(rm -rf ~)&potatoes" becomes harmless.
Last edited by Earnestly (2013-06-15 10:39:29)
Offline
I was trying to install it but pentadactyl cant be used with Fiefox 21.0
Offline
stipo wrote:Look at step 2 in "Get Flash videos to remain full screen when working (clicking) in the other desktop" in the following link: http://www.webupd8.org/2012/10/ubuntu-m … creen.html
It's a workaround for Ubuntu but I think it also works on Arch.
well i think its gonna work, but how i can run ghex as root ? i cant save changes from my user login ?
gksu ghex /path/to/libflashplayer.so gksu ghex /usr/lib/mozilla/plugins/libflashplayer.so No protocol specified (gksu:1632): Gtk-WARNING **: cannot open display: :0
Have you instaled sudo?
Edit: You could also use "su root" to run commands as root.
Last edited by stipo (2013-06-15 10:53:10)
Offline
yes i got sudo
but
[root@Alice luis]# gksudo ghex /usr/lib/mozilla/plugins/libflashplayer.so
No protocol specified
(gksudo:2224): Gtk-WARNING **: cannot open display: :0
[root@Alice luis]#
i dont know how to run it as root
Offline
I was trying to install it but pentadactyl cant be used with Fiefox 21.0
Yes it can, simply get the nightly or clone the repo and build it, e.g.
hg clone https://code.google.com/p/dactyl/
cd dactyl
make pentadactyl xpi
firefox downloads/pentadactyl-1.1pre.xpi
But, it may not be for you, not yet perhaps. Good luck anyway.
Offline
McQueenNewbie wrote:I was trying to install it but pentadactyl cant be used with Fiefox 21.0
Yes it can, simply get the nightly or clone the repo and build it, e.g.
hg clone https://code.google.com/p/dactyl/ cd dactyl make pentadactyl xpi firefox downloads/pentadactyl-1.1pre.xpi
But, it may not be for you, not yet perhaps. Good luck anyway.
wel its look like, i just started using linux and learning it, i will try to understand what is that
/add
well i installed it (it was easy ^_^), but still it didnt fix my problem its the same problem but now my hotkeys like ctr+a didnt work
Last edited by McQueenNewbie (2013-06-15 11:05:23)
Offline
yes i got sudo
but
[root@Alice luis]# gksudo ghex /usr/lib/mozilla/plugins/libflashplayer.so No protocol specified (gksudo:2224): Gtk-WARNING **: cannot open display: :0 [root@Alice luis]#
i dont know how to run it as root
Have you configured sudo with visudo?
You need to add:
your_username ALL=(ALL) ALL
Offline
The point was to bypass your problem, not fix it
Pentadactyl will take over many of your keys, as I said, it's supposed to mimic vim. In the case of (C-a) it will increment numbers in TEXT EDIT mode (C-t in INSERT MODE) while C-x will decrement.
Offline
McQueenNewbie wrote:yes i got sudo
but
[root@Alice luis]# gksudo ghex /usr/lib/mozilla/plugins/libflashplayer.so No protocol specified (gksudo:2224): Gtk-WARNING **: cannot open display: :0 [root@Alice luis]#
i dont know how to run it as root
Have you configured sudo with visudo?
You need to add:
your_username ALL=(ALL) ALL
i add my username to visudo
so i'm tring sudo ghex in terminal and its invalid option
Offline
Could you post your /etc/sudoers?
Offline
i need it not only for youtube, and i dont wanna download all files to watch it (i watch over 1k movies on yt per day, its part of my work).
My FlashGot solution is not downloading the video. I use FlashGot to extract the video url, and let it open smplayer to stream it.
Another very good solution is popvideo. It puts the flash player into a new window which you can set to fullscreen using your window manager (Alt-F11 for me). IT is not exactly the same (the buttons won't be hidden, but I don't think that is a real problem) https://addons.mozilla.org/de/firefox/addon/popvideo/
Last edited by progandy (2013-06-15 13:25:35)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Devilspie is another potential solution (haven't tried it with dual monitors) . You would have to adjust the geometry string depending on your resolution:
# ~/.devilspie/flash-fullscreen-firefox.ds
(if
(is (application_name) "npviewer.bin")
(begin
(focus)
(above)
(geometry "1360x768+1920+0")
)
)
EDIT: actually, its not quite that simple I guess, because of input grabbing.. maybe you have to experiment with something like this:
(if
(is (application_name) "npviewer.bin")
(begin
(stick)
(wintype "dock")
(geometry "1360x768+1920+0")
)
)
Last edited by hokasch (2013-06-15 14:11:12)
Offline
Pages: 1