quinta-feira, 2 de maio de 2013

openbox Alt-Tab keybinding

To configure Alt-Tab to cycle over all desktops, edit the file:

~/.config/openbox/lxde-rc.xml

And include:

   <keybind key="A-Tab">
     <action name="NextWindow">
       <allDesktops<yes</allDesktops>
     </action>
   </keybind>

quarta-feira, 17 de fevereiro de 2010

Rational Software Architect 7.0.x undefined symbol: _ZN4nsID5ParseEPKc error

If you are using the RSA 7.0.x on linux and gets the error:
$JAVA_HOME/bin/javaw: symbol lookup error: $HOME/.eclipse/ibm.software.development.platform_7.0.0_552370286/configuration/org.eclipse.osgi/bundles/271/1/.cp/libswt-mozilla-gtk-3236.so: undefined symbol: _ZN4nsID5ParseEPKc

You need to get a firefox 2 and start RSA setting the MOZILLA_FIVE_HOME variable:
MOZILLA_FIVE_HOME=$FF2_HOME $RSA_HOME/SDP70/eclipse

terça-feira, 19 de maio de 2009

Ubuntu file types

To create a new file type on Gnome/Nautilus, eg., for tsclient configuration files (*.rdp), go or create the directory:
~/.local/share/mime/packages

Create a new file tsclient.xml:
<?xml version="1.0" encoding="UTF-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/x-rdp">
<comment>tsclient configuration file</comment>
<glob pattern="*.rdp"/>
</mime-type>
</mime-info>

Update the mime database:
update-mime-database ~/.local/share/mime

quinta-feira, 14 de maio de 2009

TortoiseHg Nautilus plug-in

The TortoiseHg Nautilus plug-in access the environment variable TORTOISEHG_PATH that point to the directory where the plug-in is installed, you need to set the variable in the .xsessionrc file or use the default path ~/tools/tortoisehg-dev.

domingo, 10 de maio de 2009

Install Websphere Integration Developer on Ubuntu jaunty

To install the embedded WPS/WESB it's necessary to change the sh link from dash to bash:

sudo unlink /bin/sh
sudo ln -s /bin/bash /bin/sh

After installation return the sh link to dash to have a faster boot:

sudo unlink /bin/sh
sudo link -s /bin/dash /bin/sh

To begin installation use the install program under the IM_LINUX directory of disk1 not the launchpad shell on root directory.

Ubuntu jaunty DHCP client timeout

In some cases, most notably in slow or poor signal wireless connections, it is necessary to increase the dhcp client timeout value, it can be done editing the file:
/etc/dhcp3/dhclient.conf

and including or editing the line:
retry [new value]

In most cases the new value of 120 is enough.

terça-feira, 14 de abril de 2009

xubuntu menu

To add a menu entry on Xubuntu we need to create a file on /usr/share/applications or /usr/local/share/applications, in this case to create an entry to NetBeans 6.5 - SunStudio version create the file /usr/share/applications/sun-netbeans.desktop with the contents:

[Desktop Entry]
Categories=Application;Development;X-Red-Hat-Base;X-SuSE-Core-Development
Comment=NetBeans IDE 6.5
Encoding=UTF-8
Exec=/opt/sun/netbeans-6.5ss/bin/netbeans
Icon=/opt/sun/netbeans-6.5ss/nb6.5/netbeans.png
Name=NetBeans IDE 6.5
Path=/opt/sun/netbeans-6.5ss
Type=Application
Version=1.0