The officially official Devuan Forum!

You are not logged in.

#76 Re: DIY » Packaged dhcpcd 9.3.3 and dhcpcd-gtk 0.7.7 for Beowulf » 2020-12-07 19:51:37

Well, since I cannot update first post's title, let's write some replies.

Packaged dhcpcd 9.3.4 and dhcpcd-ui HEAD. Latter has quite low development activities and works.

#78 DIY » Packaged dhcpcd 9.3.3 and dhcpcd-gtk 0.7.7 for Beowulf » 2020-11-10 06:51:00

geki
Replies: 2

Well, yeah, I am used to dhcpcd from Gentoo and I just like it - distro-independent network foo. These packages are built on my Devuan Beowulf system.

Changes of dhcpcd

  • Disabled new PRIVSEP feature.

  • Set proper RUNDIR path.

  • Add latest fixes from git HEAD.

Changes of dhcpcd-ui

Have fun! big_smile

#79 Re: Desktop and Multimedia » How do you stop chromium asking for 'keyring password'? » 2020-04-11 08:42:50

Yup, Gentoo recommends compile flags. Debian, or any other binary distro, recommends packages to install/uninstall. In the end, it is all the same. smile

#80 Re: Desktop and Multimedia » How do you stop chromium asking for 'keyring password'? » 2020-04-08 06:15:32

Try from command-line. That helped me back then. To see, if your desktop or config file were actually used or not!

$ chromium-browser --password-store=basic

See https://forums.gentoo.org/viewtopic-p-7951970.html#7951970

Otherwise, what chromium packages are installed? Are there some chromium packages indicating connections to libsecret or gnome-keyring? They should be uninstalled. That are the solutions from Gentoo. smile

#81 Re: Desktop and Multimedia » Using redshift » 2020-04-02 07:14:39

I autostart it like so:

$ cat .config/autostart/redshift-gtk.desktop 
[Desktop Entry]
Type=Application
Exec=redshift-gtk -l 52:9"
Hidden=false
X-MATE-Autostart-enabled=true
Name=Redshift
Comment=Farbtemperaturanpassungswerkzeug

The important part is the '-l' option to make it work:

$ LC_ALL=C redshift -h|grep '\-l'
Usage: redshift -l LAT:LON -t DAY:NIGHT [OPTIONS...]
  -l LAT:LON	Your current location
  -l PROVIDER	Select provider for automatic location updates

#82 Re: Off-topic » new encroachments of our least favourite init » 2019-12-16 15:23:44

Well, I am with Gentoo on my server and lurking in gentoo forums. Some of their users do not like what happens with the OpenRC project, me neither. I keep the old version 0.17 on my server, just for example. Since I am not good with politics talk and such, I just give some links you may follow/read:

Google search on f.g.o.: https://www.google.com/search?q=site%3A … rc+william

Most interesting threads found (on a quick glance):

systemd discussion: agree to disagree: https://forums.gentoo.org/viewtopic-t-1 … t-175.html

williamh pushing usr merge: https://forums.gentoo.org/viewtopic-t-1 … t-100.html

#83 Hardware & System Configuration » [JFYI] intel cpu/wifi versus intel-microcode 20191112.1 versus dhcpcd » 2019-11-23 14:03:22

geki
Replies: 0

Hi there,

JFYI, Devuan Beowulf system with dhcpcd/wpa_supplicant setup is not able to reconnect automatically to my wifi network with that intel-microcode version. The old version 20190618.1 works!

Both microcodes connect fine on boot. But then, only the old microcode allows automatic reconnects. Whysoever roll

Some system infos:

Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Intel Corporation Wireless-AC 9260 (rev 29)

Working wifi:
[    0.000000] microcode: microcode updated early to revision 0xb4, date = 2019-04-01
[    1.547370] microcode: sig=0x806ea, pf=0x80, revision=0xb4
[    1.547652] microcode: Microcode Update Driver: v2.2.

Broken wifi:
[    0.000000] microcode: microcode updated early to revision 0xc6, date = 2019-08-14
[    1.635718] microcode: sig=0x806ea, pf=0x80, revision=0xc6
[    1.636029] microcode: Microcode Update Driver: v2.2.

Have fun!

