View previous topic :: View next topic |
Author |
Message |
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Sun Mar 11, 2007 5:32 am Post subject: Beryl Setup/Installer |
|
|
Hey folks. Due to the fact that many people do not know how to install beryl, or do not want to read a wiki and do it step by step. I've created a script (with the help of racarr from beryl, jmbsvicetto from gentoo, and roderick from xeffects). It's sole purpose is to automate the process of installing and setting up beryl.
It's current features are:
Automated video card detection
Automated KDE/Gnome/Xfce detection
Automated GDM/KDM detection
Universal distro support (only a small bit of information is added to the script to add support for a distro)
Creates autostart entries for beryl-manager
Sets the window manager to beryl for KDE (gnome support in the future)
Advanced support for explicit settings instead of automation
Please see this thread for the full information: http://forum.beryl-project.org/viewtopic.php?f=36&t=4781 |
|
Back to top |
|
|
booldog n00b
Joined: 26 Aug 2005 Posts: 25 Location: Ohio, USA
|
Posted: Wed Mar 14, 2007 3:43 pm Post subject: |
|
|
Cool! How about adding a kernel config check to alert users how to re-configure and compile a compatible kernel. _________________ Cheers,
ND |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Wed Mar 14, 2007 3:45 pm Post subject: |
|
|
booldog wrote: | Cool! How about adding a kernel config check to alert users how to re-configure and compile a compatible kernel. |
What do you need to reconfigure in your kernel? I don't know of anything.. |
|
Back to top |
|
|
beatryder Veteran
Joined: 08 Apr 2005 Posts: 1138
|
Posted: Wed Mar 14, 2007 4:40 pm Post subject: |
|
|
how about adding a --uninstall option
I use that script and had no idea what it had changed. I spent two hours reversing everything. I am not upset, but other users could be. _________________ Dont make it idiot proof, make it work.
Neucode.org
<suppressed key> |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Wed Mar 14, 2007 7:35 pm Post subject: |
|
|
For some reason the script will only try to install beryl once and if I run it again, nothing happens.
What I mean is when it tried to emerge beryl, I got to a point where the emerge failed because cairo needed to be rebuilt with the glitz USE flag. So then when I run "beryl-setup --setup" it doesn't try to emerge beryl even though its not installed and needs to be.
Granted doing "emerge beryl" works just fine. |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Wed Mar 14, 2007 8:52 pm Post subject: |
|
|
slycordinator wrote: | For some reason the script will only try to install beryl once and if I run it again, nothing happens.
What I mean is when it tried to emerge beryl, I got to a point where the emerge failed because cairo needed to be rebuilt with the glitz USE flag. So then when I run "beryl-setup --setup" it doesn't try to emerge beryl even though its not installed and needs to be.
Granted doing "emerge beryl" works just fine. |
Odd that it only tries to install beryl once. Since all it does is call emerge beryl to emerge it. |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Wed Mar 14, 2007 10:56 pm Post subject: |
|
|
It probably thinks that I've already succeeded.
Like I think the script created the configs for beryl even though beryl didn't install. So now when I go to run the script again it thinks everything's been done already. |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Wed Mar 14, 2007 10:59 pm Post subject: |
|
|
slycordinator wrote: | It probably thinks that I've already succeeded.
Like I think the script created the configs for beryl even though beryl didn't install. So now when I go to run the script again it thinks everything's been done already. |
The script only checks if the beryl binary exists.. That's what determines beryl being installed. So I suppose that's the issue. I'll have to come up with a better method of checking I suppose. |
|
Back to top |
|
|
booldog n00b
Joined: 26 Aug 2005 Posts: 25 Location: Ohio, USA
|
Posted: Thu Mar 15, 2007 1:51 pm Post subject: |
|
|
nesl247 wrote: | booldog wrote: | Cool! How about adding a kernel config check to alert users how to re-configure and compile a compatible kernel. |
What do you need to reconfigure in your kernel? I don't know of anything.. |
Well, I was thinking of the open source video card kernel drivers and, of course, the DRM and AGP nastiness (where people need it) for getting DRI running. Perhaps I'm thinking too far off topic, since most users ought to be at least at this stage. _________________ Cheers,
ND |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Sat Mar 17, 2007 4:06 am Post subject: |
|
|
Alright, the script has been rewritten in python (by me). Just spent the last 5 hours doing so. So please report any bugs. A gui version is to come soon, as well as --uninstall support (opposite of --setup), and --enable-beryl/--disable-beryl to enable and disable autoloading of beryl. |
|
Back to top |
|
|
dlPRO n00b
Joined: 11 Mar 2007 Posts: 25
|
Posted: Sat Mar 17, 2007 6:37 pm Post subject: |
|
|
err........ guys
The link is broken |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Sat Mar 17, 2007 7:54 pm Post subject: |
|
|
dlPRO wrote: | err........ guys
The link is broken |
It's back up, the forums were down. |
|
Back to top |
|
|
genestyler Apprentice
Joined: 03 Dec 2003 Posts: 155 Location: CHATEAUDUN, Eure et loir
|
Posted: Sun Mar 18, 2007 9:45 pm Post subject: |
|
|
i tried the script but i got this :
Code: |
hpbox bin # beryl-setup --setup
You must be root to run olmgr.
Attempting to run su to root
You must be root to run olmgr.
[...]
|
i'm already root when i try the script |
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Sun Mar 18, 2007 9:55 pm Post subject: |
|
|
genestyler wrote: | i tried the script but i got this :
Code: |
hpbox bin # beryl-setup --setup
You must be root to run olmgr.
Attempting to run su to root
You must be root to run olmgr.
[...]
|
i'm already root when i try the script |
Delete the script and redownload it adn try it again. It should work just fine.. |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Sun Mar 18, 2007 10:01 pm Post subject: |
|
|
Code: | Do you need XGL (if unsure, leave blank)? (Yes/No) (default: yes):
-------------------------------------------
You have chosen to setup beryl with the following options:
Distro: gentoo
Display Method: xgl
Video Card: ati
Login Manager(s):
Desktop Environment(s): xfce
Please review the above information, then press enter to continue setup
Setting up beryl. This may take a moment...
-------------------------------------------
Preparing to install software...
Traceback (most recent call last):
File "./beryl-setup", line 742, in ?
setup(advanced)
File "./beryl-setup", line 553, in setup
install(pkg_xgl)
File "./beryl-setup", line 296, in install
install_prereq()
TypeError: 'str' object is not callable |
|
|
Back to top |
|
|
nesl247 Veteran
Joined: 15 Jun 2004 Posts: 1614 Location: Florida
|
Posted: Sun Mar 18, 2007 10:06 pm Post subject: |
|
|
Try again (redownload), if you can get in #beryl-dev it would be easier to solve this. It works for me is why I can't figure out the issue. |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Sun Mar 18, 2007 10:11 pm Post subject: |
|
|
Redownloaded; same problem.
Installing xchat so I can go there to help out.
[edit]So if anyone has the same problem I did, redownload as nesl fixed the script.[/edit] |
|
Back to top |
|
|
|