Benbox Laser Machines/CO2 Lasers/3D Printers

Software => T2 Engraving => Topic started by: av8r1 on July 19, 2017, 06:25:06 PM

Title: Linux support?
Post by: av8r1 on July 19, 2017, 06:25:06 PM
I've got to have a CAM package that runs under Linux.  LaserWeb is a failure; a miserable, poorly programmed, embarrassing, nonfunctional failure.   Will T2 do it or will I have to write my own?
Title: Re: Linux support?
Post by: ThothLoki on July 19, 2017, 08:22:14 PM
T2 is windows only and will not be ported to Linux. You might be able to use it with a VM
Title: Re: Linux support?
Post by: ggallant571 on July 19, 2017, 10:33:21 PM
I have written my own linux application. Have also written my own firmware (for stm32f chip) so I am no longer sure  what standard GRBL it plays with.
Title: Re: Linux support?
Post by: Zax on July 20, 2017, 04:44:00 AM
Unless Linux supports .net (in a VM or otherwise) it's not going to work.

Why not use a cheap tablet to run the laser?
Title: Re: Linux support?
Post by: anakein on January 01, 2018, 03:25:37 AM
Hello everybody.

 I am linux fanatic user, jeje.

BenCutLaser is working for me into ubuntu. and playonlinux. I making script for automatic install, but i'm waiting my laser engraver and cannot use yet.

two questions.

Can i to use bencutlaser full without license for testing?
now i can to connect to arduino nano direct, but i think i need firmware or same. I am learning now. Can anybody help me for load one firmware into nano for testing all bencutlaser funtion?, repeat, i have not laser esgraver, i am waiting postal chinesee eternal time. jajajaja.


thanks and happy new year.

PD: sorry for me english.

Title: Re: Linux support?
Post by: minora72 on January 01, 2018, 07:19:30 AM
You might try asking this question under Bencutlaser rather than under T2 Engraving.
Title: Re: Linux support?
Post by: anakein on January 01, 2018, 08:46:31 AM
ups, sorry. jeje
Title: Re: Linux support?
Post by: Administrator on January 01, 2018, 08:51:40 AM
Email sent.
Title: Re: Linux support?
Post by: anakein on January 07, 2018, 04:32:05 AM
T2Laser full working on linux.

i  uploaded firmware and connect fine.

steps.

uninstall wine and ppa

sudo apt install ppa-purge
sudo ppa-purge ppa:ubuntu-wine/ppa

sudo apt-get update

install wine Development branch
https://wiki.winehq.org/Ubuntu


open terminal and write(change USER for your user linux folder
rm -fr ~/.wine export WINEARCH=win32 export WINEPREFIX="/home/USER/.wine" winecfg

select windows 7 emulation.


create folder for winetricks(example mkdir winetricks)
download winetricks last version on here type this
wget -r -c -N https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks

cd /Winetricks/winetricks/master/src/
sudo chmod +x winetricks

launch winetricks

navigate to the default wineprefix -> Installation of Windows DLL or component, find dotnet45 and mark it for installation. 4. Installer will install all .NET Frameworks including 4.5 version

system is fine for t2laser

now on terminal type winefile

search setup.exe (t2laser install app)

and enjoy.



happy new yer for linux users.
Title: Re: Linux support?
Post by: kibodwin on January 08, 2018, 12:31:16 AM
superb anakein , thanks for this, I will defiantly try it, having T2 as a replacement for laserweb is definably on my list of priorities.
I have discovered another 'feature' of laserweb, the origin of your document in LW changes when you connect to the laser controller. This changes the LW workflow quite a bit.
=)
Title: Re: Linux support?
Post by: Zax on January 14, 2018, 11:32:20 AM
Fantastic work, you are a genius!

I haven't used Linux in "a long time" so this is Greek to me but I'm glad you got it working and hope others will see T2Laser as an option.
Title: Re: Linux support?
Post by: anakein on January 14, 2018, 12:09:55 PM
Thanks Zax.

Now i am making playonlinux guide too.

is more easy and you have icon on desktop.

Title: Re: Linux support?
Post by: ThothLoki on January 14, 2018, 02:43:07 PM
ATTA BOY!!!!
Title: Re: Linux support?
Post by: kibodwin on January 15, 2018, 01:26:22 AM
Thanks Zax.

