🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #245347

Re: [XNEWS] under Linux Mint ?

#245347
From: Mike Dee
Date: Tue, 19 Apr 2011 20:56
47 lines
3190 bytes
Homer.Simpson wrote:

> I suppose this is more a Wine question than an Xnews question, but
> hopefully you'll still help me out.  ;-)  As it is now, I launch
> Xnews by opening up a terminal window and rifling down a long
> directory to type " "Wine Xnew.exe" (no quotes).  I'd like a
> shortcut on my Panel (?) like I have for Firefox, T-Bird, etc. 
> Can be be performed for a Windows program running under Wine?

Hello Homer.

I've created executable shell scripts as launchers for Windows
apps running under Wine. I keep these in my home directory in a
folder called "launchers" oddly enough. 

For example, my launcher for Xnews follows (between the lines):

----------------------------
#!/bin/bash
exec wine ~/.wine/drive_c/Program\ Files/xnews/XNEWS.EXE
----------------------------

Typed in a plain text editor such as Gedit this was saved as
"Xnews.sh" - Note; Unix commands and file names are case sensitive 

To this, I add a custom icon (screenshot of the original Xnews icon
on Windows and saved as a .png then imported to Linux) 

Once thats done I can create a symbolic link (shortcut) to anywhere
I want, pointing to the launcher. 

The easiest method is by holding the Shift & Ctrl keys down and drag
the icon you want a symbolic link to, to anywhere you want it to
reside.
See <https://help.ubuntu.com/7.04/user-guide/C/gosnautilus-8.html#gosnautilus-TBL-11>
for other fancy keyboard/mouse commands you can perform.

>From a commandline, you could navigate to where you want a
sym link to appear and type this command to achive the same thing:

ln -s </path/to/target/> <linkname>

For example:
ln -s ~/launchers/Xnews.sh Xnews 

-- 
dee
Technical Details
Message-ID: <Xns9ECD5AFEF60DBemteedee@188.40.43.213>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
References: <inj2ga$250$1@speranza.aioe.org> <Xns9EC183C7FED2Aemteedee@188.40.43.230> <Xns9ECA936A98507nope@94.75.214.90>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9ECD5AFEF60DBemteedee@188.40.43.213>
Subject: Re: [XNEWS] under Linux Mint ?
Date: Tue, 19 Apr 2011 20:56:27 +0000
From: Mike Dee <mikedee@emteedee.invalid>
References: <inj2ga$250$1@speranza.aioe.org> <Xns9EC183C7FED2Aemteedee@188.40.43.230> <Xns9ECA936A98507nope@94.75.214.90>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!news.glorb.com!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 47
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 19 Apr 2011 20:56:27 +0000 (UTC)
Injection-Info: mx02.eternal-september.org;
 posting-host="zW4kVxm+eeTDR1wZPFb9AA";
 logging-data="5138"; mail-complaints-to="abuse@eternal-september.org";
 posting-account="U2FsdGVkX19czam6rDdZkQrPpKG64HTt"
User-Agent: Xnews/2009.05.01
X-Face: $W<X:Uw4$"nTXRHqqZ=.|pFI@K,TNNH0i>-J; N5/yst7]cQb.o^L$oAhs-J!C
 AOUMQ^NHu3aTb9H8awW~4Y.LR`[o}Rz6Xf=^krb-AwUiM"7zA+QR<vWz'8>hKiTOyd]h
 z]7m=[nhuH{NMrE>~][PM`wSKd?TFV-.glh)>N
Cancel-Lock: sha1:Tf6QsxQPTpzemwYcqtZaSFpHS/Q=
X-Original-Bytes: 2967