FedoraForum.org

FedoraForum.org (http://forums.fedoraforum.org/index.php)
-   Guides & Solutions (No Questions) (http://forums.fedoraforum.org/forumdisplay.php?f=12)
-   -   Fedora Utils for Getting things done (http://forums.fedoraforum.org/showthread.php?t=259260)

satya164 21st February 2011 11:16 PM

Fedora Utils for Getting things done
 
Fedy lets you install multimedia codecs and additional software that Fedora doesn't want to ship, like mp3 support, Adobe Flash, Oracle Java etc., and much more with just a few clicks.

Updated, always

Fedy automagically finds the download links for latest versions of software you choose to install and adds repositories wherever possible, so that you are always up-to-date.

The built-in updater also ensures that Fedy itself is up-to-date.

For the script junkie

You can perform operations from the command line, and even use it in scripts to automate tasks. To see all command line options supported, run the following in the Terminal,

Code:

fedy -e list
The downloaded files are saved in a folder named "fedy_dl" in your home directory, so that you can use them on another computer, or if you need to reinstall Fedora, without having to redownload.

Explore new stuff

Fedy aggregates the repositories available for the specific Fedora version from the fedorapeople repository in an easy to use list.

The repositories can be easily added with a few clicks. No more messing around with manual hunting and downloading of .repo files.

Open and extensible

Fedy is released under GNU GPL V3.0 and the source code is publicly available on GitHub. So you can play with the code and see what it does.

http://satya164.github.io/fedy/images/tweaks.jpg

http://satya164.github.io/fedy/images/repos.jpg

http://satya164.github.io/fedy/images/software.jpg

http://satya164.github.io/fedy/images/plugins.jpg

http://satya164.github.io/fedy/images/main.jpg

Features:
  • Install multimedia codecs
  • Install Adobe flash plugin
  • Enable DVD playback
  • Configure RPM Fusion repositories
  • Configure sudo for current user
  • Configure yum to keep cache
  • Enable systemwide touchpad tap
  • Improve font rendering
  • Install essential software
  • Install GTK theme engines
  • Install Microsoft core fonts
  • Set SELinux to permissive mode
  • Set up SSD I/O scheduler
  • Add color prompts to Terminal
  • Add repository from a repo file
  • Backup and restore repositories
  • Browse and add Fedora People repositories
  • Install Brackets, Arista Transcoder, Elegance Colors, GNOME development tools, Google Chrome, Google Talk plugin, Theme Configuration app, Kingsoft Office, Light Table, Dropbox, Numix GTK and icon themes, Oracle JDK, Oracle Java, Skype,Sublime Text 3, TeamViewer, Tor Browser Bundle
  • Delete junk and backup files
  • Fix rpmdb open failed error
  • Fix bad theme in root apps
  • Remove old kernels
  • Update GRUB2 config
  • Show system info
And More

Project Page: satya164.github.io/fedy/

DiMi 24th February 2011 07:09 PM

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

satya164 25th February 2011 01:51 AM

Re: Fedora Utils for Getting things done
 
Quote:

Originally Posted by DiMi (Post 1446552)
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

It seems to be any problem with your system. The script relies on Zenity for GUI. There is nothing in the script that should produce the error. Have you tried upgrading your system first with "yum -y update" ?

---------- 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.

DBelton 25th February 2011 01:54 AM

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 -
(root password)
./fedorautils-*

actually, I would try running it as a regular user instead. not use sudo or su at all.

satya164 25th February 2011 02:17 AM

Re: Fedora Utils for Getting things done
 
Quote:

Originally Posted by DBelton (Post 1446665)
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 -
(root password)
./fedorautils-*

actually, I would try running it as a regular user instead. not use sudo or su at all.

Yes, security comes first, but you are free to verify the script by opening it in gedit. Without root access you won't be able to do administrative tasks.

DBelton 25th February 2011 02:54 AM

Re: Fedora Utils for Getting things done
 
Quote:

Originally Posted by satya164 (Post 1446672)
Yes, security comes first, but you are free to verify the script by opening it in gedit. Without root access you won't be able to do administrative tasks.

then if it needs root access I would use "su -" instead of sudo and see if that corrects the error.

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.

DiMi 28th February 2011 07:20 AM

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!

satya164 28th February 2011 10:55 AM

Re: Fedora Utils for Getting things done
 
Can you do other things as root? Like launching nautilus?

martin-tack 2nd March 2011 09:40 AM

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:

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)"
the error said : command not found "lsb release"
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

satya164 2nd March 2011 11:23 AM

Re: Fedora Utils for Getting things done
 
Quote:

Originally Posted by martin-tack (Post 1448085)
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 :



the error said : command not found "lsb release"
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

Thanks for your detailed and great feedback. Here is how to fix the menubar.

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)"
should give a output like this,
Quote:

Distribution: Fedora 14 Laughlin
Kernel: Linux 2.6.35.11-83.fc14.i686
Architecture: i386
Graphics: 00:02.0 VGA compatible controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
Hard Disk:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/vg_inspiron-lv_root
22092316 9469848 12398068 44% /
tmpfs 1528408 828 1527580 1% /dev/shm
/dev/sda5 495844 31641 438603 7% /boot
/dev/sda3 104857596 64346924 40510672 62% /media/Satya
/dev/sda4 148324348 129416940 18907408 88% /media/Tools
Something might be accidentally changed by you in the script. Probably the "underscore(_)" has been removed.

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

leigh123linux 2nd March 2011 12:26 PM

Re: Fedora Utils for Getting things done
 
Quote:

Originally Posted by martin-tack (Post 1448085)
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 :



the error said : command not found "lsb release"

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


It looks like the script has a missing dependency to me.

Code:

su
yum install redhat-lsb


Dangermouse 2nd March 2011 11:21 PM

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)

