You are not logged in.

#1 2018-03-11 01:02:31

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Just short linux/distro-related questions not worth a whole thread

Sometimes I did not post a Linux or distro-related question, because I felt that it's about a minor thing and a whole new thread would be just clutter. These are the questions which may receive one or two answers, but it's possible that there won't be any. And that's fine too. I just did not find any proper place to post such questions.

So let be this thread for "not so important" "short questions" stuff in general regarding BL or linux. It's possible that there will be no answer. If someone feels to respond - great. It's not about issues or finding a solution for something, more like a "someone might know the answer, so let's chat about it" thing.

Of course if a certain topic draws attention with many posts, it might deserve its own thread. But this should be the exception. Feel free to move this thread if it's not the right section here.

---------------------------------------------------------------------------------------------------------------

My short question I'd like to ask:

Is there maybe a better solution for getting lyrics than livy?

I installed it a few days ago (this site was helpful) and it works fine, I like it. However lyrics is sometimes not available for certain songs.

I tried hakerdefo's script as well. And there is also trizen's script - any experiences with this one?

Offline

#2 2018-03-11 06:55:58

ohnonot
...again
Registered: 2015-09-29
Posts: 5,487

Re: Just short linux/distro-related questions not worth a whole thread

all i can say is that i generally trust trizen's stuff, but setting up the perl dependencies can be tricky.


Give to COVAX! Here or here. (explanation)

Offline

#3 2018-03-12 15:51:34

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

^Yeah, I've been using bl-obmenu-generator, which is basically Trizen's obmenu-generator and it's been working great. I found a thread on MX using these tools for lyrics too. It looks there is nothing better so far. When Trizen's scirpt will be based on duckduckgo (it's announced already), I'll give it a try. I think those perl modules can be installed this way. Otherwise for lyrics there is a plugin on Audacious called LyricWiki.

It's no wonder #! became so popular. Same question on the debian forum and on #!.
----------------------------------------------------------------------------------------------

I came across this thread saying using the following in rifle.conf for vim in ranger is wrong:

# Use vim as editor
label editor = vim "$@"
label pager  = "$PAGER" -- "$@"

Is it really? It works though. ranger does not use the default editor by galternatives.

Last edited by martix (2018-03-13 15:08:39)

Offline

#4 2018-03-30 16:13:31

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

I found no way to get emacs -nw working with ranger. Tried

else = xdg-open "$1"
label editor = emacsclient -nw "$@"
label pager  = "$PAGER" -- "$@"

in rifle.conf. Tried also setting the editor or visual variable and also just using the code in the post above with emacs -nw.


Something else: Why is nobody ever using

https://savannah.gnu.org

?

Almost everything is on github or some things on gitlab.

Offline

#5 2018-03-30 17:33:25

vinzv
Member
Registered: 2017-09-12
Posts: 186
Website

Re: Just short linux/distro-related questions not worth a whole thread

martix wrote:

Something else: Why is nobody ever using

https://savannah.gnu.org

?

Almost everything is on github or some things on gitlab.

Everyone and their mother is using Github. That's why everyone is using Github.
Github literally is the Facebook for code.

(Maybe this should get split/moved to Off topic area)

Offline

#6 2018-03-30 17:50:20

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

^That's true. Interestingly the site hosting all the "open source" stuff does not really care about the standards according to the FSF. This is why I like if a program - like tint2 - is on GitLab instead of Github (and it's striking how people creating all kinds of great open source tools - beeing on Github - do not seem to care about these questions).

Btw if anyone is using emacs with ranger on #BĹ, please share how you made that configuration.

Last edited by martix (2018-03-30 17:51:05)

Offline

#7 2018-03-30 19:03:41

hhh
Meep!
Registered: 2015-09-17
Posts: 11,820
Website

Re: Just short linux/distro-related questions not worth a whole thread

martix wrote:

... stuff in general regarding BL or linux. It's possible that there will be no answer. If someone feels to respond - great. It's not about issues or finding a solution for something, more like a "someone might know the answer, so let's chat about it" thing.

