Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

RedNotebook

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
User avatar
user2635
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

RedNotebook

#1 Post by user2635 »

I want to install this package (http://rednotebook.sourceforge.net/) but it doesn't seem to find it when I install through terminal.

So I search on debian packages online:
https://packages.debian.org/search?keyw ... lla-search

Looks like there are no maintainers for it... what are my options?
phil the linux newbie
debian 9 stable since aug 2017
please teach me linux :)

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: RedNotebook

#2 Post by kedaha »

Well, it was in wheezy and jessie but not stretch but the those packages won't install in stable because of dependencies.
One quick option, from the site is:
Download the latest source package, unpack it and change into the unpacked folder in a terminal. Then run:

./run
I just tried it and it works OK.
Looks easy enough to package though.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
user2635
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

Re: RedNotebook

#3 Post by user2635 »

Will it be safe to do so? I'm just a regular user so I don't want to make a frankendebian.
phil the linux newbie
debian 9 stable since aug 2017
please teach me linux :)

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: RedNotebook

#4 Post by kedaha »

Of course because it's all done in some directory within your home directory as your user, NOT as root:
It would have to be packaged to actually install it. As for Frankendebians, they sally forth from hybrid sources in /etc/apt/sources.list and they're often seen around these forums. :wink:
But you may need to first do

Code: Select all

# apt-get install python3-yaml
Then make a directory and download it directly from within the terminal rather than faffing about in the browser and Downloads.

Code: Select all

$ mkdir rednotebook && cd rednotebook
$ wget https://github.com/jendrikseipp/rednotebook/archive/master.zip
$ ls
$ unzip master.zip
$ ls
$ cd rednotebook-master
$ ./run
If you think it might be a dubious program then use firejail
See man firejail for more details.:

Code: Select all

# apt-get install firejail
Then issue the command:

Code: Select all

$ firejail ./run
Last edited by kedaha on 2017-08-27 20:33, edited 1 time in total.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
user2635
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

Re: RedNotebook

#5 Post by user2635 »

Thanks for your help kedaha, I will follow those steps later today and let you know how I get on!
phil the linux newbie
debian 9 stable since aug 2017
please teach me linux :)

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: RedNotebook

#6 Post by VentGrey »

I submitted a wishlist bug-report, maybe the maintainer will get it since RedNotebook was taken down due to it's old libraries use, or maybe we can backport it and try to make it available through mentors.debian.net(?) :mrgreen:
I would exchange everything I know in exchange for half of what I don't.

User avatar
user2635
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

Re: RedNotebook

#7 Post by user2635 »

VentGrey wrote:I submitted a wishlist bug-report, maybe the maintainer will get it since RedNotebook was taken down due to it's old libraries use, or maybe we can backport it and try to make it available through mentors.debian.net(?) :mrgreen:
Thanks for the extra step, pushing things forward!
phil the linux newbie
debian 9 stable since aug 2017
please teach me linux :)

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: RedNotebook

#8 Post by VentGrey »

I hope it does not break the rules but i've backported it & packaged it from ubuntu (like other packages) and uploaded to https://mentors.debian.net/package/rednotebook, It has a hella lot of lintian warnings, hopefully I'll fix them all today :mrgreen:
I would exchange everything I know in exchange for half of what I don't.

User avatar
user2635
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

Re: RedNotebook

#9 Post by user2635 »

kedaha, I've installed it fine and it works good, thanks!

I do have another question though, I want to add this program to KDE menu (I'll google this in a minute).

The question is, where is the best place to put it if I don't want it in my home folder? What is the 'program files' equivalent for linux? /bin?
phil the linux newbie
debian 9 stable since aug 2017
please teach me linux :)

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: RedNotebook

#10 Post by kedaha »

I'm not so sure it works OK in stretch; for instance, I haven't been able to "visualise images in the browser" but maybe that's because I'm not familiar with this little program.
You are rightly concerned about good practice regarding running an upstream program. A good place to put it is in /opt whereupon the path, in my case, would be: /opt/notebook/rednotebook-2.1.5/./run
If I paste that path into the terminal, it'll run.
Of course, you must use root to copy the file there.

Code: Select all

user@debian:~$ su
Password: 
root@debian:/home/user# cp -r notebook /opt
root@debian:/home/user# cd /opt
root@debian:/opt# ls
notebook
root@debian:/opt# chmod +x notebook
In KDE, I don't know because I always use Mate where, for example, I would then go to Edit Menus -> +New item and then paste the path into the "command" field. One can also click on the icon, go to opt/notebook and choose the rednotebook icon that it shows up in the menu whence it can also be added as a desktop icon. The procedure in KDE will be very similar.
You'll also notice that it creates a hidden file in your home directory, as it should:

Code: Select all

.rednotebook
@VentGrey Looks like packaging it for stretch may be a little problematic.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: RedNotebook

#11 Post by VentGrey »

@VentGrey Looks like packaging it for stretch may be a little problematic
I noticed, there is a lot of lintian warnings, i've sent the origial maintainer of wheezy & jessie versions to see if I can help him in some way, correct the package in mentors debian or making a fresh new one :o
I would exchange everything I know in exchange for half of what I don't.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: RedNotebook

#12 Post by kedaha »

The objective would be to try and get it into sid/testing as soon as possible and then make a backport for stretch.
Looks like a handy program; I'd never heard of it though.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: RedNotebook

#13 Post by VentGrey »

The objective would be to try and get it into sid/testing as soon as possible and then make a backport for stretch.
Looks like a handy program; I'd never heard of it though.
I could put my name as a new maintainer but I need to consult the original guy I can't just grab a package like that (can I?) :shock:
I would exchange everything I know in exchange for half of what I don't.

Post Reply