Category: Xfce

How to install .ttf fonts in Xubuntu

Fonts only for your user

mkdir ~/.fonts
cp <myfont.ttf> ~./fonts/

Or system wide fonts

cp <myfont.ttf> /usr/share/fonts/truetype/

Then reload the fonts cache

sudo fc-cache -f

Eclipse Luna/Mars: how to fix the ugly theme with XFCE

The latest versions of Eclipse Luna and Mars have an ugly aspect on XFCE, I am running Xubuntu and tried both with XFCE 4.10 and 4.12.

eclipse_ugly_theme_xfce_before

To fix the appearance we have to disable GTK3 by exporting SWT_GTK3=0

You can do this by creating a launcher and editing the .desktop file, for instance the launchers available on XFCE panels are stored in ~/.config/xfce4/panel, precisely in the launcher-xx subfolders. Once found out the appropriate .desktop file, edit the Exec line:

Exec=env SWT_GTK3=0 <path_to_eclipse_binary>

Save and launch it again. Now it should look like this:

eclipse_ugly_theme_xfce_after

 

 

xfce4-terminal and the new RC file path

On Xubuntu my terminal emulator is the new xfce4-terminal.

Since version 0.60 was released, “Terminal” was renamed to “xfce4-terminal” but the path of its configuration file (the RC user file) has changed from

 ~/.config/Terminal/terminalrc

to

~/.config/xfce4/terminal/terminalrc

In order to mantain your personal settings, move the previous config RC file to the new path.

The default configuration RC file is, instead, located in:

/etc/xdg/xdg-xubuntu/xfce4/terminal/terminalrc

 

How to change the clock time color of XFCE clock plugin

It is possible to change the text color of the time shown in the default XFCE clock panel plugin.

Simply: right click => properties and then add the span tag to the format string:

<span color="#00FF00">%a, %d %b %Y %H:%M</span>

Reference: link

WordPress Themes