We have a whole forum on general Linux questions so I think this thread should go there. Moving it but leaving a link to the new thread in this forum. Thanks, martix!

Offline

#8 2018-03-31 05:06:41

ohnonot
...again
Registered: 2015-09-29
Posts: 5,487

Re: Just short linux/distro-related questions not worth a whole thread

martix wrote:

Something else: Why is nobody ever using https://savannah.gnu.org ?

vinzv wrote:

Github literally is the Facebook for code.

aah, so true.
"of course github owns my code, but i have nothing to hide" (shrugs)
thanks for telling about savannah, martix. i wasn't aware of that.

martix wrote:

This is why I like if a program - like tint2 - is on GitLab instead of Github

don't kid yourself about gitlab, i don't think it's (much) better than github.


Give to COVAX! Here or here. (explanation)

Offline

#9 2018-03-31 11:53:10

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Just short linux/distro-related questions not worth a whole thread

^ At least they don't p**s all over the GPL like github did... cry

https://www.fsf.org/blogs/licensing/do- … h-copyleft

I really should move my stuff to GitLab neutral


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#10 2018-04-02 14:41:40

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

ohnonot wrote:

thanks for telling about savannah, martix. i wasn't aware of that.

Savannah is kind of new to me too, just checked it out. It looks like this site does not suit for the code/snippets hosting thing of a noob linux user like me. I guess it's more like for advanced GNU projects. At least there is a five steps registration process, which requires approval from the administrators: "Project description and dependencies / Project full and unix name / The "Full Name" is descriptive, not too restrictive and can be changed later on. The "System Name" can only be changed by the site administrators, and has several restrictions / Choice of license / Project type / The site can host different types of project. The kind of project selected will pre-choose tools that will be available for that project."

This makes me think that - from my pov - there is one alternative left: Using GitLab.

Offline

#11 2018-04-02 15:06:01

vinzv
Member
Registered: 2017-09-12
Posts: 186
Website

Re: Just short linux/distro-related questions not worth a whole thread

Gitlab, or if you're able to self-host: Gitea, which is very lightweight and quite easy to set up.

Offline

#12 2018-04-02 15:32:40

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

^Gitea looks interesting, thank you! I like their github page with those screenshots. Often when I check out descriptions about new tools or services, think to myself: Let's have a look at it - where is the picture!? And they don't have one. Just some text, lists, links, etc. I find that a bit annoying....

Offline

#13 2018-04-02 15:35:24

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Just short linux/distro-related questions not worth a whole thread

vinzv wrote:

Gitea

^ Some of the internal mechanics of BL are being hosted on that software and it is indeed very nice.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#14 2018-04-02 20:48:10

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

I think the question "ranger with emacs" is not really relevant after all, because there is ranger-functionality within emacs.

https://raw.githubusercontent.com/rales … ranger.gif

Offline

#15 2018-04-20 21:19:14

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

Is it correct that this in ~/.bashrc

hgrep () { 
    history | egrep --color=auto --recursive "$@" | egrep --color=auto --recursive -v "hgrep $@"
}

will not work on Debian? It was a suggestion I found. This method works fine (handy "hgrep" command instead of history | grep):

alias hgrep='history | grep --color=auto'

Offline

#16 2018-04-22 08:52:54

ohnonot
...again
Registered: 2015-09-29
Posts: 5,487

Re: Just short linux/distro-related questions not worth a whole thread

maybe egrep does not exist on debian systems?
on my archlinux:

cat /usr/bin/egrep 
#!/bin/sh
exec grep -E "$@"

also, --recursive doesn't make any sense in this context.
the internet is full of absurd "handy oneliners" ... roll


Give to COVAX! Here or here. (explanation)

Offline

#17 2018-04-22 14:10:35

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

^Indeed, that seems to be missing. In "man egrep", which is grep, there is still: "In  addition,  the  variant  programs egrep, fgrep and rgrep are the same as grep -E, grep -F, and grep -r, respectively.  These variants are deprecated, but are  provided for backward compatibility." Replacing egrep by "grep -E" in that line does not do it either.

Offline

#18 2018-04-23 03:32:10

ohnonot
...again
Registered: 2015-09-29
Posts: 5,487

Re: Just short linux/distro-related questions not worth a whole thread

martix wrote:

Replacing egrep by "grep -E" in that line does not do it either.

does not do what either?

alias hf
alias hf='history|grep'

that's enough for me.

bash even has search built-in: enter Ctrl-R and start typing what you search for.


Give to COVAX! Here or here. (explanation)

Offline

#19 2018-04-23 04:58:31

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 8,020
Website

Re: Just short linux/distro-related questions not worth a whole thread

ohnonot wrote:

bash even has search built-in: enter Ctrl-R and start typing what you search for.

Learn something new every day. Thanks!


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), idle Twitterings and GitStuff )

Introduction to the Bunsenlabs Lithium Desktop

Offline

#20 2018-04-23 05:49:20

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Just short linux/distro-related questions not worth a whole thread

ohnonot wrote:

bash even has search built-in: enter Ctrl-R and start typing what you search for.

^ Korn Shell also does this and I had no idea — thanks!


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#21 2018-04-23 15:05:57

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

ohnonot wrote:

does not do what either?

I was referring to this command:

hgrep () { 
    history | egrep --color=auto --recursive "$@" | egrep --color=auto --recursive -v "hgrep $@"
}

It does not work either way.

ctrl+r is a good feature, use it sometimes. +enter starts the command, +esc shows it on the command line.

Edit: And speaking of "learning new every day" I just came across articles regarding a terminal, which is - hold on - a GUI terminal  glasses  called Hotwire. Did not try it yet.

And speaking of the Korn Shell, it's interesting to notice that one of the main reasons why the android folks switched to mksh instead of ash was the "command/tab completion" feature. I wonder how many of the users use it e.g. on #BĹ.

Last edited by martix (2018-04-23 16:05:53)

Offline

#22 2018-04-23 17:17:03

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Just short linux/distro-related questions not worth a whole thread

martix wrote:

one of the main reasons why the android folks switched to mksh instead of ash was the "command/tab completion" feature

That's weird, busybox's Almquist Shell does offer tab completion:

empty@animal:~ $ busybox ash


BusyBox v1.22.1 (Debian 1:1.22.0-19+b3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ apt ← pressed <tab> here
apt                           apt-ftparchive                aptitude
apt-cache                     apt-get                       aptitude-create-state-bundle
apt-cdrom                     apt-key                       aptitude-curses
apt-config                    apt-mark                      aptitude-run-state-bundle
apt-extracttemplates          apt-sortpkgs

EDIT: ah, that must be an added feature of busybox, dash doesn't tab-complete and is a "pure" implementation.

Last edited by Head_on_a_Stick (2018-04-23 17:21:36)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#23 2018-04-24 07:28:39

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

Speaking of tab: Let's say after

sudo s

pressing tab two times asks for showing all the possibilities and pressing enter gives a list of available tools. I always find applications I did not know about like shntools.

Offline

#24 2018-06-24 22:36:55

martix
Kim Jong-un Stunt Double
Registered: 2016-02-19
Posts: 1,267

Re: Just short linux/distro-related questions not worth a whole thread

Google has many services and even software like Chromium available on Linux. There was hhh's remark in a thread saying "Google is still, after all this time, mainly an advertising company.", which is of course part of the story as G makes revenues by selling ads, search engine promotions, etc. However G is much more than that, which was described in a long article.

Recently there were over 4.000 employees signing a petition against developing artificial intelligence based drones for the military, which are better at recognizing what they are monitoring. This was meant to be a system that could also kill someone on its own without human assistance. There were even people who left the company because of this.

As Google has all the data, it often steals startups' ideas, sometimes also patents. It's not the friendly, funky tech-company it pretends to be.

Offline

#25 2018-06-25 04:23:14

hhh
Meep!
Registered: 2015-09-17
Posts: 11,820
Website

Re: Just short linux/distro-related questions not worth a whole thread

@martix, what's with the evangelism?

Offline

Board footer

Powered by FluxBB