There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

@christos@lemmy.world cover
@christos@lemmy.world avatar

christos

@[email protected]

This profile is from a federated server and may be incomplete. Browse more on the original instance.

christos ,
@christos@lemmy.world avatar

Hey, I know the guy who wrote the script, he is great.

christos OP , (edited )
@christos@lemmy.world avatar
christos OP ,
@christos@lemmy.world avatar

I have no idea. On an old potato laptop I tried it on it works ok, if I rush the keys, it is flickering a little.

christos OP ,
@christos@lemmy.world avatar

Sure, it is a Potatomatic 4000, 2nd edition. No, not Alacrity. Thx though.

What distro should I use on my potato?

I have an HP Stream 11 that I want to use for word processing and some light web browsing - I’m a writer and it’s a lightweight laptop to bring to the library or coffee shop to write on. Right now it’s got Windows and it’s unusable due to lack of hard drive space for updates. Someone had luck with Xubuntu, but it’s...

christos ,
@christos@lemmy.world avatar

Someone should come up with a new distro with the name potatOS, just for cases like this .

christos OP ,
@christos@lemmy.world avatar

I am still using the arrow keys, I must be an idiot , too. If this script helps you with the vim movements, you can check out for the same reason two or three scripts of mine, in the same repo: tui-mines, mneme,tui-sudoku.

christos OP ,
@christos@lemmy.world avatar

De gustibus et coloribus… I like bash.

It works for me.

About .local/bin/ not existing, or not being in the $PATH, that is why I also propose running the script locally, from the same directory with ./mneme.sh

Thanks, I am glad you like it.

christos OP ,
@christos@lemmy.world avatar

I went on and added an if statement and a message to install.sh, just for the issue you mentioned…

christos OP ,
@christos@lemmy.world avatar

It is not impossible. Are you up to modify 4 lines of code?

christos OP ,
@christos@lemmy.world avatar

Wait up, I am preparing one command for you, you run it, and you use your keys as you wish. Just don’ put caps lock!

christos OP ,
@christos@lemmy.world avatar

Here is the solution just for you:

  • get to the tui-mines/ directory
  • open a terminal there
  • run this command sed -i ‘s/k|A/w|A/;s/h|D/a|D/;s/j|B/s|B/;s/l|C/d|C/’ tui-mines.sh

Run the script ./tui-mines.sh

You can now play using lower case awsd.

christos OP ,
@christos@lemmy.world avatar

Let me know if it works.

christos OP ,
@christos@lemmy.world avatar

And to see the correct cheatsheet as well: sed -i ‘s/hjkl/awsd/’ tui-mines.sh

christos OP ,
@christos@lemmy.world avatar

Ευχαριστω!

christos OP ,
@christos@lemmy.world avatar

IMPORTANT UPDATE: Since many youngsters who unlike me, a senior citizen, live on the edge and hate vim keys or arrow keys, have requested an alternative navigation keys set up, I have just implemented a configuration option that satisfies just that.

By editing the config file (either within the application or just editing ~/.config/tui-mines/tui-mines.config, and changing the NAVIGATION_KEYS value from vim+arrows (default) to aswd+arrows, the user can use the aswd keys to navigate in the game grid, just as requested.

No other commands or hacks are needed.

Arrow keys remain hardcoded, because they remind me of my youth, as an archer, during the Peloponnesian War

christos OP ,
@christos@lemmy.world avatar

Welp, also solves the ‘Which distro to use?’ issue.

christos OP ,
@christos@lemmy.world avatar

The main difference is that the keybindings have nothing to do with the vim keybindings. In this script, these are totally configurable, and the default ones are quite easy and expected, ctrl-c for copying, ctrl-v for pasting, ctrl-x for cutting, ctrl-r for renaming, etc. And the use of fuzzy finder fzf.

christos OP ,
@christos@lemmy.world avatar

Thx, I think so, too!

christos OP ,
@christos@lemmy.world avatar

Well, there is just one themes.txt file, created inside .config/basht/ directory. There is no particular reason why it should not be a .txt. Would you suggest another solution?

christos OP ,
@christos@lemmy.world avatar

Well, after a quick search, from that source, I found that :

…A .theme file is a .ini text file that is divided into sections, which specify visual elements that appear on a Windows desktop. Section names are wrapped in brackets ([]) in the .ini file.

I believe that the themes.txt file has not much to do with the above, furthermore, confusion between the two does not sound a good idea. What is more, one can say that file names such as themes.txt and current_theme.txt are quite descriptive and leave no doubts about their function. However, I think I understand your point of view. Perhaps I would consider renaming these in the future.

christos OP ,
@christos@lemmy.world avatar

There is, if you like fzf, or if you are not comfortable with vim keybindings. Still, Ranger is awesome.

christos OP ,
@christos@lemmy.world avatar

Fear not, there are no scary commands in this script.

Youtube client that supports saving searches as a playlist?

Title says it all. I’ve been looking for a youtube client similar to freetube or youtube-tui that will allow me to save a search as a playlist. I.e., I end up with a playlist that’s populated with whatever the most recent VanillaOS videos are or whatever. I’ve done a bit of searching but thought I’d see if anyone knew of...

christos ,
@christos@lemmy.world avatar

This is a bash script I wrote:

https://gitlab.com/christosangel/magic-tape

As far as searches go:

  • s option: Search using a keyword/phrase
  • h option: Watch history
  • j option: Search history

If I understand correctly, in your case: let’s say you search for a term , i.e. vanillaOS. You will be able to select from a list of videos, with a preview image and other data ( data, views, channel etc). If on a later date you wish to search again for this term, by selecting the j option, you can easily repeat the same search, with any new videos available included.

christos OP ,
@christos@lemmy.world avatar

Thanks, any feedback would be welcome!

christos OP ,
@christos@lemmy.world avatar

Thank you, I am glad you like it. I have been trying to improve it, adding functionalities, improving the selection mechanism with cursor and scrolling etc.

christos OP ,
@christos@lemmy.world avatar

Hey let me know how it goes, any feedback is welcome!

christos ,
@christos@lemmy.world avatar

Somehow things seem similar (perhaps better) in Greece:

https://lemmy.world/pictrs/image/2805164f-1f31-45b4-861a-c0acbda12a5e.png

christos ,
@christos@lemmy.world avatar

Oh my bad, I misunderstood the concept of percentage.

christos ,
@christos@lemmy.world avatar

Percentage, it’s percentage that is recorded, percentage.

christos OP ,
@christos@lemmy.world avatar

This may come as a shock as well, but here’s the same script, in python: radion.py

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines