I've just finished setting up ZSH on Windows Terminal. However, I can't for the life of me figure out how to enable the CTRL + Click to follow a link. Eg: When I launch Jupyter Notebook in a directory, to make the URL http://localhost:8888 clickable so that it directly opens the link in the browser.
Is there some setting that I can change in the profiles.json or some plugin for ZSH that I can install that will allow me to do this? Thanks in advance!
Related
I'd like to try out VSCode. I code usually on Qt Creator on a remote machine with Ubuntu/Debian, which I access through Mobaxterm (ssh) with X11 forwarding on Windows. I installed the latest VSCode (code_1.30.1-1545156774_amd64.deb), and I ran it with code, but I can't maximize the window or move it in anyway. The maximize button is completely unresponsive and doesn't do anything. Trying to drag the window or resize it by hand also doesn't do anything.
Is there some configuration to do to make it do these things?
Just found the answer:
https://github.com/Microsoft/vscode/issues/65232#issuecomment-449010667
in ~/.config/Code/User/settings.json
"window.titleBarStyle": "native"
if the file doesn't exist, create a new one with this line:
{ "window.titleBarStyle": "native" }
I've installed Java (1.8) and icedtea, but when I use (sudo) javaws myapp.jnlp it acts like it's going to start, prompting me with a "Are you sure you want to run this application" dialog, but when I click "Yes," it closes, stating this:
ERROR: javax.jnlp.BasicService not available
This application must be started by Java Web Start
Is this a problem with icedtea or a problem with the application itself? And, do you know how I can fix it?
I'm on a Raspberry Pi, but I don't know which one. If I had to guess, I'd say it's a 3, and it's using Raspbian.
Install the Icedtea Plugin by typing:
sudo apt-get install icedtea-8-plugin
If the File is still not opened look for it in the file manager.
Right click, open with...
Second Tab "userdefined..."
/usr/lib/jvm/java-1.8.0-openjdk-armhf/bin/javaws %f
I get all set tools of selenium, such as wxPython, python, also set the 'Path', but when I try to open ride.py to launch selenium, I find this .py started with Pycharm, then only thing I see is the IDE. Do I need to uninstall Pycharm to resolve the problem?
Version -- Pycharm4.5.3, python2.7
I guess you are double clicking the file which opens it in IDE? If yes the open a terminal and use python ride.py to run it
In my current project, I require Firefox browser to be run in headless mode using Xvfb and Selenium. In order to maintain compatibility between Selenium and Firefox, I want to maintain both of them at a specific version and stop Firefox auto-upgrades.
Currently, I am installing Firefox by the following steps:
Downloading a specific version of Firefox (wget http://kickstart/redhat/enterprise/fupdates/5.4C/x86_64/firefox-31.6.0-2.0.el5amzn.x86_64.rpm).
Installing the downloaded version (rpm -i firefox-31.6.0-2.0.el5amzn.x86_64.rpm).
"app.update.auto", "app.update.enabled" and "app.update.silent" configuration parameters (in "about:config") of the Firefox profile are disabled by default.
Does that mean it would not be auto-updated? Is it the case with such types of installation?
Any recommendation would be helpful.
You can set these prefs in about:config to disable automatic updating:
app.update.auto - false
app.update.enabled - false
app.update.silent - false
You need to enter about:config in the address bar and then search for each pref in a list.
In linux, one solution is that after you download firefox and extract it (you can download tar from here).
Then change the owner and group to root, for example:
find .|xargs sudo chown root
find .|xargs sudo chgrp root
Because of the permission, firefox cannot update now
When installing Firefox, choose the customize radio button instead of default installation may be in 2nd or 3rd screen of the installation wizard and uncheck Mozilla/Firefox maintenance service. It will certainly work.
Good luck
There are 3 files under the installation directory (at least on windows. So I believe, similar files should be on linux as well).
1. updater.exe
2. updater.ini
3. update-settings.init
After removing these files, I was able to stop auto upgrade. Deleting these files will automatically change the auto update of firefox i.e. settings>advanced>Never check for update option as well.
Important: Remove these files before your first launch of the browser.
Hope this helps someone. :)
I'm trying to open google chrome mac with disabled security with the command line
open -a Google\ Chrome --args --disable-web-security
However it keeps opening up parallels windows chrome instead - how do I remove the parallels binding for chrome so that it doesn't open from mac terminal?
Use the full path to the application:
open -a /Applications/Google\ Chrome --args --disable-web-security
Parallels creates folders in ~/Applications for each virtual machine. These folders contain aliases for applications on the virtual machine. My guess is that the command "open -a" is searching the folder ~/Applications before searching the folder /Applications. This is probably desired behavior in many cases - open would find the application installed for the user before finding the application installed system-wide. However, it's causing some confusion in this case.
I couldn't find documentation explaining which path "open" is actually searching, so this is just a guess. However, specifying the full path to the application works for me.
I had this issue while trying to launch the Chrome debugging tools from React Native. Because React was launching the app I couldn't adjust the command it issues as described in the accepted answer.
I fixed it by changing the bundle name in the Parallels application package so it was different than the Mac Chrome version. To do this find the application package for Chrome in Parallels - I found mine in ~/Applications (Parallels).
Right-click on the Chrome application in Finder and select Show Package Contents. Under the Contents folder you should find a Info.plist file. Open this in a text editor and modify the string value for the CFBundleName key to something else (I used "Google Chrome Win").
Save the file and the open command should launch the Mac version of Chrome as expected from then on.