Newsbin on Linux

While it isn't officially supported, we have many users who successfully run NewsBin under Linux with a Windows emulator (Wine is the most popular). This forum exists for you Linux guys to share your experience getting NewsBin running on Linux as well as report any strangeness that we may or may not be able to fix. DThor is the resident expert.

Moderators: Quade, dexter, newsraider, DThor

Re: Newsbin on Linux

Postby DougGuy » Sat Aug 27, 2016 2:41 am

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.
DougGuy
Occasional Contributor
Occasional Contributor
 
Posts: 17
Joined: Wed Jan 02, 2013 10:29 pm

Registered Newsbin User since: 04/12/12

Re: Newsbin on Linux

Postby Quade » Sat Aug 27, 2016 8:54 am

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.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin on Linux

Postby DougGuy » Sat Aug 27, 2016 11:00 am

Can I manually edit a file to change the server color? Open the .nbi file in an editor and do it?
DougGuy
Occasional Contributor
Occasional Contributor
 
Posts: 17
Joined: Wed Jan 02, 2013 10:29 pm

Registered Newsbin User since: 04/12/12

Re: Newsbin on Linux

Postby dexter » Sat Aug 27, 2016 11:50 am

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.
User avatar
dexter
Site Admin
Site Admin
 
Posts: 9514
Joined: Fri May 18, 2001 3:50 pm
Location: Northern Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin on Linux

Postby DougGuy » Sat Aug 27, 2016 12:42 pm

Yup LOL ended up with an ugly pink but hey not complaining! At least it's running in something other than winblows!
DougGuy
Occasional Contributor
Occasional Contributor
 
Posts: 17
Joined: Wed Jan 02, 2013 10:29 pm

Registered Newsbin User since: 04/12/12

Re: Newsbin on Linux

Postby DougGuy » Wed Aug 31, 2016 11:31 am

NM.. please delete
DougGuy
Occasional Contributor
Occasional Contributor
 
Posts: 17
Joined: Wed Jan 02, 2013 10:29 pm

Registered Newsbin User since: 04/12/12

Re: Newsbin on Linux

Postby Quade » Wed Aug 31, 2016 11:37 am

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.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin on Linux

Postby DougGuy » Thu Sep 01, 2016 1:00 am

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.
DougGuy
Occasional Contributor
Occasional Contributor
 
Posts: 17
Joined: Wed Jan 02, 2013 10:29 pm

Registered Newsbin User since: 04/12/12

Re: Newsbin on Linux

Postby Quade » Thu Sep 01, 2016 1:52 am

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.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin on Linux

Postby dexter » Thu Sep 01, 2016 8:58 am

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.
User avatar
dexter
Site Admin
Site Admin
 
Posts: 9514
Joined: Fri May 18, 2001 3:50 pm
Location: Northern Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin on Linux

Postby DougGuy » Wed Oct 05, 2016 1:45 am

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!
DougGuy
Occasional Contributor
Occasional Contributor
 
Posts: 17
Joined: Wed Jan 02, 2013 10:29 pm

Registered Newsbin User since: 04/12/12

Re: Newsbin on Linux

Postby bakdoor » Tue Oct 18, 2016 4:30 pm

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
bakdoor
n00b
n00b
 
Posts: 5
Joined: Thu Jun 12, 2014 12:45 pm

Registered Newsbin User since: 02/07/10

Re: Newsbin on Linux

Postby dexter » Tue Oct 18, 2016 5:22 pm

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.
User avatar
dexter
Site Admin
Site Admin
 
Posts: 9514
Joined: Fri May 18, 2001 3:50 pm
Location: Northern Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin on Linux

Postby Quade » Tue Oct 18, 2016 11:52 pm

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.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Newsbin on Linux

Postby bakdoor » Wed Oct 19, 2016 5:28 am

@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
bakdoor
n00b
n00b
 
Posts: 5
Joined: Thu Jun 12, 2014 12:45 pm

Registered Newsbin User since: 02/07/10

Re: Newsbin on Linux

Postby bakdoor » Wed Oct 19, 2016 4:54 pm

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!
bakdoor
n00b
n00b
 
Posts: 5
Joined: Thu Jun 12, 2014 12:45 pm

Registered Newsbin User since: 02/07/10

Re: Newsbin on Linux

Postby Quade » Wed Oct 19, 2016 5:44 pm

That's good. I figured it had to be something like that.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44981
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Previous

Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests