parasurv@webspace ~ $

Blog: [Site updates] [Linux] [Free Software] [Culture] [Health] [Watches] Learning: [Emacs Journal] [Linux Wiki] Personal: [Contact] [About me]

Shorts: [Microblog] [Linkblog] Important: [Read] [Watch] [Listen] Other pages: [Old games stuff]

Java problem in dwm (and solution)

If you are using dwm and wanted to run Java programs, you will see, that's actually not going to happen… unless you know this solution. This I found in the Arch wiki:

Create this file: (you need sudo for that)

/etc/profile.d/jre.sh

And put this in it:

export _JAVA_AWT_WM_NONREPARENTING=1

I also put this:

export AWT_TOOLKIT=MToolkit

in the ~/.xinitrc file, before the exec line, that starts your GUI.

You need to restart your system or source the jre.sh file.

I needed this for Jdownloader to work.

source: Arch wiki

Hosted on Neocities and created with Emacs, the world best text editor, operating system. This website doesn't track you. I don't use any javascript or other scripts. I don't store any information about the visitors. It's just pure old fashioned HTML. Some parts of the site is not up-to-date design wise. I may or may not update them in the future. I don't really support mobile stuff, but I bet if you disable the little CSS I have, you can read the site perfectly.