You are not logged in.
Introducing archey:
Its a simple screenshot/info tool similar to the perl version found in the screenshots/artwork forum. Archey is written in python 2.6. Hope you guys enjoy.
AUR Link for Archey: http://aur.archlinux.org/packages.php?ID=32556
Dependencies: git, python, scrot, lsb-release
__________________
Introducing archey3:
Bluepeppers released a new version of archey written in Python 3.
AUR Link for Archey3: http://aur.archlinux.org/packages.php?ID=40420
Dependencies: imagemagick, python3
Last edited by melik (2010-10-05 06:18:37)
Offline
Great stuff. Thanks.
< Daenyth> tomkx: my girlfriend is linux
< Daenyth> srsly
< Daenyth> she loves the way I «make install»
< Daenyth> all her /dev entries are mode 7 for me
Offline
cool script,
Offline
What advantage does this program have over the perl version?
How's my programming? Call 1-800-DEV-NULL
Offline
What advantage does this program have over the perl version?
A lot cleaner, very stable script.
Displays different information.
Option to choose colors.
Option to screenshot.
Python is awesome
Offline
Well, the newest git pull does not work. It fails with the following message:
Traceback (most recent call last):
File "/usr/bin/archey", line 210, in <module>
%s """ % (color, color, color, list[0], color, list[1], color, list[2], color, list[3], color, list[4], color, list[5], color, list[6], color, color2, color, list[7], color, color2, color, list[8], color, color2, list[9], color2, list[10], color2, list[11], color2, list[12], color2, list[13], color2, list[14], color2, color2, clear)
IndexError: list index out of rang
Offline
Well, the newest git pull does not work. It fails with the following message:
Traceback (most recent call last): File "/usr/bin/archey", line 210, in <module> %s """ % (color, color, color, list[0], color, list[1], color, list[2], color, list[3], color, list[4], color, list[5], color, list[6], color, color2, color, list[7], color, color2, color, list[8], color, color2, list[9], color2, list[10], color2, list[11], color2, list[12], color2, list[13], color2, list[14], color2, color2, clear) IndexError: list index out of rang
Have you configured it? If yes, can you pastebin the code?
Offline
I haven't configured it - am I supposed to? I got the package from Aur. It also throws the same error with when I use the -c switch.
Offline
I haven't configured it - am I supposed to? I got the package from Aur. It also throws the same error with when I use the -c switch.
Hmm.. Its quite odd. I'll look into it right now.
Edit: Figured out the problem, you don't have X running. I suppose you can comment out 'de_or_wm' as a quick fix. Once I have time I'll fix that function.
Last edited by melik (2009-12-29 21:18:49)
Offline
Ashren wrote:I haven't configured it - am I supposed to? I got the package from Aur. It also throws the same error with when I use the -c switch.
Hmm.. Its quite odd. I'll look into it right now.
Edit: Figured out the problem, you don't have X running. I suppose you can comment out 'de_or_wm' as a quick fix. Once I have time I'll fix that function.
Fixed it.
Just reinstall it from the AUR.
Also the reason you might have received that error was because your WM isn't included in the script, please tell me the name of your WM so I may add it.
Last edited by melik (2009-12-30 03:24:24)
Offline
[syth@Imperium ~]$ archey -s -c blue
Traceback (most recent call last):
File "/usr/bin/archey", line 215, in <module>
%s """ % (color, color, color, result[0], color, result[1], color, result[2], color, result[3], color, result[4], color, result[5], color, result[6], color, color2, color, result[7], color, color2, color, result[8], color, color2, result[9], color2, result[10], color2, result[11], color2, result[12], color2, result[13], color2, result[14], color2, color2, clear)
IndexError: list index out of range
any ideas? my wm (xmonad) should be included...
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol
Offline
[syth@Imperium ~]$ archey -s -c blue Traceback (most recent call last): File "/usr/bin/archey", line 215, in <module> %s """ % (color, color, color, result[0], color, result[1], color, result[2], color, result[3], color, result[4], color, result[5], color, result[6], color, color2, color, result[7], color, color2, color, result[8], color, color2, result[9], color2, result[10], color2, result[11], color2, result[12], color2, result[13], color2, result[14], color2, color2, clear) IndexError: list index out of range
any ideas? my wm (xmonad) should be included...
hmmm can you do:
ps -A | grep xmonad
copy paste the output please.
Offline
[syth@Imperium ~]$ archey -s -c blue Traceback (most recent call last): File "/usr/bin/archey", line 215, in <module> %s """ % (color, color, color, result[0], color, result[1], color, result[2], color, result[3], color, result[4], color, result[5], color, result[6], color, color2, color, result[7], color, color2, color, result[8], color, color2, result[9], color2, result[10], color2, result[11], color2, result[12], color2, result[13], color2, result[14], color2, color2, clear) IndexError: list index out of range
any ideas? my wm (xmonad) should be included...
Are you running this within gnu screen and set the text mode environment on in your screenrc? If so just comment out that line in your screenrc and it should work.
How's my programming? Call 1-800-DEV-NULL
Offline
Melik: Thanks for the update. The script now works and xmonad gets detected after uncommenting "wm" in archey.
Offline
Melik: Thanks for the update. The script now works and xmonad gets detected after uncommenting "wm" in archey.
I think i'm going to remove de_or_wm and leave a seperate one for 'de' and 'wm'.
People can just comment out 'de' if they don't use it
Offline
Stythys wrote:[syth@Imperium ~]$ archey -s -c blue Traceback (most recent call last): File "/usr/bin/archey", line 215, in <module> %s """ % (color, color, color, result[0], color, result[1], color, result[2], color, result[3], color, result[4], color, result[5], color, result[6], color, color2, color, result[7], color, color2, color, result[8], color, color2, result[9], color2, result[10], color2, result[11], color2, result[12], color2, result[13], color2, result[14], color2, color2, clear) IndexError: list index out of range
any ideas? my wm (xmonad) should be included...
hmmm can you do:
ps -A | grep xmonad
copy paste the output please.
[syth@Imperium ~]$ ps -A | grep xmonad
3579 ? 00:00:05 xmonad-i386-lin
[home page] -- [code / configs]
"Once you go Arch, you must remain there for life or else Allan will track you down and break you."
-- Bregol
Offline
Cool scripts, thanks
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Archey is written in python. Hope you guys enjoy.
Here are some ideas for you:
- replace hard coded Arch Linux label with /etc/*version and /etc/*release
- read logo from an external file for simpler support of other distros
- add GTK theme, icons theme and fonts support from ~/.gtkrc*
- add acpitool support to battery along with acpi, or even better calculate your self
- replace scrot with more common imagemagick import and convert
You need to install an RTFM interface.
Offline
melik wrote:Stythys wrote:[syth@Imperium ~]$ archey -s -c blue Traceback (most recent call last): File "/usr/bin/archey", line 215, in <module> %s """ % (color, color, color, result[0], color, result[1], color, result[2], color, result[3], color, result[4], color, result[5], color, result[6], color, color2, color, result[7], color, color2, color, result[8], color, color2, result[9], color2, result[10], color2, result[11], color2, result[12], color2, result[13], color2, result[14], color2, color2, clear) IndexError: list index out of range
any ideas? my wm (xmonad) should be included...
hmmm can you do:
ps -A | grep xmonad
copy paste the output please.
[syth@Imperium ~]$ ps -A | grep xmonad
3579 ? 00:00:05 xmonad-i386-lin
I think the script should use pgrep instead of ps -A | grep
Offline
melik wrote:Archey is written in python. Hope you guys enjoy.
Here are some ideas for you:
- replace hard coded Arch Linux label with /etc/*version and /etc/*release
- read logo from an external file for simpler support of other distros
- add GTK theme, icons theme and fonts support from ~/.gtkrc*
- add acpitool support to battery along with acpi, or even better calculate your self
- replace scrot with more common imagemagick import and convert
Thank you for the suggestions, I'm quite busy atm with holidays, etc.. but will get to work.
Stythys wrote:melik wrote:hmmm can you do:
ps -A | grep xmonad
copy paste the output please.
[syth@Imperium ~]$ ps -A | grep xmonad
3579 ? 00:00:05 xmonad-i386-linI think the script should use pgrep instead of ps -A | grep
I had never heard of pgrep, just tried it out.. and its great. Thanks!
Offline
musca is missing from the list.
Offline
Archey 1.5
Added:
Support for PekWM
Support for Musca WM
CPU Model Reporting
RAM Usage Reporting
Last edited by melik (2010-01-11 18:03:28)
Offline
melik wrote:Stythys wrote:[syth@Imperium ~]$ archey -s -c blue Traceback (most recent call last): File "/usr/bin/archey", line 215, in <module> %s """ % (color, color, color, result[0], color, result[1], color, result[2], color, result[3], color, result[4], color, result[5], color, result[6], color, color2, color, result[7], color, color2, color, result[8], color, color2, result[9], color2, result[10], color2, result[11], color2, result[12], color2, result[13], color2, result[14], color2, color2, clear) IndexError: list index out of range
any ideas? my wm (xmonad) should be included...
hmmm can you do:
ps -A | grep xmonad
copy paste the output please.
[syth@Imperium ~]$ ps -A | grep xmonad
3579 ? 00:00:05 xmonad-i386-lin
Yeah thats the problem with xmonad
The actual name of the process varies so it throws me off, i'm still thinking of a way to fix it
Offline
Yeah thats the problem with xmonad
The actual name of the process varies so it throws me off, i'm still thinking of a way to fix it
pgrep xmonad.
Note the period as a wildcard in the end.
Offline
melik wrote:Yeah thats the problem with xmonad
The actual name of the process varies so it throws me off, i'm still thinking of a way to fix it
pgrep xmonad.
Note the period as a wildcard in the end.
Regex slows the script down a lot, i'd rather stay away from it.
Offline