How to make FunkLoad use gnuplot on windows? - gnuplot

I want to use FunkLoad on Windows and I have installed it. I also installed the Windows version of gnuplot.
But when trying to make a report with FunkLoad it gives me :
RuntimeError: Failed to run wgnuplot cmd on C:\path\tests.gplot
What should I do in order for FunkLoad to detect that there is indeed an available gnuplot on the machine to use for the graphs?
Thank you.

Check the contents of your PATH variable. On Windows 7, this means "Control Panel"->"System and Security"->"System", in the left bar click "Advanced System Settings", then the "Advanced" tab of the window that opens. At the bottom click "Environment Variables..." then in the "System variables" box, look for the variable named "PATH". Click "Edit" and add the path to your Gnuplot executable to the beginning of the edit box. Make sure you end the path with a semicolon to separate it from the next entry!
PS: To open the Control Panel to the "System" pane, press Win+Pause.

Related

What do I do to make Sublime text stop ignoring filenames that start with a dot

I am using Sublime Text editor and I need to change the settings for Sublime 3 to open files that start with a dot like .gitignore. Please let me know where in the settings I need to make the change. I am using Windows OS fyi.
This isn't a Sublime-specific option, but an operating system one, as the OS determines what is displayed in file dialogs as well as the file system explorer. To set the option on Windows, first open Windows Explorer and navigate to the folder containing the dotfile you want to view. Then, in the View tab, click the Options button on the far right, then select Change folder and search options.
You can also find Options under the File menu.
The Options window will now pop up. Select the View tab, then select the option Show hidden files, folders, and drives. Next, click on the Apply to Folders button at the top.
Similar options are also available on macOS and Linux.

failed to launch preferred application for category TerminalEmulator?

I get this error:
Failed to launch preferred application for category "TerminalEmulator".
Step 1
Go to applications and search for qterminal and open QTerminal.
This will open a terminal.
Step 2
Type sudo apt install xfce4-settings, hit enter, wait for process to complete.
Now you can use all your applications.
After a lot of scrapping through various answers which asked to install or update various things, all just was for NO LUCK!
Then I decided to do it in my own lazy way.
I donot have any problem with QTerminal, hence I just tweak some parts in the thunar and settings.
In thunar(file manager) > Edit > Configure custom actions > Open Terminal Here (If this tag is not available then create it or if there is multiple tags with same value then keep only one and delete other)>double click on it to open and customize it.
In the next box you'll see "command" which will be run when clicking on "Open Terminal Here". Just dont write any command manually. There on the right side a "Select Application" icon is present. Just click it and select your preferred terminal. Save this change and Bingo! you'll be opening the folder in your preferred terminal.
now you'll see the command (basically path to the terminal application with a modifier f to open folder). Select only the application path and copy it, we'll need it in step 2.
In this step we will set up just tweak setting
Setting>Keyboard>Shortcuts
if Ctrl+Alt+T is already defined here then just edit it or create new "Custom shortcut"
paste the copied path of the terminal (what we copied in step 1) in the command section. Save it
DONE!!! *** You can set any shortcut key for your convenience ***

Python 3 How to run program without showing command line and show in the system tray

I haven't been able to find a way to hide the windows 10 terminal/command line and show and icon in the system tray that allows you to open the GUI for it. If possible I would also like to know how to add a Right click menu option.

GitBash duplicate taskbar icon

