Idea on linux

For my normal work I use Idea under Wndows. Every now and then I try
running under Linux. Usually there is some sort of problem which prevents
me from switching. This time I'm running Debian with a 2.6 kernel and Gnome
2.6.

Of course this time I ran into a problem as well. When I try to change the
font for the editor the whole app just bombs out without even an error
message. One minute it's there the next it's gone. Has this happened for
anyone else? Any fix you might suggest?




0
11 comments
Avatar
Permanently deleted user

Nothing helpful but just to let you know you're not alone. Actually there's some font preinstalled at Debian that
confuses AWT to death.

http://www.intellij.net/tracker/idea/viewSCR?publicId=28549

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

Glen Stampoultzis wrote:

message. One minute it's there the next it's gone. Has this happened for
anyone else? Any fix you might suggest?


Can't say I've seen that under Fedora Core 2. Java itself has a few
issues with the 2.6 kernel ( and IDEA highlighted these quite early, but
work arounds had been made ).

I have IDEA starting with:

exec $IDEA_JRE/java -Didea.aspectj.support=enabled
-Didea.jars.nocopy=true -Didea.plugins.path=$HOME/.IntelliJIdea/plugins
-Didea.system.path=$IDEA_SYSTEM_PATH -Dcvs.dont.read.in.thread=true
-Didea.config.path=$IDEA_CONFIG_PATH
-Didea.popup.weight=$IDEA_POPUP_WEIGHT -Xverify:none -XX:+UseParallelGC
$JVM_ARGS $MAIN_CLASS_NAME $args

The idea-jars-nocopy seems to be the main one which eases some pain on
2.6 kernels ( java.nio.* issues I believe ).

0
Avatar
Permanently deleted user

Maxim Shafirov (JetBrains) wrote:

Nothing helpful but just to let you know you're not alone. Actually
there's some font preinstalled at Debian that confuses AWT to death.


Ooo. Never knew of that one...

0
Avatar
Permanently deleted user

I've noticed this too (also running Debian with 2.6 kernel and GNOME 2.6).

Running IDEA using JDK 1.5 (or 5 or whatever it is going to be called...) fixes this for me.

0
Avatar
Permanently deleted user

There's no need for no.copy.jars anymore due to a workaround you've mentioned.

--
Maxim Shafirov
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Avatar
Permanently deleted user

There are enough issues with running IDEA with JDK 1.5 to make this impractical. Lots of dialogs (the ones that uses JTable) just throw exceptions, and debugging doesn't work.

That's too bad, because the font handling improvements in 1.5 are really nice, specially for laptop users and those of us who prefer dark color schemes.

0
Avatar
Permanently deleted user

I user IDEA under linux for day-to-day work without any serious problem, excepting the stupid metacity focus policy. If you're using any java program under Linux, I seriously recommend using kwin as your window manager (you don't need the whole KDE desktop).

0
Avatar
Permanently deleted user

On Mon, 12 Jul 2004 17:26:45 +0400, Marcus Brito wrote:

I user IDEA under linux for day-to-day work without any serious problem,
excepting the stupid metacity focus policy. If you're using any java
program under Linux, I seriously recommend using kwin as your window
manager (you don't need the whole KDE desktop).


I'm not having problems with xfwm4 (the XFce 4 window manager). Well, I'm
not seeing the modal dialog problem you described recently - IDEA does
steal focus though. Are you saying that the focus stealing doesn't happen
with kwin?

--
Mark Scott
mark@codebrewer.com

0
Avatar
Permanently deleted user

Yes, kwin was a 'focus stealing prevention' policy. Setting it to 'Normal' or above will prevent IDEA (or any other application, for that matter) from stealing focus. This changed my life.

0
Avatar
Permanently deleted user

On Mon, 12 Jul 2004 19:54:35 +0400, Marcus Brito wrote:

Yes, kwin was a 'focus stealing prevention' policy. Setting it to
'Normal' or above will prevent IDEA (or any other application, for that
matter) from stealing focus. This changed my life.


Great stuff! Using kwin with XFce4 isn't without its downsides, but
preventing focus stealing and the return of desktop sounds make them well
worth putting up with. Thanks for the tip.

--
Mark Scott
mark@codebrewer.com

0
Avatar
Permanently deleted user

I finally gave up about using metacity (or xfwm4, or enlightenment, or icewm, or... you get the idea) after shouting so loud when IDEA stole my focus that my coworkers got scared about me.

For the sake of my own sanity (and my coworkers' health), I've now switched to kwin.

0

Please sign in to leave a comment.