From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@9fans.net From: Parker Ellertson Message-ID: <0bd4adbb-55df-a9ff-0584-319524cc6a1e@firemail.cc> Date: Wed, 11 Sep 2019 18:08:14 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: [9fans] Desktop File for Acme [plan9port] Topicbox-Message-UUID: 07c8b772-eada-11e9-9d60-3106f5b1d025 I'm trying to set up a desktop entry so I can launch acme w/o opening a spare terminal. So far I have this in the entry: ``` [Desktop Entry] Version=1.0 Type=Application Exec=/home/parker/bin/acme.rc & Terminal=true Name=Acme Icon=/usr/local/plan9/mac/spaceglenda.png ``` And the executable file is: ``` #!/usr/bin/env rc TERM=dumb plumber fn cd { builtin cd $1 && awd $sysname } tabstop=4 #font='/mnt/font/Lucida Grande/15a/font' #font='/mnt/font/Roboto Regular/14a/font' #font='/mnt/font/Noto Sans/13a/font' lfont=/mnt/font/UnifontMedium/10a/font font=$lfont SHELL=rc exec acme -a -f $font -F $lfont $* ``` The script works when I launch it in a terminal. But I can't figure out why it isn't working via the desktop entry. I had `terminal` set to false before and it didn't work. But when I set it to true, I see a terminal screen flicker for a moment before it vanishes again. Anyone here have any luck with doing this?