Options

How to scale rapidminer studio in Linux mint according to the official reference ?

guangli_jiangguangli_jiang Member Posts: 2 Contributor I
edited September 2019 in Help

Hello,

 

I'd like to scale the gui because the text of rapidminer studio is so tiny that it is hard to see. After searching, there exist the following tutorial. However I didn't know how to add the extra parameters. I launch the program through bash with "./Rapidminer-studio.sh". It will alert error when running "./Rapidminer-studio.sh -Dsun.java2d.uiScale=2"

 

I also tried to modify the Rapidminer-studio.sh, add such parameter after the ${JAVA}, but it doesn't work either.

 

The official document says:

"To work around this problem, please pass the following parameter when launching Studio: -Dsun.java2d.uiScale=2 and adapt the scaling factor as needed for your setup. "

 

Thank you.

Answers

  • Options
    Marco_BoeckMarco_Boeck Administrator, Moderator, Employee, Member, University Professor Posts: 1,996 RM Engineering

    Hi,

     

    you cannot pass this parameter to the shell script because internally, we start a non-UI program first to determine the optimal settings for your platform, and only afterwards start the actual UI of RapidMiner Studio.

     

    To do this correctly, you need to edit the RapidMiner-Studio.sh and modify line #120 from

    eval \"$JAVA\" $JVM_OPTIONS -cp \"${rmClasspath}\" com.rapidminer.launcher.GUILauncher

    to

    eval \"$JAVA\" $JVM_OPTIONS -Dsun.java2d.uiScale=2 -cp \"${rmClasspath}\" com.rapidminer.launcher.GUILauncher

    Regards,

    Marco

  • Options
    guangli_jiangguangli_jiang Member Posts: 2 Contributor I

    Thank you very much for your reply. 

     

    However in my environment, it still doesn't work.

     

    This is my start file corrected due to the suggestion.

    My environment: 

    1. openjdk version "1.8.0_131"

    2. linux mint 18.1 x64 

     

    ""

    if [ $# -gt 0 ]; then
    eval \"$JAVA\" $JVM_OPTIONS -Dsun.java2d.uiScale=4 -cp \"${rmClasspath}\" com.rapidminer.launcher.GUILauncher \"$@\"
    else
    # eval \"$JAVA\" $JVM_OPTIONS -cp \"${rmClasspath}\" com.rapidminer.launcher.GUILauncher
    eval \"$JAVA\" $JVM_OPTIONS -Dsun.java2d.uiScale=4 -cp \"${rmClasspath}\" com.rapidminer.launcher.GUILauncher
    fi

    ""

     

    Other log:

    """

    Oct 17, 2017 10:36:06 AM com.rapidminer.launcher.GUILauncher main
    INFO: Launching RapidMiner, platform ANY
    Oct 17, 2017 10:36:06 AM com.rapidminer.tools.I18N <clinit>
    INFO: Set locale to en.
    Oct 17, 2017 10:36:06 AM com.rapidminer.tools.PlatformUtilities logInfo
    INFO: rapidminer.home is '/home/j/app/rapidminer-studio'.
    Oct 17, 2017 10:36:06 AM com.rapidminer.core.license.ProductConstraintManager initialize
    INFO: Initializing license manager.
    Oct 17, 2017 10:36:06 AM com.rapidminer.core.license.ProductConstraintManager initialize
    INFO: Using default license location.
    Oct 17, 2017 10:36:06 AM com.rapidminer.core.license.ProductConstraintManager initialize
    INFO: Registering default product.
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Remote Repository
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Professional
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Operator Recommender
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Cloud Execution
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Cloud Connectivity
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Process Scheduling
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Concurrency
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: H2O
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Productivity
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Advanced File Connectors
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: JDBC Connectors
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Data Editor
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Social Media
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.plugin.Plugin registerPlugins
    INFO: Register plugin: Legacy Result Access
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.config.ConfigurationManager register
    INFO: Registered configurator Twitter Connection.
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.config.ConfigurationManager register
    INFO: Registered configurator Salesforce Connection.
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.config.ConfigurationManager register
    INFO: Registered configurator Amazon S3 Connection.
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.config.ConfigurationManager register
    INFO: Registered configurator Azure Blob Storage Connection.
    Oct 17, 2017 10:36:07 AM com.rapidminer.tools.config.ConfigurationManager register
    INFO: Registered configurator Dropbox Connection.
    Oct 17, 2017 10:36:08 AM com.rapidminer.extension.jdbc.tools.jdbc.JDBCProperties <init>
    WARNING: Missing database driver class name for ODBC Bridge (e.g. Access)
    Oct 17, 2017 10:36:08 AM com.rapidminer.extension.jdbc.tools.jdbc.JDBCProperties <init>
    WARNING: Missing database driver class name for Ingres
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Process Scheduling was loaded in 101ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Data Editor was loaded in 105ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Social Media was loaded in 110ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Remote Repository was loaded in 117ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Operator Recommender was loaded in 126ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Productivity was loaded in 131ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Professional was loaded in 131ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Legacy Result Access was loaded in 132ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Advanced File Connectors was loaded in 140ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Concurrency was loaded in 141ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Cloud Execution was loaded in 155ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension Cloud Connectivity was loaded in 241ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension JDBC Connectors was loaded in 253ms.
    Oct 17, 2017 10:36:09 AM com.rapidminer.tools.plugin.Plugin initAll
    INFO: Extension H2O was loaded in 347ms.
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Load configuration for Amazon S3 Connection.
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ClientConfigurationManager loadAllParameters
    INFO: No configuration file found for Amazon S3 Connection
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Loaded configurations for 0 objects of type Amazon S3 Connection.
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Load configuration for Azure Blob Storage Connection.
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ClientConfigurationManager loadAllParameters
    INFO: No configuration file found for Azure Blob Storage Connection
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Loaded configurations for 0 objects of type Azure Blob Storage Connection.
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Load configuration for Dropbox Connection.
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ClientConfigurationManager loadAllParameters
    INFO: No configuration file found for Dropbox Connection
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Loaded configurations for 0 objects of type Dropbox Connection.
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Load configuration for Salesforce Connection.
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ClientConfigurationManager loadAllParameters
    INFO: No configuration file found for Salesforce Connection
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Loaded configurations for 0 objects of type Salesforce Connection.
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Load configuration for Twitter Connection.
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ClientConfigurationManager loadAllParameters
    INFO: No configuration file found for Twitter Connection
    Oct 17, 2017 10:36:12 AM com.rapidminer.tools.config.ConfigurationManager loadConfiguration
    INFO: Loaded configurations for 0 objects of type Twitter Connection.
    Oct 17, 2017 10:36:14 AM com.rapidminer.deployment.update.client.MarketplaceUpdateManager$3 run
    INFO: Checking for updates.
    Oct 17, 2017 10:36:15 AM com.rapidminer.deployment.update.client.MarketplaceUpdateManager$3 run
    INFO: No updates since 10/10/17 3:49 PM.

    """

Sign In or Register to comment.