I recently switched to Ubuntu 10.10 from Windows XP and was trying to get irssi
running in gnome-terminal
in a certain way:
- Full screen so that it takes up an entire workspace.
- Translucent background so that I can see my nice Digital Blasphemy wallpaper.
With gnome-terminal
maximized, I got an ugly window title bar that I didn’t want. With gnome-terminal
full screen, I couldn’t see what I was typing, since the bottom line of the terminal window is right over my task switching Gnome panel (the thing at the bottom of the screen that lets you switch between all the windows that are open) and so I had the text I was typing mixed up visually with the names of open windows.
The solution on Ubuntu 10.10 is pretty simple if you’re pretty familiar with Ubuntu: you maximize the irssi
window, set its Gtk+ role to irssi
by using gnome-terminal
‘s --role
option, and set up Compiz to not decorate windows with that role.
If you have no idea what that means, no problem. Here’s a full set of installation instructions.
Installation instructions
Here’s how to install irssi
from scratch so that it runs full screen and translucent.
- Install irssi
$ sudo apt-get install irssi irssi-scripts $ sudo mkdir -pv /usr/local/share/icons $ sudo wget --output-document=/usr/local/share/icons/irssi-icon.png "http://svn.irssi.org/cgi-bin/viewvc.cgi/irssi/trunk/irssi-icon.png?view=co&root=irssi"
- If you plan on using Freenode, make your NickServ password more secure by encrypting your session (to foil eavesdropping) and automatically logging in (to keep from accidentally telling an entire channel your password when you forget the slash)
- Set up NickServ autologon by changing the
/server add ...
line in the SSL and SASL setup directions just below to/server add -auto -ssl -ssl_verify -ssl_capath /etc/ssl/certs -network Freenode irc.freenode.net 7000 Bob:dragon
Change
Bob
anddragon
to your nickname and password (the colon between them is required) - Set up SSL and SASL by following the directions on the Ubuntu forums
- Set up NickServ autologon by changing the
- Start Appearance preferences (System menu, Preferences submenu, Appearance)
- Go to the Visual effects tab
- Choose Normal or Extra
- Press the Close button
- Install CompizConfig Settings Manager
$ sudo apt-get install compizconfig-settings-manager
- Start CompizConfig Settings Manager (System menu, Preferences submenu, CompizConfig Settings Manager)
- Turn on the Regex Matching plugin
- Turn on the Window Decoration plugin
- In Window Decoration settings, change both Decoration windows and Shadow windows from
any
to!role=irssi
- Close CompizConfig Settings Manager
- Right click on the Applications menu and choose Edit Menus
- Choose Internet on the left side
- Press the New Item button on the right side
- Fill in the Launcher Properties popup window as follows
Icon: /usr/local/share/icons/irssi-icon.png Type: Application Name: irssi Command: gnome-terminal --zoom=1.0 '--title=irssi' --profile=irssi --maximize --hide-menubar --role=irssi -e irssi Comment: Chat with irssi
- Press the OK button
- Press the Close button of the menu editor window
- Switch to an empty workspace
- Start up
irssi
(Applications menu, Internet submenu, irssi) - Right click on the
irssi
window and choose Show Menubar - Click the File menu and choose New Profile...
- For Profile name, type
irssi
and press the Create button - Go to the Title and Command tab and uncheck Update login records when command is launched and, for When command exits, choose Exit the terminal
- Go to the Background tab, choose Transparent background and move the slider just below that to get the translucency of the open
irssi
window as you like it - Go to the Scrolling tab and, for Scrollbar is, choose Disabled and check Unlimited
- Click the Close button
- Into the
irssi
window, type/quit
and press enter, closing the window if it doesn’t close automatically
- Start up
irssi
from the Applications menu again - If half a line or so is wasted at the bottom of the terminal window like it was with mine, open the Applications menu editor again and repeat the following until that’s fixed
- Quit
irssi
(type/quit
and press enter) - Edit the settings for irssi
- Tune
gnome-terminal
‘s--zoom
option a bit (--zoom=0.9
worked for my 1280×960 screen with one Gnome panel at the bottom) - Press the
Close
button to save your changes - Restart
irssi
from the Applications menu to check your new settings
- Quit