Why are the Eclipse colors so messed up with XFCE? - linux

I recently changed my Linux desktop from KDE to XFCE4. Now Eclipse looks terrible. I have deleted all the .gtkrc* files from my home directory and have been trying all kinds of settings in the XFCE Settings Manager itself. I've tried different XFCE themes as well as different Eclipse themes. I've also tried changing Eclipse's Window > Preferences > Appearance > Theme > Gtk|Classic|Default to no avail. Anyone know how to make these colors sane?

The cause of this problem can be some of .gtkrc-* files or settings in the shortcut command. So, try to launch eclipse from the eclipse folder.
If after that you will be have this problem again, try to install Jeeeyul's Eclipse Themes and after that you have to go to Window->Preferences-General->Appearance->Jeeeyul's Themes and customise eclipse UI.
If you don't like this theme, try click to and choose something like Setting gtkrc, and confirm rewrite it file and in the Window->Preferences-General->Appearance choose theme GTK.
If it didn't help you, try to lauch eclipse with command
env GTK2_RC_FILES=/usr/share/themes/%you_theme_name%/gtk-2.0/gtkrc:/home/%user%/.gtkrc-eclipse '/path_to_eclipse/eclipse'

Related

The theme is not changed correctly in Android Studio

I am using the Dracula theme, but there are parts of the code that do not display correctly as shown in the graphic.
When I start the editor everything loads correctly, but after a few milliseconds it changes and does not respect the theme, is there any configuration that has to be done to make it respect the theme?
Just save all the projects and android studio settings. Then uninstall android studio and reinstall it.
OR
Simply restore the setting to default, like so:
Screenshot:

Make eclipse console buttons permanent?

I just migrated from a Windows machine to a Linux machine and I use Eclipse. In eclipse, on the windows machine, I used to have multiple buttons in the top right of the console view for starting, stopping, etc. In the Linux version of Eclipse I only have these buttons when I hover over maximize in the console view, and then they snap back after a brief period. Is there a way to make these buttons permanent in the console view on Eclipse for Linux?
See link for image:
Eclipse Console
It looks like this was an issue with the theme I was using (Moonrise UI). I switch the eclipse theme to either Moonrise (Standalone) or to Dark from Moonrise and my issue was fixed!

How to save and restore Android Studio user interface settings?

Android Studio allows the user to customize certain features, such as editor settings and coding styles. On Windows boxes, the default folder for these settings appears to be C:\Users\{username}\.AndroidStudio{version}\config. I'm looking for documentation for these files so that we can decide which files should be under version control.
The goals are: 1) to have consistent UI settings for a group of developers; and 2) to have an easy way to configure a new Android Studio install.
So far, the following files look interesting:
...\config\templates\user.xml User-defined code templates
...\config\options\editor.codeinsight.xml Editor settings & code insight
...\config\options\editor.xml Editor settings
...\config\options\cachedDictionary.xml User additions to spelling dictionary.
...\config\codestyles\Default_1_.xml Code formatting
You can go file > Export settings then you get to choose exactly the settings to export and you get a single settings.jar file.
The reverse process is file > Import Settings > choose settings.jar
It seems that the user interface has changed since the last answer.
Now as of Android Studio 4.2 Bata 1 on Windows
You have to go to File -> Manage IDE Settings -> Export Setting to see the same window.
If you can't find the File > Import Settings menu, try accessing File -> Manage IDE Settings -> Export Setting.
There may be differences on the version or operating system.
On Android Studio 3 on Mac, it was configure > Export settings, resulting in a settings.zip file.
Because this is so badly implemented, in case you selected some custom folder and now the export button is disabled: you also need to manually specify a _name_.zip, the Android Studio is incapable of doing it itself, ex: x:\settings.zip
It might be obvious, but it did gave me a small headache this morning.

How to add color schemes to Android Studio?

I found some links to download the .icls files on the link below. However, just by adding the .icls files to the color folder is not doing the job.
Any pointers in right direction is appreciated. (I found only one dark theme here and looking for light themes).
How to change or add theme to Android Studio?
Found the issue: I was using firefox to download from the site and the site below was giving me a .zip file instead of .jar file. Used Chrome and got the .jar file. [Editor's note: the site previously linked here has changed owners and been replaced with spam, and has been edited out]
Steps to follow:
File > Import Settings. Select the .jar file.
Close and start Android studio (auto restart didn't work)
Settings > Editor > Colors and Fonts select your theme and you are good to go.

How do you save multiple tool window layouts in Android Studio?

I arranged my Android Studio IDE tool windows layout to fit 2 screens in a dual monitor setup and saved it as the default. I would also like to save another layout for single screen setup.
Question: Is it possible to save multiple layout configuration for tool windows in Android Studio. If so how?
Thanks,
George
Go to menu window > Store current layout as default
A bit late to the party, but there is a newer plugin, that works much better imho.
You can define 4 layouts, it can switch layouts immediately, it also (re-)stores the floating state of each panel and so on:
https://plugins.jetbrains.com/plugin/13005-window-layout-manager
There is an IntelliJ IDEA plugin preserve-layout-plugin that allows you to that. It's available in the plugin repository, just search for preserve.
By default, you need to restart the IDE or open another project in order to load the layout but the following works as well: you import the layout, you store it as default, and then you restore the default layout.
The following method helped me.
1) Run Android Studio as administrator.
2) Now, arrange the tabs as you want.
3) Go to Window->Store current layout as default.
This is something I missed when I started Android development especially after using multiple layout in Unity Editor before this.
However, I found this plugin - "Window Layout Manager" Link which you can also find and install via Android Studio plugins marketplace.
Allows you to arrange different windows/components like terminal, logcat, project explorer etc and save it with a name.

Resources