{"ygPerms":{"resourceCapabilityList":[{"resourceType":"GROUP","capabilities":[{"name":"UPDATE"},{"name":"READ"},{"name":"WELCOME_MSG"},{"name":"PENDING_COUNT"},{"name":"ACTIVITY_LOGS"}]},{"resourceType":"PHOTO","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"UPLOAD"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"COPY"},{"name":"MOVE"},{"name":"APPROVE"},{"name":"UPLOADTEMP"},{"name":"GROUPCOVER"}]},{"resourceType":"FILE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"AUTO_SEND"}]},{"resourceType":"MEMBER","capabilities":[{"name":"READ"},{"name":"READ"},{"name":"EDIT_MODERATOR"},{"name":"DELETE"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"BAN"}]},{"resourceType":"LINK","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"UPDATE"},{"name":"DELETE"},{"name":"MOVE_LINK"}]},{"resourceType":"CALENDAR","capabilities":[{"name":"READ"}]},{"resourceType":"DATABASE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"READ_DATA"}]},{"resourceType":"POLL","capabilities":[{"name":"READ"},{"name":"VOTE"},{"name":"UPDATE"},{"name":"CREATE"},{"name":"DELETE"},{"name":"CLOSE"}]},{"resourceType":"MESSAGE","capabilities":[{"name":"CREATE"},{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PENDING_MESSAGE","capabilities":[{"name":"READ"},{"name":"UPDATE"},{"name":"DELETE"}]},{"resourceType":"ATTACHMENTS","capabilities":[{"name":"READ"},{"name":"DELETE"}]},{"resourceType":"PHOTOMATIC_ALBUMS","capabilities":[{"name":"READ"},{"name":"UPLOAD"}]},{"resourceType":"MEMBERSHIP_TYPE","capabilities":[{"name":"READ"},{"name":"CREATE"},{"name":"DELETE"},{"name":"UPDATE"}]},{"resourceType":"POST","capabilities":[{"name":"CREATE"},{"name":"DELETE"},{"name":"READ"},{"name":"UPDATE"}]},{"resourceType":"PIN","capabilities":[{"name":"CREATE"},{"name":"DELETE"},{"name":"READ"},{"name":"UPDATE"}]}],"modStatus":"MODERATOR","subStatus":"NORMAL","groupUrl":"groups.yahoo.com","intlCode":"us"},"comscore":"pageview_candidate","ygData":{"userId":357745446,"authorName":"anthony baldwin","from":"anthony baldwin &lt;baldwinlinguas@gmail.com&gt;","profile":"tonytraductor","replyTo":"LIST","senderId":"QzlQNEyNytG8NIz9G8tYrAmccZonYmPWLYXkVkqHeSf9t1SRHop9-qRSTE8_O2__wfk8KFSvies-GlHp0kBgY9NT58YzCoi_DT662gtUM5l9","spamInfo":{"isSpam":false,"reason":"12"},"subject":"Re: Launching on Linux  Was: [OmT] Sudden weird problems with segmentation, tags","postDate":"1227925921","msgId":12347,"canDelete":true,"contentTrasformed":false,"systemMessage":false,"headers":{"messageIdInHeader":"PDQ5MzBBOUExLjIwNTA2MDBAZ21haWwuY29tPg==","inReplyToHeader":"PGdncHY0MCt1MTRoQGVHcm91cHMuY29tPg==","referencesHeader":"PGdncHY0MCt1MTRoQGVHcm91cHMuY29tPg=="},"prevInTopic":12346,"nextInTopic":12348,"prevInTime":12346,"nextInTime":12348,"topicId":12300,"numMessagesInTopic":20,"msgSnippet":"... Well, I don t expect the program to install itself and make an icon and a menu item, etc., etc. I think some desktop managers, like kde and gnome, maybe","rawEmail":"Return-Path: &lt;baldwinlinguas@gmail.com&gt;\r\nX-Sender: baldwinlinguas@gmail.com\r\nX-Apparently-To: OmegaT@yahoogroups.com\r\nX-Received: (qmail 25158 invoked from network); 29 Nov 2008 02:41:38 -0000\r\nX-Received: from unknown (66.218.67.94)\n  by m43.grp.scd.yahoo.com with QMQP; 29 Nov 2008 02:41:38 -0000\r\nX-Received: from unknown (HELO el-out-1112.google.com) (209.85.162.179)\n  by mta15.grp.scd.yahoo.com with SMTP; 29 Nov 2008 02:41:38 -0000\r\nX-Received: by el-out-1112.google.com with SMTP id v27so440297ele.8\n        for &lt;OmegaT@yahoogroups.com&gt;; Fri, 28 Nov 2008 18:41:37 -0800 (PST)\r\nX-Received: by 10.90.94.2 with SMTP id r2mr4784049agb.62.1227926497333;\n        Fri, 28 Nov 2008 18:41:37 -0800 (PST)\r\nReturn-Path: &lt;baldwinlinguas@gmail.com&gt;\r\nX-Received: from ?192.168.1.101? (c-71-233-156-193.hsd1.ct.comcast.net [71.233.156.193])\n        by mx.google.com with ESMTPS id 8sm2063126agd.21.2008.11.28.18.41.35\n        (version=SSLv3 cipher=RC4-MD5);\n        Fri, 28 Nov 2008 18:41:36 -0800 (PST)\r\nMessage-ID: &lt;4930A9A1.2050600@gmail.com&gt;\r\nDate: Fri, 28 Nov 2008 21:32:01 -0500\r\nOrganization: BaldwinLinguas.com\r\nUser-Agent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.8.1.13) Gecko/20080529 SeaMonkey/1.1.9\r\nMIME-Version: 1.0\r\nTo: OmegaT@yahoogroups.com\r\nReferences: &lt;ggpv40+u14h@eGroups.com&gt;\r\nIn-Reply-To: &lt;ggpv40+u14h@eGroups.com&gt;\r\nContent-Type: text/plain; charset=ISO-8859-1; format=flowed\r\nContent-Transfer-Encoding: 7bit\r\nX-Originating-IP: 209.85.162.179\r\nX-eGroups-Msg-Info: 1:12:0:0:0\r\nFrom: anthony baldwin &lt;baldwinlinguas@gmail.com&gt;\r\nSubject: Re: Launching on Linux  Was: [OmT] Sudden weird problems with segmentation,\n tags\r\nX-Yahoo-Group-Post: member; u=357745446; y=M9Bb7b87EK0p6c9vC8RMvftJZnqtfukuGErSRzcpjbU9mDXMeyw\r\nX-Yahoo-Profile: tonytraductor\r\n\r\nSusan Welsh wrote:\n&gt; Hi, I&#39;m Susan&#39;s son Jacob.\n&gt; \n&gt; Since the &quot;correct&quot; way to run OmegaT on Linux is to use the wrapper\n&gt; script, it ought to be possible to make a symlink, launcher, etc. to\n&gt; this script. However, OmegaT assumes it&#39;s being run from its root\n&gt; directory (for finding help files and other java things), which means\n&gt; it fails if not run from the correct directory -- not a good thing in\n&gt; terms of user friendliness. It&#39;s trivial to fix this -- I did so by\n&gt; putting &quot;cd `dirname $0`&quot; at the top of the wrapper script. But that&#39;s\n&gt; a step of &quot;magic&quot; that the user shouldn&#39;t have to do. Could this be\n&gt; put in the upstream wrapper script, or fixed in the java source\n&gt; itself? With this, it is possible to create a launcher via\n&gt; click-and-drag in GNOME, and other such fun things.\n&gt; \n\nWell,\nI don&#39;t expect the program to install itself and make an icon and a menu \nitem, etc., etc.\nI think some desktop managers, like kde and gnome, maybe xfce, I don&#39;t \nknow, do some of that stuff.\nThe thing is, there are so many possible desktop managers and \nconfigurations on a linux system, that I would never expect the omegat \ndevs to address all possible combinations and possibilities and write in \n  an installer that would do that stuff.\n\nFor my part, I just have a script in /usr/local/bin that has:\n\n#!/bin/bash\ncd /dir/where/omega/was/extracted\njava -jar OmegaT.jar\n\n\nIn my case, /dir/where/omega/was/extracted is actually\n/home/tony/Linguas/transtools/omt20\n\nI don&#39;t have any icons or anything, but I do have a fluxbox menu item\nthat points to the script (/usr/local/bin/omt).\nMore often than not I just bring up fbrun (&quot;run program&quot; dialog on \nfluxbox, which I have made come up with keyboard shortcut, Mod1 c, or \nalt+c, if you prefer) and type in &quot;omt&quot;, the name I&#39;ve given to the script.\nBut, one could make a similar script, place it in one&#39;s path (ie. \n/usr/local/bin, or /home/username/bin or something), and make a kde or \ngnome menu item or an icon to call it if one prefers a desktop cluttered \nwith icons, etc., etc.\n\nIn similar fashion, I have written install.sh scripts for some of my \nwork that drop a script into /usr/local/bin, but some folks have \nhollered at me and told me I shouldn&#39;t do it like that.\nI don&#39;t know why, since apt installs stuff to /usr/bin or /usr/share, or \n  /usr/local.\nSome desktop managers, to my knowledge, seem to detect stuff in /usr/bin \nand/or /usr/local/bin, and automagically create menu items.\nIt doesn&#39;t seem unreasonable, to me, to include an install.sh script to \ndrop a script into /usr/local somewhere that would run the OmegaT.jar\nIt could be like (and likely this is the long way around the barn):\n\n#!/bin/bash\n\np=$(pwd)\n\necho &quot;/bin/bash&quot; &gt; omt\necho &quot;cd $p && java -jar OmegaT.jar&quot; &gt; omt\nchmod a+x omt\nmv omt /usr/local/bin\n\nThe install.sh script, as above, would have to be run as root.\nThis would construct the launch script to go to the dir where the launch \njar is.\nThen there would be a launch script in the path, and would be executable \nby the user.  I suppose it could be called &quot;omegat&quot; and not &quot;omt&quot;, and \nthen if the user did a &quot;whereis omegat&quot; they&#39;d know where their launch \nscript is.\nBut, I get hollered at for writing install scripts that do stuff like \nthat.  I don&#39;t know why.\n\nIs that too heavy in &quot;geekspeak&quot; for a newbie?\nI still kind of think of myself as a newbie, but perhaps I lose sight of \nthe fact that maybe I have learned a couple of things.\nBut then, I clearly have much to learn (as witnessed by my installation \nmethods, I suppose, since I get hollered at for them).\n\nWell, I&#39;m basically rambling, and should get back to this translation...\n\n/tony\n-- \nhttp://www.baldwinsoftware.com - Free software\nhttp://www.baldwinlinguas.com - translations and interpreting\nhttp://www.linguasos.org - Linux for translators\n\n"}}