a blog by Marius Gedminas

Posts tagged Ubuntu

GNOME startup time

On my laptop (Pentium M, 1.6 GHz, 1 GB RAM) it takes exactly 68 seconds from the time I press Enter in the GDM login screen, until the GNOME desktop is completely loaded (the last applets appear and the disk activity stops). This is GNOME 2.16.1 from Ubuntu Edgy. This is after a fresh reboot (so, nothing in disk cache, except for what Ubuntu's readahead loads). The startup process is not interfering (I waited until the disk activity stopped before I logged in).

Bash prompts: showing the command in the window title

I've been using Linux for almost 10 years now, so I'm used to the command line. Most of the windows in my GNOME desktop are GNOME Terminals. And when you have many of them, you'd like to distinguish them somehow in the window list or window selector applets. My .bashrc specifies a $PROMPT_COMMAND that sets the username, hostname and the current working directory in the title bar. I can therefore distinguish root terminals and remote terminals (ssh rules), and terminals where I work on different projects in different directories.

Unbreaking Firefox's address bar

I've always been annoyed that Firefox deletes the whole URL if you hit Ctrl+Backspace in the location bar. I'd like it to delete the last URL segment. It turns out that I can get this, if I go to about:config and set layout.word_select.stop_at_punctuation to true. Yay! Sources: Bug 232321 - Control-backspace doesn't delete words in URL bar Bug 190615 - make stop_at_punctuation=true the default on unix (double-clicking shouldn't select punctuation)