Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04
Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1772448] Sun, 10 September 2017 07:44 Go to next message
Iko BH is currently offline Iko BHFriend
Messages: 1
Registered: September 2017
Junior Member
I get tiny icons on my eclipse oxygen.

I've tried configuring eclipse.ini file with no success.

I've tried adding:
-Dswt.autoScale=175 [askubuntu.com/questions/777411/eclipse-neon-icon-size-in-ubuntu-16-04-hidpi]

and:
-Dsun.java2d.dpiaware=true [dzone.com/articles/how-to-fix-resolution-problems-with-high-dpi-scree]

But both didn't help at all.

My java version:
Quote:

iko@iko-Lenovo-YOGA-910-13IKB:~$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-2ubuntu1.16.04.3-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)


My resolution:
Quote:

iko@iko-Lenovo-YOGA-910-13IKB:~$ xrandr --query
Screen 0: minimum 320 x 200, current 3840 x 2160, maximum 8192 x 8192
eDP-1 connected primary 3840x2160+0+0 (normal left inverted right x axis y axis) 309mm x 174mm
3840x2160 60.01*+


my eclipse.ini file:
-startup
plugins/org.eclipse.equinox.launcher_1.4.0.v20161219-1356.jar
--launcher.library
/home/iko/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.500.v20170531-1133
-product
org.eclipse.epp.package.java.product
-showsplash
org.eclipse.epp.package.common
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
/usr/lib/jvm/java-9-openjdk-amd64/bin
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Dosgi.instance.area.default=@user.home/eclipse-workspace
-XX:+UseG1GC
-XX:+UseStringDeduplication
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m
-Declipse.p2.max.threads=10
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/


What can I do to make the icons bigger?

Thanks
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1775241 is a reply to message #1772448] Thu, 26 October 2017 16:10 Go to previous messageGo to next message
Sravan Kumar Lakkimsetti is currently offline Sravan Kumar LakkimsettiFriend
Messages: 15
Registered: February 2014
Junior Member
Set the scale to 2 in display settings. That will enable hidpi in eclipse.
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1776963 is a reply to message #1775241] Thu, 23 November 2017 09:42 Go to previous messageGo to next message
Roger Blanken is currently offline Roger BlankenFriend
Messages: 4
Registered: November 2017
Junior Member
Thanks, but more words please.

What do you mean by display settings?

And is this solution only for high res monitors?

I want bigger icons on standards 1920x1080. Annoyed for years there is no easy way to do this.
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1777071 is a reply to message #1776963] Fri, 24 November 2017 09:47 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
There are some SWT system properties you might try: https://bugs.eclipse.org/bugs/show_bug.cgi?id=421383#c155

