Saturday, May 7, 2016

a simple fix

Geeqie, one of my favorite image viewers for Linux:



Some may recall an image viewer from several years back, called GQview; Geeqie is a fork of that app. You can still find GQview in Arch AUR, but I don't think it's being maintained.

Running Geeqie, you can toggle back and forth to/from fullscreen mode by tapping the "f" key. However, I noticed that I couldn't get fullscreen mode to work in either LXDE or Openbox in Arch. I couldn't understand this, because it worked fine in Xfce on the same Arch installation.

When trying to go to fullscreen mode in LXDE or Openbox, I did get a second Geeqie icon on the panel, but that was it:



I started up Geeqie from the command line and tapped the "f" key to see what output I got:



From The Geeqie User Manual, section 10.3 ("Window Options"):

10.3.3.  Full Screen

Location

Selects the location and position of the full screen window. 'Determined by window manager' will leave the window placement up to the window manager. 'Active screen' places the window on the same screen as the Geeqie main window. 'Active monitor' does the same, but limits the full screen window size to the monitor containing the main window [...]



So, I went into Geeqie's preferences, to the Windows tab; in the "Full screen" section, I changed "Location" from "Determined by Window Manager" to "Active screen":
 



Now, Geeqie's fullscreen mode works fine in Openbox. Command line output now looks like this:

fullscreen.c:301: Original vindow is not visible, enabling std. fullscreen mode


Problem solved. Hope this helps somebody.

Sunday, April 17, 2016

trying lxde in arch




I first set up this Arch installation with Xfce and the xdm-archlinux display manager. Decided later to add LXDE; and, I switched display managers, going with LightDM, which is nice for choosing from different desktop environments/window managers at login.

# pacman -S lightdm lightdm-gtk-greeter
# systemctl -f enable lightdm.service


For info and instructions about display managers for Arch, man pages and the documentation at the Arch wiki prove essential.


To get a screenshot of the greeter screen, first I had to add xorg-server-xephyr:

# pacman -S xorg-server-xephyr

Then I used dm-tool to run start a nested display of the greeter screen, and took a screenshot of that:

$ dm-tool add-nested-seat --fullscreen
 


Alt-F4 gets you back to the desktop. Also, see dm-tool --help.

In Arch's default LXDE, I wasn't able to change the number of desktops/workspaces. The thing to note here is that not all options for configuring Openbox are available with the lxappearance-obconf plugin (and that obconf is needed to change the number of desktops in LXDE). So:

# pacman -S obconf



A clean look at how I've got the desktop set up at the moment:


Sunday, February 28, 2016

keeping curry's scoring in perspective

Golden State's Steph Curry is having another great year, but this season (his 7th in the NBA) will be only the first time he's led the league in scoring.

Number of scoring titles for NBA players not named Jordan or Chamberlain (three or more scoring titles):

Kevin Durant (Oklahoma City) - 4
Allen Iverson (Sixers) - 4
George Gervin (Spurs) - 4
Bob McAdoo (Buffalo Braves) - 3
Neil Johnston (Philadelphia Warriors) - 3
George Mikan (Minneapolis Lakers) - 3


Very short list. Oh, and Michael Jordan led the NBA in scoring TEN times; Wilt Chamberlain did it 7 times.

Source: http://www.basketball-reference.com/leaders/pts_per_g_yearly.html

Saturday, February 27, 2016

splash!

Former Duke Blue Devil Seth Curry, Steph's younger brother, scored a career high 19 points for Sacramento last night, against the Clippers. Hasn't been getting much playing time, finally got some minutes (about 25). How cool would it be if he could eventually elbow his way into a new Splash Brothers conversation?

Seth shot 5-9 from the field (including 3-4 3PT) and hit 6 of 7 free throws in about 26 minutes of court time. Not bad. The Kings should maybe give him some more minutes, see how things go.

Tuesday, February 2, 2016

fluxbox in leap