Now i am making playonlinux guide too.

is more easy and you have icon on desktop.

If you continue it will be too easy to use T2Laser with linux!!
also WOOT!!
https://packages.debian.org/jessie/playonlinux
=)
Title: Re: Linux support?
Post by: ThothLoki on January 15, 2018, 09:16:54 AM
So, when I someone going to make it work with Mac or did that already happen?
Title: Re: Linux support?
Post by: anakein on January 15, 2018, 11:21:35 AM
on mac is easy.

you can to use virtual box, and search on internet appliance windows 10 for virtual box.
later, install t2laser and enjoy.

Title: Re: Linux support?
Post by: ThothLoki on January 15, 2018, 12:13:15 PM
True. Now just need to test the Linux version on a Pi
Title: Re: Linux support?
Post by: Zax on January 16, 2018, 06:18:20 AM
I have many Mac users with various virtual box setups, T2Laser runs fine in all cases.
Title: Re: Linux support?
Post by: dindunuffin on January 20, 2018, 09:50:43 AM
anakein, can you help me out with this linux install of T2laser?

I've tried this process and the install seems to work fine, then it asks for my key, accepts the key and shuts down for restart and ends.  I went and looked for the application in .wine to restart, but there is no executable only this T2laser.apprenf-ms click-once file.  I'm not familiar with this type of file executing a windows application and confused as to how this works under Wine.

Why does it install the T2laser files in this location: 

C:\Users\CAJ\AppData\Local\Apps\2.0\KXY9PJ2Q.O2W\XCPPT7RP.PCP\t2la..tion_0000000000000000_0001.0005_535f10fafb389c65

and not in my Program Files directory like most applications?

Any help appreciated.  I would love to get this to work in my Linux.  I use Ubuntu 17.10.
Title: Re: Linux support?
Post by: kibodwin on January 22, 2018, 01:35:58 AM
I have many Mac users with various virtual box setups, T2Laser runs fine in all cases.
A thought popped into my head, if T2Laser works fine in a VM for mac why would it not work for Linux? Both are 'based' on Unix are they not?
=)

I also noticed that wine is now at version 3, it might be worth another go with the new version of wine.
Title: Re: Linux support?
Post by: Zax on January 22, 2018, 04:47:54 AM
T2Laser is now confirmed to work on PC, Linux and Mac.
Title: Re: Linux support?
Post by: dindunuffin on January 22, 2018, 11:32:28 AM
Mine works up until the key request shuts down for a restart.  I'm got to figure out this 'one-click' install and how Wine handles it, its a little different than a typical .exe file.  I'm not sure what others are doing that I'm not to get it to work.
Title: Re: Linux support?
Post by: anakein on January 25, 2018, 09:25:45 AM
anakein, can you help me out with this linux install of T2laser?

I've tried this process and the install seems to work fine, then it asks for my key, accepts the key and shuts down for restart and ends.  I went and looked for the application in .wine to restart, but there is no executable only this T2laser.apprenf-ms click-once file.  I'm not familiar with this type of file executing a windows application and confused as to how this works under Wine.

Why does it install the T2laser files in this location: 

C:\Users\CAJ\AppData\Local\Apps\2.0\KXY9PJ2Q.O2W\XCPPT7RP.PCP\t2la..tion_0000000000000000_0001.0005_535f10fafb389c65

and not in my Program Files directory like most applications?

Any help appreciated.  I would love to get this to work in my Linux.  I use Ubuntu 17.10.

two time on T2laser.apprenf-ms and working. it is the "icon desktop" in wine.
tonight i can to make manual for standard icon desktop.
Title: Re: Linux support?
Post by: dindunuffin on January 25, 2018, 12:04:55 PM
Please do!  I find the file located at /drive_c/users/caj/Start Menu/Programs/T2/T2laser/T2laser.apprenf-mc, but when I double click it, every time it asks for the key again.  Its not storing the key and restarting like it should.  I can not get it to move past the point where it asks for the key. 
Title: Re: Linux support?
Post by: anakein on January 25, 2018, 02:41:47 PM
Please do!  I find the file located at /drive_c/users/caj/Start Menu/Programs/T2/T2laser/T2laser.apprenf-mc, but when I double click it, every time it asks for the key again.  Its not storing the key and restarting like it should.  I can not get it to move past the point where it asks for the key.
in your explorer files, locate .wine/users/your_user/local settings/apps/2.0/other_dir/
there is 2 folder
1 folder install and other folder with app. in this folder you can to see T2laser.exe.

