Posts

Fedora 23 Calendar PopDown in DarkGlass Gnome Shell Theme is cut off

In Gnome Shell 3 (3.18 actually) if I chose DarkGlass as my Shell theme and I clicked on the date at the top the calendar that "pops down" would be cut off at the right side. Actually it was there but the background color was missing.

The fix is to find either the file

/usr/share/themes/Dark-Glass/gnome-shell/gnome-shell.css

or

~/.themes/Dark-Glass/gnome-shell/gnome-shell.css

and change width: to min-width like so:



/* Calendar popup */                                                                                                            

#calendarArea {
    /* this is the width of the entire popup */
#    width: 600px;
min-width: 600px;
}

Synergy - Avoid stuck modifier keys when undocking and redocking a laptop

Synergy is a very useful piece of software that allows two (or I suppose more) computers to share a keyboard and a mouse. One computer is configured as a server, one as a client, and the client computer can be then controlled with the server computer's input devices.

In my typical setup at work I have two Ubuntu computers (although I'm a Fedora user at home) - a desktop and a laptop with a dock. The desktop is configured as the server and the client is the laptop.

Everything basically would work until such time as I undocked and redocked the laptop. Without thinking too much about what I was doing or why - when it came time to go to a meeting I would simply undock the laptop and go. Usually undocking wasn't too much of an issue but when I returned to my desk on redocking the laptop it would sometimes (but not always) behave incorrectly.

The laptop would act as if some modifier key were permanently pressed. And up-arrow press might show "3A" on the terminal window…

Protect Google Chrome against Logjam Vulnerability

Image
Determine if you're vulnerable to the Logjam Attack - go to https://weakdh.org/ with your chrome browser and see if you get a blue bar (good) or a red one (bad).

When I tried this Firefox was OK, Google Chrome was not.

I fixed this by editing /usr/bin/google-chrome and adding the --cipher-suite-blacklist parameter.

# Make sure that the profile directory specified in the environment, if any,
# overrides the default.
if [[ -n "$CHROME_USER_DATA_DIR" ]]; then
  # Note: exec -a below is a bashism.
  exec -a "$0" "$HERE/chrome" --user-data-dir="$CHROME_USER_DATA_DIR" --cipher-suite-blacklist=0xcc15,0x009e,0x0039,0x0033 "$@"
else
  exec -a "$0" "$HERE/chrome" --cipher-suite-blacklist=0xcc15,0x009e,0x0039,0x0033 "$@"
fi

as shown above.

https://cc.dcsec.uni-hannover.de/ will tell you which ciphers your browser currently supports.

OBI drops outbound calls - setup sysloging to help figure it out

My OBI-100 drops outbound calls usually right at 16 minutes. First thing I noticed there was some stale config on the OBI device. When I thought Google Voice (free) was going away I paid for another VOIP provider. Today I noticed there was some stale config related to the old VOIP provider related to keepalive server config. I restored all of that to default. So hopefully that will fix the problem. But then I wanted to setup syslog for my obi device and also to direct those logs to their own file.


On Linux host which is on same LAN open up /etc/rsyslog.conf and uncomment the below lines:
# Provides UDP syslog reception #$ModLoad imudp #$UDPServerRun 514
# Provides TCP syslog reception #$ModLoad imtcp #$InputTCPServerRun 514
(i.e. remove the hashes in red).
  2. In /etc/ryslog.conf add the following lines just before the indicated lines (assuming that OBI is at 192.168.1.2). Notice that the & ~ line will discard the message so it won't also end up elsewhere.
#For OBI if $fromhost-ip s…

Fedora 22 upgrade - Kernel Panic - not syncing: VFS Unable to mount root FS on unknown-block(0 0)

Image
After upgrading from Fedora 21 to Fedora 22 I experienced a kernel panic on booting into the new, 4.0.2 kernel with the message given in the title "VFS Unable to mount root FS on unknown-block(0,0)".

Long story short - looking into /boot there was the vmlinuz kernel, vmlinuz-4.0.2-300.fc22.x86_64, but no corresponding initramfs-4.0.2-300.fc22.x86_64.img file. Also in the grub.cfg stanza there was a missing reference to the .img file i.e.
initrd16 /initramfs-4.0.2-300.fc22.x86_64.img
was missing.

Again, in the interest of brevity, I ran dracut manually on the 4.0.2 kernel and it errored - complaining about "no module bootchart found".

(Bootchart is a package I had installed previously that attempts to measure or profile time spent during booting - I'm assuming that F22 dracut does not have the needed support.)

Fortunately Dracut has an option to ignore arbitrary modules e.g. bootchart with the parameter -o.

So the fix was ultimately to do something like:

#dracut …

Outlook email search returns no results

Indexing borked so you get no results when you type in the search box.

What I found to do:

Search | Search Tools | Search Options | Indexing Options

Remove the "Outlook" file and then replace it which forces the index to rebuild.

Elsewhere there is an option to "rebuild the index" but it doesn't seem to have any effect.

The above procedure will cause the index to rebuild. While it is rebuilding you can see its status and as it rebuilds a search will start returning more and more results.