EDV:GNOMEconfig

From KIP Wiki
⧟kip-jumptonavigation⧽⧟kip-jumptosearch⧽

GNOME Config

Systemweite Proxy-Einstellungen

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ \
--set /system/proxy/mode --type string auto
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ \
--set /system/proxy/socks_host --type string "proxy.kip.uni-heidelberg.de"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ \
--set /system/proxy/socks_port --type string 1080
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ \
--set /system/proxy/secure_host --type string "proxy.kip.uni-heidelberg.de"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ \
--set /system/proxy/secure_port --type string 8080
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ \
--set /system/proxy/autoconfig_url --type string "http://www.kip.uni-heidelberg.de/proxy"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ \
--set /system/http_proxy/use_http_proxy --type bool true
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ \
--set /system/http_proxy/host --type string "proxy.kip.uni-heidelberg.de"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults/ \
--set /system/http_proxy/host --type string "proxy.kip.uni-heidelberg.de"


Shutdown und Suspend aus dem GNOME-Menu entfernen

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory/ \
-s /apps/gnome-power-manager/general/can_suspend -t bool false

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory/ \
-s /apps/gnome-power-manager/general/can_hibernate -t bool false

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory/ \
-s /apps/gnome-power-manager/ui/show_actions_in_menu -t bool false

und in /etc/gdm/gdm.conf in der Sektion daemon:

# users are not allowed to do this
RebootCommand=
HaltCommand=
SuspendCommand=
HibernateCommand=

AllowLogoutActions=
SystemCommandsInMenu=

Tastatur-Belegung (fĂźr SunRayServer)

das hier habe ich irgendwo gefunden:

gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool --set /apps/gnome-session/options/show_splash_screen false 
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /desktop/gnome/background/picture_options none
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /apps/gnome-screensaver/mode blank-only
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /apps/gnome_settings_daemon/keybindings/help "Help"  
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /apps/gnome_settings_daemon/keybindings/screensaver "SunPowerSwitch" 
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /apps/gnome_settings_daemon/keybindings/search "F19"
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /apps/gnome_settings_daemon/keybindings/home "F17"

selbst hinzugefĂźgt:

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /apps/metacity/global_keybindings/run_command_screenshot "Print"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type string --set /apps/metacity/global_keybindings/run_command_window_screenshot "<Alt>Print"

Hintergrundsbild / -farbe

gconftool-2 --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \
-t str --set /desktop/gnome/background/primary_color "#DDDDDD"
gconftool-2 --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \
-t str --set /desktop/gnome/background/secondary_color "#BBBBBB"

Anfangs-Startseite fĂźr epiphany

gconftool-2 --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults \
--type string --set "/apps/epiphany/general/homepage" "http://www.kip.uni-heidelberg.de/"

user-switching abschalten

gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory \
--type bool --set /desktop/gnome/lockdown/disable_user_switching true

GNOME-Menu erweitern

/etc/xdg/menus/applications-merged/cip-pool.menu erzeugen mit

<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">

<Menu>
 <Name>Applications</Name>
 <MergeFile type="parent">/etc/xdg/menus/gnome-applications.menu</MergeFile>
 <LegacyDir>/usr/local/share/desktop-directories</LegacyDir>
 <!-- CIP-Pool -->
 <Menu>
   <Name>CIP-Pool</Name>
   <Directory>CIP-Pool.directory</Directory>
   <Include>
     <And>
       <Category>CIP-Pool</Category>
     </And>
   </Include>
 </Menu> <!-- End CIP-Pool -->

 <!-- Windows -->
 <Menu>
   <Name>Windows</Name>
   <Directory>Windows.directory</Directory>
   <Include>
     <And>
       <Category>Windows</Category>
     </And>
   </Include>
 </Menu> <!-- End Windows -->
</Menu>


und entferne in /etc/xdg/menus/gnome-applications.menu :

 <!-- Other -->
 <Menu>
   <Name>Other</Name>
   <Directory>Other.directory</Directory>
   <OnlyUnallocated/>
   <Include>
     <And>
       <Not><Category>Core</Category></Not>
       <Not><Category>Settings</Category></Not>
       <Not><Category>Screensaver</Category></Not>
     </And>
   </Include>
 </Menu> <!-- End Other -->

und kommentiere in /etc/xdg/menus/applications-merged/zeroinstall.menu alles aus :

<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
"http://www.freedesktop.org/standards/menu-spec/menu-1.0.dtd">
<!-- Menu>
 <Name>Applications</Name>
 <Menu>
   <Name>ZeroInstall</Name>
   <Directory>zeroinstall.directory</Directory>
   <Include>
     <Filename>zeroinstall-add.desktop</Filename>
     <Filename>zeroinstall-manage.desktop</Filename>
   </Include>
 </Menu>
</Menu -->


Beispiel fĂźr Windows.directory:

[Desktop Entry]
Encoding=UTF-8
Type=Directory
Icon=/usr/local/share/pixmaps/tsclient.png
Name=Windows applications
Name[de]=Windows Anwendungen
GenericName=Windows applications
Comment=
NoDisplay=false