ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Mikhail Zabaluev <mhz@altlinux.org>
To: devel@altlinux.ru
Subject: [devel] Re: скрипты (GNOME)
Date: Fri, 21 Feb 2003 01:11:17 +0300
Message-ID: <20030220221117.GB1818@mhz.mikhail.zabaluev.name> (raw)
In-Reply-To: <20030220125748.GA304@basalt.office.altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 4310 bytes --]

Hello Stanislav,

On Thu, Feb 20, 2003 at 03:57:48PM +0300, Stanislav Ievlev wrote:
>
> Пригалаю список скриптов в пакетах rpm, показавшийся мне подозрительным.
> Вполне возможно, что я где-то был не прав. В любом случае хочется
> комментариев от мантейнеров.

Добавьте к этому ещё:


gnome-settings:
postinstall scriptlet (through /bin/sh):
if [ -f /etc/gconf/schemas/desktop_gnome_background.schemas ]; then

/usr/bin/gconf2_set  string /desktop/gnome/background/picture_options stretched

/usr/bin/gconf2_set  string /desktop/gnome/background/picture_filename /usr/share/design/backgrounds/default.png

/usr/bin/gconf2_set  string /desktop/gnome/background/primary_color \#21449c

/usr/bin/gconf2_set  string /desktop/gnome/background/color_shading_type solid fi
if [ -f /etc/gconf/schemas/desktop_gnome_interface.schemas ]; then

/usr/bin/gconf2_set  string /desktop/gnome/interface/icon_theme BlueSphere
fi
if [ -f /etc/gconf/schemas/desktop_gnome_file_views.schemas ]; then

/usr/bin/gconf2_set  string /desktop/gnome/file-views/icon_theme BlueSphere
fi


gnome-minimal-sisyphus:
postinstall scriptlet (through /bin/sh):

/usr/bin/gconf2_set  string /desktop/gnome/interface/gtk_theme LighthouseBlue

/usr/bin/gconf2_set  string /apps/metacity/general/theme Atlanta
#%gconf2_set string /apps/nautilus/preferences/theme Eazel


gedit:
postinstall scriptlet (through /bin/sh):
/sbin/ldconfig

export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
for S in  gedit; do
    /usr/bin/gconftool-2 --makefile-install-rule "/etc/gconf/schemas/$S.schemas" >/dev/null
done

/usr/bin/gconf2_set  list string /apps/gedit-2/preferences/editor/load/encodings [KOI8R,WINDOWS-1251,CP866]

/usr/bin/gconf2_set  string /apps/gedit-2/preferences/editor/save/save_encoding GEDIT_SAVE_ORIGINAL_FILE_ENCODING_IF_POSSIBLE_NCL

/usr/bin/gconf2_set  int /apps/gedit-2/preferences/ui/recents/max_recents 8
[ -x /usr/bin/scrollkeeper-update ] && /usr/bin/scrollkeeper-update ||:
[ -x /usr/bin/update-menus ] && /usr/bin/update-menus ||:


nautilus2:
postinstall scriptlet (through /bin/sh):

export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
for S in  apps_nautilus_preferences; do
    /usr/bin/gconftool-2 --makefile-install-rule "/etc/gconf/schemas/$S.schemas" >/dev/null
done

/usr/bin/gconf2_set  string /apps/nautilus/preferences/preview_sound local_only

/usr/bin/gconf2_set  string /apps/nautilus/preferences/show_icon_text local_only

/usr/bin/gconf2_set  bool /apps/nautilus/preferences/start_with_sidebar false

/usr/bin/gconf2_set  string /apps/nautilus/preferences/click_policy single
[ -x /usr/bin/scrollkeeper-update ] && /usr/bin/scrollkeeper-update ||:


gnome-terminal:
postinstall scriptlet (through /bin/sh):

export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
for S in  gnome-terminal; do
    /usr/bin/gconftool-2 --makefile-install-rule "/etc/gconf/schemas/$S.schemas" >/dev/null
done

/usr/bin/gconf2_set  string /apps/gnome-terminal/profiles/Default/foreground_color \#D6D5D2

/usr/bin/gconf2_set  string /apps/gnome-terminal/profiles/Default/background_color \#000000

/usr/bin/gconf2_set  string /apps/gnome-terminal/profiles/Default/font Monospace Bold 16

/usr/bin/gconf2_set  bool /apps/gnome-terminal/profiles/Default/use_theme_colors false

/usr/bin/gconf2_set  bool /apps/gnome-terminal/profiles/Default/use_system_font false

# keybindings

/usr/bin/gconf2_set  string /apps/gnome-terminal/keybindings/prev_tab \<Shift\>Left

/usr/bin/gconf2_set  string /apps/gnome-terminal/keybindings/next_tab \<Shift\>Right

[ -x /usr/bin/update-menus ] && /usr/bin/update-menus ||:
[ -x /usr/bin/scrollkeeper-update ] && /usr/bin/scrollkeeper-update ||:


Зачем-то при каждой установке/обновлении порются конфигурационные
значения, вместо того, чтобы изменить предпочтения с помощью патча
в .schemas . В итоге, если я хочу по умолчанию для всех пользователей
цвет не #21449c, а #21449d (говорите точно, скока вешать! :P),
я буду тихо послан при первом же upgrade.
Вдобавок, в gnome-terminal переопределяются клавиши, что есть
прегрешение против Solaris Accessibility Guide.

Всё это занесено в BTS под номерами 2274, 2277-2280, 2292.

-- 
Stay tuned,
  MhZ                                     JID: mhz@altlinux.org
___________
You were s'posed to laugh!

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2003-02-20 22:11 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-20 12:57 [devel] скрипты Stanislav Ievlev
2003-02-20 14:08 ` [devel] скрипты (LinPopUp) Grigory Batalov
2003-02-20 14:36 ` [devel] скрипты Alexander Bokovoy
2003-02-20 17:21 ` Alexey Voinov
2003-02-20 21:59 ` Andrey Orlov
2003-02-20 22:02   ` Dmitry V. Levin
2003-02-20 22:41     ` Andrey Orlov
2003-02-20 22:39       ` Dmitry V. Levin
2003-02-20 23:02         ` Andrey Orlov
2003-02-21  9:06       ` rider
2003-02-20 22:11 ` Mikhail Zabaluev [this message]
2003-02-21  8:07   ` [devel] Re: скрипты (GNOME) Stanislav Ievlev
2003-02-21 15:04     ` Mikhail Zabaluev
2003-02-25  8:30       ` Stanislav Ievlev
2003-02-20 22:39 ` [devel] Re: скрипты Michael Shigorin
2003-02-20 22:41   ` Dmitry V. Levin
2003-02-21  0:18     ` Michael Shigorin
2003-02-21  8:11   ` Stanislav Ievlev
2003-02-21 11:07     ` Michael Shigorin
2003-02-20 23:16 ` Mikhail Zabaluev
2003-02-28 19:24 ` [devel] скрипты Вячеслав Диконов

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030220221117.GB1818@mhz.mikhail.zabaluev.name \
    --to=mhz@altlinux.org \
    --cc=devel@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git