Archive for September, 2009

Using Xerox Phaser 3117 on Fedora 11

September 25, 2009

The driver selected by default by Fedora 11 is not appropriate for Xerox Phaser 3117 – it will not print with it. However there is a very easy solution to the problem.

Go to System -> Administration -> Printing (In GNOME at least, in KDE it’s probably something similar). Right click the Xerox Phaser 3117 printer icon there and select “Properties” from the menu. Then in the “Make and model” section choose change and then select Samsung ML-1710.

After you apply the change you’ve just made, you can start printing with your Phaser.

Useful options for running Chromium/Google Chrome

September 4, 2009

By default a lot of stuff is disabled in Chromium/Google Chrome – support for plugins(Flash, Java, Real Player, etc.), support for extensions, support for user Greasemonkey scripts. Though there are not a lot of Chromium extensions around and few people use user Greasemonkey scripts, most people would not mind some plugin support. So, here we begin.

To enable plugin support start Chromium in this manner(executable file name is google-chrome for Google Chrome):

chromium-browser --enable-plugins

To enable support for extensions use:

chromium-browser --enable-extensions

And finally for user scripts you can start Chromium like this:

chromium-browser --enable-user-scripts

Of course you can combine them all in one mighty:

chromium-browser --enable-plugins --enable-extensions --enable-user-scripts

(this is the way I run Chromium).

If you use the official Fedora build – the Chromium launcher added to your menu uses all of the above options. In Ubuntu, however, you’ll have to add them by hand to your startup string.

Mofidy JVM parameters for JBoss AS

September 3, 2009

Most people have been in a situation requiring them to change one or more of the parameters passed to the JVM on top of which JBoss AS is running. For instance – you may need a bigger heap, bigger perm gen size or something else. The best place to put these parameters is probably the following file:

$JBOSS_HOME/bin/run.conf

where $JBOSS_HOME refers to the directory in which you’ve unpacked the JBoss AS distribution.

Look for this section:

if [ "x$JAVA_OPTS" = "x" ]; then
JAVA_OPTS=”…”
fi

All you have to do now is adapt it to your needs.