dengtav

joined 2 years ago
 

If you have to choose between using an App Image, from the developpers official site or an AUR package (or apt e.g), what do you choose?

[–] dengtav@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

Yes, sorry for missunderstanding !

[–] dengtav@lemmy.ml 1 points 1 year ago (2 children)

Ok, typing in the password but not seeing any characters (like * e.g.) is quite common. It prevents shoulder surfers from seeing the acual length of you password.

That means, that its still possible, that you keyboard is actually working there.

Are you using a layout different from US-ANSI ? Sometimes devices fall back to US layout during boot, which would lead to you typing in a "wrong" password, without noticing it. Especially special characters have different keys on different layouts. On german layout e.g. "y" and "z" are "swapped".

[–] dengtav@lemmy.ml 3 points 1 year ago (4 children)

Just partly related, and probably no help here - but about the fact, that you can't type in that password (regardless whether you can remember it or not):

you probably use a bluetooth keyboard on that surface? Before boot is finished, bluetooth connection is not possible, so you need some sort of USB/serial keyboard to even type.

Had this issue when full disk encrypting a surface, because without usb (or the original serial) keyboard your stuck in the luks mount process during boot...

[–] dengtav@lemmy.ml 4 points 1 year ago

Thanks for the write up!! :)

[–] dengtav@lemmy.ml 13 points 1 year ago (8 children)

Could anybody in short explain, what I have to understand from "it's tagged"?

The commit shows that there was a longer with 3.0.0 tag before and now its just 3.0.0

What does that tell us? :D

[–] dengtav@lemmy.ml 41 points 1 year ago (5 children)

This seems like a normal cheap android phone with a bootloader-unlocked operating system and some pre-installed ad-block and rethinkDNS'ish Apps imstalled?

And no offence, but the advertising video itself is more scamy then the wedding-dress shop around the corner that is always closed and dusty, but still paying a horrendous amount of rent each month...

[–] dengtav@lemmy.ml 0 points 1 year ago (1 children)

The ansible.builtin.template

Just with the arguments src and dest

I saw that there is a possible argument template_variables which requires a dictionary, but I couldn't find out, how to use it, or whether to use it at all?

 

Hello everyone, I need some help with using variables in jinja templates.

Disclaimer: I am pretty new to ansible, so feel free to tell me that I understood something wrong.

What I'm trying to do

I try to use a variable inside a variable, that gets called from a jinja template

I have my network ranges defined in the global vars

networks:
  lclsrv:
    ipv4: 10.10.10.0/24
  ext:
    ipv4: 1234.123.123.12/x

Then I createt a role called "iptables", with which I would like to manage all iptables on all hosts. In its defaults, there are (obviously) the default_iptable_rules defined.

Besides them, there are host specific iptables, which are also defined in the defaults, like this e.g:

host1_rules:
  - "-A INPUT -p tcp --dport 80 -j ACCEPT"
  - "-A INPUT -p tcp --dport 443 -j ACCEPT"

In some of the host specific rules I have to define a network range from the global vars, like:

host2_rules: 
 - "-A INPUT -p tcp -s {{ networks['ext']['ipv4'] }} --dport 6000 -j ACCEPT"

In the template I try to insert these host specific rules like this:

{% for rule in vars[inventory_hostname + '_rules'] %}
{{rule}}
{% endfor %}

I think I understood, that this "structure" is not the recommended ansible way. Until now we got all host specific iptables organized in there host files, which is probably the clean way of doing this (?) But with lots of hosts this got very messy, so I want to manage them in one single file, to have them all together.

What I get

The for loop itself works as expected, but the variables won't get processed. The resulting /etc/iptables/rules.v4 for host2 will look exactly like this: -A INPUT -p tcp -s {{ networks['ext']['ipv4'] }} --dport 6000 -j ACCEPT

So the template get the element from the host specific variable as a string but won't interpret the variable inside of this string.

I looked at suggestions to use the lookup function, but this also did not work. When I replaced the variable inside of the rule-string with the lookup, the lookup-functiongot printed out, just like the variable in "{{}}".

I am struggling with this sinc last monday and I would appreciate any help! Tanks!

