Script won't run from the Desktop
I have a bash script that says something ordinary:
#!/bin/bash
/Applications/synergy/synergys -f --config /Applications/synergy/synergy.conf
exit 0
It is associated with the Smultron editor and I want it to run in a terminal (or invisibly) when I click a desktop icon. Now it is just displayed by Smultron.
When I try to change 'Open with:' to 'Terminal' it says 'you don't have privileges to change the application to this document only. Do you want to change all your Smultron.app doc.s to open with application 'Terminal.app'? I continue and ...nothing happens.
ls -al synergys.sh gives
-rwxr-xr-x@ 1 chrism admin 70 30 May 2008 synergyc.sh
How do I get the ** script to run when clicked, please?
I've never seen an erro like you getting about not being able to change the default app for just this file. try rebuilding your launch services database. run this in terminal
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user
and try changing the default app again. you should certainly be able to assign terminal to open this file or all .sh files.
Similar Messages
-
CC Illustrator files (v17.0.0) won't reopen from the desktop. How can this be fixed?
Hmmm, the problem appears to have disappeared once I deinstalled Dreamweaver CS6. Coincidence?
Also our IT department sent me this, but no need for it at the moment:
Deleting the preference folder (in osx it's in "user/library/Preferences/Adobe Illustrator 17 Settings").
Illustrator will then create new preferences.''FredMcD [[#answer-709783|said]]''
<blockquote>
The programers know of this and are working on it.
</blockquote> -
I recorded audio with Quicktime player and the sound files won't disappear from the desktop no matter how I try to put them in the trash...tried xing out the red x, putting them in the trash...right clicking to make them disappear...nothing works...
Just got rid of them... I closed Quicktime and was asked to delete. So I deleted them. Problem solved.
-
I can't "unsynch" my hotmail emails from my iPhone 4.
I had this previously set up on my phone so that I only had my main inbox (no subfolders) and if I deleted an email then it only deleted it from my phone, not from the desktop email.
However, due to having to reset my whole hotmail account today, I had to delete my account from my Iphone and reactivate it, but when I did so it synched everything and now I have all my subfolders etc... and when I delete an email from my phone, it deletes the message from my whole account.
Does anyone know how to re-set this?The only way to do that is to use a mail server with IMAP access, such as iCloud or Gmail. What you have is a POP account, which is the type provided by most ISP's.
-
PHP script won't run in the background
Hi all
Hope someone can help me with a weird issue I have...
I am trying to run a php CLI script in the background and it just won't run - it has a status of Stopped SIGTOU (Trying to write output) - Here are the details
OS
Mac OS X Lion 10.7.2
PHP
PHP 5.3.6 with Suhosin-Patch (cli) (built: Sep 8 2011 19:34:00)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
I created a basic script test.php
<?php echo 'Hello world'.PHP_EOL; ?>
Here are the results of various tests:-
Test 1) php -f test.php (Hello world gets displayed)
Test 2) php -f test.php >test.log 2>&1 (Hello world gets put into test.log)
Test 3) php -f test.php >test.log 2>&1 & --- I get [1]+ Stopped(SIGTTOU) php -f test.php > test.log 2>&1 -- and the job just sits there doing nothing nothing gets logged however lsof shows the log file is open
It has to be something to do with Apple's php build because a similar bash shell script gets executed no problems in the background...
This has me stumped ... any ideas? What can I do to find out what is going on ...?
TIA
RichJust realized your trying to load the php files by using the File->Open menu item in the Browser. That won;t work.
You have to load the php file by placing it in the Sites folder and entering http://localhost/file.php
(or if you have user Sites enabled http://localhost/~user/file.php)
The reason it is grayed out is that the browser doesn't run (or know of) php files. The web server runs those (via php) and the output of the file goes to the web browser.
This page How to enable Web Sharing in OS X Mountain Lion does a pretty good job of explaining it. (as does the user tip I lonked to before) -
Firefox won't open from the desktop shortcut nor the program file on the start page.
On many occasions, Firefox will not start (load) unless I reboot my laptop. Version 3.6 on Windows Vista.
Actually, it's not just Mail that isn't working, but the Finder is crashing as well, and there may also be other problems that I don't fully understand. If you can manage to use the computer at all, proceed as follows.
Verify/repair your disk (not just permissions), as described here:
The Repair functions of Disk Utility: what's it all about?
After having fixed all filesystem issues, if any, reinstall the latest system update using the Combo installer:
Mac OS X 10.4.7 Combo Update for PPC
Read the following articles for guidelines on how to properly install system updates:
Troubleshooting installation and software updates
Installing software updates
Basically, you should verify/repair the boot volume before installing the update, and no applications should be running while installing it. -
Photo Album Won't Run From Internet
CS4 - I posted earlier that my photo albums won't run from the internet but runs from my computer and from a flash drive. I have rebuilt it probably 10 times. The URL is http://www.kandjreynoldsconstruction.com/gallery/index.html. Albums that I've built before are still running. Any Help would be great. Donna
Be sure that all the necessary supporting elements—javascripts, css, and images—have been uploaded to the server as well, using the same folder structure as the local version of your photo album. (Based on a look at the index page's source code, it seems that elements may be missing.)
-
I made a bootable disc on an external hard drive, with Yosemite on it. I am running Snow Leopard on my iMac. How can I open the Yosemite disc from the desktop on my iMac? Does the external hard drive need to be connected to my iMac by firewire to do that?
kahjot wrote:
Snow Leopard's Startup Disk pref can’t see Yosemite volumes. So the only way to switch from Snow Leopard to Yosemite is to do what Niel mentioned. Doesn't matter whether it's connected by USB or Firewire, although performance via FW would be faster.
Are you saying that Yos/10.10, as a volume located in a mounted external drive won't appear as an option in Snow Leopard's Startup Disc, in Sys Prefs? I've never heard this one before. AFAIK any mounted volume, regardless of OS, should appear there. I would think that, if it appears in the Boot Picker/Startup Manager it would also appear and could be booted to from Snow's Startup Disk. I can't test this myself, since I don't have Yos. Is what you are saying documented somewhere? -
couldn't find the adequate forum. I run win 8.1 and the adobe acrobat dc app on my computer doesn't access the doc cloud. I can´t turn the mobile link on. I can access the cloud from my browser, but not from the desktop app. I can access from my mobile app.
Can you please post a screenshot of your Acrobat DC when launched, without opening a PDF?
Thanks,
-Amboo -
is anyone experiencing problems with opening mission control from the desktop. Running mountain lion with parallels 7 and windows 7
I had been having a similar problem on Lion with Safari pdf files despite downloading the latest Adobe Reader XI.
I would constantly get the same messages - There was an error opening this document. The file is damaged and could not be repaired. And I would get a blank page when I tried to print the pdf if I tried printing from the Safari web page using File - Print from the top toolbar on my laptop.
Then I came across the grey Safari lozenge with action icons.
This allowed me, without downloading the pdf, to print the pdf file direct from the Safari page by using the Print icon on the grey lozenge that appears centrally three quarters down the screen.
Then I discovered that if I save the pdf using the Save icon from this same grey lozenge on the Safari page I can open and print this pdf version from my desktop.
I've tested it with a couple of different pdf files and these methods work using the grey lozenge icons but the same pdfs files don't work using File - Save As on the Tool Bar. -
My iMac won't let me drag, and drop anything from the desktop to other files on the desktop, or anywhere else.
This procedure is a diagnostic test. It makes no changes to your data.
Please triple-click anywhere in the line below on this page to select it:
ls -@Oaen | pbcopy
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
Paste into the Terminal window by pressing the key combination command-V. I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key after pasting.
Wait for a new line ending in a dollar sign ($) to appear below what you entered.
The output of the command will be automatically copied to the Clipboard. If the command produced no output, the Clipboard will be empty. Paste into a reply to this message.
The Terminal window doesn't show the output. Please don't copy anything from there.
If any personal information appears in the output, anonymize before posting, but don’t remove the context. -
I want to run a report from the desktop
I want to run a report from the desktop using RWRUN60
What all has to be installed on it to make it work
I have 10g client on mine and it works but I can't install that on all the clients
Is there a little install package for this?
ThanksRWRUN60 is a part of "Oracle From6i Developer Suit". If you want to run report on desktop client than you have to install "Form6i Developer Suit" on every client where report is needed.
I was facing the same issue and it was a difficult job to install "Form6i Developer Suit" on each client. So, I done the followings.
1. Configured Oracle Application Express
2. Created Required Application in Oracle Application Express
3. Installed "Oracle 10g Developer Suit" and configured "PDF Report Services"
4. Now, each user is running the application through URL and I have saved my time of installations. -
Open script cannot get connection from the brower helper after 15 seconds.
Error:
===
Open script cannot get connection from the brower helper after 15 seconds. Do you want to continue waiting for the browser to load?
Please Note:
========
1. I have tried this only on IE
2. I am running OATS on a Remote desktop
Situation:
======
Trying to stop the recording
Try to get xpath of an object using Inspect Path
Setup details
========
Windows XP 5.1 Service Pack 3, x86
OpenScript 12.1.0.1.383
Internet Explorer 8.0.6001.18702
FireFox 13.0.1
Mitigation steps done till now:
==================
1. Disabled windows firewall
2. Disable XSS filter setting
3. Restarted the ATS services (3 of them)
4. Run the Open Script Diagnosis Tool (PS: There are 3 errros even after running it. The 3 errros are listed in the workspace_log log file snippet below...)
Error in worspace_log:
=============
To Change setting:
Go to Tools > Internet Options and Choose Security Tab
Select the Zone to modify and Press Custom level
Find Enable XSS filter Setting - Select Disable and click Ok
!ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
!MESSAGE Failure found when diagnosing Oracle EBS/Forms Load Testing Forms LT Diagnoser
!ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
!MESSAGE Did not auto-fix the problem.
!ENTRY oracle.oats.scripting.diagnosisTool.api.DiagnosisExecutor 4 0 2012-07-09 17:08:52.594
!MESSAGE Suggestion for fixing: Please change your Java proxy setting to Use Browser Settings
Aprreciate help on this.To resolve this, you need to reconfigure the "Oracle Application Testing Suite Helper Service" (OATSHelperSvr) to start as a user who has privledges to run open script tests rather than the default SYSTEM user.
Reconfiguring the OATSHelperSvr Service:
1. Open the services panel (Start > Run > services.msc)
2. Find the Oracle Application Testing Suite Helper Service
3. Right Click > Properties then select the Log On Tab
4. Specify an interactive user that has rights to run OpenScript (test by logging in as that user and running tests):
5. Click OK
6. Restart the service after dialogs are closed by Right Click > Restart
7. You should now repeat this process for the "Oracle Application Testing Suite Agent Service" (eLoadAgentMon) Service (Two services in
total)
You should now retry running the test in Oracle Test Manager -
How do you play a swf file from the desktop
I have created a swf file using flash. It can be downloaded
onto the desktop. It is zipped. When unzipped it is called
yadayada.swf. It does not get associated to the flash player or the
shockwave flash player which are both installed. So if i double
click on it it won't play.
What do I have to do to make it play from the desktop in its
plain swf file format. I want people to be able to download it onto
their desktop for both Mac and PC users. I published it as a
projector .exe file but mac users cant run it.
What should be my next step?
I have installed Flash on my development box so this isnt an
issue but it is for my test computer that doesnt have flash
installed.HI
mm 2 things you can do.
1. Create a html page that loads this SWF file, This will
work on both OS's.
2. Create a Projector file for PC and HQX for the Mac. You
cannot have one
file todo both.
Hope this helps.
Regards
FlashJester Support Team
e. - [email protected]
w. - www.flashjester.com
"This has been one of the most impressive and thoroughly
pleasant
experiences of customer support I have ever come across -
astounding!"
Director - hedgeapple -
How do I remove the Skype icon from the desktop that is on my left on the taskbar ?
Greetings to all, I have a Windows 7. 64--bit with SP--1. I have been unable, by searching, to find a way to remove the Skype icon from the desktop. It is on my left on the taskbar. Do I need to remove it in the registry ? If yes, how ? Thank you Ldxrunner
Hi,
Are you trying to remove Skype entirely, or just get rid of the tool tray icon?
IIRC, you get that icon as long as Skype is running in the background. There's a checkbox in Skype options that will keep it from running on startup. That will eliminate the icon but you won't get notified for incoming calls.
Z.
The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc. The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
English Community Deutsche Community Comunidad en Español Русскоязычное Сообщество
Maybe you are looking for
-
Error in Diagnose from Application Diagnostic Responsibility
Error in Diagnose from Application Diagnostic Responsibility Getting error after clicking on Diagnose from Application Diagnostic Responsibility:- ORA-04063: package body "APPS.JTF_DIAGNOSTIC_ADAPTUTIL" has errors ORA-06508: PL/SQL: could not find pr
-
Issue with design console in oim 11g r2
Hi, I created a variable of type long in adapter factory. To map this long variable i added the adapter task and selected a method which has input parameter as long. In the map i selected adapter variables but in the qualifier i dont see the variable
-
JApplet won't switch image??
Hi everyone... My JApplet was supposed to display a new image when the sign up button is pressed.. But it doesn't.. Here take a look at my source code! import java.awt.*; import javax.swing.*; import java.awt.event.*; import java.applet.*; public cla
-
No extensions will install in Safari 5.01
Upgraded to 5.01 so i could use the extension library from Apple, but none of the extensions will install. Extensions are turned on in the preference pane, but every time I try to install one I get this message. "Safari can't install this extension"
-
How to view record from java source table
hi, i had created a table as CREATE JAVA SOURCE NAMED "Hello" AS public class Hello { public static String hello() { return "Hello World"; } }; also it compiled but i dont've idea to view the record from it can u help me