Firefox tab bar on mouse over

Since Firefox 57 I’m using Tab Center Redux for showing my tabs on the left side. Because of that (and since screen space is precious) I didn’t need the default tab bar and so I disabled it with the hack I found in the wiki of Tab Center Redux:

#tabbrowser-tabs {
visibility: collapse !important;
}

I found this solution quite useful over the last months, but recently I got some web design to do and split my screen horizontally in half. In this mode the width of the sidebar used to much space. Disabling it with F1 also didn’t really help because then I had no tab list at all.

Today I got the idea of only showing the default tab bar, when necessary. Since I can’t capture keys with CSS (and I didn’t find a way to create a user JS file like userChrome.css) and pressing a key to show and hide would be too much work, I got the idea of showing the tabbar when hovering.

Animated picture of the Tabbar showing and hiding.
Click on the image to enlarge it.

The trick is to show a small rest of the tab bar above the address bar by default (in this case 5px). Only when the mouse cursor hovers this area, the full tab bar is shown. The following CSS code does this:

#TabsToolbar {
min-height: 5px !important;
max-height: 5px !important;
opacity: 0 !important;
}

#TabsToolbar:hover {
max-height: inherit !important;
opacity: 1 !important;
}

To use this, you have to paste this CSS code in your userChrome.css file.

Scrolling doesn’t work in GTK+ 3 apps in StumpWM

Since some time ago I could not scroll in any GTK+ 3 window in StumpWM with an external mouse. Today I found a workaround for this problem: executing export GDK_CORE_DEVICE_EVENTS=1 in a shell fixes the problem. To set this automatically when starting StumpWM insert the following in your ~/.stumpwmrc:

;; bugfix for scrolling doesn't work with an external mouse in GTK+3 apps.
(setf (getenv "GDK_CORE_DEVICE_EVENTS") "1")

This bug was also reported (and fixed) at the following bug trackers. However, none of those fixes worked for me.

I found this solution at https://www.linuxquestions.org/questions/slackware-14/gtk-3-mouse-wheel-doesn’t-work-on-current-wed-sep-25-a-4175478706/.

Linux Programs I Use

Intro

A few people asked me in the last time which tools and programs I use so I decided to put them in a short list.

I often look at lists like “The best …”, “Software you need” or similar posts. Not because I need them, but because I want to get inspired and learn about new / other tools that may become a program I use. This also means that in most cases there is more than one program listed below.

But there is one most important thing if you’re thinking about using a new / other program: The complete configuration shouldn’t take more than what it’s worth. It is without any sense to invest many hours to configure or switch to another program, if it doesn’t bring you an enormous improvement concerning productivity, speed and / or creativity. Remember always that your time is limited and is better invested in something you want to achieve.

Also keep in mind, that is is a list of software I like. I didn’t try all the available alternatives that are out there. If a program is not listed, it doesn’t mean that it’s bad or that I don’t like it.

I will update this list, if something changes, if I have the time.

Continue reading Linux Programs I Use

Installation of Debian 8 “jessie” testing

1 Preparation

1.1 Download image

To download a image go to http://www.debian.org/devel/debian-installer/ and copy the download link of the netinstall iso for your architecture from the netinst section (Right Click > Copy Link Location (Firefox) / Copy Link Address (Chrome)) and download it with the command

wget -c [copied link]

(you can simply paste the link with the shortcut STRG+SHIFT+V). Create now a file for the checksum with the command

touch sha512sum

in the same folder and open it with

nano sha512sum

Then click in the CD section on your architecture and click on the new page on SHA512SUM and copy from there the line of the netinstall iso (normally it is the second one from the bottom) into the sha512sum file (you can simply use the shortcut STRG+SHIFT+C to paste it). Save now the file with the shortcut STRG+SHIFT+O and close it with STRG+SHIFT+X. Finally check now the iso image with the command

sha512sum -c sha512sum

Normally the image should be fine, if not, try again to download it.

Continue reading Installation of Debian 8 “jessie” testing