[Debian Wheezy] Easy install LinuxCNC

More
15 Jun 2015 02:14 #59820 by BigJohnT
Because xfce has totally hosed the menu system and they have the SPM in two different places. Mate has a much more sensible menu.

JT

Please Log in or Create an account to join the conversation.

More
15 Jun 2015 03:17 #59824 by andypugh

How do I fix Axis to be able to just click EDIT and make revisions quickly?


You define the editor for G-code in the INI file with the EDITOR = option
www.linuxcnc.org/docs/html/config/ini_co...#sub:DISPLAY-section

Please Log in or Create an account to join the conversation.

More
15 Jun 2015 04:01 #59825 by BigJohnT
I think he already had EDITOR = gedit however gedit is not included with the live CD so if you copy a config from 10.04 it will be broken in Wheezy unless you know how to install programs.

JT

Please Log in or Create an account to join the conversation.

More
15 Jun 2015 04:42 #59827 by andypugh

I think he already had EDITOR = gedit however gedit is not included with the live CD so if you copy a config from 10.04 it will be broken in Wheezy unless you know how to install programs.


Yes so the fix is to have EDITOR = some_program_that_does_exist ?

Please Log in or Create an account to join the conversation.

More
15 Jun 2015 07:11 - 15 Jun 2015 07:11 #59829 by Askjerry
I forwarded the link to this thread to the folk at the ATX Hackerspace... looks like two options...

1) Install GEDIT
2) Change the EDITOR link to something else.

I'm inherently lazy... anyone have the proper change to make in the INI file? ;) Then I'll copy/paste.

What? I admitted it.... B)
Last edit: 15 Jun 2015 07:11 by Askjerry. Reason: Clarity

Please Log in or Create an account to join the conversation.

More
26 Jun 2015 11:18 #60146 by Askjerry
I did some experimenting... it looks like the the replacement text editor is mousepad.

I changed the line from

EDITOR = GEDIT

to

EDITOR = MOUSEPAD

that worked... if someone has a better program let me know.

Thanks,
Jerry

Please Log in or Create an account to join the conversation.

More
26 Jun 2015 18:39 #60154 by BigJohnT
I like Gedit better than mousepad.

JT

Please Log in or Create an account to join the conversation.

More
26 Jun 2015 19:32 #60158 by Askjerry
Me too... I'm just saying, to make it work... if you don't have it connected to the internet... you need to change it to MOUSEPAD.

If you have it connected to the internet... then you need to install GEDIT as it is not a part of this install. (Unfortunately.)

Please Log in or Create an account to join the conversation.

More
27 Jun 2015 18:56 #60183 by BigJohnT
Well you don't have to use mousepad, you could use nano or pico.

JT

Please Log in or Create an account to join the conversation.

More
16 Aug 2015 13:10 #61423 by Askjerry
I have been using MOUSEPAD... but I realize that GEDIT is much better... so I revisited this topic... and looked at the instructions above.

Now realize that what I know of LINUX commands could fit on the head of a pin... however I know enough to pull up terminal and give it a go.

I created a development PC called "MONGO" with a user "mongo" and a password "mongo"... I was watching Flash Gordon (1985) at the time... :whistle:

Birchy said... to try this...
$ su (enter root password)
$ aptitude install gedit

Anyway... in terminal I typed su mongo
It replied PASSWORD: and I typed mongo

Ok... so far good... the instructions said to type in aptitude install gedit so I did...

It looked like it was doing some sort of install... then I got...
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission Denied)
E: Unable to lock the administration directory ( /var/lib/dpkg/), Are you root?

Just for giggles from terminal I typed MOUSEPAD... and it came up fine.
I tried the same with GEDIT but it came up with
bash: gedit: command not found

So... tomorrow, I'll spool out 100 feet of LAN cable to the development machine and go with the Synaptic Package Manager and give that a try.

I just wanted to pass along this information so if someone else attempts to replicate it they will know what to expect. :blink:

Thanks,
Jerry

Please Log in or Create an account to join the conversation.

Time to create page: 0.080 seconds
Powered by Kunena Forum