If you’re like me very fond of Thunderbird (or Firefox, Seamonkey, GQView, Pidgin and similar GTK applications), and are geek enough to run Slackware while being complete novice to Linux – you’ve probably noticed that your GTK look’n'feel is like..well complete crap.

To get rid of this issue, I used to install themes, or for applications other than Thunderbird just got used to their ugly look, but then yesterday I got Ubuntu 8.10 disc and my brother’s notebook. Combined, they demonstrated me one of the best out-of-box distributions, and you know what? GTK applications in there look really nice! That was a moment I realized that my Slackware shouldn’t be left behind (well, it took me only 2 months to figure that out – kudos!). The only thing that was required is to enable Xfce configuration:

$xfce-mcs-manager

Once typed into console, try to re-open one of your GTK2 applications – you should be amazed how ugly previous style was. If you don’t want to initialize Xfce manager manually on every login (and you don’t) you have to make sure that this command is invoked when your window manager launches. For me, I just put the xfce-mcs-manager command into .xsession file (depending on your configuration .xinitrc might also be an option).

Hope that saves you some time, and you’d be smarter than me :)

If you need more similar tips – make sure you read How to properly setup Slackware Linux!

UPD: Checkout xfce-setting-show if you want to manipulate Xfce settings.

,

Если кто не знает NetBeans это кросс-платформенный IDE с поддержкой кучи языков (меня интересуют только PHP, Java, C/C++, но там заявленна поддержка также Ruby, Python и много чего еще по мелочи, как то XML, JS и пр. пр.). Если сравнивать с Zend Studio на которой я очень долго писал код для PHP, NetBeans ничем не уступает, а во многом даже превосходит – учитывая что текущая версия ZS построенна поверх Eclipse и в данный момент жутко тормозит, NetBeans выглядит наиболее подходящей альтернативой.

В общем, всем кто не пробывал – вперед!

Сегодня захотел подключить MySQL, но соединение никак не создавалось, вроде все ввожу правильно (да и где там можно ошибиться?), но не работает! Полазил по нету, нашел вот этот пост. В общем, нужно в файле конфигурации (у меня он храниться как /etc/my.cnf) закоментировать строку skip-networking и все должно зароботать. Я так и сделал, перезапустил БД-сервер:

/etc/rc.d/rc.mysqld restart

Сервер рестартанулся, соединиться через jdbc в NetBeans опять не получилось. Потратив (бесполезно) час, решил глянуть на сам скрипт rc.mysqd, и нашел там такую прелесть:

# To allow outside connections to the database comment out the next line.
# If you don't need incoming network connections, then leave the line
# uncommented to improve system security.
SKIP="--skip-networking"

Как только я это дело закоментил, все (как и ожидалось) заработало!

,