Re: Archey

I tried to do something with lsb-release but it can only identify that I'm using Arch and nothing more.Can anybody help me.

You get this error because the file /etc/lsb-release need to be specific tu ubuntu (remove it from arch pacman -R lsb-release).The index out of range error is due to the fact on ubuntu system this file have more than only one line.

Yes, if archey detects xfconfd running; it will identify your DE as Xfce. I'm assuming you have xfconfd running because crunchbang uses Thunar and other Xfce tools, correct? You can just edit the script and uncomment the 'DE' field if it bothers you.

Re: Archey

Yes, if archey detects xfconfd running; it will identify your DE as Xfce. I'm assuming you have xfconfd running because crunchbang uses Thunar and other Xfce tools, correct? You can just edit the script and uncomment the 'DE' field if it bothers you.

And yes Terminator merely emulates xterm.

Yes, actually #! Statler comes in two flavours, OpenBox and Xfce, so it makes sense that some xfce would be in the OpenBox version, and it doesn't really bother me, I've been doing some reading up on it and I understand why xfce there.

Re: Archey

Yes, if archey detects xfconfd running; it will identify your DE as Xfce. I'm assuming you have xfconfd running because crunchbang uses Thunar and other Xfce tools, correct? You can just edit the script and uncomment the 'DE' field if it bothers you.

And yes Terminator merely emulates xterm.

Yes, actually #! Statler comes in two flavours, OpenBox and Xfce, so it makes sense that some xfce would be in the OpenBox version, and it doesn't really bother me, I've been doing some reading up on it and I understand why xfce there.

@ Kittykatt - Thanks for the #! logo in archey.

Welcome. You should check out screenfetch, too. Me and melik bounce each others' scripts off each other all the time for new ideas. xD

Re: Archey

Hi people.

I kinda rewrote archey. I wanted to make it python3 compatible, and decided to make it object oriented at the same time. You might want to have a look at the code. I didn't include multi distro support, but I've made it very simple to extend. Anyway, if the archey people want to use it, they might find it usefull too look at (much less global data, sane layout of code, user customization without editing the script, much DRYer, etc. etc.). It isn't much prettier, I will readily admit, but imho, it is a stronger platform to go forwards on.

In the face of the upcoming python2->3 migration, it can be found in the aur under archey3.

Re: Archey

Re: Archey

As previously stated, checking if xfconfd is running, is not a proper way of detecting Xfce. For example I'm using xfwm4 standalone and it needs Xfce. So, the correct output should be "WM: Xfwm4, DE: None Found".

A proper way of doing this could be checking if xfce4-session is running, which will always be there if the DE is running.

It is better to keep your mouth shut and be thought a fool than to open it and remove all doubt. (Mark Twain)

Re: Archey

dcc24 wrote:

As previously stated, checking if xfconfd is running, is not a proper way of detecting Xfce. For example I'm using xfwm4 standalone and it needs Xfce. So, the correct output should be "WM: Xfwm4, DE: None Found".

A proper way of doing this could be checking if xfce4-session is running, which will always be there if the DE is running.

Sorry, I haven't been active lately; been really busy with school.

I pushed your suggested fix up to github, go ahead and run an update from the AUR package; and it should run fine.