Xfce

Sub domains
 

'Tips' Category

  • Don’t produce Gzipped tarballs

    A quick note so I can delete it from my desktop. In order to produce only a Bzip2 tarball with the Autotools, specially when running make distcheck, set the automake init call with these parameters:AM_INIT_AUTOMAKE([no-dist-gzip dist-bzip2])By the way …

  • VLC with GTK+ look-n-feel

    To get Qt applications to look like GTK+ applications run qtconfig and in Select GUI Style choose GTK+. Next click in the menu bar File > Save.

    Something is still puzzling me, why does GNOME run VLC automatically with native GTK+ look-n-feel and not Xfce?

    Update: Thanks to the power of tig and grep, I figured the Qt library (qt_init function) defines the desktop environment as GNOME for Xfce (this results in GTK+ theming, GNOME like Open dialogues, etc) by retrieving an X11 atom on the root window and compares it to “xfce4” but it seems that this doesn’t work nowadays (at least it didn’t work within an Xfce 4.7 desktop session). I’m looking forward for sending patches.

    Update2: The latest version Qt 4.6.2 doesn’t include the code for checking the X11 atom (it’s in git), which explains why it doesn’t work.

  • Include custom GTK+ RC style

    I’ve been using a custom GTK+ RC style for the notes plugin since the version 1.4.0, right now it is at version 1.7.2. I have been playing with GTK+ theming again these last two hours, and I’ve get custom scrollbars, a gradient for the custom-made “t…

  • Show/hide functionality from notification area

    When using a status icon within the notification area it is common to use the left-click action to show/hide the main window. Obviously this is often done in different ways. So here is my tip on how to do it right :-)What I believe to me the most sense…

  • Backward compatibility for Ruby 1.8

    As I’m currently writing some Ruby code and that I started with version 1.9 I felt onto cases where some methods don’t exist for Ruby 1.8. This is very annoying and I started by switching the code to 1.8 method calls. I disliked this when it came to Pr…

  • Build a project with Vala

    This post is about using Vala in a project but in the end provide the C code for the releases. I think that this is very essential and that releasing source code to be build from Vala is wrong. Vala will always rewrite the code to GObjects in C, but ha…

  • Refresh the Xfce background

    In Xfce 4.4 there was a little hack that worked to refresh the background. I managed to get the same result for Xfce 4.6 with the following “hack”:#!/bin/shif [ -z "${DBUS_SESSION_BUS_ADDRESS}" ] ; then . ${HOME}/.dbus/session-bus/`ls -rt ${HOME…

  • Vala Notes Plugin

    Or better, there is Vala in the Notes plugin. It’s been a long time I thought about a hypertext view widget for the notes plugin, so it can highlight links and open them on click, and doing this in pure C/GObject is quite a PITA because there is a lot …

  • Fix bitmap^Whorrible fonts

    You have horrible fonts in Firefox and don’t know how to fix it? It is fairy simple:cd /etc/fonts/conf.dcp ../conf.avail/70-no-bitmaps.conf .And this is it. Restart X.

  • Ubuntu from your flash drive – easier than ever before

    As you have probably noticed, new versions have arrived of Ubuntu, Xubuntu and other derivatives. One of the most exciting new features has received far less publicity than it deserves – the ability to “install” it onto your USB flash drive with just a few clicks. The advantages are obvious: just plug your flash drive [...]

 
Powered by Wordpress. Design by Bingo - The Web Design Experts.