I know in Oxygen the platform has added a lot of new icons with double resolution, so they still look nice when scaled...


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1777152 is a reply to message #1777071] Sat, 25 November 2017 06:34 Go to previous messageGo to next message
Roger Blanken is currently offline Roger BlankenFriend
Messages: 4
Registered: November 2017
Junior Member
Tried those long ago (though I won't swear I tried every combination). It is my understand those settings are explicitly about HIDPI, which is what I am saying I do not want. The icons are too small on a 1920 laptop... Roger
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1777163 is a reply to message #1777152] Sat, 25 November 2017 09:14 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
I tried this and it made all my icons twice as big:
-Dswt.enable.autoScale=true
-Dswt.autoScale=200
-Dswt.autoScale.method=nearest

What did you try that did not work?


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1777165 is a reply to message #1777163] Sat, 25 November 2017 09:39 Go to previous messageGo to next message
Roger Blanken is currently offline Roger BlankenFriend
Messages: 4
Registered: November 2017
Junior Member
Sorry, a while ago and don't still have my notes. I just know it was similar settings, but apparently not the same. And all the online discussion was about HIDPI.

I do certainly take you at your word that it works on more traditional resolution (1920x1280 or some such).

I will try this today. Thanks.
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1777247 is a reply to message #1777163] Mon, 27 November 2017 14:54 Go to previous messageGo to next message
Roger Blanken is currently offline Roger BlankenFriend
Messages: 4
Registered: November 2017
Junior Member
Works! Thanks!
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1778749 is a reply to message #1777247] Wed, 20 December 2017 17:44 Go to previous messageGo to next message
Giannino Stoppani is currently offline Giannino StoppaniFriend
Messages: 2
Registered: December 2017
Junior Member
My icons are normal, but fonts in Window > Preferences are unreadable, I'll postathe screenshot when I'll have permission to do so.

I'm using Eclipse Version: Oxygen.1a Release (4.7.1a) Build id: 20171005-1200 on Archlinux with XFCE 4.12.
My screen is a 13.3" 1920x1080 and I'm using 168 DPI in XFCE fonts settings.
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1779436 is a reply to message #1777163] Mon, 08 January 2018 01:15 Go to previous messageGo to next message
Mark Eisert is currently offline Mark EisertFriend
Messages: 1
Registered: January 2018
Junior Member
worked like a charm for me although I made them 150 %
-Dswt.autoScale=150


and should be repeated this goes in eclipse.ini file
also, the icons look grainy , but at least they are bigger
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1779443 is a reply to message #1779436] Mon, 08 January 2018 05:10 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33107
Registered: July 2009
Senior Member
I'm not sure which release started supporting higher resolution icons, but certainly in Oxygen, if you specify 200% scaling, many projects have started to provide higher resolution icons that override the lower resolution icons at this scaling factor. Of course that might make them a little too big for your taste, but at least they won't be up-scaled from a lower resolution icon. I'm not sure if they are ever down-scaled from the higher resolution icon but that's not doubt not ideal either.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1780089 is a reply to message #1779443] Wed, 17 January 2018 09:53 Go to previous messageGo to next message
carlo polise is currently offline carlo poliseFriend
Messages: 1
Registered: January 2018
Junior Member
I had this problem when I changed my default Windows 10 language from Eng to Italian, with Eclipse being installed when default language was Eng. Reverting Windows language to Eng and rebooting solved the problem. I don't know what's happened, Windows rename some folders like C:\Users translating it in your default language (i.e. C:\Utenti) and maybe this is causing problems.
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1793220 is a reply to message #1777163] Wed, 01 August 2018 17:27 Go to previous messageGo to next message
Carolyn Maynard is currently offline Carolyn MaynardFriend
Messages: 1
Registered: August 2018
Junior Member
I place these in my eclipse.ini file and worked nicely. Thanks!
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1827150 is a reply to message #1793220] Fri, 08 May 2020 09:34 Go to previous messageGo to next message
Missing Name Missing Name is currently offline Missing Name Missing NameFriend
Messages: 6
Registered: July 2009
Junior Member
Hi all,

I know this is an old post, but I have trouble seeing the file and directory icons on my laptop's 1366 x 768 screen.

This solution works, but it also makes all icons in eclipse larger.

I only want to make the icons for the files and directories in Subclipse and Project Explorer larger.

This is a really good fix for when I get a much larger (27") HD monitor though.

:)
Re: Tiny icons with eclipse oxygen on HIDPI resolution (3840x2160) with UBUNTU 16.04 [message #1827827 is a reply to message #1827150] Mon, 25 May 2020 07:39 Go to previous message
tomas platz is currently offline tomas platzFriend
Messages: 5
Registered: July 2019
Location: Detroit
Junior Member
Everything works fine, thanks.

Work hard have fun
Essays for sale
Previous Topic:Conversion from oxygen to jee-2020-03 and from java 8 to java 14
Next Topic:Understanding Launch Configurations _ New Builds
Goto Forum:
  


Current Time: Tue Mar 19 07:03:17 GMT 2024

Powered by FUDForum. Page generated in 0.04625 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top