How to start an app?
Jason Swails
jason.swails at gmail.com
Tue Oct 4 11:20:49 PDT 2011
On Tue, Oct 4, 2011 at 12:26 PM, John <konaexpress at mail.com> wrote:
> Thanks for the help, Ok so I had to put in "activate" to get Geany to work
> but I got a "RANDR" error but it still started.
I get those all the time (Linux and Mac OS X alike), and it's never caused
me to lose sleep :).
> It said that Koffice is not installed? Wow, the old MacBook crunched on
> that install for a while last night, I will try it again.
>
Look for an error. It may have had a problem (in which case you can email
this list for possible help if you can't find anything in the bug tracker).
> On a side note, do I have to always put in sudo and port to do anything
> with MacPorts? Seems like it though this is not stated on the website.
>
It depends. It's a permission issue. I adjusted the permissions on my
MacPorts directories, and tinkered with the groups of my user so I don't
have to use sudo. (I'm using OS X 10.6, I've heard stuff on the list about
creating a dedicated MacPorts user to handle this stuff). If you don't
bother with any of those (or if you don't know what I'm talking about), then
you'll need to use sudo for any command that modifies files in your MacPorts
directories. That is, you'll need to use sudo for port activate, install,
uninstall, deactivate, select, etc. You don't have to for querying tasks
like port list, contents, provides, etc.
Hope this helps,
Jason
> Thanks again -John
>
>
>
>
> ----- Original Message -----
>
> From: Jason Swails
>
> Sent: 10/04/11 09:11 AM
>
> To: John
>
> Subject: Re: How to start an app?
>
>
>
> On Tue, Oct 4, 2011 at 11:44 AM, John <konaexpress at mail.com> wrote:
>
>> Hi, at the risk of sounding like an idiot, how do you start/find an app
>> that you installed using MacPorts?
>
>
> Not all programs are turned into apps that are dumped into the
> /Applications/MacPorts folder. Some of them are just binaries that reside
> in /opt/local/bin that you have to launch from the terminal itself.
> However, there are also some ports (like ImageMagick) that do not build
> *any* programs that even resemble the package name. Another example is
> synergy, which builds 2 binaries synergyc and synergys. The "contents"
> property of the port command takes the guesswork out of all of this.
>
> Use the command: "port contents <package>" to list all of the files
> added/installed for a particular port. In your case
>
> port contents koffice
>
> I'm guessing you'll see something like /opt/local/bin/<something> (koffice,
> kwrite, kcalc? I've never used that suite before). Then, just write that as
> a command on the command-line and it will open the program.
>
> Hope this helps,
> Jason
>
>
>> I am not new t Macs but I am new to the unix side of it. Using MacPorts is
>> the first time I have ever used the terminal in about 12 years of using a
>> Mac. I installed Macports and then installed Koffice but I can not find an
>> icon to start it. Then I downloaded Pallet and I was able to find it in the
>> MacPort folder and used it to install Geany so I can learn Python. Pallet
>> can not find Koffice in it's listings, it also said that I installed Geany
>> but I can not find the "Launcher" for it. Do I have to use the term to start
>> a program? If so, what do I put in? i.e. "start" or "begin" and then the app
>> name?
>>
>>
>> Thanks for the help guys -John
>> _______________________________________________
>> macports-users mailing list
>> macports-users at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
>>
>
>
>
>
> --
> Jason M. Swails
> Quantum Theory Project,
> University of Florida
> Ph.D. Candidate
> 352-392-4032
>
>
>
--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20111004/388c6b5a/attachment.html>
More information about the macports-users
mailing list