now you can run t2laser or create link desktop. and now save your key.

if you use ubuntu, on terminal write this before. echo 0 | sudo tee /proc/sys/kernel/yama/ptrace_scope

Title: Re: Linux support?
Post by: dindunuffin on January 26, 2018, 10:37:55 AM
Found the T2Laser.exe, but it still will not save the key.  Every time I run the application it asks for the key again. For some reason it is not storing the key.  Is there someway I can manually write the key into a file?

I really appreciate your help, this is much further than I've ever gotten with Linux and T2Laser.  I'm glad you're good with WINE, I've never used it before, never wanted to use a Windows app bad enough to figure WINE out.
Title: Re: Linux support?
Post by: anakein on January 26, 2018, 10:48:18 AM
send me information please. in .wine folder there is system.reg and user.reg files. send me and look your problem. mail by private.
Title: Re: Linux support?
Post by: ThothLoki on October 22, 2018, 02:32:26 PM
Thanks Zax.

Now i am making playonlinux guide too.

is more easy and you have icon on desktop.

anakein.
Did you ever make that playonlinux guide?
Title: Re: Linux support?
Post by: donwatson on November 09, 2018, 06:40:37 AM
anakein,
Have you went any further with this in 'PlayonLinux' ??
I have just installed PlayonLinux and was hoping to run T2 Laser on my Linux computer.

Anyone have a Linux setup that is running T2 Laser ?? Can anyone help ??

take care
Don W
Title: Re: Linux support?
Post by: ggallant571 on November 09, 2018, 01:36:24 PM
 I am 99.99& linux based and use a home brew application. It is a work in process but I have etched well over 500 slates, mirrors, and wood panels with it. No users guide or help. Attached 64-bit executable was built on Linux Fedora 27. It isn't as polished as T2 or BCL but works for me. If you try it, please prove feedback, positive or negative.
Title: Re: Linux support?
Post by: donwatson on November 09, 2018, 02:07:47 PM
Thanks ggallant571,
I will start with this again
Don W
EDIT I have downloaded and opened up this file and have taken a screenshot. I think I am missing parts at the bottom of the page. I will connect up a monitor to this laptop in the morning and see if I can get the whole page.
It looks very simple and if it does what I want I will be well pleased. Thanks again for letting me try this (again)

Don W
Title: Re: Linux support?
Post by: ggallant571 on November 09, 2018, 07:43:12 PM
My lowest resolution screen is 1440x900 so it is entirely possible that the lower area is lost. What size do you have?
Title: Re: Linux support?
Post by: donwatson on November 10, 2018, 03:42:02 AM
I have connected a 17" monitor to my laptop and it shows me the whole page.
I can set the computer/monitor up when I want to use the laser engraver.
Thanks for this, I will have a look at this programme later.

Don W
Title: Re: Linux support?
Post by: donwatson on November 15, 2018, 07:45:16 AM
Hi ggallant571,
I have picked up a Samsung Notebook that seems to run T2 Laser without any problem so I won't push your programme any further on my Linux setup.
I have tried VirtualBox, VMware, KVM, Wine, PlayonLinux, you name it I have tried it most of them more trouble than their worth at least your little programme is very simple and easily understood.
I will probably order T2 over the weekend after I have had a play with it first, it does seem to work well so far.
I may also keep your programme to use for coasters. Someone asked this week about cutting/engraving slate so I will look into that. Thanks again for all your help.

take care
Don W
Title: Re: Linux support?
Post by: ThothLoki on October 18, 2019, 05:05:26 PM
install wine Development branch
https://wiki.winehq.org/Ubuntu

so the newer version of wine requires additional dependencies. I found this worked instead of the winehq site
https://www.linuxuprising.com/2019/09/how-to-install-wine-staging-development.html

Then i needed to do a 'sudo apt-get install cabextract', then i could install dotnet45 and t2.
Thanks for you tutorial