I have tried to install Flash Player over the "Ubuntu Software Center", but it won't work on Firefox. I had prevously installed Pepper Flash and now I have messed up with all. When I want to watch a video on Youtube, it appears "The plugin is disabled" and after a few seconds, the HTML5 Player loads and plays the video. All plugins are activated. On Facebook it won't even appear. It shows following:
I don't know how to proceed. It won't work on Facebook neither Chromium...
From time to time it shows a yellow square with a "X" in it with following message instead of this above: "Failed to load libpepflashplayer.so".
It's very annoying. How can I wipe all this players from my machine and begin from zero?
Thanks in advance
To Remove 32bit Flash Player on Ubuntu 14.04
Step 1 » Open Ubuntu Software Center.
Step 2 » Click the Installed button next to the All Software button.
Step 3 » Find the Adobe Flash Player package.
My installation was found under the Uncategorized section and has the name
Adobe Flash Player plugin version xx.
Step 4 » Click the Remove button.
To Install 64bit Flash Player on Ubuntu 14.04
Step 1 » Open /etc/apt/sources.list with a text editor (i.e. Vim, Gedit, etc.) Find and uncomment the below lines.
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner
Step 2 » Update the repository. (Note: Don't type the $)
$ sudo apt-get update
Step 3 » Install flash plugin using the below command.
$ sudo apt-get install adobe-flashplugin
Step 4 » Test your installation.
Click this link to test your installation.
Source: How to Install Adobe Flash Player on Ubuntu 14.04
I also faced the same problem on my ubuntu 12.04 LTS 64bit. Use below commands to update your adobe flash player:
sudo apt-get update
It will ask for your password.
sudo apt-get install -y flashplugin-installer
You may need flashplugin-installer and browser-plugin-freshplayer-pepperflash or adobe-flashplugin depending on the browser you use.
See https://help.ubuntu.com/stable/ubuntu-help/net-install-flash.html.en for a comprehensive answer.
Related
I would like to develop Flutter web app on Windows Subsystems for Linux (Debian 10). I followed this instruction. https://flutter.dev/docs/get-started/codelab-web
flutter channel beta
flutter upgrade
flutter config --enable-web
First, I input these commands in my terminal and all of them worked fine.
Second, I tried flutter doctor command and this is the result.
Downloading android-arm-release/linux-x64 tools... 2.1s
Downloading android-arm64-profile/linux-x64 tools... 1.8s
Downloading android-arm64-release/linux-x64 tools... 1.6s
Downloading android-x64-profile/linux-x64 tools... 1.6s
Downloading android-x64-release/linux-x64 tools... 1.5s
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.18.0-11.1.pre, on Linux, locale en_US.UTF-8)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, set ANDROID_SDK_ROOT to that location.
You may also want to add it to your PATH environment variable.
[✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[!] Android Studio (not installed)
[✓] Connected device (1 available)
! Doctor found issues in 3 categories.
I develop web app, so I don't need Android toolchain and Android Studio, but I need Chrome.
I think there are two ways.
install Chrome on WSL => I searched the Internet, but I couldn't find the way to do so.
user Chrome on Windows 10(not WSL) => I searched the Internet (for example:flutter chrome "windows subsystems for linux"), but I couldn't find the way to do so.
Could you give me any advice?
Try setting the environment variable CHROME_EXECUTABLE to the path of the Chrome executable installed on Windows, so Flutter can locate it.
Turns out, you just need to tell flutter where chrome.exe is located on your host windows machine!
One way to do this is to use GUI Apps, which unfortunately requires WSL version 2 and Windows 11. Read More
Making WSL and GUI Apps ready
If you don't already have wsl, run Powershell in Admin mode and run
wsl --install -d Ubuntu
sudo apt update
change the distro as you like
If you have, run these to make sure it's ready
wsl --set-default-version 2
wsl --update
wsl --shutdown
sudo apt update
Installing Google Chrome on WSL
Change directories into the temp folder: cd /tmp
Use wget to download it: sudo wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
Get the current stable version: sudo dpkg -i google-chrome-stable_current_amd64.deb
Fix the package: sudo apt install --fix-broken -y
Configure the package: sudo dpkg -i google-chrome-stable_current_amd64.deb
To launch, enter: google-chrome
You should be good to go
Running flutter doctor should mark web development as ready, and projects should run with this command:
flutter run -d chrome --web-renderer canvaskit
My WSL2(Windows 10 build 18363) did not recognise the environment variable CHROME_EXECUTABLE.
So, I also added the environment variable WSLENV to 'CHROME_EXECUTABLE/p'.
(https://adamtheautomator.com/windows-subsystem-for-linux/#Sharing_Environment_Variables)
Then, it works!
PhpStorm was running fine till this morning but suddenly it has stopped working. Since the IDE was not loading at all I decided to reinstall it.
The first step was I used the following command to remove the application
$ sudo rm -R ~/Phpstorm*
Then I downloaded version 2016.1 from https://confluence.jetbrains.com/display/PhpStorm/Previous+PhpStorm+Releases and followed the instruction as shown in this article:
https://www.jetbrains.com/help/phpstorm/install-and-set-up-product.html
But neither any launcher icon was created nor I am able to find PhpStorm in application search.
Running $ ./phpstorm.sh in terminal window gives me
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=350m;
support was removed in 8.0
The above message is familiar to me because it used to come every time I run PhpStorm from terminal.
But after reinstall, the message is appearing but the application does not start.
Edit
Content of /usr/share/applications/phpstorm.desktop
[Desktop Entry]
Version=5.0.4
Name=JetBrains PhpStorm
# Only KDE 4 seems to use GenericName, so we reuse the KDE strings.
# From Ubuntu's language-pack-kde-XX-base packages, version 9.04-20090413.
GenericName=Text Editor
Exec=phpstorm
Terminal=false
Icon=/opt/PhpStorm-145.1616.3/bin/webide.png
Type=Application
Categories=TextEditor;IDE;Development
X-Ayatana-Desktop-Shortcuts=NewWindow
[NewWindow Shortcut Group]
Name=New Window
Exec=phpstorm
TargetEnvironment=Unity
Reference article:
https://blog.shaharia.com/create-phpstorm-luncher-and-terminal-command-on-ubuntu
I am trying to run my Cucumber tests headlessly with Chrome on Ubuntu 14.04 (EC2 instance so no GUI). So far my setup allows this, as the below screenshot shows:
I have an issue when I come to a page with flash on it:
I have restarted the EC2 instance and killed all chrome processes, still no joy.
To clarify, a test will start and chrome opens the page with flash on it and I get this message. If I then end the test and start it again I get the same problem. I guess this is not actually restarting chrome as it is a new instance each time?
So to run these tests I am using the headless gem here which acts as the interface to xvfb.
I have Google Chrome 57.0.2987.133 and have added libflashplayer.so to /opt/google/chrome/pluginsusing this https://askubuntu.com/questions/14629/how-do-i-enable-the-partner-repository
A few extras things I have tried include:
sudo apt-get install pepperflashplugin-nonfree
sudo update-pepperflashplugin-nonfree --install
Is there a way to get this to work so I can render flash based sites? Do I need to enable the flash plugin each time I open chrome? I'm hoping I've missed something obvious.
Update
I have tried setting the pepperflashpluginpath when creating the Chrome profile but this is still not working:
Capybara.register_driver :chrome do |app|
chrome_binary = '/usr/bin/google-chrome'
Selenium::WebDriver::Remote::Capabilities.chrome("chromeOptions" => { "binary" => chrome_binary, "args" => ["--ppapi-flash-path=/usr/lib/pepperflashplugin-nonfree/libpepflashplayer.so"] })
Capybara::Selenium::Driver.new(app, :browser => :chrome, :desired_capabilities => capabilities)
end
Thanks
There were three key parts in getting this to work.
Install Chromium Browser
sudo apt-get install chromium-browser (at time this installed version 58)
The Chrome binary is now installed at
/usr/bin/chromium-browser
Install Flash plugin
https://askubuntu.com/questions/531672/how-to-install-flash-payer-in-ubuntu-14-04-lts
First go to /etc/apt/sources.list and uncomment the lines
deb http://archive.canonical.com/ubuntu trusty partner
deb-src http://archive.canonical.com/ubuntu trusty partner
Then run
sudo apt-get update
sudo apt-get install adobe-flashplugin
This installs the flash plugin at
/usr/lib/adobe-flashplugin/libflashplayer.so
Install Chrome Driver
Then run
sudo apt-get install chromium-chromedriver
sudo ln -s /usr/lib/chromium-browser/chromedriver /usr/bin/chromedriver
That's pretty much it, these were the steps that got me running this with Cucumber headless.
I want to downgrade my chrome on Ubuntu
Because I have problems when selenium runs against Chrome 34.
I have installed chrome 33.
But then every once in a while the auto-updater update the chrome.
How can i disable the auto-upadter on Linux specifically?
I had a similar task recently. This is the script I ran to download previous Chrome version, disable auto update and check the installed version:
sudo wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_75.0.3770.142-1_amd64.deb && \
sudo dpkg -i google-chrome-stable_75.0.3770.142-1_amd64.deb && \
sudo apt-mark hold google-chrome-stable && \
google-chrome-stable --version \
you can google to find an archive website. I have mentioned 2 of them here, though there are hundreds of them around.
0- choose the version you want to install by going to an archive website like this:
http://www.ubuntuupdates.org/pm/google-chrome-stable
1- In the Download section download the 64-Bits or 32-Bits package suitable for your OS ( or you can directly Press APT_INSTALL button)
3- Install the package using Ubuntu software center. you may need to remove the existing version first.
4- for disabling auto updates you can go to SystemSettings/ Software & Updates from Ubuntu applications Menu
Doing the same things command line:
I assume your user name is "user" you replace it with your username.
1- Browse the website http://www.slimjet.com/chrome/google-chrome-old-version.php or any other archive website.
2- Download a proper version of google-chrome ( I brought 49.0.2623.75 Linux_64)
3- Save the downloaded file in /home/user/Downloads
4- Open a console and execute the following commands:
user#host:~/workspace $ cd ~/Downloads/
user#host:~/Downloads $
user#host:~/Downloads $ sudo dpkg -i ./chrome64_49.0.2623.75.deb
of course you would replace the file name with the one you downloaded.
You can search for software and updates in your dash bar
You can click on Softwares and updates app which is listed
Go to the other Software tab in the window which is opened
you can uncheck the http://dl.google.com/linux/chrome/deb/stable main
and then you can uninstall the new version of chrome and install the old one.
Hope this helps.
System:
Ubuntu 14.04.2 LTS (kernel: 3.13.0-45-generic)
Kodi (14.2-BETA1 Git:2259d0b). Platform: Linux x86 64-bit
Original XBOX 360 wireless controller with Xbox 360 USB Wireless Adapter
What I did:
Install ubuntu-xboxdrv:
sudo apt-add-repository -y ppa:rael-gc/ubuntu-xboxdrv
sudo apt-get update
sudo apt-get install ubuntu-xboxdrv
Tested if it works with:
jstest: YES
sdl-jstest: YES
retroarch and mupen64plus playing N64 Mario Kart: YES
Kodi: NOOOO ????
I enabled extensive logging for kodi and uploaded a logfile here: http://xbmclogs.com/psky8dtse (until 20. March '15)
Kodi does not detect the joystick even though it is available over SDL and /dev/input/js0
UPDATE: Running Kodi as root fixes the problem. So it seems there are permission issues. Still don't know how to fix this...
UPDATE2 / FIX: I wrote a NodeJS-bridge between Kodi and the Xbox Controller: https://github.com/cgrossde/XboxControllerKodiBridge
This way only the Bridge needs to run as root and Kodi can continue to run as an unprivileged user. It includes an upstart script that it starts/stops with Kodi.
You have to add the unprivileged user to group "input" (see /etc/group), as "/dev/input" uses this group.