I've been trying to write a bash script that will change the gconf settings for docky. The goal is to make it have a setup similar to Elementary OS or Pinguy OS... that means one docky instance on the bottom and one on the left. I just can't seem to get the commands working right at all. This is one setting I have been trying to change but every time I get an error about primitive types.gconftool --type List --set /schemas/apps/panel/general/toplevel_id_list [top_panel]
So I have done some googling and experimenting to change the GDM icon (Ubuntu 10.04) and have found the following ways:
UbuntTweak Replace /usr/share/icons/LoginIcons/apps/64/computer.svg with your own svg Change the gconf config setting /apps/gdm/simple-greeter/logo_icon_name to be the name of your icon in the theme. Then copy that file to the icon theme path: /usr/share/icons/LoginIcons/apps/64/.
I have gotten #1 and #2 to work. I am not sure how UbuntuTweak is actually doing it's magic (but would love to know). I do not like #2 as it seems messy and what not.
I can not get #3 to work. I have found post after post that says it should. I have tried editing the gconf DB in multiple ways:
After the successful installation of linux my system was rebooted and opened as root user and got my window with blank screen showing only my computer and trash icons and the rest of the tool bars are invisiblewith an the error like unable to find the Gconf seetings.
I'm running a Ubuntu 9.10 server with Openbox as the WM. I'm have set the proxy and http_proxy settings at /system/prosy and /system/http_proxy using gconf-editor. The settings seem to stick in gconf. The gnome-settings-daemon seems to be running fine. The problem is firefox-3.5, apt etc does not recognize the gconf proxy settings. I do not understand why firefox does not honor these settings.
I have a bunch of gconf settings that I change by default when I install Ubuntu on someone's machine and thus I've created a script to make it easier after a fresh installation. Here is a list of changes I make so far:
[Code]....
However, I'm looking to remove the top panel and have only the bottom panel like I have set up on my machine. The gconf settings seem to be pretty complex and I'm not sure which keys I should be changing to remove the top panel and include the settings I have currently for the bottom panel (e.g. Menu Bar | Shortcuts | Window List | Notification Area | Clock)
I installed avant-window-navigator and followed these instructions to remove gnome-panel from startup: URL...However I have since uninstalled AWN and now cannot get gnome-panel to load at startup.I think I have put my settings back where they should be -- looking at them in gconf-editor:
1. desktop > gnome > session, the required_components_list is [windowmanager,filemanager,panel]
2. desktop > gnome > session > required_components_list, the panel value is "gnome-panel"
Yet gnome-panel does not load at startup. Any ideas why?Clarification: I can get gnome-panel to load by listing it under Startup Applications, but I am curious why it won't load via the gconf settings.
I wonder if GNOME have this very cool shortcut feature where, no matter if it is a GNOME-bundled application or a third-party, you can open up the settings/edit/configuration for that particular app by pressing a keyboard combination?
Mac OS X has it in the form of Cmd+, and KDE also has it, although I dont remember what the default is for that. Does our beloved GNOME have it? It would be so rat if it does, or if it is possibly to enable.
I have edited /etc/lilo.conf file and changed timeout setting to 30 (in tenth of seconds so 3 seconds) but when I reboot old value - 2 minutes is displayed.Is anything else I need to change?
if I can create a bash script that once executer will edit or replace a line a in a file this line is the first one and its just one character that needs to be changed from a 1 to a 0.
How do I go about this? it is for a game called EVE Online, heres what my .sh look like atm
#!/bin/sh echo fixing prefs.ini #fix for prefs goes here echo starting eve eve
Similar to this question [URL] but I am asking for filezilla in linux. I am using ubuntu lucid 10.0.4. Currently my filezilla opens files using openoffice. I want to change to gedit for all the .log files etc. Some reason, my filezilla has no File Edit and other settings. This is the screenshot [URL].
I am new to shell script and need to edit an xml form script. The XML file is something like code...
If the user selects element1, the script should modify only element1 values and not element2 values. I need it to be done from bash script. I can't use python or perl for the same. Please provide me a way to do so.
I am trying to get a checksum for a file in a subscripted variable in a bash script. md5sum outputs a checksum and the name of the input file. For example:
Code: eval CSUM$K=$"(md5sum file)"
This might return something like this:
Code: 3cff5d5c0113959d0be62be34b97e05c file
I want to assign just the checksum to the variable in my shell script and omit the file name that follows. Is there something besides md5sum that will generate a checksum? Or if not, then I was thinking I might be able to extract the checksum without the file name using sed.
I have made a simple bash script through which i can add, del, edit user from certain file using different CASE variables. like case 1. adduser 2. del user 3. edit user
Now i want to add a exit CASE like 1. adduser 2. del user 3. edit user 4. exit
Now i want to make a script such a way that, if user input is 4 then only script quit. I used with exit function also but it didn't work. if user press ENTER or other keys then also it quit the program.
How can I edit the system proxy setting using the terminal? Which file contains this settings? I want to edit this automatically using cronjobs, cause from 8-5 I need to use a proxy, but at home I don't need the proxy. How do I fix this?
I would like to run 'gconf-editor' in UNR 10.10.However, I cannot open the 'Run' dialogue box, and so I am unable to do it in the usual way.Is there another way of running gconf-editor?
I opened Alt-F2 > gconf-editor > metacity and used command_1 in keybinding_commands. The type was string and the value xterm. I then moved to global_keybindings and used run_command_1. The value was now <Control><Alt><Shift>p. Nothing happens when I press the key combination. I've tried other key combinations also. And I've tried to run root as root and as user. rebooted. Nothing happens. If I change an existing key combination it takes it immediately an xterm pops up.
I'm having trouble removing entries in gconf-editor (GUI).
I have searched everywhere: manpages, internets, forums, can't find anything related.
Here's the situation: I installed Avant Window Navigator and it naturally created entries in gconf-editor for interface, applets etc. The thing is that when I uninstalled it the entries are still there, and yes I have deleted the corresponding folders in home/.gconf/apps. Also did a search of my filesystem for awn, avant widow navigator, avant-window-navigator etc and nothing came up. Looked in /etc, nothing. Looked in /etc/gconf, also nothing.
I was trying to make Gnome display the date in a better format. I tried using gconf-editor as described in the thread at [URL], but I also found that apps > panel> default_setup > applets > clock had no prefs item.
Unfortunately, the solution which worked for quixote (stop running as root) didn't help me as I was running as the only account I've set up on the system, and all of the files in ~/.gconf are owned by that user.
Does anyone know what else could cause options to vanish like that? I'm running Gnome 2.32.0.
For some reason my gconf-editor does not have a ftp entry. (/desktop/gnome/url-handlers/ftp)This is annoying as it sets all unknown urls to firefox. I always liked Nautilus as the default.
I tried creating a %gconf.xml file to $HOME/.gconf/desktop/gnome/url-handlers/ftp/ and still no luck.
I have a script that runs lots and lots of root commands, copying files in /usr/...stuff like that, then i want to switch users back to the original user and run some gconf tweaks, I need to update a series of gconf values for a user after copying all the root files, but I noticed once your in root, any gconf values you change, change roots information, not the user who started the script useing sudo.
So i was wondering how you would run a script as root, then after your done with all the root commands, "un-root" to the current user who started the script and run the gconf edits:
I put together this so far. It a script that you run, it detects if it was started as root and if not it asks for root password and re-spawns its self exiting out the first instance, then the script runs, switches to the original user after all files are copyed over and starts to run the Military Time custom format update.
Code: OUSER="`whoami`" if [ "$(id -u)" != "0" ]; then sudo -K sudo bash $0
I did a fresh install of Ubuntu 10.10 i386 on Asus EeePC S101 (1GB RAM, 32GB SSD). On the first boot of the freshly installed system I get 2 error popups several seconds after the screen goes into black graphical mode:popup 1:
Code: Could not update ICEauthority file /var/lib/gdm/.ICEauthority After I close that popup, I immediately get another:
I get an error from the terminal when I run the operation "compiz --replace"
Code: GConf Error: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.)
(process:2192): GConf-WARNING **: Directory `/apps/compiz' was not being monitored by GConfClient 0xa1f7c20
i was just wondering: do we still need to have GConf and ORBit2 in slackbuild.org repository, since they are available in /extra/google-chrome? I am using the ones from /extra and so far everything from slackbuilds.org builds happily against them.
I've just reinstalled Ubuntu and when I try to remove mounted drives from desktop with gconf-editor/apps/natilus/desktop it doesn't work. Mounted drives still show up.
I can use the gconf-editor to disable the screen-saver lock and set it to activate when its idle. But no matter what I change /apps/gnome-screensaver/idle_delay to, the ScreenSaver UI is never updated and stays at the default 5 minutes. There seems to be no link between the slider bar in the ScreenSaver Preferences and the value that lies at /apps/gnome-screensaver/idle_delay...
The reason why I'm doing it through gconf-editor is so a start-up script I have created can use gconftool-2 to alter settings for certain users on login.
Is this broken in Ubunto 10.04 or am I looking in the wrong place.