I am currently using Ubuntu 22.04 LTS.
When I try to upload files using any browser the website does nothing.
In the above image if I click on Add file then "select files from your device".
My file manager does not open.
Drag and drop is working but not a lot of sites support that feature.
When I tried using chrome, the file manager window would launch but after selecting a file the browser would freeze.
I have tried a few fixes:
Refreshing the browser (firefox)
Downloading java plugin add-on
Installing xdg-desktop-portal , xdg-desktop-portal-gtk , ubuntu-restricted-extras through terminal.
These are the links which I used to try resolving this problem:
Ubuntu 10.10 , I tried this fix but couldn't find iced-tea plugin
This is the exact problem I face
I tried this fix
I ran into the same issue, and noticed that when I tried it with Chrome this would cause it to hang. Searching for that brought me to https://askubuntu.com/questions/1404550/google-chrome-freeze-uploading-a-file
which suggests:
sudo apt install xdg-desktop-portal-gnome
This did the trick for me, seems to be a known issue in 22.04 right now.
I had the same problem.
I fixed it disabling hardware acceleration in Google Chrome
I have a very weird, and extremely annoying, problem.
Each time after reboot (or logout), old uninstalled extensions that I tried out and decided not for me, reinstall themselves. I have to go tho gnome extension in Firefox and uninstall them.
Side Issue: for some reason, I can't remove extensions with pending updates. So I update the extensions I wish to remove, which is completely backwards. This would not be an issue given the main issue wasn't there.
I checked the directory ~/.local/share/gnome-shell/extensions . Only desired extensions appear there in ls -a.
Thanks in Advance,
Gal
Some extensions are installed in /usr/share/gnome-shell/extensions. Try checking in that path. You'll need root privileges
I have just installed the splinter 0.8.0. I intalled it like this:
1.Firstly, I have had installed anaconda and the corresponding spyder supports python3.7
2.I installed the latest selenium by using "pip install selenium" on cmd.exe
3.I used "pip -m install splinter" to install splinter0.8.0
4.I installed geckodriver from the github click here
5.I configurated the environment by getting the geckodriver.exe copied to the directory which includes fiefox.exe and get the path into the PATH of the computer
6.To this, the splinter could open firefox but always got some exceptions..
7*.When I then opened the firefox with mouse clicking, the firefox started with page white. And no matter what I input into the search box, nothing happened. What's more, I found that the developer tools couldn't be opened. And all these cases happened when I started firefox through desktop shortcut. Interestingly, when I started it in its directory which it's originally at, the firefox could work. But in this case when I open a new blank page, it didn't work too...
It's so confusing!!! Thanks for help!
The reason may be that the computer had been working long and if you shut it down completely and restart it, the Firefox may come alive. (Also it may be because of Win10's needing relax).
If that doesn't work, I recommend chromedriver.
This is probably a pretty simple problem to fix, but I'm quite new to Linux and certainly Debian so I'm quite lost here. Put quite simply I am trying to remove two different versions of sublime text from a machine running Debian, so I can reinstall just the latest version. This is all on a work computer given to me that I just started using so I'm not sure on past details of how things were installed, etc. Entering the command "sublime" opens sublime build 3083. Build 3114 should also be here but I can't open it. I can't figure out how to remove it because it isn't in apt-cache and when I try apt-get remove for "sublime", "sublime-text", "sublime-text-2", and "sublime-text-3" it can't find any packages under that name. How do I get rid of this thing? Thanks.
NOTE: I check usr/bin and sublime is listed there. So it must have not been installed through the package manager?
Jethro helped me learn this in the comments to the original question above. Thanks! https://askubuntu.com/a/327752
Below is the picture of Android Studio when I first installed it:
I'm using Ubuntu 12.04 with Oracle Java 7. But the fonts are looking very ugly. They are not looking like they look when I see them on eclipse.
Earlier when I installed NetBeans, I had same problem too.
There actually is a solution. You need to install JDK font fix as follows:
sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix
sudo apt-get update
sudo apt-get install openjdk-7-jdk
Then, open studio.vmoptions and optionally studio64.vmoptions in your android-studio/bin directory, and add following lines to both of them (the first one might be already there):
-Dawt.useSystemAAFontSettings=on
-Dswing.aatext=true
-Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
After you reboot, the font rendering is just fine. To get the most Eclipse-like experience, go to File, Settings, Editor, Colors & Fonts, Font. Save the current scheme as a new one, and change the font to "Monospaced" with size of 14.
I've tried several suggested tweaks, tried using FontFix Patched JDK, FontForge, and editing studio.vmoptions; though some of these could show some improvement, it does not come close to the font rendering quality of the non-swing apps like eclipse.
I've found this to be the easiest and cleanest solution:
rm -r ~/.AndroidStudioBeta
If you have installed openjdk-fontfix, or made changes to studio.vmoptions, it is better you revert back those changes to their defaults.
sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix
sudo apt-get update
sudo apt-get install ppa-purge
sudo ppa-purge ppa:no1wantdthisname/openjdk-fontfix
Remove all custom-added JAVA environment variables ($JAVA_HOME, $PATH:$HOME/bin:$JAVA_HOME/bin). Check in files, /etc/profile, ~/.profile, ~/.pam_environment
Install the latest Oracle Java via launchpad ppa
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java8-installer
This ppa installer will usually do more than what a manual JDK configuration will do.
[]
Monospaced fonts like 'Inconsolata' and 'Source Code Pro' works best for me.
You do not need to install OpenJDK or the above-mentioned fix .deb for correct font rendering. Simply launch the Studio with:
_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=lcd -Dsun.java2d.xrender=true' path/to/studio.sh
.. and fonts should render right under Ubuntu with Oracle's JDK 7. Looks even better when you change theme to GTK+ under File -> Settings -> Appearance.
In studio.sh, find this line at the bottom of the file:
eval "$JDK/bin/java" $ALL_JVM_ARGS -Dawt.useSystemAAFontSettings=lcd -Djb.restart.code=88 $MAIN_CLASS_NAME "$#"
and change it to
eval "$JDK/bin/java" $ALL_JVM_ARGS -Dawt.useSystemAAFontSettings=on -Djb.restart.code=88 $MAIN_CLASS_NAME "$#"
This means changing the parameter
-Dawt.useSystemAAFontSettings=lcd (if present)
to
-Dawt.useSystemAAFontSettings=on
Or simply add this param if you don't have it.
What you should do is configure the fonts in the settings as follows:
File > Settings > Editor > Colors & Fonts > Font
In that screen then you save a new scheme clicking in Save as, and putting a name on it, lets say "Custom".
Then below you'll find all the settings you need, you can tweak the font family and the size as well.
Android Studio 1.2 Preview 1 has been released a few hours ago (Mar 9th 2015):
http://tools.android.com/recent/androidstudio12preview1
It also includes several really important fixes that have been requested by Android Studio users, such as high density (retina) support for Windows and Linux.
It is based on IntelliJ IDEA 14.1, and according to the IntelliJ release notes, includes "The HiDPI support for Windows/Linux (scaled icons/font-size, no blur)".
However, I tried this on my machine (Ubuntu 14.10), and could not see any improvements. Maybe someone else has information on how to make it work?