Page 2 of 2

Re: Newsbin on Linux

PostPosted: Sat Aug 27, 2016 2:41 am
by DougGuy
Got 64 bit nb6.72 working in Linux Mint 18 today, copied the .dll's from a 64bit win10, it crashed Linux so I renamed them .old and no more crashes. It unrared correctly, and I have it saving files now to a hardware raid in NTFS. Trying to reduce the footprint as much as possible on the / drive in linux so everything references a path to the raid.

Think wine on this one is 1.8 or so but so far all is running good.

The one thing it will not allow is to change the color of the server in the servers applet. The button toggles but that's all.

Re: Newsbin on Linux

PostPosted: Sat Aug 27, 2016 8:54 am
by Quade
That's good to hear.

Yeah, you probably can't expand the sets by clicking on the + icon too. You can expand them manually with the right arrow though.

Re: Newsbin on Linux

PostPosted: Sat Aug 27, 2016 11:00 am
by DougGuy
Can I manually edit a file to change the server color? Open the .nbi file in an editor and do it?

Re: Newsbin on Linux

PostPosted: Sat Aug 27, 2016 11:50 am
by dexter
Yes, you can open the .nbi file (while Newsbin is closed) and find the section named after your server, then modify the "Color" variable. It is a decimal representation of a hex RGB value but a little tricky to convert since it is stored little endian. For example Yellow would be FFFF00 in hex but converted from 0000 FFFF to give 65535. Blue/Green would be 00FFFF in hex but stored as FFFF 0000 and would be 16776960. Blue is 0000FF but stored as 00FF 0000 which gives 16711680. Hope you get the idea. You might have to play with it to get the values you want.

Re: Newsbin on Linux

PostPosted: Sat Aug 27, 2016 12:42 pm
by DougGuy
Yup LOL ended up with an ugly pink but hey not complaining! At least it's running in something other than winblows!

Re: Newsbin on Linux

PostPosted: Wed Aug 31, 2016 11:31 am
by DougGuy
NM.. please delete

Re: Newsbin on Linux

PostPosted: Wed Aug 31, 2016 11:37 am
by Quade
It's in the advanced options.

If turning it off there doesn't fix it, you probably want to re-register from the "Help/Register Update Key" menu.

Re: Newsbin on Linux

PostPosted: Thu Sep 01, 2016 1:00 am
by DougGuy
Quade wrote:It's in the advanced options.

If turning it off there doesn't fix it, you probably want to re-register from the "Help/Register Update Key" menu.


I guess you saw my post before it got edited..

I thought I had found the tick box to turn off the MOTD window that opens on startup. I unticked it, but the MOTD still appears.

Ok I re-regged my key, ticking the box to SHOW the MOTD actually turns it off. Go figure. Problem solved..

I edited the .nbi file to show a different color for the second server in the Server Options applet, but in the main downloading files window, both servers still use the same color. Can't tell which one the files are coming from.

Re: Newsbin on Linux

PostPosted: Thu Sep 01, 2016 1:52 am
by Quade
Ok I re-regged my key, ticking the box to SHOW the MOTD actually turns it off. Go figure. Problem solved..


Rereg is probably what fixed it. Registered users, even when it's enabled, it only pops when there's something new. It's probably on right not but won't pop till Dex has something new to announce.

Re: Newsbin on Linux

PostPosted: Thu Sep 01, 2016 8:58 am
by dexter
DougGuy wrote:I edited the .nbi file to show a different color for the second server in the Server Options applet, but in the main downloading files window, both servers still use the same color. Can't tell which one the files are coming from.


The summary line is the same color and just shows overall progress. You have to expand the post by clicking the + sign to the left of the subject in order to see the details and the different server colors.

Re: Newsbin on Linux

PostPosted: Wed Oct 05, 2016 1:45 am
by DougGuy
NB 6.72 worked good on Fedora 23 and now working good on Fedora 24, same attributes as on Linux Mint 18.

This install is Chapeau Linux, a distro customized and bundled for multimedia and gaming, seriously good audio and video rendering, built on the Fedora kernel, it kicks azz!

Re: Newsbin on Linux

PostPosted: Tue Oct 18, 2016 4:30 pm
by bakdoor
I run NB (in win7) from an encrypted hard drive. (Truecrypt encrypted) My path to my NB data folder is always DataPath=Q:\Newsbin\

When I try to run NB, (under wine), from my latest nbi backup I get 'Failed to find or create Data Folder you may want to pick/create a new one'

TrueCrypt under windows uses letter designations whereas under Linux, it uses numbers. I tried changing the nbi to 'DataPath=/dev/sdb1:\Newsbin\ but apparently I don't know the correct syntax as this also fails with the same error.

Any ideas?
Thanks

Re: Newsbin on Linux

PostPosted: Tue Oct 18, 2016 5:22 pm
by dexter
I don't think you can access linux paths outside of the wine tree. I suggest creating a symbolic link under the wine directory tree pointing to your target data folder. For example my wine directory is /home/dexter/.wine/drive_c. I'd create a symlink from that directory to /dev/sdb1

For example ln -s /dev/sdb1/newsbin /home/dexter/.wine/drive_c/data

Then in the .nbi I'd use /home/dexter/.wine/drive_c/data for the datapath.

Re: Newsbin on Linux

PostPosted: Tue Oct 18, 2016 11:52 pm
by Quade
TrueCrypt under windows uses letter designations whereas under Linux, it uses numbers. I tried changing the nbi to 'DataPath=/dev/sdb1:\Newsbin\ but apparently I don't know the correct syntax as this also fails with the same error.


I've never used TC under linux. I don't mind if the government figures out what kinds women I like.

Are you sure you can't mount the TC partition under the Wine tree? I think you're going to have to fix this by mounting the encrypted file/partition someplace Newsbin can can get to.

Re: Newsbin on Linux

PostPosted: Wed Oct 19, 2016 5:28 am
by bakdoor
@Quade: Will try today.
@Dexter: I would prefer to stay out of jail! :)

@Quade: On another note, and I'm sure you get this all the time,.......NB FOR LINUX! PLEASE! :)
I've been a paid subscriber for many many years. The lack of NB for Linux has been the only thing stopping me from moving completely over to Linux. I'd gladly pay $$$'s for a Linux version!

Thanks

Re: Newsbin on Linux

PostPosted: Wed Oct 19, 2016 4:54 pm
by bakdoor
I think I got it!
When my encrypted drive is mounted, TrueCrypts 'Volume' shows as /dev/sdb1/ but it’s 'Mount Directory' shows as /media/truecrypt1/.
Made the change in my test nbi and it works! Sweet!

Re: Newsbin on Linux

PostPosted: Wed Oct 19, 2016 5:44 pm
by Quade
That's good. I figured it had to be something like that.