Error parsing gtk-icon-sizes string: ' ' - linux

Sorry I am pretty new to Linux machine and Ubuntu.
Here is what I did:
I tried to install PhpStorm 2016.3.2 on Linux machine (Ubuntu) by downloading the .gz file from JetBrains site.
I extracted the PhpStorm-2016.3.2.tar.gz file inside /home/[USERNAME]/apps/phpstorm/ folder.
I went inside bin/ folder and typed command line ./phpstorm.sh using Terminal.
It opens the PhpStorm application, but..
Error message:
It shows Error parsing gtk-icon-sizes string: ' ' message while opening the app.
Problem:
Application cannot stay open unless this Terminal stays open.
PhpStorm's icon is not created on my machine, so every time if I want to open PhpStorm, I have to open Terminal and type ./phpstorm.sh.
Question:
While I was looking for solution, I got a feedback that I need to edit .bashrc file to make it executable in that path. What does it mean?
Do I have to modify the path inside "jediterm-bash.in"–> function load_interactive_configs?

Related

VS Code, how to set up for writing for linux machine

I have been working with a script, which I haven't done for some time now. It was suggested to me to use VS code to develop the script and then I use pscp to get the file from my windows computer into the Linux machine which I am connected to.
Once I do this and attempt to run the script on the Linux machine I get the following error:
/bin/bash^M: bad interpreter: No such file or directory
In my settings.json file of VS Code I have my terminal.intergrated.shell.windows set to a bash.exe. I have came across this question:
Bash script and /bin/bash^M: bad interpreter: No such file or directory
and from it one of the suggestions was because I am importing from a windows to linux machine there are some characters which do not cross over correctly thus the ^M error. Is there a way to set up VS Code to code in a Linux environment when it is transferred over?
Thanks for any info!
at the bottom of VSCode there should be a little toolbar.
If you click on CRLF and instead change it to LF your problems should be resolved when developing the code from then onwards. The reason this happens is because whenever you create a new line in Windows it takes two characters to do so. The CR (Carriage Return) and LF (Line Feed) whereas Linux only uses LF (Line Feed).
Hope this helped :)

Differences in nodejs paths between linux and windows

I have create-react-app project and I have a scss file in it.
Inside this file, I have a string like image: url("src/assets/icons/icon1.png");
When I run npm run start in windows everything is ok, but whene i run the same in WSL it gives an 'icon1 file not found' error. It join current file path with target file path.
I think there is a difference between working with start of a path in windows and linux, but I can't find any info about that.
What the differences between working with path starts in this systems and is there any way to use this code in linux without adding / in to beginning of the path?

How to run/execute an adobe AIR file on Linux (ec2/ubuntu) from command line only (no gui)

Im trying to execute a .AIR file on a linux box (ubuntu) from the command line, and disregard the GUI.
Here's the thing. About 6mo I was able to do this, but I forgot how I did it, and I'm left to figure out how it was done by looking at clues on the server.
I see the MainSimple.air file that I had originally used.
I see that I somehow installed it into /opt/MainSimple/bin/MainSimple (which is now a binary file, not an air)
I see my script file to run that file, and it successfully executes.
--- runAir.sh ---
#!/bin/sh
export DISPLAY=:2
/opt/MainSimple/bin/MainSimple &
So my question is, now that I have a new/different air file... how do I get it to "install" or change/compile into a binary file like I did before?
I know an .air file is just a zip file.. I unzipped it, and theirs no /bin directory in it.
To install an air application from command-line, you can try this:
ln -s "/opt/Adobe AIR/Versions/1.0/Adobe AIR Application Installer" /usr/sbin/airinstall
The above command will create a symbolic link for Air Application Installer. Then, to install an air app:
airinstall app.air
To execute/run the air application, locate the binary file of your air application then run it on terminal:
/opt/MainSimple/bin/MainSimple &

Installing TexLive 2010 in Ubuntu 10.10: problem with PATH

I'm followint these instructions to install Kile+TexLive 2010 with package manager on my Ubuntu Maverick: http://ubuntuforums.org/showthread.php?t=141934
The problem I have is that when I finish downloading all the packages to my computer, I have to edit the path but Ubuntu doesn't recognize it. The lines are the following:
PATH=/usr/local/texlive/2005/bin/i386-linux:$PATH
export PATH
I run echo $PATH and as long as I don't close the terminal, the path appears with the echoing, but if I close it, the path disappears. Nevertheless (whether I close the terminal or not), I'm supposed to run texhash but I am told that the command is not found. I already tried editing the path by adding the two lines above to both .bashrc in my home directory and to bash.bashrc in /etc/ directory.
I'm just following the instructions linked above, but I'm a linux rookie. Could anyone help, please?
in order to permanently change any environment variable under Ubuntu/Linux, you must modify the files you mentioned (for example ~/.profile). If you simply issue an export via the terminal, its effect will end once the terminal is closed. Sometime it is needed to perform a logout/login for the changes to take effect.
Also, mind the syntax of what you write in the above mentioned file(s), like "'s around $PATH.
Refer to this question: https://serverfault.com/questions/44275/how-to-add-a-directory-to-my-path-in-ubuntu

cygwin version of idle has erroneous I/O handling

I am using idle (python 2.5) via cygwin on a windows vista machine and when I try to open an already existing .py file I see the full file path
/home/aaron/C:/cygwin/home/aaron/script.py
on the banner of the freshly openned file window when I expect simply
/home/aaron/script.py
In addition, the file appears blank which makes sense...basically idle is opening up a nonexistent file in some fictitious path. So what is causing the problem and how to fix? Anyone?
I have the same problem, but I found a workaround is to use File->Path Browser menu. From there I can find the .py file and open it by double clicking the file name.

Resources