¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Running nanoVNA - saver using Ubuntu (desktop )


Anne Ranch
 

OK, I am too lazy to use commands to get "nanoVNA-saver" running.

Anybody tried the attached procedure to run it as "standard" Linux / Ubuntu application ?
Little long but seems accurate.



Anne Ranch
 

Well, as always judged the source too soon
in very few steps it asks to "create new document "
unfortunately the folder has no clue what "document " is - there is
no option to create document.


Marshall Harrison
 

Use the touch command to create a new document.

On Thu, Jul 8, 2021 at 11:29 AM Anne Ranch <anneranch2442@...> wrote:

OK, I am too lazy to use commands to get "nanoVNA-saver" running.

Anybody tried the attached procedure to run it as "standard" Linux /
Ubuntu application ?
Little long but seems accurate.








--
*Marshall Harrison, *
*Microsoft rMVP
<>*
*904.655.6502*


 

On Thu, Jul 8, 2021 at 05:29 PM, Anne Ranch wrote:


OK, I am too lazy to use commands to get "nanoVNA-saver" running.

Anybody tried the attached procedure to run it as "standard" Linux / Ubuntu
application ?
Little long but seems accurate.



The tutorial describes how you can write your own python program, I suspect you do not want this.
The easy way:
- Download the zip from github

- unpack this into a directory (e.g. /home/anne/projects/nanovna-saver)
- open a terminal window, go to this directory (type cd /home/anne/projects/nanovna-saver)
- do what is told in this lengthy tutorial in step 11:
Step 11: Now to run your Python file, all you have to command is ¡®python nanovna-saver.py¡¯.


Anne Ranch
 

Result of your method is same - I have to do the "standard " commands starting with change directory etc.
which I am trying to avoid / bypass.


 

On 7/10/21 4:27 PM, Anne Ranch wrote:
Result of your method is same - I have to do the "standard " commands starting with change directory etc.
which I am trying to avoid / bypass.
Are you trying to create a desktop shortcut?? That, in Ubuntu, is a little file that gives information about the application you want to run and where it is. If you need to do more setup, what I do is create a shell script, and the desktop shortcut runs that shell script.? Yes, it is a royal pain compared to how easy it is in Windows, where you just right click on the desktop and make a new shortcut.


The file looks something like this (here named recipea.desktop):

[Desktop Entry]
Name=Recipe A
Exec=displayrecipe.sh "/home/pi/recipes/PreservedLemons.pdf"
Icon=/home/pi/icons/noun_recipe_3125801.png
Type=Application
Terminal=false

which invokes a shell script that does what you want to do (here, displayrecipe.sh - for you probably nanovna-saver.sh).? You might not need this. You might just be able to go Exec=/usr/bin/nanovna-saverdirectory/nanovna-saver.py



#!/bin/bash
# script to display pdf and immediately change size of window
qpdfview "$@" &
PID=$!
#echo $PID > temp4.txt
sleep 0.5
wmctrl -ir `wmctrl -lp | grep " $PID " | cut -d' ' -f1` -e 0,-1,-1,$PDFWIDTH,$PDFHEIGHT > ~/temp.txt


 

Hi guys,

The file for Ubntu desktop, looks something like this:

name file: NanoVNA Saver

#!/usr/bin/env xdg-open
[Desktop Entry]
Name=NanoVNA Saver
Comment=Simple program
Comment[it]=Saver per NanoVNA
Exec=python3.7 /home/paolo/nanovna-saver/nanovna-saver.py
Icon=/home/paolo/nanovna-saver/icon_48x48.png
Terminal=false
Type=Application
MimeType=text/plain
Keywords=VNA;saver;
InitialPreference=6
Categories=Network;HamRadio;VNA
Keywords=Ham Radio;VNA;


Check it, and change the 'profile user name' with your.


'73 de Paolo IV3BVK


------------------------------------

Il 11/07/21 01:44, Jim Lux ha scritto:

On 7/10/21 4:27 PM, Anne Ranch wrote:
Result of your method is same - I have to do the "standard " commands starting with change directory etc.
which I am trying to avoid / bypass.
Are you trying to create a desktop shortcut?? That, in Ubuntu, is a little file that gives information about the application you want to run and where it is. If you need to do more setup, what I do is create a shell script, and the desktop shortcut runs that shell script.? Yes, it is a royal pain compared to how easy it is in Windows, where you just right click on the desktop and make a new shortcut.


The file looks something like this (here named recipea.desktop):

[Desktop Entry]
Name=Recipe A
Exec=displayrecipe.sh "/home/pi/recipes/PreservedLemons.pdf"
Icon=/home/pi/icons/noun_recipe_3125801.png
Type=Application
Terminal=false

which invokes a shell script that does what you want to do (here, displayrecipe.sh - for you probably nanovna-saver.sh).? You might not need this. You might just be able to go Exec=/usr/bin/nanovna-saverdirectory/nanovna-saver.py



#!/bin/bash
# script to display pdf and immediately change size of window
qpdfview "$@" &
PID=$!
#echo $PID > temp4.txt
sleep 0.5
wmctrl -ir `wmctrl -lp | grep " $PID " | cut -d' ' -f1` -e 0,-1,-1,$PDFWIDTH,$PDFHEIGHT > ~/temp.txt





 

Hi,

my apologize for my previous incomplete information.

The correct file name for the file to be created on the desktop, is: ? NanoVNA Saver.desktop

Find another more info in my post, on:

'73 de Paolo IV3BVK

Il 11/07/21 10:15, Paolo Garbin IV3BVK ha scritto:
Hi guys,

The file for Ubntu desktop, looks something like this:

name file: NanoVNA Saver

#!/usr/bin/env xdg-open
[Desktop Entry]
Name=NanoVNA Saver
Comment=Simple program
Comment[it]=Saver per NanoVNA
Exec=python3.7 /home/paolo/nanovna-saver/nanovna-saver.py
Icon=/home/paolo/nanovna-saver/icon_48x48.png
Terminal=false
Type=Application
MimeType=text/plain
Keywords=VNA;saver;
InitialPreference=6
Categories=Network;HamRadio;VNA
Keywords=Ham Radio;VNA;


Check it, and change the 'profile user name' with your.


'73 de Paolo IV3BVK


------------------------------------

Il 11/07/21 01:44, Jim Lux ha scritto:

On 7/10/21 4:27 PM, Anne Ranch wrote:
Result of your method is same - I have to do the "standard " commands starting with change directory etc.
which I am trying to avoid / bypass.
Are you trying to create a desktop shortcut?? That, in Ubuntu, is a little file that gives information about the application you want to run and where it is. If you need to do more setup, what I do is create a shell script, and the desktop shortcut runs that shell script.? Yes, it is a royal pain compared to how easy it is in Windows, where you just right click on the desktop and make a new shortcut.


The file looks something like this (here named recipea.desktop):

[Desktop Entry]
Name=Recipe A
Exec=displayrecipe.sh "/home/pi/recipes/PreservedLemons.pdf"
Icon=/home/pi/icons/noun_recipe_3125801.png
Type=Application
Terminal=false

which invokes a shell script that does what you want to do (here, displayrecipe.sh - for you probably nanovna-saver.sh). You might not need this. You might just be able to go Exec=/usr/bin/nanovna-saverdirectory/nanovna-saver.py



#!/bin/bash
# script to display pdf and immediately change size of window
qpdfview "$@" &
PID=$!
#echo $PID > temp4.txt
sleep 0.5
wmctrl -ir `wmctrl -lp | grep " $PID " | cut -d' ' -f1` -e 0,-1,-1,$PDFWIDTH,$PDFHEIGHT > ~/temp.txt