#84 Re: Desktop and Multimedia » [SOLVED] Ceres 64-bit and cannot install wine32:i386 » 2019-10-19 10:18:51

Hmm, although I see the ~beowulf1 versions for i386 in the pool (fau mirror, too), apt-get says:

E: Version '2.33.1-0.1+devuan1~beowulf1' for 'libblkid1:i386' was not found
E: Version '2.33.1-0.1+devuan1~beowulf1' for 'libmount1:i386' was not found
E: Version '2.33.1-0.1+devuan1~beowulf1' for 'libuuid1:i386' was not found

#85 Re: Desktop and Multimedia » [SOLVED] Ceres 64-bit and cannot install wine32:i386 » 2019-10-18 22:03:01

Current state here with Beowulf is this:

 libblkid1 : Beschädigt: libblkid1:i386 (!= 2.33.1-0.1+devuan1~beowulf1) aber 2.33.1-0.1+devuan1 soll installiert werden
 libblkid1:i386 : Beschädigt: libblkid1 (!= 2.33.1-0.1+devuan1) aber 2.33.1-0.1+devuan1~beowulf1 soll installiert werden
 libmount1 : Beschädigt: libmount1:i386 (!= 2.33.1-0.1+devuan1~beowulf1) aber 2.33.1-0.1+devuan1 soll installiert werden
 libmount1:i386 : Beschädigt: libmount1 (!= 2.33.1-0.1+devuan1) aber 2.33.1-0.1+devuan1~beowulf1 soll installiert werden
 libuuid1 : Beschädigt: libuuid1:i386 (!= 2.33.1-0.1+devuan1~beowulf1) aber 2.33.1-0.1+devuan1 soll installiert werden
 libuuid1:i386 : Beschädigt: libuuid1 (!= 2.33.1-0.1+devuan1) aber 2.33.1-0.1+devuan1~beowulf1 soll installiert werden

Got around that by downloading the packages with the superfluous '~beowulf1' suffix. If you do it the first time, you do not need the version tag with the package names.

apt-get download libblkid-dev=2.33.1-0.1+devuan1~beowulf1 libblkid1=2.33.1-0.1+devuan1~beowulf1 libmount-dev=2.33.1-0.1+devuan1~beowulf1 libmount1=2.33.1-0.1+devuan1~beowulf1 libuuid1=2.33.1-0.1+devuan1~beowulf1 mount=2.33.1-0.1+devuan1~beowulf1 uuid-dev=2.33.1-0.1+devuan1~beowulf1

And removing that version suffix with this bash script by executing: ./pkg_remove_version_suffix.sh '~beowulf1'
Make sure to have the necessary helper binaries installed!

#!/bin/bash

remove_suffix()
{
	local dpkg
	for dpkg in *${1}*.deb
	do
		mkdir temp_${dpkg}

		dpkg-deb -R ${dpkg} temp_${dpkg}

		sed -e "s/${1}//g" -i temp_${dpkg}/DEBIAN/control

		dpkg-deb -b temp_${dpkg} ${dpkg/${1}}

		rm -rf ${dpkg} temp_${dpkg}
	done
}

if [ -z ${1} ]
then
	echo "no suffix passed to remove"
	exit 1
fi

remove_suffix ${1}

