Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- firefox -ProfileManager
- firefox -url http://superuser.com &
- xdotool search --sync --onlyvisible --class "Firefox" windowactivate key F11
- "firefox.exe" -url http://superuser.com -fullscreen
- $ cat /var/tmp/firefoxfullscreen.sh
- #!/bin/bash
- export DISPLAY=:0.0 # eye
- cat > /var/tmp/index.html << EOF
- <html>
- <head><meta http-equiv="refresh" content="3" />
- <style>
- html {
- background: url("http://192.168.0.142:7007/video/vnc.jpeg") no-repeat center center fixed;
- -webkit-background-size: cover;
- -moz-background-size: cover;
- -o-background-size: cover;
- background-size: cover;
- }
- </style>
- </head>
- <body>
- </body>
- </html>
- EOF
- ps aux | grep firefox | awk '{print $2}' | xargs kill -9; # kill me
- firefox "/var/tmp/index.html" & # leave me alone
- sleep 5 # hehehe
- xdotool key F11 # hit full screen
Add Comment
Please, Sign In to add comment