You are not logged in.

#1 2023-09-30 05:51:19

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

neofetch - minor fix

John, this is very minor, but posting in the scrot thread I've noticed that neofetch displays the wrong Openbox theme, especially if you've set up a separate pure Openbox session and set a theme there via lxappearance.

I figured it out, neofetch is reading the Openbox rc.xml file, but for a BL session it should read bl-rc.xml. So I copied neofetch from /usr/bin to ~/bin and instead of this (starting at line 1967, assuming the Ubuntu and Debian versions are the same, ymmv)...

        Openbox)
            case $de in
                LXDE*) ob_file=lxde-rc ;;
                LXQt*) ob_file=lxqt-rc ;;
                    *) ob_file=rc ;;
            esac

... I added another line...

        Openbox)
            case $de in
                LXDE*) ob_file=lxde-rc ;;
                LXQt*) ob_file=lxqt-rc ;;
                BunsenLabs*) ob_file=bl-rc ;;
                    *) ob_file=rc ;;
            esac

... and it works for me.

Like I said, trivial, and I'll post it in Tips & Tricks tomorrow, but I wanted to run it by you first. big_smile Is this scripting correct?

Last edited by hhh (2023-09-30 05:52:11)


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Online

#2 2023-09-30 08:46:35

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,557
Website

Re: neofetch - minor fix

^it looks good to me.

In fact, I just installed neofetch to try it and your fix does the job. smile

You might consider offering it as an issue or PR, since they do support BL in other ways.
https://github.com/dylanaraps/neofetch


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#3 2023-09-30 14:48:29

hhh
Gaucho
From: High in the Custerdome
Registered: 2015-09-17
Posts: 16,036
Website

Re: neofetch - minor fix

^ Yes, I was thinking of that. I will for sure, thanks to your gentle nudge!


No, he can't sleep on the floor. What do you think I'm yelling for?!!!

Online

Board footer

Powered by FluxBB