Font are not displayed in Idea - linux

After updating jrk7-openjdk and jre7-openjdk fonts don't displaying from the Idea. Reinstalling the packages openjdk and idea didn't help.
uname -a:
Linux ftp27host 3.14.6-1-ARCH #1 SMP PREEMPT Sun Jun 8 10:08:38 CEST 2014 x86_64 GNU/Linux

Thanks, user3745346. I had the same problem with Idea ultimate under ArchLinux. Fixed by changing line
-Dawt.useSystemAAFontSettings=lcd
to
-Dawt.useSystemAAFontSettings=on
in the IDEA_HOME/bin/idea64.vmoptions

I had the same problem with phpstorm (it's based on idea). I've found a solution by adding:
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on'
to my /usr/bin/phpstorm.sh
The file is now:
#!/bin/sh
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on'
cd /usr/share/phpstorm/bin/
./phpstorm.sh "$#"
I think it will be the same with idea.

Related

pyAlsaaudio install on openSUSE

I'm trying to install pyAlsaaudio on my openSUSE distro
Output of uname -a: Linux linux-0cd5 4.12.14-lp150.12.48-default #1 SMP Tue Feb 12 14:01:48 UTC 2019 (268f014) x86_64 x86_64 x86_64 GNU/Linux
I downloaded the source from this link,
http://larsimmisch.github.io/pyalsaaudio/pyalsaaudio.html
which includes a py setup file.
Initially I didn't have the gcc compiler installed, so I just installed it.
Snipped output of gcc -v: gcc version 7.3.1 20180323 [gcc-7-branch revision 258812] (SUSE Linux)
The setup.py file is still giving me issues, I think because I am missing the alsa/asoundlib.h file, similar to this thread:
https://ubuntuforums.org/showthread.php?t=1586707
However, the solution there doesn't work for openSUSE, there isn't a libasound2-dev available for openSUSE.
Any ideas?
I just found an answer for this here:
https://mailman.alsa-project.org/pipermail/alsa-devel/2013-December/069794.html
I used the following command:
sudo zypper install -C 'pkgconfig(alsa)'
which pointed me to a package I wasn't aware of - "alsa-devel". I wasn't able to find this package when I searched for things like "libasound"
Now I have the proper alsa/asoundlib.h file which is something that the creators of pyalsaaudio note could cause issues if it is absent.
setup.py compiles without issues now! Hope this helps someone else avoid losing 2 hours of googling!

Inkscape stopped importing eps from command line

Maybe it was with an earlier version of inkscape, but I used to be able to convert eps files to pdf files from the command line.
Eg. I'd type
inkscape test.eps --export-pdf=test.pdf
And then my file would convert into a pdf, no problems. A few system updates and whatever else later, I now get the error.
%!PS-Adobe-3.0 EPSF-3.0
^
** (inkscape:3654): WARNING **: Specified document taylor.eps cannot be opened (does not exist or not a valid SVG file)
Any suggestions for how I might be able to get things up and working again?
Inkscape --version
Inkscape 0.48.4 r9939 (Jan 22 2014)
uname -a
Linux MyMachineName 4.4.0-75-generic #96~14.04.1-Ubuntu SMP Thu Apr 20 11:06:30 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
This will definitely work
inkscape test.eps --export-pdf=test.pdf --without -gui

Cannot install Anaconda on mac

first, I tried command
./Miniconda3-latest-MacOSX-x86_64.sh
and it reports that
line 296:
/data/keeling/a/xinyix3/miniconda/pkgs/python-3.6.0-0/bin/python:
cannot execute binary file ERROR: cannot execute native osx-64 binary,
output from 'uname -a' is: Linux keeling.earth.illinois.edu
2.6.32-642.3.1.el6.x86_64 #1 SMP Tue Jul 12 11:25:51 CDT 2016 x86_64 x86_64 x86_64 GNU/Linux
I am really new to Linux. Is there any suggestions of failure of installation?
You seem to be running the wrong binary/script for Miniconda. Use the Miniconda3-latest-Linux-x86_64.sh script if you're on linux, not the OSX one.

IDA doesn't work inside screen

I am trying to run idal64 (IDA pro) inside a screen session, but I receive this error:
TVision error: Can not load libcurses.so
Without libcurses can work only with xterm/linux
Aborted (core dumped)
I installed 'libncurses5-dev', 'libncursesw5-dev', 'lib32ncurses5-dev' and 'libx32ncurses5-dev', but nothing changed.
This library seems to be correctly installed:
#find / -name libcurses.so
/usr/lib32/libcurses.so
/usr/lib/x86_64-linux-gnu/libcurses.so
/lib/libcurses.so
/lib64/libcurses.so
/lib32/libcurses.so
My machine info:
Linux 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:11:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
The weird thing is that IDA correctly works outside screen.
Any idea?
I ran into the same issue running idal in tmux, and determined that
env TERM=xterm /path/to/idal
works around this issue for 32-bit idal. Haven't tried idal64 but I expect this will work for you as well.

os not supported error while building hotspot

I am trying to build openjdk from source and I am using "HOTSPOT_RELEASE_VERSION=20.0-b12" on openjdk6 on ubuntu 12.04.
It prompts:
This OS is not supported:" `uname -a`; exit 1;<br>
This OS is not supported: Linux joker-Inspiron-1545 3.2.0-35-generic-pae #55-Ubuntu SMP Wed Dec 5 18:04:39 UTC 2012 i686 i686 i386 GNU/Linux.
Can someone guide me on this please ?
change hotspot/make/linux/Makefile
SUPPORTED_OS_VERSION = 2.4% 2.5% 2.6% 2.7% 3%
An easier way than editing a file is to set the environment variable
DISABLE_HOTSPOT_OS_VERSION_CHECK=ok

Resources