The officially official Devuan Forum!

You are not logged in.

#326 Re: DIY » ditch your bloated network manager » 2019-10-12 13:21:59

Hi GNUser, tricky question for you. When i use ethernet which has a different iface (enp0 etc etc), wifi-monitor shows the wifi icon. How would you incorporate both a wired and wireless icon with tooltips of say ssid for wifi and device for ethernet?

Example.

When wifi is connected have the wifi icon with tooltip showing in systray.

When the ethernet is connected have the wired icon with tooltip showing in systray.

But dont show both icons when only one connection is up, only show the respected icon and tooltip for the connection.

??

I suppose this is going beyond what wifi-monitor was intended for, but you have to agree that having eth and wifi on one script would be cool, you could rename it net-monitor?

#327 Re: DIY » ditch your bloated network manager » 2019-10-11 12:26:42

@ GNUser, thanks. forgot i was using zsh with grmls zshrc also. Switched back to bash and added /sbin/ to $PATH and all good.

#328 Re: DIY » ditch your bloated network manager » 2019-10-11 12:08:26

@ GNUser, thanks for your efforts but i think i figured out what is happening. Iwconfig needs root rights (sudo) on my installation so all the script was doing was calling the icon. When i configure iwconfig in sudoers.d to not require a password i get the yad tooltip. Must be a certain $PATH variable set in the refracta nodbus version im using that requires root for iwconfig.

#329 Re: DIY » ditch your bloated network manager » 2019-10-10 13:06:02

I use setnet by KatolaZ https://github.com/KatolaZ/setnet

Using tint2 i tried out wifi-monitor and it works ok but it would be a nice added extra to have some form of tool-tip to show the essid, the script looks like it should have this but mouse hover for me over the icon reveals nothing. Is that a possibility already or something to be added perhaps?

#330 Re: DIY » A script to facilitate random note-taking in the terminal » 2019-10-08 05:23:36

msi wrote:

Thanks for trying it out.

The directory structure is actually something that keeps me thinking. There are two apparent problems with the current one:

  • The notebook requires more storage space because of additional directory entries.

  • I haven't tested this, but I guess having less directories, maybe only a single notes directory, would help to increase the speed of searches.

The main reason I went with the current structure is that, to me, it seems the most logical and easy to grasp for humans (e.g., in case you lose the script). What are the problems you see with it?

Apart from that, I've thought about the interface a bit more and I think the list and search commands should be merged into a single find command with which you can then search notes based on a pattern, a date range or both, or nothing at all, which would be equivalent to listing all existing notes (just like running find (the Unix command) without arguments).

The only problem with that is that specifying a date range will have to be done via an additional option, which I'll then also have to implement for the browse command for consistency.

Sorry for late reply, been away from computers for a few days. I dont see any problems with it, i guess its just a case of me thinking in year-month-day for note taking where you have folders for this type of directory format $HOME/.mote/2019-10-08/001 instead of empty folders for the year and the month in this (2019/10) empty folders format $HOME/.mote/2019/10/08/001.

#331 Re: DIY » A script to facilitate random note-taking in the terminal » 2019-10-06 12:42:20

Nice, thanks for sharing.

One gripe is the folder structure, is there a way you could just date one folder instead of 3 ?

Example

$HOME/.mote/notes/2019/10/06/0001

to

$HOME/.mote/notes/2019-10-06/0001

#332 Re: Installation » dual boot setup question » 2019-10-04 12:19:44

If devuan installed first, install primeOS into empty space and do what Toxic above says re grub from devuan.

#333 Re: Devuan » Debian considering going systemd init only » 2019-09-26 13:42:01

Come to think of it, i believe i may have only installed refracta10 test iso with no X not the nodbus version and then did the apt pinning later on for a no dbus. My other machine had the nodbus version so i was trying to emulate it or copy the configs over to the other one, thank for the info fsmithred.

#334 Re: Hardware & System Configuration » wvdial - solved » 2019-09-26 12:28:42

Maybe you mean wvdial and not vwdial ?

I could not find that package under devuan git here https://git.devuan.org/devuan-packages  but seeing as devuan is a fork of debian the debian package should be ok to download and install provided you have the correct depends.

https://packages.debian.org/search?keywords=wvdial

#335 Re: Devuan » Debian considering going systemd init only » 2019-09-26 09:20:18

PedroReina wrote:
HevyDevy wrote:

i dont use elogind or consolekit, ive been using devuan with no dbus and it runs great for what i need.

That seems very interesting to me. Could you, please, elaborate on it? May be a link or a new thread? Thank you.

I should have said devuan refracta10 nodbus as fsmithred mentions in previous post. Thanks for all your hard work fsmithred and team.

Few caveats for networking, cant use wicd or networkmanager so i just use wpa-supplicant instead, all the old network tools work fine you just have to know how to work them. I use openbox with obmenu-generator, lxdm seems to be fine and doesnt have a hard dependency on dbus as far as im aware so i use it to set the greeter. Firefox seems to be working ok as well.

