random findings by wt8008
RSS icon Home icon
  • KDE4 Ambience Theme in Ubuntu for KDE Applications

    Posted on November 21st, 2010 wt8008 No comments

    I have been running Ubuntu 10.04 and wanted to configure the appearance of KDE applications to match the Ambience theme in Ubuntu. Luckily, there are some built-in themes which helps with the configuration.

    First use the KDE 4 System Settings Center to change the Appearance of the KDE widgets, colors, icons, and fonts. The system settings center is located in the systemsettings-kde4 package. (If not already installed.) Run

    $ systemsettings

    to start up the configuration program. Select “Appearance” (or “Application Appearance”) to change KDE applications widget style, colors, icons, and fonts.

    1. Style
    2. Choose the “GTK+” widget style from the drop down menu. This will match the style of the progress bars, buttons, slider bars, drop down menus, etc. to the Gnome style.

    3. Colors
    4. The metallic color scheme of KDE4 can be changed here. You can import the file that I modified from KDE-look. (See References for original creator.) The colors roughly match, but may not exactly match.

    5. Icons
    6. Select “Ubuntu-Mono-Dark” icon theme to match the Ubuntu standard icons.

    7. Fonts
    8. Change the font settings here to match the font settings that were chosen in Ubuntu. If the font size number does not match the KDE application font size, you may need to use the “Force fonts DPI” option. You can see your current font settings in System->Preference->Appearance and the fonts tab.

    With these settings your KDE4 applications should fit in nicely with the Gnome based desktop!

    Ambiance-like: KDE Color Scheme KDE4

  • Dockstar Running Debian

    Posted on November 13th, 2010 wt8008 No comments

    The Dockstar is a plug computer runs a Marvell 1.2GHz ARM processor with 128 MB RAM and 256 MB flash which stores it’s own variant of Linux. The boot loader on the device can be modified to boot off a USB stick, leaving the original Linux on the flash unmodified. Using Jeff’s guide it was possible to put Debian on a USB stick and boot from it easily.

    Before starting, since the device will phone-home, the hbwb process needs to be killed before connecting to the internet. Using the guide from ahsoftware.de, the process was disabled. The dockstar can be connected to an offline router with a DHCP server so that you can get its IP address. Otherwise without a DHCP server, it will asign itself an IP address of 169.254.x.y, where x, y are the last two bytes of the device’s MAC address. With the IP address, ssh into the device as root with the default password of stxadmin. The next step is to kill the hbwb process, remount / as writable, chmod go+w /dev/null, and modify the rcS init.d script to prevent hbmgr.sh from running. Remount / as read-only, and the device can then be restarted/halt.

    Next follow the instructions on Jeff’s site to partition a flash drive using fdisk(8). Then download and run his script to install Debian on the flash drive. After it is completed, if the Dockstar does not boot into Debian, reboot the device by using a pen/paper clip by pressing the reset button on the dockstar for a warm boot. Some flash drives such as Kingston’s have issues with cold booting.

    Cold Boot

    If you setup netconsole, you can see the boot messages from the dockstar and see where the cold boot fails with the usb drive. The first run of “usb start” causes the issue, so Mike on the fourms changed the uBoot options to re-start the USB every time the dockstar boots, essentially making every boot a warm boot to the USB thumb drive. Use fw_setenv to modify the variables.


    Now with the armel version of Debian installed, the dockstar can run almost anything Debian can. (Ubuntu does not have armel repositories.) The exception is of course is the hardware. Speed of the flash drive can be come an issue, especially when writing many small files. There is no video output, but there is a serial console if you want to so some soldering. The current application for my dockstar is for running CUPS as a print server. Future applications I have in mind is a NAS type server. For now, I am using it to store my tomato CIFS bandwidth logs. It can also be a useful SSH server. Any applications which require 24/7 uptime can use the device, as it is also low power compared with a normal computer system. More applications and usages will come as I think of some as they are needed.