Added Fluxbox to openSUSE Leap 42.1 via the 1-Click Install (see https://software.opensuse.org/package/fluxbox) (this added the X11:windowmanagers repo).

When I logged into Fluxbox, here's the desktop that I was presented with at first:


Not bad, actually. The desktop right-click menu didn't have much in it, but it did have a "Run Command" entry, which is enough to get to work. I'd saved my notes and files from my Fluxbox installation in openSUSE 13.2, so I used those to quickly set things up in 42.1.

I'm using the command fbsetbg -r /home/steve/wallpapers to pull random images from my ~/wallpapers directory. I added feh, then turned on transparency by changing the value of the following line in ~/.fluxbox/init from "false" to "true":

session.forcePseudoTransparency:    true

To get a black cursor for Fluxbox, I went to /etc/sysconfig/windowmanager and changed X_MOUSE_CURSOR="DMZ" to X_MOUSE_CURSOR="DMZ-Black", then rebooted for that to take effect.

Here's my ~/.fluxbox/menu file (I think all of these entries work):

# Version 0.1    08.04.2003 - hvogel@hennevogel.de
# Version 0.2   07.12.2004 - hvogel@hennevogel.de

[begin] (Fluxbox Menu)
    [exec] (firefox) {firefox}
    [exec] (spacefm) {spacefm}
    [exec] (konsole) {konsole}
    [exec] (geany) {geany}
    [include] (~/.fluxbox/menu.xdg)
    [submenu] (Tools)
       [exec] (chromium) {chromium}      
       [exec] (dolphin) {dolphin}
       [exec] (mirage) {mirage}
       [exec] (geeqie) {geeqie}
       [exec] (spectacle) {spectacle}
       [exec] (gwenview) {gwenview}
       [exec] (kcalc) {kcalc}
       [exec] (konqueror) {kfmclient openProfile filemanagement}
       [exec] (YaST) {/usr/bin/xdg-su -c /sbin/yast2}
    [end]
        [submenu] (Fluxbox Configuration) {}
                [config] (Config)
                [workspaces] (Workspace)
                [submenu] (System-Styles) {Choose a style...}
                        [stylesdir] (/usr/share/fluxbox/styles)
                [end]
        [submenu] (User-Styles) {Choose a style...}
                        [stylesdir] (~/.fluxbox/styles)
                [end]
        [end]
    [exec] (Run Command) {fbrun}

    [exec] (Random Wallpaper) {fbsetbg -r /home/steve/wallpapers}
    [exec] (Lock Screen) {xlock}
    [restart] (Restart) {}
    [exit] (Logout)
[end]


Tinkered some more with the settings, came up with this:


Very nice set-up.

finding the kde version number

Used to be that when I wanted to find the KDE version number, I'd just open a KDE app and click on "About KDE" under the Help menu.

Open up Konsole in Debian Jessie and go to Help > About KDE and you'll see the following window, which shows the KDE version number:



In KDE apps in openSUSE Leap 42.1, which uses Plasma 5, the About KDE window no longer shows the KDE version number:



So, forget Help > About KDE.

Anyway, there's KInfoCenter (Main Menu > Settings > KInfoCenter). In Debian Jessie:



And, KInfoCenter in openSUSE 42.1:


So, I'm running KDE 4.14.2 in Debian Jessie and KDE Plasma 5.4.3 in openSUSE Leap 42.1, and KInfoCenter is still the best GUI way to quickly find the version number in KDE.

Sunday, January 31, 2016

hammerin' it into shape

Fixed a few things in openSUSE 42.1. I managed to disable KWallet (which was coming on, for example, whenever I went into Chromium's settings) by doing the following: KMenu > KWalletManager > Settings > Configure Wallet... > Wallet Preferences tab > uncheck "Enable the KDE wallet subsystem. After I did this, I could no longer get the KWalletManager app from the KMenu to work properly (it kept freezing up), but KWallet appears to be disabled.

I finally got Mirage installed, via 1-Click Install, here: https://software.opensuse.org/package/mirage



I had been unable to play .wma music files, but then I found the following note about multimedia codecs (at http://ordinatechnic.com/os-specific-guides/opensuse/opensuse-leap-421-review-supplement):

In addition to adding the PackMan repositories, they must be prioritized over the default openSUSE repositories to prevent a change in package version during updates to those in the default openSUSE repositories. This is important for packages like vlc and vlc-codecs where the PackMan versions, besides being ususally newer, support proprietary codecs and the openSUSE ones don't.

It is also important to be aware of the concept of vendor in openSUSE. If software available from the openSUSE repository has been installed, then the PackMan repository is added, already installed packages can be changed to the versions in the PackMan repositories. This can be done in the YaST Software Management module by viewing packages by repositorym, selecting the PackMan repository, then clicking "Switch System Packages to Versions in this Repository".



(See: https://en.opensuse.org/SDB:Vendor_change_update#Full_repository_Vendor_change)

I followed those steps (this installed/updated a lot of multimedia packages), then logged out of KDE and logged back in. After that, I was able to play .wma, .ogg, and .mp3 files.



There are a few other little things I'd like to get fixed up, but "Leap" 42.1 is shaping up nicely. Always seems to take a bit of post-installation work to get an openSUSE installation set up like I want it; well worth it, in the end.