![]() |
Fedora Utils for Getting things done
I've made a simple script which uses zenity for its GUI. It is based on my previous Fedora postinstall script. It is similar to AutoPlus and easyLife. But there are many differences, such as,
http://fedorautils.sourceforge.net/r...screenshot.png Features:
Project Page: fedorautils.sf.net |
Re: Fedora Utils for Getting things done
i have two PC on my netbook is all ok but in my Desktop i take this error
sudo ./fedorautils-* Verifying minimum requirements... Distro Verified (notify-send:27619): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Architecture Verified (notify-send:27627): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Root User Verified mirage Registered as Logged in User (notify-send:27635): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed (notify-send:27642): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Internet Connection Verified (notify-send:27723): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Zenity Verified (notify-send:27728): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Curl Verified (notify-send:27734): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Temporary Directory Created (notify-send:27759): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed Initializing... No protocol specified (zenity:27765): Gtk-WARNING **: cannot open display: :0.0 Temporary Directory Cleaned Program Terminated (notify-send:27775): GLib-GObject-CRITICAL **: g_object_unref: assertion `G_IS_OBJECT (object)' failed No protocol specified (zenity:27781): Gtk-WARNING **: cannot open display: :0.0 |
Re: Fedora Utils for Getting things done
Quote:
---------- Post added at 07:21 AM ---------- Previous post was at 07:17 AM ---------- Also try su -c "./fedorautils-*". Reply if it works. ---------- Post added at 07:21 AM ---------- Previous post was at 07:21 AM ---------- Also try su -c "./fedorautils-*". Reply if it works. |
Re: Fedora Utils for Getting things done
really it looks to me like he needs to run it in a root logon shell as opposed to using sudo.
try this Code:
su - |
Re: Fedora Utils for Getting things done
Quote:
|
Re: Fedora Utils for Getting things done
Quote:
and of course you were correct in suggesting a full yum update as well. it is possible there are some version conflicts in there someplace. |
Re: Fedora Utils for Getting things done
i have update my system and login as root!!!i have the same problem.probable the problem is with my system i thing something with GTK!
|
Re: Fedora Utils for Getting things done
Can you do other things as root? Like launching nautilus?
|
Re: Fedora Utils for Getting things done
Hello satya,
I've tried the "final" release ,and bumped some obstacles :) To start with , I lost the horizontal menu bar in most app's . (the one that normally sits under the title bar) gnome-terminal , yumex and gedit etc... Didn't got time for now , but will examine the script . Also ,I have some ideas ( ads , but also improvements ) For instance ,I don't like the idea to put Selinux down , the script should work with Selinux in enforced mode . There are more glitches , for witch I will do some research . For instance ,on the screen it says : the downloads will end up on the desktop under a folder "Downloads" . Happily it does stock the downloads , but in my locale the Desktop is called "Bureaublad" , so they end in a folder "Desktop" in the users home directory . Not a big deal , but confusing for the starters . Also , I had an error on line 829 : Quote:
And to be honest , I don't now what is meant with it . The last ( for now ) thing I would like to change , is the yum keep cache issue . I have the "yum-plugin-local" installed ,so everything yum downloads , is kept in a _local cache . No need to have all rpm's on two locations . The yum-plugin creates a _local.repo file , and the databases are well maintained . But then its better to leave yum.conf with keep cache = 0. So , for now , I'll need to find a solution to grab my menu bars back . Keep the good work alive and thanks Martin |
Re: Fedora Utils for Getting things done
Quote:
1. Right Click a panel 2. Select "Add to Panel" 3. Choose "Global Menu Panel Applet" 4. Now after the applet added, right click it and select "Preferences" 5. Now uncheck "Enable Global Menu for GTK Applications" This should fix your issue. This happened because it is in the default settings of global menu and the script has installed global menu. However I understand the problems and try to find a solution in next version. The "Downloads" folder can be changed inside the script by changing the variable $DOWNLOADSDIR. I don't know about folder names in other languages. You can help me if you want. The command Code:
zenity --info --title "System Information" --text "Distribution: $(lsb_release -ircs)\nKernel: $(uname -s -r)\nArchitecture: $(uname -i)\nGraphics: $(lspci -s 00:02.0)\nHard Disk:\n$(df)"Quote:
About turning SELinux to enforcing mode, I do so because it does prevent some apps from runnning in my system. But it is upto you if you check that box or not to turn it to enforcing. Also, the yum cache is also fullly upto you. I might however give some warning in the script if you already have yum-plugin-local installed. You are welcome to give more suggestions. Thank you. Regards, Satya |
Re: Fedora Utils for Getting things done
Quote:
It looks like the script has a missing dependency to me. Code:
su |
Re: Fedora Utils for Getting things done
Just a note
On flash-plugin i386 you are missing -y also you dont need nspluginwrapper (line 463) |
Re: Fedora Utils for Getting things done
Quote:
---------- Post added at 06:19 PM ---------- Previous post was at 12:53 PM ---------- I just released a new version. Check it out. Changelog 1.2
|
Re: Fedora Utils for Getting things done
A new version is out. Check now.
Changelog 1.4
However, I no longer use Fedora. So please let me know if any bugs occur. Also now instructions are available to revert the changes too. Check the project page. |
Update: Fedora Utils 1.7.5
Hi all. I've released Fedora Utils 1.7.5 yesterday. The complete changelog can be found here.
The latest version can be always found at fedorautils.sf.net. Current version of Fedora Utils supports following features,
Also it now has many code optimization, better handling of installations, auto update, command-line arguments and many more features. And not to mention, Fedora 16 support. I have also made a RPM package for those willing to install fedorautils. Thanks for your support :) |
| All times are GMT +1. The time now is 04:06 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.