ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: dftbhdfthb dsymdtuyd <dsydftbhdfthb@yandex.ru>
To: "ALT Linux Community general discussions"<community@lists.altlinux.org>
Subject: Re: [Comm] вывод в консоль
Date: Sat, 18 Jul 2009 11:55:40 +0400
Message-ID: <314251247903740@webmail37.yandex.ru> (raw)
In-Reply-To: <f725ea640907180030v1bcfca80w72f5bec2273cf86a@mail.gmail.com>



18.07.09, 11:30, "Rinat Bikov" <bikoz.r@gmail.com>:


> > Что нужно прописать в .desktop файл, чтобы консоль не закрывалась после
> > выполнения команды ?
> Ничего не нужно прописывать в .desktop файл для этого.
> Достаточно добавить в конец скрипта команду read, либо
> запускать другой скрипт hddtemp.sh, примерно с содержанием:
> #!/bin/sh
> hddtemp
> read

hddtemp.sh

#!/bin/sh
/usr/sbin/hddtemp /dev/hda
read

hddtemp.desktop

[Desktop Entry]
Type=Application
Name=HDDtemp
Icon=
Exec=/home/ed/Programm/System/hddtemp.sh
Terminal=true
Categories=FileManager;Utility;Qt;KDE;
X-KDE-SubstituteUID=false

Увы, но только открывется консоль без выполнения скрипта


  parent reply	other threads:[~2009-07-18  7:55 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-18  5:49 Occisor
2009-07-18  6:22 ` Rinat Bikov
2009-07-18  6:42   ` Occisor
2009-07-18  7:17   ` dftbhdfthb dsymdtuyd
2009-07-18 10:55   ` dsydftbhdfthb
2009-07-18  7:30     ` Rinat Bikov
2009-07-18  7:36       ` dftbhdfthb dsymdtuyd
2009-07-18  7:55       ` dftbhdfthb dsymdtuyd [this message]
2009-07-18  8:06         ` Rinat Bikov
2009-07-18  8:13           ` dftbhdfthb dsymdtuyd
2009-07-18  8:34             ` Rinat Bikov
2009-07-18  8:51               ` dftbhdfthb dsymdtuyd
2009-07-18  8:35 ` Serge Polkovnikov
2009-07-19  0:34   ` Occisor

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=314251247903740@webmail37.yandex.ru \
    --to=dsydftbhdfthb@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