How to configure Antialiasing Fonts in Markdown Preview in PhpStorm Linux? - linux

I use Arch Linux and PhpStorm 2017.1
The font rendering for code itself is quite good but in Markdown Preview is terrible see screenshot section on the right eg. bulleted list text "The Solr admin...").
Where can I configure the font used for Markdown Preview?

Ok, finally I found the solution.
In Settings>Languages & Frameworks>Markdown>Preview select Preview Browser: JavaFX WebView and check Use grayscale rendering for JavaFX preview.

Related

How do I change the color of the visual studio code toolbar?

hello, my question is the following, in the new visual studio code update, for Ubuntu Linux, the toolbar (attached photo) we can see that it is white, and it was to know if it can be changed to black as it was in previous updates, and how is it done? ... thanks
For the people who are looking for a new solution:
In the latest version of VSCode, you can add
"window.titleBarStyle": "custom"
to your settings.json file and it should use your vscode theme for the border/titlebar
The GTK Dark Title Bar could be the solution to your problems.
I also want to leave some more references to the various issues opened on the official vscode repo in the past years about this problem so that you can give a reading and get an idea of what happened.
#16363 - Allow to change the background color of menu bar (Windows & some Linux)
#11979 - Support dark theme in Gnome
#30031 - Add a way to choose theme variant (Gnome dark/light theme)
#45968 - Set the _GTK_THEME_VARIANT X11 property on top-level window to use "dark" theme on Gnome

How can I change icon theme in Inkscape?

I'm using Inkscape (0.92, installed via pacman) on Linux (Manjaro Gnome) with a dark theme.
It is very hard to see the icons in Inkscape (gray on gray) and therefore I'd like to change the icon theme. I think I should be able to do that by replacing the icons.svg, but unfortunately I don't see any change if I replace the file in /usr/share/inkscape/icons/.
In Inkscape under Preferences -> System there is a setting "Icon theme". But it is just a text box with locations, that cannot be changed.
The text box content looks like this:
/home/username/.icons
/home/username/.local/share/icons
/home/username/.local/share/flatpak/exports/share/icons
/var/lib/flatpak/exports/share/icons
/usr/local/share/icons
/usr/share/icons
/home/username/.local/share/flatpak/exports/share/pixmaps
/var/lib/flatpak/exports/share/pixmaps
/usr/local/share/pixmaps
/usr/share/pixmaps
/home/username/.local/share/inkscape/icons
/home/username/.local/share/flatpak/exports/share/inkscape/icons
/var/lib/flatpak/exports/share/inkscape/icons
/usr/local/share/inkscape/icons
/usr/share/inkscape/icons
/home/username/.config/inkscape/icons
/usr/share/inkscape/icons
/usr/share/icons
I checked all the locations for icon files and tried to add the icons.svg file to some of the locations, with no change after restarting Inkscape.
Is there another way to change the icons? Or how can I find out where my Inkscape installation is getting the icons form?
The issue seems to be similar to this post regarding Ubuntu.
With Inkscape 1.0 (May 1, 2020) you can go to Edit > Preferences, and then to Interface > Theme to change the icons:
Thanks #Moini!
It seems that the Gnome Icon theme overwrites the icons theme in the Inkscape .config/inkscape/icons folder.
By using the Gnome tweak tools, you can change the icon theme and some of the themes affect also the icons in Inkscape.
In my case the Gnome icons that affect Inkscape are in /usr/share/icons/<theme-name>/22x22/actions. Unlike the default icons each icon has it's own svg file, and they are not all bundled in a icons.svg file.
if you install it by flatpak you can fix it just by putting icons.svg in
/home/username/.var/app/org.inkscape.Inkscape/config/inkscape/icons
and then go to gnome-tweaks and change icons to default icons then open inkscape and close it then go to gnome-tweaks and change your icons back then congratulations !
The latest version of Inkscape (v1.1) ships with a dark theme. This theme can setup at startup or from Themeing option in Interface (screenshot below)
Change Theme of Inkscape
For Linux distros, install using their app image or Snap. From the normal Ubuntu repositories (20.04 LTS), I could install only a version <1.0. Versions <1.0 do not contain the Theme tab in the Interface option in Preferences.

