The officially official Devuan Forum!

You are not logged in.

#126 Re: Hardware & System Configuration » Questions on Setting Up Hardware/Software on a New Devuan System » 2021-05-13 11:33:14

okay so try this.

sudo apt install firmware-atheros

reboot

edit: if firmware-atheros is installed skip that

then show this command

ip link 

then let us now how you are connecting to the internet, what program, ie; network manager, wicd?

#127 Re: Off-topic » What are you reading/want to read ? » 2021-05-13 10:16:38

anticapitalista wrote:
dice wrote:
andyprough wrote:

The Wars of the Jews, or History of the Destruction of Jerusalem by Flavius Josephus, translated by William Whiston
Reading it in the terminal with my nifty little cli ebook reader, 'epy'.

That would be an interesting read considering the current situation in Jewish occupied Palestine.

You should say Zionist occupied Palestine. Judaism (religion) is not Zionism (colonialism).

I suppose so, isreali/zionist. But arent most zionists jewish? I get your point though, you cant say religion is to blame for these things, oh wait!

#128 Re: Hardware & System Configuration » Questions on Setting Up Hardware/Software on a New Devuan System » 2021-05-13 08:01:35

Just focusing on the wifi adapter which i assume is the tp link usb dongle.

so you should post up your /etc/apt/sources.list as roflie suggested and anything inside of /etc/apt/sources.list.d

and also post up the output of the command lsusb.

I fairly certain you need the firmware-atheros package for that tp link device and you shouldnt need to compile anything from github or outside of devuan/debian.

https://packages.debian.org/buster/firmware-atheros

#129 Re: Hardware & System Configuration » Questions on Setting Up Hardware/Software on a New Devuan System » 2021-05-12 15:38:12

Okay so one thing at a time. Install inxi and let us know the following command output in a terminal. This will give us a more detailed view of your system.

sudo apt install inxi 
inxi -F

#130 Re: Hardware & System Configuration » Questions on Setting Up Hardware/Software on a New Devuan System » 2021-05-12 15:18:55

fullofquestions wrote:

Aren't many software made for windows fine with wine and virtual machines?

Dont know, imo wine is stupidware. If you want to run windows software, use a windows machine. I advocate only using unix/linux on one machine, not dual booting or trying to make microsoft work in a unix environment. Others may disagree with my stance and give you some advice.

#131 Re: Hardware & System Configuration » Questions on Setting Up Hardware/Software on a New Devuan System » 2021-05-12 15:12:10

well if you want to run microsoft games you probably need to run some variant of microsoft software. Especially the .exe ones, they dont work on unix.

#132 Re: Off-topic » What are you reading/want to read ? » 2021-05-12 15:02:14

andyprough wrote:

The Wars of the Jews, or History of the Destruction of Jerusalem by Flavius Josephus, translated by William Whiston
Reading it in the terminal with my nifty little cli ebook reader, 'epy'.

That would be an interesting read considering the current situation in Jewish occupied Palestine.

#133 Re: Hardware & System Configuration » Questions on Setting Up Hardware/Software on a New Devuan System » 2021-05-12 14:59:06

first of all you need to let us know what machine you are using, its layout etc.Microsoft is a totally different beast to unix/linux etc. It sounds like you have a working devuan system but we dont know how you installed it?

In my opinion, if you really want to play microsoft games, get a dedicated computer to play those games with microsoft software installed.

#134 Re: Off-topic » awk help ? » 2021-05-11 14:15:59

Thanks andyprough, that works but only on the command line, i think my issues are with dzen2 and ratpoison window manager.

#135 Off-topic » awk help ? » 2021-05-11 13:02:07

dice
Replies: 5

Can i pick someone's brains on how to modify this command ?

I have the command working ok, i just want to put in a few spaces at the beginning, think of it as padding.

ratpoison -c "info" | awk  '{ print substr($3,1)}'

this prints in any given window im in through dzen2 panel as follows.

0(XTerm)

what i would like is to have a space or two in front so it prints like so with a space or two as padding.

 0(XTerm)

edit: the full output of the command would be so before filtering it through awk...

(39, 136) 0(XTerm)

#137 Re: Freedom Hacks » Using Aptitude config options to keep your system clean. » 2021-05-09 11:12:06

MLEvD wrote:
Excalibur wrote:

