From: "Igor V. Krutyakov" <lighter@stl.ru> To: community@altlinux.ru Subject: Re: [Comm] app autostart in fluxbox Date: Tue, 23 Mar 2004 12:51:12 +1000 Message-ID: <200403231251.12796.lighter@stl.ru> (raw) In-Reply-To: <200403201557.34877.fedex@bashnet.ru> Доброго всем! В сообщении от Суббота 20 Март 2004 20:57 Alexander Mayorov написал(a): AM> > Ну, выставлять мне их не надо, а вот имя wm получить - да :) AM> > Спасибо! AM> предлагаю использовать в скрипте функцию pidof. Если ее отклик не равен нолю, AM> то процесс запущен. Можно и так. Только проще наверное, имя wm получить из энвиронмента. Я так сделал: ---------->8---[~/.xprofile]----------- if [ "$1" = 'FluxBox' ]; then # Set color to fluxbox bg /usr/X11R6/bin/xsetroot -solid rgb:9a/9a/90 idesk & /bin/sh -c /usr/bin/xxkb & fi ------------8<-[end of ~/.xprofile]---------- -- --- С уважением, Игорь lighter@stl.ru
prev parent reply other threads:[~2004-03-23 2:51 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-03-19 16:23 Igor V. Krutyakov 2004-03-19 16:43 ` Sergey Vlasov 2004-03-19 17:45 ` Igor V. Krutyakov 2004-03-20 10:57 ` Alexander Mayorov 2004-03-23 2:51 ` Igor V. Krutyakov [this message]
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=200403231251.12796.lighter@stl.ru \ --to=lighter@stl.ru \ --cc=community@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 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