You are not logged in.
I allready tried the manual way and got the exact same error as when I tried with the abs. Looking at the PKGBUILD I see this and have questions that might pertain to my problem.
build() {
cd ${srcdir}
rm -rf archey # HERE
msg "Connecting to GIT server...."
if [ -d archey ] ; then
cd archey && git pull origin
msg "The local files are updated."
else
git clone ${_gitroot}
fi
msg "GIT checkout done or server timeout"
msg "Starting make..."
cd ${srcdir}/archey # HERE
install -D -m755 archey ${pkgdir}/usr/bin/archey || return 1
To me it seems like it is removing a directory and then trying to cd into that dir later. Not good at reading this though. Should I post my full PKGBUILD? (I just tried with a fresh download of the .tar.gz) There isn't supposed to be a .install is there?
Offline
I allready tried the manual way and got the exact same error as when I tried with the abs. Looking at the PKGBUILD I see this and have questions that might pertain to my problem.
build() { cd ${srcdir} rm -rf archey # HERE msg "Connecting to GIT server...." if [ -d archey ] ; then cd archey && git pull origin msg "The local files are updated." else git clone ${_gitroot} fi msg "GIT checkout done or server timeout" msg "Starting make..." cd ${srcdir}/archey # HERE install -D -m755 archey ${pkgdir}/usr/bin/archey || return 1
To me it seems like it is removing a directory and then trying to cd into that dir later. Not good at reading this though. Should I post my full PKGBUILD? (I just tried with a fresh download of the .tar.gz) There isn't supposed to be a .install is there?
Te first 'rm -rf archey' just removes any prior directories that might have existed from earlier builds to start a fresh install.
'git clone ${_gitroot}' that line recreates the ${srcdir}/archey DIR.
Try:
sudo bauerbill -Sy archey --aur
Last edited by melik (2010-01-25 03:36:26)
Offline
Oops double post. Sorry!
Last edited by zowki (2010-01-25 04:15:55)
How's my programming? Call 1-800-DEV-NULL
Offline
Try:
sudo bauerbill -Sy archey --aur
Why -Sy? -S would do because archey is the AUR which means it wont be in the package list.
Edit: I found a bug, it wouldnt detect that my window manager is ScotWM.
How's my programming? Call 1-800-DEV-NULL
Offline
melik wrote:Try:
sudo bauerbill -Sy archey --aur
Why -Sy? -S would do because archey is the AUR which means it wont be in the package list.
Edit: I found a bug, it wouldnt detect that my window manager is ScotWM.
Not sure Its a habit for me to add the -y
Not necessarily a bug, it just didn't have support for it.
Thanks, I'll add support for it in the next update.
Offline
Archey says my DE is xfce4.6 but I only have Openbox as a WM...
Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch
Offline
Archey says my DE is xfce4.6 but I only have Openbox as a WM...
That's either because you use thunar or run the xfce notification daemon. It's the same for me when I use scrotwm.
How's my programming? Call 1-800-DEV-NULL
Offline
Roline wrote:Archey says my DE is xfce4.6 but I only have Openbox as a WM...
That's either because you use thunar or run the xfce notification daemon. It's the same for me when I use scrotwm.
Both
Bitbucket - DeviantART - Userstyles
*Currently Not Using Arch
Offline
No, if you have 'xfconfd' running, then it will display your DE as Xfce4.6.
de_dict = {'gnome-session': 'GNOME',
'ksmserver': 'KDE',
'xfce-mcs-manager': 'Xfce 4',
'xfconfd': 'Xfce 4.6'}
If you want, just edit the script, and look for the 'display' array found at the top and comment out DE.
Last edited by melik (2010-01-25 20:30:46)
Offline
Added scrotwm in 0.1.10.
It can be found in the AUR.
Offline
Still the same error with the new version.
Offline
Still the same error with the new version.
Daphron, i'm sorry but I cant seem to replicate that error.. ive asked lots of people in the IRC and they all claim that it installed nicely.
cd /usr/bin/
sudo wget http://github.com/djmelik/archey/raw/master/archey
chmod +x archey
Sorry, I couldn't be of help.
Offline
You took only some of my advice. Then let me give you one more.
Looks like you are just learning programming and for that goal it would be better to stop adding hacks and work on improving the code. There is much room for improvement and elegance; consider only the shell support you added, instead of that block and loop you only need to make use of sh_dict[os.getenv("SHELL")].
You need to install an RTFM interface.
Offline
You took only some of my advice. Then let me give you one more.
Looks like you are just learning programming and for that goal it would be better to stop adding hacks and work on improving the code. There is much room for improvement and elegance; consider only the shell support you added, instead of that block and loop you only need to make use of sh_dict[os.getenv("SHELL")].
Thanks anxrc for your input and help, and yes I am very new to programming
Offline
Hey, I wanted to try Archey today and it's detection is perfectly fine over here.
But the screenshots in makes contain errors. My terminals are distorted, Thunar is completely black and Chromium's bottom half is artifacted. Could imagemagick have problems with my desktop? I do use compositing.
Making a screenshot by hand using scrot works fine btw.
Offline
Hey, I wanted to try Archey today and it's detection is perfectly fine over here.
But the screenshots in makes contain errors. My terminals are distorted, Thunar is completely black and Chromium's bottom half is artifacted. Could imagemagick have problems with my desktop? I do use compositing.Making a screenshot by hand using scrot works fine btw.
Run this command:
import -window root screen.png
Let me know if you get similar results to archey's screenshot.
Offline
[request]
show terminal emulator info.
I don't know any python or I'd do this myself.
Offline
Will it be possible to display more theme information? GTK theme/WM theme/icon theme? I use Emerald, and I don't know where theme information is stored. gtkrc-2.0 would be the place for other stuff.
< 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
Will it be possible to display more theme information? GTK theme/WM theme/icon theme? I use Emerald, and I don't know where theme information is stored. gtkrc-2.0 would be the place for other stuff.
I haven't had much time to work on archey lately. If anyone would like to help contribute code to archey; please message me on irc (melik @ irc.freenode.net).
Archey 0.2
- Added ratpoison support.
- Switched back to scrot for screenshot function.
- Scrot is now a required dependency as opposed to being optional in previous versions.
Offline
I use stand-alone Openbox with some xfce apps like: xfce4-terminal, thunar, xfburn.
Though archey reports that WM is Openbox which is right, the DE is Xfce this is wrong.
Offline
Would you add i3 to the wms? It's really just this line:
'i3': 'i3',
in the wm definition list. Works for me.
Nice script, thanks for it.
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
Would you add i3 to the wms? It's really just this line:
'i3': 'i3',
in the wm definition list. Works for me.
Nice script, thanks for it.
Ogion
Is that Ion3 window manager?
I'll push it tonight, and thanks
Offline
No, it's i3. Look here
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
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 cleanup
If I'm missing any other filesystems, feel free to post here so that I may add.
Last edited by melik (2010-06-14 05:59:36)
Offline
Archey 0.2.2
-updated window manager and desktop environment detection; if wm/de isn't present, archey will not output a field for them.
Last edited by melik (2010-06-24 01:59:05)
Offline