You are not logged in.
Archey 0.2.1
- detects filesystems automatically (it will only display the first 7 mounts)
- currently supports: ext2 ext3 ext4 reiserfs jfs ntfs fat32 btrfs
- some cleanupIf I'm missing any other filesystems, feel free to post here so that I may add.
[sorry it some of this is already known - didn't read the whole thread]
It seems to me that archey does not detect dm-crypt partitions. My systems has / and /home on dm-crypt volumes with btrfs on them and they're not detected. Only my ext4 /boot partition is shown.
Also, installing archey with yaourt gives acpi as an optional dependancy to display battery health but acpi seems not to be used in the script.
Sony Vaio VPCM13M1E - Arch Linux - LXDE
Offline
melik wrote:Archey 0.2.1
- detects filesystems automatically (it will only display the first 7 mounts)
- currently supports: ext2 ext3 ext4 reiserfs jfs ntfs fat32 btrfs
- some cleanupIf I'm missing any other filesystems, feel free to post here so that I may add.
[sorry it some of this is already known - didn't read the whole thread]
It seems to me that archey does not detect dm-crypt partitions. My systems has / and /home on dm-crypt volumes with btrfs on them and they're not detected. Only my ext4 /boot partition is shown.
Also, installing archey with yaourt gives acpi as an optional dependancy to display battery health but acpi seems not to be used in the script.
Ah i forgot about dm-crypt partitions.
Can you pastebin the output of 'df -TPh'
and yeah, I'll have to fix the PKGBUILD file, thanks (archey used to do battery output, but I removed that feature; forgot to update the PKBUILD haha)
Last edited by melik (2010-06-24 07:54:03)
Offline
Could WMFS be added as WM? Process name : wmfs
--- archey 2010-06-24 10:29:40.138917033 +0200
+++ archey.new 2010-06-24 10:30:22.735749885 +0200
@@ -76,6 +76,7 @@
'ratpoison': 'ratpoison',
'scrotwm': 'ScrotWM',
'wmaker': 'Window Maker',
+ 'wmfs': 'WMFS',
'wmii': 'wmii',
'xfwm4': 'Xfwm',
'xmonad': 'xmonad'}
Last edited by Erus_Iluvatar (2010-06-24 08:30:50)
I'm french, don't mind my mistakes in english.
Offline
goran'agar wrote:melik wrote:Archey 0.2.1
- detects filesystems automatically (it will only display the first 7 mounts)
- currently supports: ext2 ext3 ext4 reiserfs jfs ntfs fat32 btrfs
- some cleanupIf I'm missing any other filesystems, feel free to post here so that I may add.
[sorry it some of this is already known - didn't read the whole thread]
It seems to me that archey does not detect dm-crypt partitions. My systems has / and /home on dm-crypt volumes with btrfs on them and they're not detected. Only my ext4 /boot partition is shown.
Also, installing archey with yaourt gives acpi as an optional dependancy to display battery health but acpi seems not to be used in the script.
Ah i forgot about dm-crypt partitions.
Can you pastebin the output of 'df -TPh'
and yeah, I'll have to fix the PKGBUILD file, thanks (archey used to do battery output, but I removed that feature; forgot to update the PKBUILD haha)
Here you are (unless I misunderstood the meaning of "pastebin")
[root@ratbert] - [~] df -TPh
Filesystem Type Size Used Avail Use% Mounted on
rootfs rootfs 3.5G 2.1G 868M 71% /
udev devtmpfs 10M 252K 9.8M 3% /dev
/dev/mapper/root btrfs 3.5G 2.1G 868M 71% /
shm tmpfs 498M 0 498M 0% /dev/shm
/dev/mapper/home btrfs 7.6G 4.0G 1.7G 71% /home
/dev/sda1 ext4 236M 42M 182M 19% /boot
none tmpfs 498M 40K 498M 1% /tmp
none tmpfs 498M 284K 498M 1% /var/log
none tmpfs 498M 0 498M 0% /var/tmp
Sony Vaio VPCM13M1E - Arch Linux - LXDE
Offline
(unless I misunderstood the meaning of "pastebin")
Offline
Could WMFS be added as WM? Process name : wmfs
--- archey 2010-06-24 10:29:40.138917033 +0200 +++ archey.new 2010-06-24 10:30:22.735749885 +0200 @@ -76,6 +76,7 @@ 'ratpoison': 'ratpoison', 'scrotwm': 'ScrotWM', 'wmaker': 'Window Maker', + 'wmfs': 'WMFS', 'wmii': 'wmii', 'xfwm4': 'Xfwm', 'xmonad': 'xmonad'}
Sure thing
melik wrote:goran'agar wrote:[sorry it some of this is already known - didn't read the whole thread]
It seems to me that archey does not detect dm-crypt partitions. My systems has / and /home on dm-crypt volumes with btrfs on them and they're not detected. Only my ext4 /boot partition is shown.
Also, installing archey with yaourt gives acpi as an optional dependancy to display battery health but acpi seems not to be used in the script.
Ah i forgot about dm-crypt partitions.
Can you pastebin the output of 'df -TPh'
and yeah, I'll have to fix the PKGBUILD file, thanks (archey used to do battery output, but I removed that feature; forgot to update the PKBUILD haha)
Here you are (unless I misunderstood the meaning of "pastebin")
[root@ratbert] - [~] df -TPh Filesystem Type Size Used Avail Use% Mounted on rootfs rootfs 3.5G 2.1G 868M 71% / udev devtmpfs 10M 252K 9.8M 3% /dev /dev/mapper/root btrfs 3.5G 2.1G 868M 71% / shm tmpfs 498M 0 498M 0% /dev/shm /dev/mapper/home btrfs 7.6G 4.0G 1.7G 71% /home /dev/sda1 ext4 236M 42M 182M 19% /boot none tmpfs 498M 40K 498M 1% /tmp none tmpfs 498M 284K 498M 1% /var/log none tmpfs 498M 0 498M 0% /var/tmp
Ah, I was just looking over archey's code.. and noticed it was missing btrfs. I pushed it to Github, try updating archey. Let me know if it works.
supported = ('ext2', 'ext3', 'ext4', 'reiserfs', 'jfs', 'ntfs', 'fat32', 'btrfs')
Last edited by melik (2010-06-24 16:53:49)
Offline
Ah, I was just looking over archey's code.. and noticed it was missing btrfs. I pushed it to Github, try updating archey. Let me know if it works.
supported = ('ext2', 'ext3', 'ext4', 'reiserfs', 'jfs', 'ntfs', 'fat32', 'btrfs')
yup, it works. thanks.
Sony Vaio VPCM13M1E - Arch Linux - LXDE
Offline
Requested this before but got no response, could you display $TERM as well?
Offline
Offline
It's WMFS and not Wmfs :-°
I'm french, don't mind my mistakes in english.
Offline
I just saw that you now also parse if you have a /boot partition or even a /var/lib/pacman Nice
Ogion
(my-dotfiles)
"People willing to trade their freedom for temporary security deserve neither and will lose both." - Benjamin Franklin
"Enlightenment is man's leaving his self-caused immaturity." - Immanuel Kant
Offline
just installed archey. great tool! only thing i'm missing is openbox theme reporting.
also, would be insanely cool to see the color styling from this screenshot could be incorporated somehow (maybe even 'ported' to all the colors).
-- mod edit: only post thumbnails: http://wiki.archlinux.org/index.php/For … s_and_Code --
Last edited by jasonwryan (2010-08-23 21:46:46)
Offline
Just installed, getting this error when I run archey
File "/usr/bin/archey", line 246, in <module>
func()
File "/usr/bin/archey", line 144, in distro_display
urelease = linecache.getline('/etc/lsb-release', 2).rstrip('\n').split('=')[1].title()
IndexError: list index out of range
grep: /etc/lsb-release: No such file or directory
Offline
Just installed, getting this error when I run archey
File "/usr/bin/archey", line 246, in <module> func() File "/usr/bin/archey", line 144, in distro_display urelease = linecache.getline('/etc/lsb-release', 2).rstrip('\n').split('=')[1].title() IndexError: list index out of range grep: /etc/lsb-release: No such file or directory
Sorry about that, I just fixed it. Reinstall it, let me know if it works.
Last edited by melik (2010-08-23 21:50:55)
Offline
Just reinstalled from the AUR, still getting the same error. Is /etc/lsb-release a file I should have?
Offline
Just reinstalled from the AUR, still getting the same error. Is /etc/lsb-release a file I should have?
No you're not. Its a file found in Ubuntu systems.
Offline
splittercode wrote:Just reinstalled from the AUR, still getting the same error. Is /etc/lsb-release a file I should have?
No you're not. Its a file found in Ubuntu systems.
Same here, replace line 107
DetectUbuntu = Popen(['grep', '-i', 'ubuntu', '/etc/lsb-release'], stdout=PIPE)
with
DetectUbuntu = os.path.exists('/etc/lsb-release')
if DetectUbuntu:
DetectUbuntu = Popen(['grep', '-i', 'ubuntu', '/etc/lsb-release'], stdout=PIPE)
Offline
melik wrote:splittercode wrote:Just reinstalled from the AUR, still getting the same error. Is /etc/lsb-release a file I should have?
No you're not. Its a file found in Ubuntu systems.
Same here, replace line 107
DetectUbuntu = Popen(['grep', '-i', 'ubuntu', '/etc/lsb-release'], stdout=PIPE)
with
DetectUbuntu = os.path.exists('/etc/lsb-release') if DetectUbuntu: DetectUbuntu = Popen(['grep', '-i', 'ubuntu', '/etc/lsb-release'], stdout=PIPE)
Does this fix work? I'm on an Ubuntu machine and no way to test
Offline
Yep, it works fine here. Seems like a pretty good solution. Thanks to both you guys!
Offline
jlaunay wrote:melik wrote:No you're not. Its a file found in Ubuntu systems.
Same here, replace line 107
DetectUbuntu = Popen(['grep', '-i', 'ubuntu', '/etc/lsb-release'], stdout=PIPE)
with
DetectUbuntu = os.path.exists('/etc/lsb-release') if DetectUbuntu: DetectUbuntu = Popen(['grep', '-i', 'ubuntu', '/etc/lsb-release'], stdout=PIPE)
Does this fix work? I'm on an Ubuntu machine and no way to test
here is the link to an improved version which correct this bug and also add Debian support via /etc/debian_version file, Version 0.2.5.
Last edited by jlaunay (2010-08-24 03:09:36)
Offline
melik wrote:jlaunay wrote:Same here, replace line 107
DetectUbuntu = Popen(['grep', '-i', 'ubuntu', '/etc/lsb-release'], stdout=PIPE)
with
DetectUbuntu = os.path.exists('/etc/lsb-release') if DetectUbuntu: DetectUbuntu = Popen(['grep', '-i', 'ubuntu', '/etc/lsb-release'], stdout=PIPE)
Does this fix work? I'm on an Ubuntu machine and no way to test
here is the link to an improved version which correct this bug and also add Debian support via /etc/debian_version file, Version 0.2.5.
I was planning on adding Debian support Thanks! I'll push your code to official Github, thanks !
Offline
$ archey
File "/usr/bin/archey", line 6
SyntaxError: Non-ASCII character 'Ã' in file /usr/bin/archey on line 6, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Is this me, or a problem with the script? Thanks
Scott
Offline
$ archey File "/usr/bin/archey", line 6 SyntaxError: Non-ASCII character 'Ã' in file /usr/bin/archey on line 6, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Is this me, or a problem with the script? Thanks
Scott
Yes I'm getting that too. I'm pushing fix right now.
Offline
firecat53 wrote:$ archey File "/usr/bin/archey", line 6 SyntaxError: Non-ASCII character 'Ã' in file /usr/bin/archey on line 6, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Is this me, or a problem with the script? Thanks
Scott
Yes I'm getting that too. I'm pushing fix right now.
line 6 is a comment with the letter "ô" in my name
Offline