The officially official Devuan Forum!

You are not logged in.

#126 Re: Desktop and Multimedia » Question about XDG menus » 2019-11-10 01:10:49

The Debian menu system predates the freedesktop.org standard of "XDG." I personally like some of the fd.o published specs (not to be confused with "standards") but others might be concerned because fd.o has published plenty of projects we disdain around here. The XDG menu stuff is fine, in my opinion, and it sounds like you have come across the same point of view.

I personally use Fluxbox and I have half-heartedly tried to use various projects and gave up. I guess application discovery just wasn't that important for my use cases.

Here are the examples for a project named "xdg-menu" from the Arch Wiki.

IceWM
With xdg_menu

$ xdg_menu --format icewm --fullmenu --root-menu /etc/xdg/menus/arch-applications.menu >>~/.icewm/programs

With update-menus

  • Uncomment icewm in /etc/update-menus.conf

  • run update-menus as root

  • make symlink to /var/cache/xdg-menu/icewm/programs in ~/.icewm/programs

WindowMaker
With xdg_menu
use

$ xdg_menu --format WindowMaker --root-menu /etc/xdg/menus/arch-applications.menu >my-wm-menu

and add

#include "my-wm-menu"

into your WindowMaker menu file.
You can also use the WPrefs "Application Menu Definitions", and add the xdg command as a parameter in a "Generated Submenu" object.
With update-menus

  • Uncomment WindowMaker in /etc/update-menus.conf

  • run update-menus as root

  • add

    #include "/var/cache/xdg-menu/WindowMaker/wmrc"

    into your menu file.

#127 Re: Installation » Need help with "quiet" boot on ascii-686 pae » 2019-11-10 00:55:59

Does the kernel accept parameter "rhgb"? That is used at least for me on the RHEL and similar distros. That's the Red Hat graphical boot.

#128 Re: News & Announcements » DeVuan review in Full Circle Magazine » 2019-11-04 02:07:34

A magazine-format publication, that does things right, with the hyperlinks! And proper page layout should anybody ever print the thing! This could almost persuade me to like Ubuntu. That was such a great experience, I think I will have to read this magazine going forward. Of course I've got a stray Ubuntu install somewhere, mostly as Xubuntu. However, I typically have been a CentOS or now Devuan guy.

Anyway, to the article at hand. I thought it was quite nice the fellow wrote a whole review. I appreciate the casual yet still formal-enough writing style. He stylizes Devuan funny. The very Linuxy thing to say: "Set it up so it works for YOU!" was pretty nice, even though he repeats it a lot.

Of course the "plain" and "boxy" interface of Xfce reminds him of boring old Windows 95/98. I think that's why people choose it: it works, as expected, is low key, and doesn't get in the way. I'm a little surprised when he was editing the panels the little red dashed outline didn't appear on the current panel. It always does that for me, running Devuan ceres with Xfce. His panel transparency didn't work: I haven't tried it myself, but I would certainly expect it to depend on desktop compositing, which is not obvious to a "general user."

His experience with setting the wallpaper: that is an Xfce thing that is fairly typical. I consider it a minor deficiency in the wallpaper chooser, but as he found, it's not hard to do it another way. If I recall correctly, all you have to do in the wallpaper settings is to select "Choose a directory" or some such, from the drop down, which is not obvious.

"XFCE's implementation of bash." Because of course I'm being picky and crotchety, it's Xfce's terminal emulator. It's still the same old bash everyone else uses. But I think most people know what he means. And his choice of Control-Alt-T is just a default different from his. I think that is a Xubuntu thing. Ah, which is probably derived from Ubuntu proper. Hm.

He talks about how wicd is better than the built-in powerful wifi management program. Is he talking about wpa_supplicant? Perhaps he just is not accurate here. I don't really know what I'm talking about either, but Devuan did introduce me to wicd which I absolutely love, even if only because it's not spelled NetworkManager.

----
A Linux-themed crossword puzzle?! I think I'm in love. However, I apparently really suck at Linux trivia.

#129 Re: Other Issues » [Solved] apt pinning dbus » 2019-11-02 12:52:22

Thanks for the follow-up. It's always nice to be able to answer your own question.

In your own words, what does pinning a package without version number do?