init─┬─acpid
     ├─clipit───2*[{clipit}]
     ├─compton
     ├─conky───5*[{conky}]
     ├─cron
     ├─dhclient
     ├─exim4
     ├─6*[getty]
     ├─lxdm-binary─┬─Xorg───3*[{Xorg}]
     │             └─lxdm-session───openbox───ssh-agent
     ├─mdadm
     ├─ntpd───{ntpd}
     ├─pnmixer───{pnmixer}
     ├─rpc.idmapd
     ├─rpc.statd
     ├─rpcbind
     ├─rsyslogd───3*[{rsyslogd}]
     ├─sshd
     ├─tint2─┬─sh───firefox-esr─┬─2*[Web Content───22*[{Web Content}]]
     │       │                  ├─Web Content───16*[{Web Content}]
     │       │                  └─63*[{firefox-esr}]
     │       └─sh───lxterminal─┬─zsh───pstree
     │                         └─{lxterminal}
     ├─udevd
     ├─uuidd
     └─wpa_supplicant

Although dbus is not being used it does show up with a dpkg -l | grep dbus, but dbus and dbus-x11 are not installed so not sure what this is about?

~ % dpkg -l | grep dbus                                                    :(
rc  dbus                                 1.12.16-1+devuan2                   amd64        simple interprocess messaging system (daemon and utilities)
rc  dbus-x11                             1.12.16-1+devuan2                   amd64        simple interprocess messaging system (X11 deps)
ii  libdbus-1-3:amd64                    1.12.16-1+devuan2                   amd64        simple interprocess messaging system (library)
ii  libdbus-glib-1-2:amd64               0.110-4                             amd64        deprecated library for D-Bus IPC
ii  libdbusmenu-glib4:amd64              18.10.20180917~bzr490+repack1-1     amd64        library for passing menus over DBus
ii  libdbusmenu-gtk3-4:amd64             18.10.20180917~bzr490+repack1-1     amd64        library for passing menus over DBus - GTK-3+ version

#336 Re: Devuan » Debian considering going systemd init only » 2019-09-25 12:48:21

Hopefully this wont affect my machines, i dont use elogind or consolekit, ive been using devuan with no dbus and it runs great for what i need. Im old school though, we will eventually get left behind and overtaken with tech that is shiny and "progressive" but not really needed.

#338 Re: Desktop and Multimedia » poor sound quality - scratchy » 2019-09-23 13:43:12

sudo apt-get remove --purge pulseaudio

sudo apt-get install alsa-utils

#339 Re: Off-topic » Installing Devuan in Pendrive 3.x » 2019-09-23 10:38:52

Try to use usb pendrive with usb 3.0

If using ext4 filesystem....

Disabling access time update,

/etc/fstab

/dev/sdb1    /    ext4    defaults,noatime    0    1

Increase commit interval

/etc/fstab

/dev/sdb1   /    ext4    defaults,noatime,commit=60    0    1

Disable journal (not recommended)

# tune2fs -O "^has_journal" /dev/sdb1

#340 Re: Desktop and Multimedia » poor sound quality - scratchy » 2019-09-23 10:01:45

rahalver wrote:

Hi.  Thanks for the reply.  I am in a different time zone, so I may not respond to your answer right away.  Not sure what your meaning is..
Should I run [lspci -knn | grep "Audio"] in terminal mode (command line) to determine what my audio is?

yes

#341 Re: Desktop and Multimedia » poor sound quality - scratchy » 2019-09-22 13:53:12

what is your audio?

lspci -knn | grep "Audio"

#342 Re: Off-topic » Websites with Arguments against systemd » 2019-09-21 07:33:38

@ Nili, seems like systemd just wants to take over the home now.  Also if one uses ext4 format on home, you can create file based encryption with loop back devices already.

https://wiki.archlinux.org/index.php/Ex … encryption

#343 Re: Installation » Installing Devuan on a 2007(!) iMac » 2019-09-20 12:28:25

Lomax wrote:
ralph.ronnquist wrote:

I think update-grub uses blkid information about partitions, not fstab.

Ah, many thanks, that clears things up!

ralph.ronnquist wrote:

everything works like magic cool

Well... Considering I can't even get this thing to boot...

How is it that I can boot in rescue mode and chroot to /dev/sda1 but grub can't boot at all? The disk is clearly there, and it clearly has all the right bits on it. This should be a doddle, surely?

Did you modify /etc/default/grub as ralph mentioned? Then update-grub ?

#344 Re: Installation » Installing Devuan on a 2007(!) iMac » 2019-09-19 13:33:06

try wiping out the grub config file.

sudo rm /boot/grub/grub.cfg

Then sudo update-grub or  sudo grub-mkconfig -o /boot/grub/grub.cfg

#345 Re: News & Announcements » Migrating from Buster to Beowulf - feedback needed » 2019-09-06 11:14:12

Hi newb here sort of, well i know my way around linux ok .

I did an lxde install of buster just the LXDE not the debian desktop environment, only chose standard system utils and lxde in tasksel.

Debian Install went fine, got to desktop and tried to install sysvinit-core but apt spat out below info. I was of the thought sysvinit-core should be installed first before anything else, would that be correct?

sudo apt-get install sysvinit-core
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 dconf-service : Depends: default-dbus-session-bus or
                          dbus-session-bus
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

or should i have the devuan-keyring and devuan beowulf repos setup first then apt update / upgrade, commenting out the debian repos in sources.list ?

Apart from desktop environment i was able to migrate successfully on a netinstall with no X and just standard system utils, sysvinit-core installed fine but had to "echo b > /proc/sysrq-trigger" to reboot then purge systemd.

so with a netinstall with no X,

1. install sysvinit-core
2. install devuan keyring
3. copy in beowulf sources.list and comment out debian sources.list
4. apt update and upgrade
5. echo b > /proc/sysrq-trigger (reboot)
6 .purge systemd (apt remove systemd --purge).

Board footer

Forum Software