ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vasuk Maksim <vasukma@yandex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] IceWM настройка меню
Date: Tue, 8 Nov 2016 09:15:09 +0700
Message-ID: <5821352D.4000103@yandex.ru> (raw)
In-Reply-To: <b124c471-68c0-c0cd-69fb-f3f38da713f4@gmail.com>

Dmitriy Khanzhin пишет:
> 07.11.2016 05:40, Vasuk Maksim пишет:
>> Привет, Всем!
>> Для IceWM файл меню генерируется в /etc/X11/icewm/menu. Если я хочу меню
>> для пользователя, то делаю копию файла в ~/.icewm/ и правлю его.
>
> Есть команда update-menus. Она выполняется автоматически после установки
> или удаления программ и генерирует системное меню.
> Если ее дать от пользователя, будет сгенерировано пользовательское
> ~/.icewm/menu.
>
Спасибо!
>> Если из файла пользователя убрать все и добавить то что мне нужно, то
>> меню содержит данные только из это файла меню пользователя. Я так
>> понимаю, после установки программ в дальнейшем /etc/X11/icewm/menu будет
>> генериться, но пользователь этого не увидит.
>
> Да.
>>
>> Я хочу добавить пункт для пользователя и плюсом чтобы подгружалось то,
>> что в /etc/X11/icewm/menu.
>> Самое простое для себя вижу костыль в виде скрипта для генерации
>> пользовательского меню, но может этот функционал уже заложен?
>
> Вы на каком бранче?
> В icewm-githubmod есть еще файл /usr/share/X11/icewm/menu, если его
> скопировать в ~/.icewm и подправить под себя, возможно, это будет то,
> что Вам нужно.
Поставил icewm-githubmod, глянул в файл /usr/share/X11/icewm/menu, 
увидел menufile. Это то, что нужно ;)
Большое спасибо!

P.S. Перед тем как задать вопрос, не поленился и слазил на 
http://www.icewm.org/manual/icewm-12.html#ss12.1, не увидел описание 
menufile. Я гляжу куда-то не туда или как-то не так? ;)

--
Vasuk Maksim


  reply	other threads:[~2016-11-08  2:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-07  2:40 Vasuk Maksim
2016-11-07  4:33 ` Dmitriy Khanzhin
2016-11-08  2:15   ` Vasuk Maksim [this message]
2016-11-08  4:59     ` Дмитрий Ханжин

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=5821352D.4000103@yandex.ru \
    --to=vasukma@yandex.ru \
    --cc=community@lists.altlinux.org \
    /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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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