Aptitude::Autoclean-After-Update "true";
Aptitude::Clean-After-Install "true";
Aptitude::Purge-Unused "true";
APT::AutoRemove::SuggestsImportant "false";

CAT::Please-Do-Not-The "false";

OR

what do these do please?

I dont use aptitude but the last once is explained here: https://askubuntu.com/questions/351085/ … d-packages

#138 Re: Hardware & System Configuration » Conky + sensors temp settings ? » 2021-05-09 10:47:10

Head_on_a_Stick wrote:

Bah, sorry, I thought I tested that...

Does this work?

#!/bin/sh

temp="$(sensors|awk '/^Core/{sum+=$3;lines+=1}END{print int (sum/lines)}')"

printf "Temp: %s°C" "$temp"

yes that works, sorry for late reply been away from technology for a time.

cheers

#139 Re: Hardware & System Configuration » Conky + sensors temp settings ? » 2021-05-08 11:46:46

Head_on_a_Stick wrote:
dice wrote:

I would rather it didnt print a decimal place

#!/bin/sh

temp="$(sensors|awk '/Core/{lines++}{sum+=$3}END{print int(sum/lines)}')"

printf "Temp: %s°C" "$temp"

EDIT: added lines variable to make the script work for any number of active cores.

Thanks.

Although with your edit i am getting this output ?

Temp: 318°C

Previous command without line var

Temp: 43°C

sensors output in full is..

~$ sensors
BAT1-acpi-0
Adapter: ACPI interface
in0:          11.74 V
curr1:         2.05 A

coretemp-isa-0000
Adapter: ISA adapter
Core 0:       +42.0°C  (high = +84.0°C, crit = +100.0°C)
Core 1:       +42.0°C  (high = +84.0°C, crit = +100.0°C)
Core 2:       +45.0°C  (high = +84.0°C, crit = +100.0°C)
Core 3:       +43.0°C  (high = +84.0°C, crit = +100.0°C)

nouveau-pci-0100
Adapter: PCI adapter
GPU core:    850.00 mV (min =  +0.80 V, max =  +0.95 V)
temp1:        +37.0°C  (high = +95.0°C, hyst =  +3.0°C)
                       (crit = +105.0°C, hyst =  +5.0°C)
                       (emerg = +135.0°C, hyst =  +5.0°C)

#140 Re: Off-topic » Show your desktop (rebooted) » 2021-05-07 16:00:47

Head_on_a_Stick wrote:

Alpine Linux, sway desktop:

https://i.postimg.cc/TpbjWmRj/20210507-10h59m30s-grim.png

Trimmed down the status command so that it only shows battery status & level along with the time.

Nice minimal setup, what terminal are you using? foot/alacritty?

cool simple battery script too.

Ive looked into sway not long ago and got it working ok on devuan. Currently im going back in time to ratpoison and learning how to use this wm.

#141 Re: Hardware & System Configuration » Conky + sensors temp settings ? » 2021-05-07 14:32:09

Head_on_a_Stick wrote:

Your other scripts weren't printing an average of all four cores whereas mine is :-)

can you explain a little what is going on in that command?

from what i can gather it is getting the 3rd column of temperature digits from the /Core/ output and dividing the sum by a factor of 4, would this be correct? I would rather it didnt print a decimal place as it moves around too much in the panel, aka 51.75 to 52 etc.

#142 Re: Hardware & System Configuration » Conky + sensors temp settings ? » 2021-05-07 13:58:48

Head_on_a_Stick wrote:

Try

#!/bin/sh

temp="$(sensors | awk '/Core/{sum+=$3}END{print sum/4}')"

printf "Temp: %s°C" "$temp"

