RedNotebook

New to Debian (Or Linux in general)? Ask your questions here!

RedNotebook

Postby user2635 » 2017-08-27 15:06

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 :)
User avatar
user2635
 
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

Re: RedNotebook

Postby kedaha » 2017-08-27 15:40

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.
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2800
Joined: 2008-05-24 12:26

Re: RedNotebook

Postby user2635 » 2017-08-27 18:33

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 :)
User avatar
user2635
 
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

Re: RedNotebook

Postby kedaha » 2017-08-27 19:22

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.
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2800
Joined: 2008-05-24 12:26

Re: RedNotebook

Postby user2635 » 2017-08-27 20:05

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
user2635
 
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

Re: RedNotebook

Postby VentGrey » 2017-08-28 01:24

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 felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 158
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: RedNotebook

Postby user2635 » 2017-08-28 13:29

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
user2635
 
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

Re: RedNotebook

Postby VentGrey » 2017-08-28 13:36

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 felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 158
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: RedNotebook

Postby user2635 » 2017-08-28 13:37

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 :)
User avatar
user2635
 
Posts: 71
Joined: 2017-08-05 15:42
Location: Skag Gully, Borderlands

Re: RedNotebook

Postby kedaha » 2017-08-28 21:23

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.
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2800
Joined: 2008-05-24 12:26

Re: RedNotebook

Postby VentGrey » 2017-08-29 01:54

@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 felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 158
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: RedNotebook

Postby kedaha » 2017-08-29 04:22

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.
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable

Words, as is well known, are the great foes of reality. Joseph Conrad.
Kedaha's Conjecture
User avatar
kedaha
 
Posts: 2800
Joined: 2008-05-24 12:26

Re: RedNotebook

Postby VentGrey » 2017-08-29 16:01

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 felt myself on the edge of the world; peering over the rim into a fathomless chaos of eternal night.”
― H.P. Lovecraft after trying Debian SidImage
User avatar
VentGrey
 
Posts: 158
Joined: 2016-04-26 23:57
Location: Guanajuato México


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 1 guest

fashionable