[ubuntu-in] Suggestion
Abhinav Modi
abhinavmodi at gmail.com
Sat Aug 28 06:53:15 BST 2010
Hi Narendra,
On Sat, Aug 28, 2010 at 1:30 AM, Narendra Sisodiya
<narendra at narendrasisodiya.com> wrote:
> #1 .. if "Network manager" is not running, It should automatically start.
> One of my friends has installed Linux on his system and it took me 30 minute
> on phone to restart his network mangaer which got shutdowned automatically.
> We must declare some mininum essential service which automatically restart.
>
You could write a crontab entry for this, to poll every 5minutes or so.
> #2 Reset Desktop.
> Desktop configuration are stored in .gnome2 and other folder. It will be
> great if someone create a right click scripts [not more then a day job]
> which basically delete all new configuration and panel and reset of
> original.
> My friend has just installed ubuntu and he lost his top and bottom panels.
> someone deleted. He is clue-less. It took me 25 minute to recreate his old
> setting.
>
For something similar to #2, I used the following steps :
1. When you have a "sane" panel config, dump it to a file initially
gconftool-2 --dump /apps/panel > ~/sane.gnome_panel
2. When you want to reset to this entry, use the following as a script :
#!/bin/sh
killall --regexp gnome-panel
gconftool-2 --load "/home/foo/sane.gnome_panel
gnome-panel
The above will replace the gconf data with the earlier data. You can
also use this for adding/deleting panels, for example when moving from
single to multiple monitors.
I don't know if there is a way to do it without restarting gnome-panel.
Regards
Abhinav
http://indimark.blogspot.com
http://www.employees.org/~abhinav/blog
More information about the ubuntu-in
mailing list