(Untested because my sensors doesn't show a "Core" column. This example presumes four cores with the temperature given in the third field, correct as needed.)

nice, thanks head on a stick. works for me, it seems out by 1 degree compared to my other scripts but yours may very well be more accurate.

#143 Re: Hardware & System Configuration » Conky + sensors temp settings ? » 2021-05-07 12:07:51

revisiting this thread to add to it.

Figured out i think an easier script to calculate the average of sensors temp output from the awk command posted by fsmithred above.

Im fairly certain the maths is correct below but wondering if it could be done a better way and also how i could tack on the celcius symbol °C - to the end of the output?

#!/bin/sh

get_temp=$(sensors | awk '/Core/ { printf substr($3,2,2)"" }')

printf "Temp:" && expr "$get_temp" / 1000000

this command in the script..

sensors | awk '/Core/ { printf substr($3,2,2)"" }' 

now prints 8 digits like so..

44444744

edit: so output look like so from the script.

Temp:44

#144 Re: Off-topic » ${THEY} continue crippling browsers... » 2021-05-06 13:44:19

golinux wrote:

[off-topic]

dice wrote:

My apologies for that off handed remark, i didn't realise ocd was a form of mental illness.

All humans suffer from the "metal illnesses" of greed, hated and delusion.  IMO, there is no need to tiptoe around that. It is irrelevant that deluded Western "therapists" just have to assign a name and acronym for every quirk on the gamut when they themselves are equally "defective", each in their own way.  The naming only excuses certain behavior. Would be nice if we could own and remove our own defects rather than pointing the finger elsewhere. Sadly, self-examination is not a popular activity in the West and thick skins are in increasingly short supply these days . . .

Their is a good George Carlin video about this.

Soft Language

https://www.youtube.com/watch?v=o25I2fzFGoY

Ah the english language! Maybe i should have just said obsessive, maybe my brain is too hard wired into the matrix!

#145 Re: Installation » [SOLVED] Problems with i3wm » 2021-05-06 13:37:15

is the sound unmuted in alsamixer ?

You left out your audio in the inxi.

use for audio only..

inxi -A

#146 Re: Off-topic » ${THEY} continue crippling browsers... » 2021-05-06 01:51:21

msi wrote:
dice wrote:

im quite happy with plain text messaging, although many are not and need pretty printing to alleviate some form of ocd.

Or, just maybe, some people really care about solid text formatting (for usability's sake), which you simply cannot do with plain text. And just because you prefer the primitive way of doing something, that doesn't automatically make it more reasonable. And it certainly doesn't mean that people who don't prefer it are mentally ill.

My apologies for that off handed remark, i didn't realise ocd was a form of mental illness.

Im getting confused with meanings here also, what i mistakenly meant in my previous post by pretty printed is bloated websites and pdf's like forms, newsletters and such that are sometimes so bloated it takes a while for them to load and navigate, so just getting back to the js that is creeping up inside pdf's as a way of messaging like newsletters, notices, official documents and all sorts of ways that pdf's get used nowadays. I do care about text formatting for readability and usability, sometimes it gets taken too far in my opinion.

So of course it doesn't automatically make my opinion of it more reasonable to just use plain text messaging and my opinion is not going to change peoples minds, so again apologies if it seems that I inferred that.

#147 Re: Installation » chimaera running with i3wm » 2021-05-05 14:00:22

andyprough wrote:

distrotube's video today on dwm-flexipatch? Looks like a great way to try out various DWM patches quickly: https://github.com/bakkeby/dwm-flexipatch

The dev also has flexipatches on his github page for dmenu, st, and slock.

I'm going to mess around with it briefly tonight on my Beowulf install.

That is a huge undertaking, very talented coder. Good use of C Preprocessor directives https://www.cprogramming.com/reference/preprocessor/

#148 Re: Off-topic » ${THEY} continue crippling browsers... » 2021-05-04 14:26:58

@ yeti, im quite happy with plain text messaging, although many are not and need pretty printing to alleviate some form of ocd.

#149 Re: Installation » networking » 2021-05-04 14:21:31

What installation medium are you using?

I noticed this on the alpha chimaera iso, what i did was go back to previous steps and or abort installation and start again. This happened in my second install of chimaera, the first went fine so not sure why this was happening.

#150 Re: Off-topic » Music » 2021-05-02 12:44:41

Nice/sad story behind this one.

Mastodon - Stairway to Heaven [Official Audio]

https://www.youtube.com/watch?v=aCkISHgM4is

In early September 2018, we lost one of our closest friends and our biggest fan, our manager Nick John. He was essentially the band’s Dad. From our highest highs to our lowest lows he was always there. Every single move we made went through him first as our trust in him was marrow deep. His favorite band besides us and Gojira, was Led Zeppelin. We were asked to perform “Stairway to Heaven” at his funeral. Afterward, finding out that someone had recorded it, we figured we should record a studio version and release it on Record Store Day as a tribute to Nick with all the proceeds to be donated to pancreatic cancer research. We would not be the band we are today without the help of Nick John. We miss him dearly and think of him always. We love you buddy.

Board footer

Forum Software