开云体育

Locked Re: Installation of JMRI on Ubuntu 22.04 #ubuntu


 

开云体育

Hi Dave,

Funnily, when I edited the files after? I had saved them with .txt, it opened the GUI text editor. So, I thought it was all good.? However, I should have created the files in that text editor to start with!? Lesson learned.

Thanks for explaining how to get the icons onto the favourites. Perfect! Now, all I have to do is understand JMRI!!

Kind regards,


Jeremy




On 02/05/2023 14:36, Dave Sand wrote:

Jeremy,

If you do an application search for "text" you will get the default GUI text editor.

I need to update the Linux install page.

  1. Copy the ".desktop" file to ~/.local/share/applications. ?If you want to use the file manager, enable "Show Hidden Files".
  2. Click on the 3x3 grid icon in the lower left.
  3. The JMRI icon that you added will probably be in the second page of applications.
  4. Right click on the icon and select "Add to Favorites".


Dave Sand



----- Original message -----
From: "Jeremy Thompson via groups.io" <jeremy.thompson2=[email protected]>
Subject: Re: [jmriusers] Installation of JMRI on Ubuntu 22.04
Date: Tuesday, May 02, 2023 4:53 AM

Thank you guys for helping me with this problem!

Tim, they didn't appear in the square of icons.

I agree with Dave and Robert about not using LibreOffice Writer, even with saving it as a .txt file. There must still be some non printing characters retained.

I downloaded "nano-editor" and after realising that it was so simple it needed running from the Command line, I created the two files. They are initially saved at "Home" (or in your working directory) and I then moved them to Desktop.

Once they are on the Desktop, they had to be enabled by setting "Enable Launching".

Is there a way of moving them to the Favourites bar? Drag and drop didn't work.

Once again, many thanks.

Regards,


Jeremy




On 01/05/2023 19:01, Robert Heller wrote:
I strongly agree with Dave about NOT using LibreOffice Writer to edit *text* (configuration, data, etc.) files. LibreOffice Writer is a *word processor* and is not really meant to be used as a plain text editor. It is all about editing *typeset* documentations. Linux has a whole selection of proper text editors, from nano (super simple) to emacs (super complex), specificly designed to edit plain text files (ASCII). At Mon, 01 May 2023 12:52:05 -0500 "Dave Sand" <ds@...> wrote:
Jeremy, The Linux install was recently upgraded. See I recommend you use the Linux text editor instead of LibreOffice Writer. Dave Sand ----- Original message ----- From: "jeremy.thompson2 via groups.io" <jeremy.thompson2@...> To: [email protected] Subject: [jmriusers] Installation of JMRI on Ubuntu 22.04 Date: Monday, May 01, 2023 12:08 PM I am following the Guide for installation of JMRI on UBUNTU 22.04. It has all gone successfully, until the last step. I can run PanelPro and Decoder Pro from the command line but I would like to have desktop icons. I have followed the procedure to create the active Icons for both Panel Pro and Decoder Pro. However, neither of them work. I get the error message "This desktop file has errors, or points to a program without permissions. It cannot be executed." All the files, the desktop text files and the "Exec" files are all executable. I created the desktop files in LibreOffice Writer and saved the files as .txt files. I then removed the .txt at the end of the name. Is there more I need to do to these text files? Thank you. Jeremy



Join [email protected] to automatically receive all group messages.