|
Forum Index : Microcontroller and PC projects : mmedit for linux cinnamon
| Author | Message | ||||
| stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2807 |
"If that works satisfactorily, I will do the same for other Linux.". NO!!! mmedit on linux mint works great as is. "If you want desktop shortcuts, run dtopscuts.sh.". shortcuts to mmedit and mmcc appear but just open files in file manager. Thanks for your persistence sorting rpi mmedit... rpi programming rpi :) stan |
||||
| stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2807 |
@Jim. Brill! latest zip tar version WORKS! ... extracting was confusing, just zip was easier. Try flashing code next. Thanks again. regards stan edit, just flashed the lissajours code and it works. got to remember groups dialup usb for it to use usb to ttl Edited 2026-03-02 04:08 by stanleyella |
||||
| stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2807 |
Tried a few other flash progs and rpi mmedit working so far. |
||||
| dddns Guru Joined: 20/09/2024 Location: GermanyPosts: 819 |
Nice :) @Jim just a thought: could it be possible to directly call the system default web browser with the help html instead of a GTK window? edit: I don't own a RPI so could not test Edited 2026-03-02 06:46 by dddns |
||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6506 |
just a thought: could it be possible to directly call the system default web browser with the help html instead of a GTK window? Yes but in my experience it has been difficult to come up with a method that works for all incarnations of Linux. I am working on it. Jim VK7JH MMedit |
||||
Grogster![]() Admin Group Joined: 31/12/2012 Location: New ZealandPosts: 9935 |
Fascinating thread. @ Stan: Well done on keeping on with your tinkering. MANY people just give up on Linux, if it does not work right away, and the rest of them tend to give up if you DARE to mention the terminal! I speak from experience - I was one of those a few years ago! I will continue to watch this thread with interest. Smoke makes things work. When the smoke gets out, it stops! |
||||
| JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 4299 |
Jim Maybe something like system("xdg-open filepath.html"); You may want to close stdout & stderr (if they're open to anywhere the user can see) to suppress unwanted output. You may be best using a full path to the file. John Edited 2026-03-03 18:17 by JohnS |
||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6506 |
Yes John, xdg-open seems to be the best contender. I need to do some more testing but so far... Jim VK7JH MMedit |
||||
| stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2807 |
@ Stan: Well done on keeping on with your tinkering. MANY people just give up on Linux, if it does not work right away, and the rest of them tend to give up if you DARE to mention the terminal! I speak from experience - I was one of those a few years ago! I will continue to watch this thread with interest. Trixie os linux can be frustrating for example the config.txt file has moved from /boot/config.txt to /boot/terminal/config.txt and is now "read only"! I used chmod a+w /boot/terminal/config.txt in the terminal and ok. then right clicked config.txt and properties and it's accessible but when I edit it and try to save it says this file is read only. The Trixie OS is on a 120G usb3 ssd and I used to plug into win pc to edit config.txt but that pc win 11 went tits up so it's linux mint and the config.txt shows as empty file. it's easy to get frustrated, well for me it is:) |
||||
| JohnS Guru Joined: 18/11/2011 Location: United KingdomPosts: 4299 |
To be fair, that DOES sound frustrating. (And puzzling) John |
||||
| dddns Guru Joined: 20/09/2024 Location: GermanyPosts: 819 |
@Stan Look at the file permissions in /boot/terminal: ls -la /boot/terminal I guess it's all root/root In your filemanager right click and choose "open as administrator" and then edit it or use sudo in the terminal like sudo xed /boot/terminal/config.txt Edit: Debian seems to use as default the text editor gedit so: sudo gedit /boot/terminal/config.txt Edited 2026-03-04 03:27 by dddns |
||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6506 |
sudo nano /boot/firmware/config.txt also works if you prefer nano. VK7JH MMedit |
||||
| stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2807 |
sudo nano /boot/firmware/config.txt also works if you prefer nano. No, says read only, had tried that first option, thanks. read it was the ssd failing but tried flash sd card and still new version is read only |
||||
| stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2807 |
Look at the file permissions in /boot/terminal: ls -la /boot/terminal I guess it's all root/root In your filemanager right click and choose "open as administrator" and then edit it or use sudo in the terminal like sudo xed /boot/terminal/config.txt Edit: Debian seems to use as default the text editor gedit so: sudo gedit /boot/terminal/config.txt stan@raspberrypi:~ $ sudo gedit /boot/terminal/config.txt sudo: gedit: command not found |
||||
| stanleyella Guru Joined: 25/06/2022 Location: United KingdomPosts: 2807 |
I haven't got admin access yet on rpi. seems a secret and why is config.txt now read only... stop people overclocking? a search and others have tried to make config.txt writable with all methods and failed. weird. I'm not the only one. I'm using fresh images from rpi imager. Jim's file zip/tar was lots of bother to extract. I tried newish Twister os 64bit on rpi but it couldn't extract mmedit.. gave up on it when it crashed. Edited 2026-03-04 07:34 by stanleyella |
||||
| dddns Guru Joined: 20/09/2024 Location: GermanyPosts: 819 |
Stan, I don't have an arm64 platform so I installed Trixie for amd64 with cinnamon in a VM in order to help here. In this version gedit is the default text editor. Possible solutions: Please find out by looking in accessories which editor is installed on your machine and replace gedit with yours in the command line. The ASCII based editor "nano" should be installed, you could try sudo nano /boot/terminal/config.txt Good luck! p.s. of cause there is vi/vim but that's a pain to use and to explain |
||||
| dddns Guru Joined: 20/09/2024 Location: GermanyPosts: 819 |
I think it is owned by root and others like your user have only read access. You can open it but not change it. Did you try? In your filemanager right click and choose "open as administrator" and then edit it |
||||
| dddns Guru Joined: 20/09/2024 Location: GermanyPosts: 819 |
I almost can't believe that overclocking is configured in this text file. I'm interested, please post the content |
||||
TassyJim![]() Guru Joined: 07/08/2011 Location: AustraliaPosts: 6506 |
# For more options and information see # http://rptl.io/configtxt # Some settings may impact device functionality. See link above for details # Uncomment some or all of these to enable the optional hardware interfaces #dtparam=i2c_arm=on #dtparam=i2s=on #dtparam=spi=on # Enable audio (loads snd_bcm2835) dtparam=audio=on # Additional overlays and parameters are documented # /boot/firmware/overlays/README # Automatically load overlays for detected cameras camera_auto_detect=1 # Automatically load overlays for detected DSI displays display_auto_detect=1 # Automatically load initramfs files, if found auto_initramfs=1 # Enable DRM VC4 V3D driver dtoverlay=vc4-kms-v3d max_framebuffers=2 # Don't have the firmware create an initial video= setting in cmdline.txt. # Use the kernel's default instead. disable_fw_kms_setup=1 # Run in 64-bit mode arm_64bit=1 # Disable compensation for displays with overscan disable_overscan=1 # Run as fast as firmware / board allows arm_boost=1 [cm4] # Enable host mode on the 2711 built-in XHCI USB controller. # This line should be removed if the legacy DWC2 controller is required # (e.g. for USB device mode) or if USB support is not required. otg_mode=1 [cm5] dtoverlay=dwc2,dr_mode=host [all] stan, at a command prompt sudo nano /boot/firmware/config.txt I was able to edit and save the file without any issues VK7JH MMedit |
||||
| dddns Guru Joined: 20/09/2024 Location: GermanyPosts: 819 |
Many thanks Jim! |
||||
| The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2026 |