Keybindings and Openbox menu shortcuts for slock

After reviewing several solutions to a security problem regarding screen lockers, I’ve found that the easiest workaround for switching virtual terminals and killing the screen locker application is to start one’s X session with the following command:

exec startx

That way, even if someone switches to the virtual terminal that was used to start X and presses CTRL+C, he or she will only be presented with a login prompt (instead of having full reign of the user account responsible for starting the session). Now that there’s a reasonable workaround for that problem, I set out to make keybindings and menu shortcuts for Openbox that would take care of both locking the screen, and putting my displays to sleep. Conceptually, this was a straightforward task, and I accomplished it with the following:

Openbox menu item:
<item label="Lock screen + off">
<action name="execute"><execute>/usr/bin/slock</execute></action>
<action name="execute"><command>/usr/bin/xset dpms force off</command></action>
</item>

Keybinding:
<keybind key="XF86Sleep">
<action name="execute">
<execute>/usr/bin/slock</execute>
</action>
<action name="execute">
<command>/usr/bin/xset dpms force off</command>
</action>
</keybind>

The only problem is that it doesn’t work every time. Though it tends to work nicely, there are times where slock will start, but the displays will not honour the xset command to go to sleep (I guess that when it comes to bedtime, monitors are a bit finicky like children :razz:). I have tried adding a sleep time before the commands, thinking that there was some HID activity causing the wake, but that didn’t rectify the problem. If anyone has a proposed solution to the seemingly random failure of xset putting the displays to sleep, please let me know by leaving a comment.

Cheers,
Zach

Wine tasting review – 18 August 2012

After the surprise tasting yesterday, today brought me back to the regularly-scheduled weekly wine tasting at HV Bottle Shop. The wines today were all from Argentina, three from Mendoza, one from La Rioja, and one from Patagonia (Rio Negro).

HV Bottle Shop tasting - 18 August 2012
Wines are discussed from right to left

The first wine of the day was a 2011 Chardonnay from Verum Winery in Patagonia. It had a light yellow edge, and was very faint in colour when viewed straight on. It had no legs, and a thin ring. There were the citrus aromas that I expected, but also some hints of pear. I’m not sure if it had to do with being tank fermented and coming into contact with very little oak, but I found this Chardonnay to lack the buttery mid-palate and finish that I like. Instead, it was thin-bodied, and otherwise unexceptional.

The second pour was a 2011 Torrontés from producer Zolo in La Rioja. It had a more vibrant yellow colour, and medium legs that were quick to traverse the glass. It was completely fantastic on the nose with its aromas of flowers and tropical fruits. It had a beautiful acidity and nice finish, which was smooth but still crisp. I was shocked that this great wine was offered at such a reasonable price point, so I had to pick up a bottle.

The third glass was a 2010 Bonarda from Lamadrid Winery. Having never had this varietal, I asked Drew (the owner of HV Bottle Shop) what his thoughts were about it. He said that it is “like Syrah on the nose, but more like Pinot Noir on the palate.” I found this to be quite true. I picked up on aromas of pepper, blackberry and even some ash or soot. Though it wasn’t my absolute favourite, I decided to get a bottle so I could become more acquainted with the varietal.

The fourth wine was Zolo’s 2010 Cabernet Sauvignon, which had a deep red colour with medium contrast between the centre and the edge. I picked up dark fruits (especially plums) in both scent and taste. Interestingly, this wine was not very tannic by comparison to many of the Cabernet Sauvignons that I’ve had. This could be related to the harvesting time, and it was likely what Zolo was wanting; a smoother, easier-to-drink wine.

The final pour was the 2011 ‘Ano Cero’ Malbec from Altocedro. It had a deep fuchsia colour (like a combination of purples and reds), with thick, fast-moving legs. I picked up hints of white pepper and black cherry in this vintage. It had a thin mouth feel, but was still tannic.

Cheers,
Zach

Wine tasting review – 17 August 2012

I had a surprise in my inbox the other day, stating that there would be a special wine tasting this evening at HV Bottle Shop. Generally the tastings are on Saturdays–and there will still be one tomorrow–but this week, they also had a tribute to wines from Bennett Valley. Bennett Valley is a very small area in Sonoma County, California, that just became recognised as an AVA in late 2003.

HV Bottle Shop tasting - 17 August 2012
Wines are discussed from right to left

The first pour of the evening was a 2010 Chardonnay from Grey Stack Cellars, which, according to the producer, may be the last vintage of this spectacular wine. With only 230 cases produced, I recommend that you try to secure one for yourself before they’re completely gone. It had a light yellow edge, and was very faint when viewed straight on. Fermented in stainless steel and aged in 50% Oak once-or-twice-used barrels, it showed no signs of legs or a ring. It had a beautiful citrus aroma, with subtle hints of various floral undertones and honeysuckle, all of which came through in taste. Coupled with the amazing nose on this wine, the finish was crisp, light, and bright! Ultimately, it was the one that I couldn’t leave without today.

The second wine was a Viognier from Jemrose Wines. It had a darker yellow colour when viewed straight on, and very thick, slow-running legs. I wasn’t able to pick up much in terms of aromas, other than the generic “citrus,” but the flavours were predominantly orange and some tropical fruits. I found this particular vintage to be highly acidic, and almost astringent. It was my introduction to the varietal, and after only one tasting, I’m not comfortable judging it.

The third offering today was the 2010 ‘Four Brothers’ Pinot Noir from Grey Stack. It had a lighter garnet colour than some other Pinots that I’ve had, with medium legs (both in width and in speed). Featuring a wonderful combination of strawberry and raspberry scents, the berries were also prominent in the taste (especially in the mid-palate). It had a somewhat thin mouth feel to me, but I think that it will be fantastic in a few years, after having time to mellow.

The fourth wine was not actually from Bennett Valley, but rather, the Russian River Valley, which is farther west than Bennett (but still near Santa Rosa). Having a beautiful deep red (nearly purple) colour, ‘The Folly’ 2009 Syrah-Grenache from Grey Stack had a scent of black pepper and smelly socks (Grenache is a musty-smelling grape, so that’s somewhat expected). It had a medium mouth feel, but in terms of flavours, didn’t leave any lasting impression with me.

The last pour of the day was a 2007 Grenache from Jemrose, and was aged 18 months in 20% new French Oak barrels. IT had a medium ruby colour with thin/medium legs. I picked up a very mild cherry scent with more prominent herbs. It had a great medium mouth fell, but I felt that the finish was a little anticlimactic.

Overall, it was a nice change from the norm to get to experience some great wines on a Friday evening. Also, the presentation this week was from Rich Haynes from Dionysus Wines, and he consistently shares his wealth of knowledge about the pours of the day. For that, I’m really grateful, as it adds a lot to the experience.

Cheers,
Zach