apt-get -o Dpkg::Options::="--force-overwrite" install ./*.deb

exit ${?}

#86 Re: Desktop and Multimedia » wine32 » 2019-09-01 10:13:50

redi wrote:

I have continued to work according to the instructions: https://dev1galaxy.org/viewtopic.php?id=2987

However, wine32 can not be installed with either apt or apt-get. Only aptitude will probably work, but I'll lose elogind:

You have to install the modified debian version of libelogind0:i386, too. The last post of that thread you mentioned. I have to install that modified version like so to overwrite file collision of ChangeLog file:

dpkg --force-overwrite -i ./libelogind0_241.3-1_i386.deb

#87 Re: Desktop and Multimedia » Beowulf: UPower 0.99 removed? Versus Logitech Unifying Receiver » 2019-07-20 15:48:28

geki wrote:

Synaptic disappeared for a while from Debian. Now UPower 0.99 from Devuan. Is this common practice on Debian-based distros? big_smile

#90 Desktop and Multimedia » Beowulf: UPower 0.99 removed? Versus Logitech Unifying Receiver » 2019-07-20 11:50:48

geki
Replies: 8

Hi there!

Had to grab UPower from Debian Buster since its gone from Devuan repos.

Logitech Unifying Receiver (Mouse/Keyboard/whatever) requires UPower 0.99 since Kernel 3.19. Otherwise MATE may just shutdown immediately after boot, since it misinterprets the battery status. *fun*

Synaptic disappeared for a while from Debian. Now UPower 0.99 from Devuan. Is this common practice on Debian-based distros? big_smile

#91 Re: Other Issues » ifup wait at boot » 2019-07-07 10:11:27

JFYI, this looks more sane, as Geoff pointed out. I wonder, if the dependency to iproute2 is acceptable.

--- /etc/init.d/networking	2019-07-07 12:05:57.696076136 +0200
+++ /etc/init.d/networking	2019-07-07 12:11:41.412092526 +0200
@@ -14,6 +14,7 @@
 IFSTATE="$RUN_DIR/ifstate"
 STATEDIR="$RUN_DIR/state"
 
+[ -x /sbin/ip ] || exit 0
 [ -x /sbin/ifup ] || exit 0
 [ -x /sbin/ifdown ] || exit 0
 
@@ -107,7 +108,12 @@
 				    link=${link##.*}
 				    if [ -e "/sys/class/net/$link" ]
 				    then
-					echo "$iface"
+					# link detection does not work unless we up the link
+					ip link set "$iface" up || true
+					if [ "$(cat /sys/class/net/$link/operstate)" = up ]
+					then
+						echo "$iface"
+					fi
 				    fi
 			    done)
 	    if [ -n "$ifaces" ]

#93 Re: Hardware & System Configuration » [SOLVED] Kernel console/VT: boot msgs cut at 80 chars » 2019-06-21 06:28:32

That's it. Thank you!

JFTR, I added option i915.fastboot=1 to the module.

#94 Hardware & System Configuration » [SOLVED] Kernel console/VT: boot msgs cut at 80 chars » 2019-06-20 08:31:13

geki
Replies: 2

Hi all!

I got that cosmetic nuisance that the kernel console/VT is reset to 80 columns for a moment during boot with Devuan Beowulf on my Intel(R) Core(TM) i5-8250U CPU.

- grub screen is in screen res
- loading initramfs text after grub is in screen res
- following boot messages show up in screen res, but then column is reset to 80 (i.e.: cutted text below: 'udevd[457]: spec' and 'udevd[519]: fail')
- just a moment later the column is again reset to screen res

INIT: version 2.93 booting
[info] Using makefile-style concurrent boot in runlevel S.
[....] Starting hot-plug events dispatcher: udevd[    3.754574] udevd[457]: spec
. ok
[ ok [    3.813949] udevd[520]: failed to execute[    3.834440] udevd[519]: fail
done.
[ ok ] Waiting for /dev to be fully populated...done.
[ ok ] Setting up keyboard layout...done.
[ ok ] Activating swap...done.

Is there anyone who knows what is setting the column to 80. Is there any kernel parameter for that evil driver not to reset the column to 80?!

I guess I have to do a video with the smartphone. :-)

#95 DIY » Intel Flicker-Free Boot » 2019-05-18 09:43:42

geki
Replies: 1

Hi there,

with Devuan Beowulf on my Intel(R) Core(TM) i5-8250U CPU, I just had to edit /etc/default/grub and update grub configuration. Just in case you are curious and did not do it yourself, yet.

# cat /etc/default/grub|grep fast
GRUB_CMDLINE_LINUX="i915.fastboot=1"

and

# update-grub2

Done.

#96 Re: Desktop and Multimedia » Software update notifications in XFCE » 2019-04-16 17:11:02

Tried to map [0][1] to python3, with Gio.Application and its dbus connection, but it seems to need a bit more knowledge. Though, an indicator should be possible without Gtk and AppIndicator3. I just need my basic variant.

If anyone is interested:

[0] https://askubuntu.com/questions/690769/ … 750#752750
[1] https://github.com/sneetsher/mysystemin … -service.c

#97 Re: Desktop and Multimedia » Software update notifications in XFCE » 2019-04-16 09:50:34

I added AppIndicator3 as tray icon. UPDATE Got my problems sorted out. Reorder updating of notification and tray indicator and using Gio.SimpleAction as callback mechanism. UPDATE #2 Depend on packages ayatana-indicator-application and mate-indicator-applet or xfce-indicator-plugin.  A round of cleanup. UPDATE #3 mate-indicator-applet needs a patch to send the "secondary-activate" event. I send the patch to Debian maintainer. Hopefully we will see an update to the package with the patch applied. xfce4-indicator-plugin already generates the "secondary-activate" event.

#!/usr/bin/env python3

################################################################################
# Configuration Section Begins Here                                            #
################################################################################

config = dict(
    # The title to be shown on the pop-up and the icon tooltip.
    title = "Updates Available",

    # The message to be shown in the pop-up.
    message = "There are updates available to install.",

    # Icon to use in the system tray and pop-up.
    icon = "/usr/share/update-notifier/updates.svg",

    # Frequency to check for available updates.
    #interval = 900, # 15 minutes
    #interval = 14400, # 4 hours
    interval = 3600, # 1 hour

    # Command to run to check for available updates, and the expected status
    # code that indicates updates are available.
    check = "/usr/bin/apt-get -s dist-upgrade | /bin/grep -c '^Inst '",
)

################################################################################
# Configuration Section Ends Here                                              #
################################################################################

try:
    import gi
    gi.require_version('Gtk', '3.0')
    from gi.repository import Gio, GLib, Gtk
    gi.require_version('AyatanaAppIndicator3', '0.1')
    from gi.repository import AyatanaAppIndicator3 as appindicator

    import sys
    import subprocess
    from time import time
    from random import random
except ImportError:
    print("Failed to import Gio, GLib, Gtk or AyatanaAppIndicator3 or other helpers")
    raise NotImplementedError

# hide tray icon from application
def on_action_hide(action, parameter):
    global tray
    tray.set_status(appindicator.IndicatorStatus.PASSIVE)

# hide tray icon from app indicator
def on_menu_hide(menu_item):
    global tray
    tray.set_status(appindicator.IndicatorStatus.PASSIVE)

def on_connect_changed(indicator, connected):
    global app
    if (connected == False):
        print('packages missing: ayatana-indicator-application and mate-indicator-applet for MATE not installed (other DEs may have similar indicator-applet package for ayatana indicators)')
        app.quit()

# app indicator tray icon
def tray_icon():
    global config
    tray = appindicator.Indicator.new('update.notifier.tray', config['icon'],
        appindicator.IndicatorCategory.SYSTEM_SERVICES)
    tray.set_title(config['title'])
    tray.connect('connection-changed', on_connect_changed)

    # minimalistic menu for tray
    menu = Gtk.Menu()
    item_hide = Gtk.MenuItem.new_with_label('Hide')
    item_hide.connect('activate', on_menu_hide)
    menu.append(item_hide)
    menu.show_all()
    tray.set_menu(menu)
    tray.set_secondary_activate_target(item_hide)
    return tray

def query_update():
    global app, tray, config, next_check

    # keep application running
    app.hold()

    if (int(time()) >= next_check):
        status = subprocess.getoutput(config['check'])

        # Updates?
        if (status != "0"):
            # show tray icon
            tray.set_status(appindicator.IndicatorStatus.ACTIVE)

            # show notification popup
            icon = Gio.Icon.new_for_string(config['icon'])
            notifier = Gio.Notification.new(config['title'])
            notifier.set_body(config['message'])
            notifier.set_default_action('app.hide')
            notifier.set_icon(icon)

            app.send_notification('update-notifier-popup', notifier)

        next_check = next_check + config['interval'] + int(random() * 300)

    # keep application running
    app.release()

    return GLib.SOURCE_CONTINUE;

# + 200 for cron job to run at boot
next_check = int(time()) + 200 + int(random() * 300)

# service to run only one instance and allow to functioning as-is
app = Gio.Application.new('update.notifier.app', Gio.ApplicationFlags.IS_SERVICE)

# have a globally accessible tray instance 
tray = None

try:
    if (app.register() == True):
        # keep application running
        app.hold()

        # application hide action
        action_hide = Gio.SimpleAction.new('hide')
        action_hide.connect('activate', on_action_hide)

        app.add_action(action_hide)

        # keep application running
        app.set_inactivity_timeout(180000)

        # hidden tray icon
        tray = tray_icon()

        source_id = GLib.timeout_add_seconds(60, query_update)

        # keep application running
        app.release()
        app.run(sys.argv)

        GLib.source_remove(source_id)
except GLib.Error as e:
    print('Failed to register service: {0} ({1})'.format(e.message, e.code))

# vim:expandtab

#98 Re: Installation » Package synaptic is missing in beowulf, still in ascii and ceres » 2019-04-07 19:49:19

Looks like it keeps out of debian as long as they have wayland as default. See:

https://bugs.debian.org/cgi-bin/bugrepo … =818366#45

And the synaptic bugreport - the developer asks for help refactoring due to being short on spare time.

https://github.com/mvo5/synaptic/issues … -357439865

Anyone here interested in packaging it or help upstream? Guess I use aptitude for now, if I need to; not so often luckily.

#99 Installation » Package synaptic is missing in beowulf, still in ascii and ceres » 2019-04-07 09:02:58

geki
Replies: 12

Hi all,

just checked pkginfo.devuan.org and it is truely missing. Anyone got any indeas?

#100 Re: Desktop and Multimedia » Software update notifications in XFCE » 2019-03-25 19:54:45

Just for the curious, I ported update notifier to pygobject using glib and gio. There is no longer a status icon. Also posting my cron files for completeness to show how to delay after boot and get an update after some minutes. I have neither seen an update after boot with the pygtk2 version.

I set my update interval to one hour.

$ cat /etc/cron.d/update_notifier 
@reboot root /etc/cron.hourly/update_notifier
$ cat /etc/cron.hourly/update_notifier 
#!/bin/sh

# wait up to 180 seconds to run apt-get

MAILTO=""

test -x /usr/bin/apt-get || exit 0
/usr/bin/python3 -c 'import random; import time; time.sleep(random.random() * 180)' \
	&& /usr/bin/apt-get update
$ cat /usr/share/update-notifier/update-notifier.py
#!/usr/bin/env python3

################################################################################
# Configuration Section Begins Here                                            #
################################################################################

c = dict(
    # The title to be shown on the pop-up and the icon tooltip.
    title = "Updates Available",

    # The message to be shown in the pop-up.
    message = "There are updates available to install.",

    # Icon to use in the system tray and pop-up.
    icon = "/usr/share/update-notifier/updates.svg",

    # Frequency to check for available updates.
    #interval = 900, # 15 minutes
    #interval = 14400, # 4 hours
    interval = 3600, # 1 hour

    # Command to run to check for available updates, and the expected status
    # code that indicates updates are available.
    check = "/usr/bin/apt-get -s dist-upgrade | /bin/grep -c '^Inst '",
)

################################################################################
# Configuration Section Ends Here                                              #
################################################################################

import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gio, GLib

import subprocess
from time import time
from random import random

def on_activate(data):
    '''do nothing'''

def main_loop():
    global next_check
    if (int(time()) >= next_check):
        status = subprocess.getoutput(c['check'])

        # Updates?
        if (status != "0"):
            global app
            icon = Gio.Icon.new_for_string(c['icon'])
            notifier = Gio.Notification.new(c['title'])
            notifier.set_body(c['message'])
            notifier.set_icon(icon)

            app.send_notification('update.popup', notifier)

        next_check = next_check + c['interval'] + int(random() * 300)

    return GLib.SOURCE_CONTINUE;

# + 200 for cron job to run after boot
next_check = int(time()) + 200 + int(random() * 300)

# service to run only one instance and allow to functioning as-is
app = Gio.Application.new('update.notifier', Gio.ApplicationFlags.IS_SERVICE)

# either notification action or app activate signal
app.connect('activate', on_activate)

try:
    if (app.register() == True):
        source_id = GLib.timeout_add_seconds(60, main_loop)

        GLib.MainLoop().run()

        GLib.source_remove(source_id)
except GLib.Error as e:
    print('Failed to register service: {0} ({1})'.format(e.message, e.code))

# vim:expandtab

Board footer

Forum Software