The officially official Devuan Forum!

You are not logged in.

#251 Re: Devuan » Why has no one enhanced sysvinit? » 2024-10-02 20:35:17

@rolfie my point was that, its not just systemd or sysvinit... there are other options. tongue

#252 Re: DIY » How to replace all mentions in git soure code, » 2024-10-02 20:33:23

In simple terms, I did this:

find . -type f -exec sed -i 's/old-word/new-word/g' {} \;

Then I did my command to check to see if it was fixed,

git rev-list --all | xargs git grep -F python2.7

I seem to have gotten mixed up and written wrong thing down... my bad.

In any case, that might help clear up the confusion.

Does the find command you gave me actually replace all mentions of the word python2.7 if I put it as first word with the second word in all source code?

Or am I really confused.

#253 Re: Devuan » Why has no one enhanced sysvinit? » 2024-10-02 19:32:20

@all Or you could just use openrc which is way more functional then sysvinit but isn't that bloated monolith systemd.

#254 Re: DIY » How to replace all mentions in git soure code, » 2024-10-02 19:24:28

@golinux which is why I am replacing python2.7 with tauthon instead of python with tauthon

;P

Btw, I used this command after doing that:

git rev-list --all | xargs git grep -F python2.7

and it still shows python2.7 mentions... weird stuff.

Correcting what I said, I wrote down the wrong one.

#255 DIY » How to replace all mentions in git soure code, » 2024-10-02 16:39:51

zapper
Replies: 10

I am basically asking, something in continuation to this:

http://dev1galaxy.org/viewtopic.php?id=6857

How can I replace all mentions instead of a word instead of searching for it.

Through all of a git folders/repo

#256 Re: Desktop and Multimedia » Something rather bizarre regarding ram has happened, » 2024-09-28 23:52:15

@chris2be8

I got more ram and that fixed the problem thankfully.

#257 Re: DIY » Anyone know how to use git to search? » 2024-09-28 23:37:18

@quickfur I found one also recently, I am not sure if the 2nd you have works, but I found this:

git rev-list --all | xargs git grep -F python2.7

This one works for sure.

EDIT: your 2nd one also works.

The first one doesn't though last I tried it.

#258 DIY » Anyone know how to use git to search? » 2024-09-27 02:04:03

zapper
Replies: 3

Like for instance, anyone know commands to search throughout an entire source code for all mentions of python, or in my case python2.7

So I  can find and make corrections.

In all files I might add within source code.

#259 Re: Hardware & System Configuration » backport question, » 2024-09-23 05:31:48

I tried the kernel, seems to have not fixed my problem. Although, I had 2 problems, one with my alt keys was resolved in a rather weird way anyhow.

Some kind of configuration oops had swapped my alt and fn keys. But now it is back to normal.

So now only 1 issue, an expansion slot that doesn't work.

#260 Re: Desktop and Multimedia » Something rather bizarre regarding ram has happened, » 2024-09-23 05:30:22

@chris2be8 I decided anyhow that I might need more ram. So thats what I will do.

#261 Re: Hardware & System Configuration » [SOLVED] Anyone know how to get doas working properly on devuan? » 2024-09-20 12:41:21

@bilhook @JWM-Kit

I reinstalled and doas works fine again for that purpose.  Although, I did custom instead of doas no password.

Then, I did doas poweroff and doas reboot in their respective places. Now I can shutdown and reboot the way I want.

reinstalling sadly hasn't fixed my wine bug though.

#262 Re: Desktop and Multimedia » Something rather bizarre regarding ram has happened, » 2024-09-20 04:44:47

@chris2be8 do you think wayland would be affected by this then? Don't get me wrong, I hate wayland, but this is my gaming computer so ill put up with it if i have to.

#263 Re: Desktop and Multimedia » Something rather bizarre regarding ram has happened, » 2024-09-18 19:47:10

@chris2be8

What web browser are you using? I can make it work.

Did you disable javascript or something?

I am using palemoon and I can get link easily. Very strange...

You should be able to as long as you wait ten seconds or so

#264 Re: Desktop and Multimedia » Something rather bizarre regarding ram has happened, » 2024-09-18 13:25:48

@chris2be8

https://upload.disroot.org/r/pBagFvgG#A … Dtz2tkVr0=