#130 Re: News & Announcements » ASCII 2.1 point release » 2019-10-24 14:31:38

Thank you! I appreciate all the effort the real devuaners do. I'm just a moocher.

#131 Re: DIY » ditch your bloated network manager » 2019-10-10 20:14:06

I'm a weak devuaner because I like my xfce too much which comes with dbus. However, I very much appreciate all the tools that help make dbus and NetworkManager obsolete. I do of course use wicd, although I expect that uses dbus.

I bet these scripts could be improved to read /etc/default/autowifi files so the original scripts could be controlled by a dpkg... is anyone interested in seeing some effort on that?

#132 Re: News & Announcements » We're now 800 strong here! » 2019-10-05 13:58:21

You can always just share your experience or participate in other discussions. I'm glad to participate in the Devuan community, even if I don't have that much to say. I do come here with my problems, and I try to make myself available to help other people.

#133 Re: Devuan » Debian considering going systemd init only » 2019-10-04 18:54:43

I have just been researching how to shut down/restart/suspend a system using python, without dbus, and haven't come up with much. I searched for "dbus" on this forum and came across this thread. I was surprised to learn I have dbus running on my Devuan desktops, even the Fluxbox ones.

#134 Re: Other Issues » [SOLVED] Devuan snapshot repos, like Debian? » 2019-10-03 03:08:27

Answered my own question!

This is what I get for doing unattended upgrades in a rolling release. I realize it's entirely my fault.

I have successfully downgraded components necessary so I can get a running sssd client and I can getent passwd bgstack15 again. Thankfully, these components do not require the custom rebuilt packages for devuan. I'm not entirely sure what I would have done in that case.

# set this source:

deb   https://snapshot.debian.org/archive/debian/20190901T043449Z/ unstable main

Run commands

sudo apt-get -o Acquire::Check-Valid-Until=false update
sudo apt-get install freeipa-client=4.7.2-3 freeipa-common=4.7.2-3 python-ipaclient=4.7.2-3 sssd=2.2.0-4 python3-sss=2.2.0-4 sssd-ad=2.2.0-4 sssd-common=2.2.0-4 sssd-ipa=2.2.0-4 sssd-krb5=2.2.0-4 sssd-ldap=2.2.0-4 sssd-proxy=2.2.0-4 libsss-idmap0=2.2.0-4 sssd-ad-common=2.2.0-4 sssd-krb5-common=2.2.0-4 libipa-hbac0=2.2.0-4 libsmbclient=2:4.9.11+dfsg-1 samba-libs=2:4.9.11+dfsg-1 libwbclient0=2:4.9.11+dfsg-1
References

https://unix.stackexchange.com/question … cal-mirror
https://duckduckgo.com/?q=debian+releas … is+expired
https://snapshot.debian.org/

#135 Other Issues » [SOLVED] Devuan snapshot repos, like Debian? » 2019-10-03 02:28:43

bgstack15
Replies: 3

An alternate title is: Devuan ceres libldb2 and its reverse dependencies

Pardon me, as I'm still learning the debianized way to do things.

Tonight, I was running OS updates on a Devuan ceres installation, and it removed freeipa-client, because sssd appears to be dependent on libldb1 but other parts of freeipa-client depend on libldb2, and those packages are conflicting. Yes, of course I know this is the rolling release "unstable" release.

My errors are this:

[bgstack15-local@ltb-013|/home/bgstack15-local/dev]$ sudo apt-get install freeipa-client sssd-ad-common sssd sssd-ad sssd-ipa samba-libs libsmbclient libldb2
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:
 freeipa-client : Depends: python3-sss but it is not going to be installed
 sssd : Depends: python3-sss (= 2.2.2-1) but it is not going to be installed
        Depends: sssd-common (= 2.2.2-1) but it is not going to be installed
        Depends: sssd-krb5 (= 2.2.2-1) but it is not going to be installed
        Depends: sssd-ldap (= 2.2.2-1) but it is not going to be installed
        Depends: sssd-proxy (= 2.2.2-1) but it is not going to be installed
 sssd-ad : Depends: sssd-common (= 2.2.2-1) but it is not going to be installed
           Depends: sssd-krb5-common (= 2.2.2-1) but it is not going to be installed
           Depends: libldb1 (>= 0.9.21) but it is not going to be installed
 sssd-ad-common : Depends: sssd-common (= 2.2.2-1) but it is not going to be installed
                  Depends: libldb1 (>= 0.9.21) but it is not going to be installed
 sssd-ipa : Depends: sssd-common (= 2.2.2-1) but it is not going to be installed
            Depends: sssd-krb5-common (= 2.2.2-1) but it is not going to be installed
            Depends: libldb1 (>= 0.9.21) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Boiling it down even further, I got to the real problem:

[bgstack15-local@ltb-013|/home/bgstack15-local/dev]$ sudo apt-get install freeipa-client sssd-ad-common sssd sssd-ad sssd-ipa samba-libs libsmbclient libldb2 python3-sss sssd-common sssd-krb5 sssd-ldap sssd-proxy sssd-krb5-common libldb1
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:
 libldb2 : Breaks: libldb1 (< 2:2~) but 2:1.5.5-2 is to be installed
E: Unable to correct problems, you have held broken packages.

Is it possible to use a Devuan snapshot repository, like I have read about for Debian?

Or is there a way I can help whoever is responsible for libldb1 so that ew can get 2:2 version published so I can log back into my system with my domain account?

#136 Re: Installation » It is possible to install devuan on the new laptop pinebook pro ??? » 2019-09-27 12:27:24

I am considering getting a Pinebook myself! I really should, that way I can collaborate with you on getting devuan to work.

#137 Re: Other Issues » /etc/os-release error » 2019-09-23 10:56:33

I think Debian itself is stopping its effort to chase LSB full compliance: https://en.wikipedia.org/wiki/Linux_Sta … _on_Debian

#138 Re: Other Issues » 32bit packages on a 64bit system » 2019-09-23 10:53:33

If you spend enough time, you can figure out which exact versions of the 64-bit packages you need, so that you can "apt-get install thatpackagename=1.3.4" with exact version numbers. What happened was the i386 packages have a newer version released in the Devuan repos, before the amd64 packages. In a multiarch installation, it appears that all architectures must have the exact same version number for a named package. I ran into this issue on Ceres but maybe that conversation can guide you a little.

#139 Re: Installation » Installing Devuan on a 2007(!) iMac » 2019-09-19 03:12:27

ralph.ronnquist wrote:

Going on an assumption: I'd suggest that when you are at the "install grub" screen, you should shift to VT2 bmo C-A-F2, to log in; then rm -r /target/usr/share/locale/*.gmo. Then back to C-A-F1 (or maybe C-A-F5 if you're using the "graphical" installer), and continue.

Is this related to the consolekit problem that somehow causes problems with the installation of the grub dpkg? I ran into that problem, and I think I solved it by installing grub-legacy. I wish I had thought to try your suggestion back then!

#140 Re: DIY » systemd users » 2019-09-17 19:57:28

As a matter of traditional system security, any users that you are not using should be removed. The fact that these accounts all have /bin/false for the shell leads one to infer that those would never log in, so it probably comes down to file ownership.

You could find any files (particularly in /dev) owned by any of those users.

find / \( -user 117 -o -user 118 -o -user 119 -o -user 120 \) -print

I don't expect any devices to actually be owned by those users, because /dev is populated at boot and sysvinit probably doesn't go around using systemd* users. But that's why you check. For me, it was a little interesting that debian derivatives use lots of local groups to control devices, which makes using domain users on laptops difficult.

Edit:
Or running daemons. But if you're running systemd daemons of some sort underneath sysvinit, uh, we will find ways to help you!

#141 Re: Devuan » Devuan dual monitor strange problem. » 2019-09-17 19:52:17

The default DE in Devuan is Xfce, so if you don't know which DE you're using, it's probably Xfce. That's the one with the cute mouse theme tastefully sprinkled throughout. The Xfce "Desktop" configurator (xfdesktop-settings) usually displays a warning, "Move this dialog to the display you want to edit the settings for." It reacts based on which monitor you're on, so it can handle displaying different images on the different monitors.

It is quite unusual that the /usr/share contents would not be world readable, and not readable by an application running when on a different monitor but same X server. Now, the silly xfdesktop-settings tool has some unusual directory-contents display behavior. Maybe you need to select a useful directory from the "Folder" dropdown towards the bottom left of the application, and find a directory where you expect images to be?