I've just re-installed Git on my Win10 PC and tried to pin Git Bash to my taskbar.
For some reason now, when I open Bash from my taskbar shortcut, it displays duplicate icon on the taskbar. I tried to pin that icon but once I end the terminal session, that shortcut is deleted. I've tried multiple Win10 sites but most just say to repin the new icon.
Prior to updating I could pin it fine with no issues.
I did this for Windows 7:
Make sure there was no other (older) Git Bash appearing in Start Menu
Remove any existing pinned Git Bash from Taskbar
Launch Git Bash
Pin this launched window to Taskbar (instead of the one appearing in Start Menu)
In my case, launching git-bash.exe and pinning the result produced a shortcut to cmd.exe with no arguments, which just opened a regular command window. Creating a shortcut to git-bash.exe directly (either manually, or by pinning the existing Start Menu shortcut) caused the opened window to be separate from the pinned item.
What worked in my case (more manual):
Create a shortcut to this command: %windir%\system32\cmd.exe /c "C:\Program Files\Git\bin\bash.exe" --login
(Optional) "Change Icon...", then select the git-bash.exe location (one directory up from bash.exe), and click the icon selection area for the icon to show up and to select it.
Update the "Start in" value to %HOMEDRIVE%%HOMEPATH%
Pinning the git-bash.exe fixed the problem for me. This also fixed the problem with broken icon graphic.
NOTE! This was on Windows 7 - haven't tested on Win10!
Open Windows Explorer.
Navigate to C:\Program Files\Git.
Right click git-bash.exe, select Pin to Taskbar.
Shift-right click the newly pinned icon, select Properties.
Add to the end of the field Target: --cd-to-home
Set the value of the field Start in: %HOMEDRIVE%%HOMEPATH%
Press OK.
NOTE! This was on Windows 10
I don't know how it works but open the git-bash.exe file and pin the opened file on the taskbar
Do not pin the program which is not opened or else it wont work
None of the other solutions worked for me so here's what I did on Windows 10:
Open Windows Explorer
Navigate to C:\Program Files\Git
Right click on git-bash.exe
Right click on it and select Pin to Taskbar. This creates the first taskbar item.
Run git bash by clicking on the taskbar item. This creates the second taskbar item.
Pin the second taskbar item.
Open the properties (right click on the icon -> right click on the app name -> properties) of the second taskbar item and fix them:
Set Target to "C:\Program Files\Git\git-bash.exe" --cd-to-home
Set Start in to %HOMEDRIVE%%HOMEPATH%
Change the icon... Go to C:\Program Files\Git\ and select git-bash.exe and the icon.
Close the properties window and unpin the first taskbar item.
I have faced this problem. Here is a tried and tested solution. Very easy. Out of the 2 icons that you see, right-click on the inactive icon and do Unpin from taskbar. Then click on the active icon and do Pin to taskbar.
It's easy for Windows 10.
Open Windows Explorer
Navigate to C:\Program Files\Git
Select git bash
Select the 'Manage' option which appears under the field in purple 'Application Tools'
Select the 'Pin to Taskbar' option which shows on the far left

How to append to PYTHONPATH in Tornado so Handlers can use other libraries?

I am attempting to start a Tornado web server, but I need the Handlers to be able to import libraries from a custom path. I cannot simply add sys.path.append('..') when launching Tornado, so how do I do it?
import sys
sys.path.append('/home/user/py/lib')
To do this right you need to assign the PYTHONPATH to include the custom directories prior to the starting of the Tornado application.
The way to do this in Linux would be this:
PYTHONPATH=$PYTHONPATH:<custom path 1>:<custom path 2>:<etc>
I'm a bit rusty with Windows, but I believe in windows you would:
Windows XP
Right click 'My Computer'
Click on 'Properties'
Click on the 'Advanced' tab
Click 'Environment Variables'
In either the System or User Environment Variables locate the one
for PYTHONPATH. If one doesn't exist, create one in System. Add in
the new custom path to the PYTHONPATH. Make sure you use a ; and not
a : to separate the paths.
Windows Vista/7
Right click 'Computer' under the 'Start Button'.
Click on 'Properties'
Click on 'Advanced system settings' in the left pane
Click on the 'Advanced' tab
Click 'Environment Variables'
In either the System or User Environment Variables locate the one
for PYTHONPATH. If one doesn't exist, create one in System. Add in
the new custom path to the PYTHONPATH. Make sure you use a ; and not
a : to separate the paths.

Resources