This is the logs I have had.

Can you make any sense of this?

I am pretty sure its an xorg issue but beyond that, no idea.

#265 Re: Hardware & System Configuration » [SOLVED] Anyone know how to get doas working properly on devuan? » 2024-09-17 21:38:35

Very strange stuff though it is.

Maybe I need to find a github with instructions for doas somewhere.

That might help explain. Because the odd thing is, it aint working.

Although, I did install devuan on this one computer without installing A DE. I wonder if that means I am missing stuff I would otherwise have.

By this I mean, initially, I deselected all desktop environments. And just installed enough for a terminal, etc...

#266 Re: Hardware & System Configuration » [SOLVED] Anyone know how to get doas working properly on devuan? » 2024-09-16 20:27:49

@Bilhook in Hyperbola it works fine. But in Devuan I run into issues. Its very weird. I might be missing something here. lol.

Edit: I think it might be that I have permission errors of some kind. I tried what you suggested and still nothing. lol.

#267 Re: Desktop and Multimedia » Something rather bizarre regarding ram has happened, » 2024-09-16 20:26:50

@chris2be8 what do I do with the info I receive after I do that?

#268 Re: Hardware & System Configuration » backport question, » 2024-09-16 20:25:22

@rolfie that sounds good. My current kernel is screwing up a bit.

#269 Re: Off-topic » The Crappiness of Modern Laptops » 2024-09-16 00:38:13

Pocket MNT Reform is the one I ordered @chomwitt

I await the RK3588 though for that.

big_smile

#270 Hardware & System Configuration » backport question, » 2024-09-15 23:14:24

zapper
Replies: 5

are there backports for newer kernels in it?

Like 6.10 instead of 6.1 for example.

#271 Re: Hardware & System Configuration » [SOLVED] Anyone know how to get doas working properly on devuan? » 2024-09-15 23:12:36

Yes, but can you figure out how to get doas to use nopassword and make:

doas poweroff go off w ithout asking for password causing it to shutdown

I ask anyone if they can make that happen.

#272 Re: Desktop and Multimedia » Something rather bizarre regarding ram has happened, » 2024-09-15 23:11:19

@camtaf someone on the framework community website forums suggested it was a memory leak. But it still is very weird regardless.

#273 Desktop and Multimedia » Something rather bizarre regarding ram has happened, » 2024-09-14 12:21:00

zapper
Replies: 16

You can see it here:

https://upload.disroot.org/r/sebSnA6b#m … +VuzWkbXU=

I was using wine-staging and after like 3+ game of a game called SC2, suddenly everything slows to a crawl.

I logged off and lone behold, I check my ram 5.6GB is being used!

When I started the game originally of SC2 I checked and it used less then 2GB of ram.

But after the three games even after closing it, I still was having 5.6GB being used.

It was friggin weird. 

I checked with htop and found that some xorg program was using like 30+% of it. That attachment shows the main command of issue. I dunno what the hell this bug is.

Someone enlighten me.

PS, this is the computer I play starcraft 2 on and yes AMD GPU non-free blob was enabled.

#274 Re: Off-topic » Firefox is becoming too chrome like. » 2024-09-14 12:16:14

@quickfur I missed that post you put on the first page.  Well, there are certain folders you can download files onto.  If you use firejail to limiting specific commands, you can limit which folders you download to, which also means only shared folders like Downloads or Desktop can have files downloaded to.

I have had that situation before.   If your files have permissions of only "this user"  they are unlikely to be used unless some zero day vulnerability hits.

Which is possible, I suppose. But its not constant. That's how I feel like this is.

For the most part that is my view.  Some files might be i suppose looked at, but most not, unless using proprietary software of course.

#275 Re: Hardware & System Configuration » [SOLVED] Anyone know how to get doas working properly on devuan? » 2024-09-12 17:15:09

@bilhook does this work for you on devuan? really? I just want to do this for poweroff and reboot nothing else.

I could have sworn I tried what you suggested though. But I will try again.

I should add I need it have nopass as an option for those two things. That's where my problem is coming in.

I wan to not need a pass to make this work:

doas poweroff or doas /sbin/poweroff

and have the computer shutdown as a result.

Board footer

Forum Software