#142 Re: Hardware & System Configuration » Long Delayed boot time on ascii » 2019-09-16 01:21:30

Jafa wrote:

My solution was to set the primary interface to "manual" instead of "dhcp" in /etc/network/interfaces. Boots like lightning.

This allows Wicd to wrangle networking after booting ..

I plan on trying this myself. Some of my laptops have the regular dhcp client delay upon boot, and if I can just let wicd handle it later on, that is acceptable.

#143 Re: Documentation » HOWTO: lightdm (with libpam-elogind) + xfce4 (ASCII/Stable) » 2019-09-14 02:48:47

This can be shrunk into a few lines:

sudo apt-get install --no-install-recommends libpolkit-gobject-elogind-1-0 policykit-1
sed -i -r -e '/session\s+optional\s+pam_systemd\.so/s/systemd/elogind/;' /etc/pam.d/lightdm-greeter

Unfortunately my normal mitigations for automating the apt-get are not recommended, because of the propensity for policykit and the elogind packages to conflict with major packages, and the admin should always review what is about to be removed.
If you truly want an unattended process for this task:

sudo apt-get install -y -q -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" -o Dpkg::Options::="--force-overwrite" --no-install-recommends libpolkit-gobject-elogind-1-0 policykit-1
sed -i -r -e '/session\s+optional\s+pam_systemd\.so/s/systemd/elogind/;' /etc/pam.d/lightdm-greeter

#144 Re: Off-topic » how to automatically get xinput id of keyboard? [SOLVED] » 2019-09-14 00:58:38

Can you not just do

LANG=C xinput --list --long

Or similar?

#145 Re: Devuan Derivatives » [mini-i2p-mimo] New 'Devuan-based' release: » 2019-09-10 16:58:26

There is a place Pale Moon browser default preferences can go.

/usr/lib/palemoon/browser/defaults/preferences/distro-prefs.js

but that's also for when I built the dpkg... It appears to search for all *.js files in that directory.

You would use contents similar to:

pref("general.warnOnAboutConfig", false);

So for your release, you could make sure you have the right proxy attributes defined in a prefs.js file for that directory. Beware! The proxy settings probably span multiple config entries, especially if you use the checkbox for "Use for all protocols."

And a reference I have commented in my prefs.js: https://support.mozilla.org/en-US/kb/cu … autoconfig

Now, these settings can be overridden by the users, but if they delete their customizations (by removing the entries in their own prefs.js, as opposed to blanking out the values for the entries) it reverts to the distro-defined options here.

#146 Re: Installation » No headphones. Upgrade Ascii > Beowulf » 2019-09-10 16:49:36

Sometimes in GNU/Linux, whenever I unplug/plug in something to the audio I/O ports, I have to adjust the volume in the OS before any audio is then sent. I also own a D630, so I can help test stuff as needed. I run only beowulf/ceres, so is that going to be close enough for you?

#147 Re: Installation » [solved] vpgrp/devuan docker image » 2019-09-06 13:39:56

And another reality check: you did run an apt-get update before trying to install any packages?
What does apt-cache policy get you?

You can go visit that main url from sources.list, and check if the packages exist. However, they are using amprolla just like the main Devuan repos, so they are proxying all the Debian contents that don't need to be customized for our distro.

#148 Re: Installation » [solved] not Cranky anymore: Lenovo 300e » 2019-09-06 13:37:09

Thank you for sharing your experience with Devuan on a laptop/tablet device. I am starting to consider a lightweight computer for non-techy family members, and this model sounds decent.

Can you tell me about your experience with any desktop environments on that platform? I'm interested in xfce.

#149 Re: Installation » [solved] vpgrp/devuan docker image » 2019-09-05 12:21:42

Can you show us the contents of /etc/apt/sources.list and any files underneath /etc/apt/sources.list.d/ ?

#150 Re: Other Issues » [beowulf] Packages being held back. » 2019-08-30 14:12:24

Perusing http://deb.devuan.org/devuan-cd/, it appears that the answer is no. I'm a little surprised, frankly. I can't really keep straight all these silly debian/devuan version numbers. I wish they would just use actual numbers...

Board footer

Forum Software