Xfce-panel, Xubuntu Hardy 8.04.1 and small problems

By cutec

Some of you might have noticed that creating launchers to xfce-panel in Xubuntu Hardy is not as easy as in Gnome and Gnome-panel.

For example terminal server client and it’s panel-applet, woop-de-doo.

Another problem that popped in front of me was opening programs with a launcher from the panel. The command was luit -encoding ISO-8859-1 ssh hostname because the ssh server I’m using quite actively does not have UTF8 configured. However, my Xubuntu Hardy installation happens to come with UTF8 as default and I’ve intended to keep it as default.

I tried to put the command where it was supposed to bein the panel launcher properties, no luck. Tried to use xfce4-terminal shell-script-name to launch the command from panel launcher, no luck.

Finally, with help from few of my friends, I found out that I can use xterm -e luit -encoding ISO-8859-1 ssh hostname which solved the problem. -e tells that xterm should run the preceeding command IN the opened xterm window. But this created another. The font size was ridiculously small. After few moments of discussion, it was clear that one option for xterm execution was needed. The final execution command line is below:
xterm -fn 9x15 -e luit -encoding ISO-8859-1 ssh hostname

EDIT: or you can use xterm -fn 9x15 -en iso-8859-1 -e ssh hostname as xterm can use luit when you tell xterm to use desired encoding with option -en iso-8859-1

To check which font options you have available, check /usr/share/fonts/X11/misc/fonts.alias file. 8×13, 9×15 and 10×20 should be there atleast. 8×13 is ridiculously small, 9×15 was my choice, 10×20 was too large for this Acer Aspire One screen.

EDIT: Also noticed that copying text or http links is not as easy as right clicking to get a menu and choosing copy. After consulting friends again, found out that when you press ctrl-left/right/middle mouse button you get xterm menus where you can set font size and other settings. Copying text to other window is done by selecting text with mouse (use left-click-hold normally or left click on beginning and right click at end) then paste text by middle click.

EDIT: Oh, and. If you need to use alt-number combination, it won’t work. Use esc+number instead.

Tags: , , , , ,

Leave a Reply