The Conkeror Web Browser Conquers Small Screens
Firefox uses tabs to keep separate Web pages in the same browser; Conkeror uses buffers to do the same thing. To open a link in a new buffer, press C-u f and select the link using the link-following instructions above. For example, say you're back on the page with the foo, bar and baz links. To open baz in a new window, press C-u f and type baz. Press C-u before any command that opens a Web page to load that page in a new buffer. For example, C-u g goes to a URL or loads a search result page in a new buffer, and C-u C-h i loads the start page in a new buffer. Also, links that try to open a new window will be opened in a new buffer.
Return to the previous buffer by pressing M-p (Alt-p on PCs and Option-p on Macs); advance to the next buffer by pressing M-n. Press C-x b to display a list of open buffers (Figure 3). Each buffer in the list has a name—its URL plus its title. Select a buffer name from the list using the keyboard arrow keys or narrow the list by typing part of a buffer's name. Press Enter at any time to show the selected buffer.
Close a buffer—in Conkeror's terminology, kill a buffer—by pressing C-x k to display the list of buffers. Select a buffer the same way you did above, and press Enter to kill it. Conkeror selects the current buffer by default, so you can kill it quickly by pressing C-x k <Enter>. When you close the last buffer, Conkeror exits. Close Conkeror and all its buffers automatically by pressing C-x C-c.
Power users of any Web browser often edit the URL to go to a different part of the Web site they're visiting. Press C-x C-v to edit the current URL in Conkeror. Combine this with C-u to open the modified URL in a new buffer: C-u C-x C-v.
Bookmarking a URL in Conkeror lets you return to it using Tab completion when you change URLs. Press b to bookmark the current URL, choose a name for the bookmark (Conkeror fills in the page title by default), and press Enter. Press g to go to a new URL, type in a few letters from either the bookmark title or the bookmark URL, and press Tab. Conkeror shows you a list of bookmarks that match the letters you typed; use the keyboard arrow keys to select a bookmark and press Enter to go to it.
Sometimes when you try bookmarking a page, Conkeror asks you to choose a frame. It places a number next to each frame on the page and lets you choose a frame by entering its number. If you want to bookmark the URL containing all the frames, enter the number 0.
Access all of Conkeror's commands—even those that aren't bound to a keybinding—by pressing M-x, typing the command name and pressing Enter. Press Tab to complete any command name; for example, press M-x, type print, and press Tab to make Conkeror select the print-buffer command. If you press M-x and Tab without typing anything, Conkeror lists all of its commands. I suggest you review this list to get an idea of everything Conkeror can do.
Conkeror includes special scripts, called modes, that change its behavior on specific sites—for example, the simple XKCD mode for the xkcd.com comic-strip site. When you visit xkcd.com in Firefox, it displays the comic's title when you move your mouse over the image. When you visit xkcd.com in Conkeror, it activates XKCD mode (Figure 4) and displays the title below the image in a special font—you don't need to move your mouse over the image.
The Gmail mode redefines many of Conkeror's default keybindings so that you can use the default Gmail keybindings. Other modes include a Google Maps mode, a Reddit mode and a YouTube mode.
When you visit a site that has a mode, for example Google Maps, Conkeror loads that site's mode. When you leave the site, Conkeror automatically unloads the mode. You can try using modes on other sites by loading the mode's command through the M-x menu. For example: M-x xkcd-mode. However, most modes don't make sense on alternative sites.
Firefox has a pretty Preferences configuration screen. Conkeror doesn't. But, you can change any browser setting in Conkeror on the about:config page. Press g, type about:config, and press Enter to go to the page and double-click the settings you want to change. Conkeror shows changed settings in bold. Use the search bar that appears on the top of the page to find specific settings quickly. For example, enter proxy to find all the proxy settings.
After creating the configuration file, you must tell Conkeror where to find it. Go to the Conkeror start page by pressing C-h i, scroll to the Conkeror RC File section, and enter the full pathname of the configuration file in the text box. For example, I entered the following text: /home/harding/.conkeror.rc. Press the Set RC File button. You need to do this only once.
Just below the Set RC File button, Conkeror lists several example directives for you to put in your configuration file. For instance, one line tells Conkeror how to use a custom search engine when you press g. You also can add new commands and new keybindings to Conkeror. For more examples, follow the Conkeror Wiki link in the Resources section of this article.
The next section tells you how to use Firefox extensions in Conkeror, but some Firefox extensions don't want to work with a browser that isn't named Firefox. Most Firefox extensions work in Conkeror if you tell the extension you're really using Firefox. I suggest you put the following line in your configuration file to make Conkeror ignore compatibility problems:
Practical books for the most technical people on the planet. Newly available books include:
- Agile Product Development by Ted Schmidt
- Improve Business Processes with an Enterprise Job Scheduler by Mike Diehl
- Finding Your Way: Mapping Your Network to Improve Manageability by Bill Childers
- DIY Commerce Site by Reven Lerner
Plus many more.
- diff -u: What's New in Kernel Development
- Server Hardening
- Giving Silos Their Due
- 22 Years of Linux Journal on One DVD - Now Available
- What's New in 3D Printing, Part III: the Software
- Controversy at the Linux Foundation
- Don't Burn Your Android Yet
- Firefox OS
- February 2016 Issue of Linux Journal