80
submitted 2 years ago* (last edited 2 years ago) by dengtav@lemmy.ml to c/linux@lemmy.ml
 

Another "Differences in Linux" question :)

I often wonder, what exactly is the difference between this services?

I understand, that:

  • github.com is a company, where as gitlab and forgejo are (softwares)?
  • They all "manage/wrap/interface with" git?

Questions:

  • what software does github.com use?
  • whats the difference between them (pros/cons)?
  • what about self-hosting? Possibilities/Preferences?

As always, thanks beforehand :)

[–] dengtav@lemmy.ml 9 points 2 years ago* (last edited 2 years ago) (2 children)

I postet a screenshots from https://manjaro.org/products website where they have a stock photo of a macbook besides the download button for the desktop .iso

Know theres another macbook stockphoto at gnomes website.

So either there are no other laptops produced that fit the highly enterpr1se entrepreneur busine5s investment1t!1! life style of the regular linux users who visit these websites, or manjaro and gnome are all investing in asahi linux secretly.

I understand that the iphone became a synonym for "mobile phone" especially when it comes to graphics. The unique look of them, especially when they still had their home button, makes it very easy to draw one on a computer e.g.

And macbooks are widely used by professionals of all disciplines, so yes, macbooks are associated with profession.

All fine, but why on a Linux-Distro website, like manjaro ?! Why on Gnome? Apples not really invested in getting open source software running on their systems, so where come the probs from and what for?

[–] dengtav@lemmy.ml 2 points 2 years ago (1 children)

I do the exact same thing as OP with KeepassDX at work and works pretty nice so far, since I gave KeepassDX the right acces rights on the nextxloud directory.

What diferences have you figured out so far with Keepass2android in comparison ?

[–] dengtav@lemmy.ml 5 points 2 years ago (2 children)

I see lots of sidekicks against Manjaro, it's a thing apparently :D I am using manjaro on a framework 16 for about a year now and it never broke anything, just works wonderful for me, although I dont have any fancy requirements other than a working Linux.

But i would be interested in the critics about the team and their "bad" decisions, as stated in some comments. What were the problems?

 

Another "difference between" Linux question: What ist the actual difference between them?

How fast/stable are releases, compared to each other and in comparison to upstream Arch?

I think I dont get the difference because in my understanding Arch is a rolling release and with both alternatives you want to stay as close to there releases as possible, but dont break you system frequently, right?

So whats the main differences?

[–] dengtav@lemmy.ml 17 points 2 years ago
 

I use Markdown for nearly all of my documentation, be it for work, university or private stuff. I also started using Nextcloud quite often and really love it.

The only thing that bothers me is the Richtext Editor in Nextcloud and the odd Markdown mode, which seems not to work? I have it installed and enabled, but in normal text files, as well as in collectives (both use NC text app) simple markdown syntax does not get rendered.

I cant copy paste from one to another which is frustrating obviously. I re-format everything by hand, in either direction.

I especially like the "Collectives"-App, which makes parallel documentaion with a group very convenient, but I would like to edit the files with a markdown editor an my desktop,e.g. Obsidian or so, which doesnt work, since Nextcloud text wount parse it as markdown.

Does anybody got a solution for this, or am I doimd sth wrong?

90
submitted 2 years ago* (last edited 2 years ago) by dengtav@lemmy.ml to c/linux@lemmy.ml
 

I stumbled upon this post regarding an earlier rant about wayland, but now it seems fine, according to the author.

After using Linux for nearly 5 years, using both depending on distros defaults, I have to admit that I never got the core/main/game changing differences between wayland and x11.

To be said, that I also dont do fancy linux things other than basic sysadmin stuff and from time to time repair the mess my curiosity left behind.

Could somebody explain the differences between those two and afterwards maybe also say some words about what this has to do with the difference between window managers and desktop environments?

I am also happy about links to good blog posts or stuff, that target this very questions (as long as the questions make sence of course). Thanks beforehand :)

 

When did Manjaro release an image for x86 MacBooks ?

 

I got an Archer C7 and i am wondering what to do with it. It already runs openwrt, but we dont need another router.

Are there any recommendations on using a openwrt as Pi-Hole-like thing for example?

view more: next ›