satya164 3rd March 2011 12:49 PM

Re: Fedora Utils for Getting things done
 
Quote:

Originally Posted by Dangermouse (Post 1448272)
Just a note
On flash-plugin i386 you are missing -y also you dont need nspluginwrapper (line 463)

Thanks for pointing out. I''l add that.

---------- 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
  • A "Fix Problems" section added
  • Option to enable touchpad click added
  • Option to add Transmission Torrent Client(Minimized) to startup added
  • Tweak to improve bandwidth added
  • The sytem configuration files are now backed up first before modification
  • More softwares added

satya164 3rd July 2011 03:31 PM

Re: Fedora Utils for Getting things done
 
A new version is out. Check now.

Changelog 1.4
  • Updated packages to latest versions
  • Logging can be enabled now
  • Changes specific to Gnome Shell
  • Better notifications

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.

satya164 5th November 2011 08:47 AM

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,
  • Add current user to sudoers
  • Enable autologin for current user
  • Set yum to keep cache
  • Install yum tidy-cache plugin
  • Add repositories - RPMFusion, Google, Adobe, Chromium, Skype
  • Enable touchpad clicks
  • Install multimedia codecs
  • Install Adobe Flash
  • Install Java Runtime Environment
  • Install wine with gecko
  • Install Google Talk plugin
  • Add colors and fortune messages to Terminal
  • Set SELinux in permissive mode
  • Install Microsoft fonts
  • Install Jockey driver installer (From Parsidora repo)
  • Install essential software
  • Fixes - Fix font smoothing, Fix bad theme in root apps, Fix rpmdb error, Fix gnome keyring, Fix picasa not starting, Fix anaconda causing revisor not to start, Fix MPlayer driver error, Fix ntfs-config not starting
  • Install Gnome Shell Extensions - GPaste, Media Player, Weather, Alternate Status Menu, Dock Extension, Places Menu, User Theme, Window Navigator, Zeitgeist
  • Install Software - Google Chrome, Picasa, Google Earth, HandBrake, Skype, WinFF, Unico Theme Engine
  • Clean up system
  • Optimize boot by turning off unnecessary services
  • Show system info

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 11:55 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.