How to change toolbars thick on eclipse? (Manjaro Linux - XFCE)

so I want to make eclipse to look a little more "compact", this, referring to the toolbar thickness. I've changed the tabs width and font size following the instructions here: Eclipse Luna UI rendering in Linux
I'd like to know if there's a way to change also that "gap" on the toolbars so I can get a little more space.
Here's a SS of my eclipse running: http://www.subeimagenes.com/img/ss-1138171.png
and I want to remove or reduce that gap I'm putting on red, any help/comment would be nice.
Thanks in advance!
Since eclipse 4.x you can modify the look and fill of controls and workspaces using CSS. See this Eclipse 4 CSS Styling- Tutorial it should help.

Changing color of Eclipse links in quick fix or Eclipse links in preferences on Linux

if i use a dark theme then links in Eclipse-"quick fix" or in i.e. Eclipse->Preferences->General->Editor (the three 'see... "File Associaton"|"Content Types"|"Appearance"'-links) are unreadable.
On this image the links i am talking about are cyan on grey:
I found a solution for Windows/XP:
The hover uses the same colors as the on your system. On Windows you
can change that via Display settings > Appearance > Advanced: ToolTip.
The link color is the one used in your browser (IE on Windows).
However, i need a solution for Linux (XFCE 4.8.1/GTK)
I checked/tested all settings of Eclipse and i found no setting for this link-color. It seems to be a system-setting (GTK), so i already tried to add this to gtkrc:
style "default" {
GtkWidget::link-color = "#ffffff"
}
class "GtkWidget" style "default"
but this did not change the link color in Eclipse.
I hope you can help - thanks!
GNOME
http://devblog.virtage.com/2013/06/eclipse-and-eclipse-based-apps-on-ubuntu-13-04-desktop-hacks/
KDE
Use the colors menu (the first entry in the picture):
And redefine the tooltip background color:
Then enjoy the readable popups:
Install gnome-color-chooser and customize the tooltip color as described here:
http://www.devsniper.com/black-tooltip-in-eclipse-on-ubuntu-12-04/
I'll chime in here, since I have the same issue.
There is no fix for this, when running Eclipse on Unix (KDE, Gnome, etc).
The color for links, which is used in the QuickFix list as well as various other places in the UI (such as Preferences panels), is hardcoded.
On Windows, you are luckier, since Eclipse uses the native link widget, which takes its colors from system settings.
On non-Windows, you are stuck with a dark-blue hardcoded color.
What it should do, at least on GTK, is use the GtkWidget::link-color setting. But it doesn't, currently.
If you want to see it fixed, either upvode this bug or fix the code yourself:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=130444
Sad, I know ):
Check out this post https://stackoverflow.com/questions/96981/color-themes-for-eclipse or have a look at the Eclipse color themes site.

Help with application icons

I'm building a program in C++ (target is windows XP) using Visual Studio 2008 and I'm trying to add application icons, the ones that show up in the taskbar, explorer, desktop, etc. My .ico file has the sizes 48x48, 32x32, 24x24, and 16x16 pix in color depths 32-bit, 24-bit, 256 colors, and 16 colors. For what it's worth, I'm adding the .ico file to the binary in IcoFX.
I can get all the icons to show up like they should except for the one in the upper left corner of the program itself--the one that you can click on to bring up a menu with window size options--it still shows the default icon.
To get this little icon to change do I need a different image size or is there a completely different way of managing this one icon? Does that icon even have a specific name?
Thanks for your help.
Duplicated: How do I set the icon for my application in visual studio 2008?
According to one answer on that thread, you need to make sure that your icon is the first icon in the resources file.
Ok, I've figured it out:
I'm using wxWidgets as my GUI toolkit, so this is the only satisfactory answer I can give. wxWidgets has classes to set the main frame icons, those classes include wxIcon and wxIconBundle. Then wxTopLevelWindow::SetIcons can be used to set the application's icons. This sets ALL the icons (taskbar, main frame, alt-tab chooser, etc), no need to mess with a resource file in Visual Studio.

Resources