The officially official Devuan Forum!

You are not logged in.

#1 Re: ARM Builds » Installer images for armel, armhf and ppc64 need testing » 2023-03-17 10:35:13

The https://arm-files.devuan.org link seems to be taking me to the regular non-ARM downloads now. It was working a week or two ago.

#2 Re: Desktop and Multimedia » [SOLVED] Atril print preview does not work » 2022-12-15 00:17:11

I still use Atril, it's just that the print preview now opens, and it opens in evince, and before installing evince Atril was complaining (in the stdout) that evince was not found.

Could it be that print previews are for example in postscript and for some reason postscript is associated with evince even when evince is not installed? But I don't see how this could be the case. Where are file associations stored in XFCE? I think the suggested ones come from .desktop files but where is the currently active association stored? The one that xdg-open would use to open the file (if xdg-open is even used by XFCE).

#3 Re: Desktop and Multimedia » [SOLVED] Atril print preview does not work » 2022-12-13 17:22:22

I suppose evince should be marked as an suggested dependency on Atril and that would solve the issue, correct? But in terms of this thread, is there anything more to do to resolve it?

You error seems somewhat different. I also got the avahi errors since I've removed avahi but I got a message clearly saying evince was not found, which I don't see in your log.

#4 Desktop and Multimedia » [SOLVED] Atril print preview does not work » 2022-12-12 14:57:57

Tritonio
Replies: 8

What the title says. Version 1.24.0 on Chimaera. Print preview in Atril shows a progress bar quickly and then nothing, it just goes back to showing the document as is. You can fix this by installing evince. I thought I'd post in case anyone encounters this in the future.

#5 Re: Other Issues » [SOLVED] Locate cannot search for files with brackets? » 2022-11-03 13:31:17

I did it with Lua. I use this script in my custom Thunar action called "Locate elsewhere" and it works perfectly now

#!/usr/bin/lua
print("Other files with the same filename:")
for _,argument in ipairs(arg) do
        argument=string.gsub(argument,"%[","\\[")
        print('locate -b "'..argument..'"')
        os.execute('locate -b "'..argument..'"')
end
print("Done.")
io.read()

#6 Re: Other Issues » [SOLVED] Locate cannot search for files with brackets? » 2022-11-03 12:56:07

Thank you aluma! That's the solution to my problem. I'll need to find a way to do it programmaticaly with bash though since I'm just passing filenames to this bash script that internally calls locate with them.

andyp67 indeed find is much more predictable with the exception of the -exec argument which took me some time to get used to.

#7 Re: Other Issues » I think installed apt is sandboxed. » 2022-10-27 09:03:18

unwell wrote:
W: Download is performed unsandboxed as root as file '/root/.synaptic/tmp//tmp_sh' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

I've been randomly getting exactly the same message inside the console log in synaptic when installing packages. I don't know when it happens or when it doesn't. I'm starting synaptic from the usual launcher in the menu. When it's shows up in the expanded console then it will also throw this actual error dialog after closing the installation dialog:

fK5bHst.png

I'm using XFCE on Chimaera.

#8 Other Issues » [SOLVED] Locate cannot search for files with brackets? » 2022-10-14 22:27:46

Tritonio
Replies: 5

This is driving me crazy. I am making a bash script that is given one or more files and will search with location for other locations that the same filename shows up. So I need to make this work given the whole filename. I intend to use this script as a custom Thunar action and it actually works fine for files that don't have square brackets in their name. But I have a file named:

5481[2].jpg (image).html

I want to use locate to search in what other locations it exists. Specifically

locate -b "(image).html"

will show the file, so the file is in my mlocate db. But trying to search with

locate -b "5481[2].jpg (image).html" 

returns zero results!

Even leaving the bash script aside for a while and simply opening a terminal and typing "locate" then the start of the filename and tab completing it, which escapes the filename with backslashes, still returns zero results while it works for any other file without square brackets.

What gives? What's so special about these square brackets that locate refuses to use them in a search expression? The same issue applies to all my files with square brackets in their filenames.

My only other option would be to find a way to turn a filename into a regex and then user the regex mode of locate. Is there a command that I can filter a filename through to turn it into a proper regex?

Thank you.

#9 Re: Desktop and Multimedia » Accessing fora on the web » 2022-09-19 19:40:16

Maybe try changing your user agent for all domains instead, confirm it actually changed with some site that shows you your user agent string, and then retry on discourse.

If it's still not working it's possible that they are testing for some JS feature support and not the agent string.

#10 Desktop and Multimedia » Mousepad does not open files over gvfs » 2022-09-11 16:36:32

Tritonio
Replies: 0

I'm assuming gvfs is what Thunar uses when I go to a url like sftp://user@123.123.123.123/some/path. Thunar seems able to browse sftp locations with gvfs, gvfs-backends, gvfs-common, gvfs-daemons and gvfs-libs installed but double clicking files to open with Mousepad will simply open an empty document called Untitled 1 as if I just opened the application without any arguments. Trying to open files with Mousepad from the terminal like so:

mousepad "sftp://user@123.123.123.123/some/path/filename.txt"

will give:

Invalid URI: "sftp://user@123.123.123.123/some/path/filename.txt"

I saw somewhere else on the internet that I should install gvfs-fuse as well but it didn't seem to make any difference.

Any ideas please? :-/

#11 Re: Installation » [SOLVED] Anacron symlinked to "true", again. » 2022-09-08 23:04:58

Oh right, my bad. Thanks! I wrote the image to my rescue USB already. BTW the torrent doesn't seem to have 4.0.1. Although there's a 4.1 (pool1) version which I don't know what it is. :-) But I'm getting off-topic.

I haven't tested the new installer yet, should I mark the topic SOLVED or wait for whenever I test it?

EDIT: I'll just mark it as SOLVED since we have workaround that I know work anyhow.

#12 Re: Installation » [SOLVED] Anacron symlinked to "true", again. » 2022-09-08 19:26:01

fsmithred wrote:

New live isos with new repo key and new refractainstaller with anacron fix are uploaded.

Thanks! But FYI you have one more expired key to renew. ;-D

gpg: assuming signed data in 'SHA256SUMS.txt'
gpg: Signature made Wed Sep  7 18:11:12 2022 CEST
gpg:                using RSA key 67F5013216271E85C251E480A73823D3094C5620
gpg: Good signature from "fsmithred (aka fsr) <fsmithred@gmail.com>" [expired]
gpg: Note: This key has expired!

#13 Re: Installation » [SOLVED] Anacron symlinked to "true", again. » 2022-09-04 22:22:53

Now that the repo key needs fixing in the ISOs, maybe it's worth including a fix for this in the new Live ISOs. :-)

#14 Re: Desktop and Multimedia » The abstract and network socket for X » 2022-08-30 19:58:54

Thanks for the answers! I already switched to startx and yeap like you said X's running under my user account now.

Is that a joke? IMO Wayland is simpler than X.

:-D I haven't checked Wayland, it may be way simpler! I'm just saying that X doesn't seem hard to wrap my head around.

I'll check it out soon! Worst case I break my desktop env and I use timeshift to rollback. :-)

#15 Re: Desktop and Multimedia » The abstract and network socket for X » 2022-08-30 18:30:50

Thank you for the info about slim and Wayland.

When you say "hand over to the normal user" what do you mean? Who is the normal user? Do you mean that GDM somehow start a new X under the user that just logged in? (I'm assuming the X for the login screen of GDB runs as root, right?)

I can do startx after logging in on a console, that's fine by me. Do I gain something by having a graphical login screen? (I'm also curious, does startx do the cookie generation (.Xauthority) when it's run?

I need to research Wayland. I've known it by name and that it's a replacement for X but I know nothing beyond that. X seems like a relatively simple program to understand how it works in terms of who can do what, notwithstanding my ignorance on where the socket even is in the first post above. If I understand it correctly, If X is started (by slim in my case) and given the cookie of a user, no other user will be able to connect to that X anyhow. So what  extra does Wayland offer? Is the benefits of Wayland usable only when I have multiple graphical users logged into one X at the same time? And I guess with slim I can't have multiple graphically logged in users.

I've always wanted to try a tiling manager but I don't know if it will be worth it on a laptop screen. I'll check sway out. I was thinking of trying ratpoison at some point too.

#16 Re: Documentation » [HowTo] Install latest youtube-dl on DEVUAN 4 » 2022-08-29 15:25:58

I used youtube-dl just fine yesterday. In general it needs me to keep a tab open with the video otherwise google eventually figures out I'm downloading it and cuts me off. Although this only affects downloading playlists, if it's a single video it never cuts in the middle.

alexkemp when I try the command you run to update youtube-dl I get:

youtube-dl: error: youtube-dl's self-update mechanism is disabled on Debian.

Did you get your version from elsewhere?

#17 Desktop and Multimedia » The abstract and network socket for X » 2022-08-29 15:20:57

Tritonio
Replies: 4

I've been disabling them for years with and I don't think I've encountered a problem. I'm disabling them assuming that by doing so, unless another user can open the Unix socket they won't be able to interact with my X to steal keystrokes etc.

Here's what I have right now:

/etc$ grep -R nolisten 2>/dev/null 
slim.conf:xserver_arguments   -nolisten tcp -nolisten local
X11/xinit/xserverrc:exec /usr/bin/X -nolisten tcp -nolisten local "$@"

But why are these sockets enabled by default? Are my assumptions wrong? I think I've read that the abstract socket is used by Snap but is that all? Am I actually hardening my system when I disable them?

EDIT: I did a bit more research and I realized that the X unix socket is /tmp/.X11-unix/X0 which is world writable. I'm trying to figure out how to change this, I don't have other users that need X so I think it'll be ok to limit it to just my user (and root).

EDIT2: I now saw how the MIT-cookies work but I'm still trying ot figure out the exact lifecycle of X. How does slim show up in my screen if I still haven't logged in but I then end up having the cookie to connect to X? In any case my initial question still stands, why keep the abstract and network socket around?

#18 Hardware & System Configuration » [SOLVED] Dell Vostro 3525 backlight does not work » 2022-08-26 09:18:18

Tritonio
Replies: 1

Hello. I already solved this issue but it took me too long so I thought I'd document the solution here if anyone else has the same problem.

Hardware: https://ubuntu.com/certified/202111-29708/20.04%20LTS
Renoir graphics with Ryzen 5 5625U.

Symptoms:

  • /sys/class/backlight/acpi_video0/brightness exists and contains values and can be changed but will not change the actual brightness on the laptop panel.

  • Whenever a value is written to the above file, the Display Settings pop up. Yes, the actual xfce4-display-settings program is started. I'm assuming that it detects a display change. It even pops up if you use the Fn buttons to change the brightness if you have given control of the brightness to xfce4-power-manager (which you should).

  • The Fn keys will emit "dell_wmi: Invalid length of WMI event" but this is a red herring, ignore this sort of warning.

  • Your laptop's panel will only go up to 70Hz or 77Hz.

I tried many of the solutions that float around the web and only a combination of two of them plus something that I found myself in synaptic worked. Specifically:

(As root)

  • Enable backports and install the kernel 5.18.0-0.bpo.1-amd64 (headers and image)

  • Edit /etc/default/grub and change the CMDLINE to: GRUB_CMDLINE_LINUX_DEFAULT="quiet amdgpu.backlight=0"

  • Run update-grub.

  • Install firmware-amd-graphics

Reboot and acpi_video0 will go away and instead you'll have amdgpu_bl0 which actually works with Fn keys and by writting values to the /sys/class/backlight/amdgpu_bl0/brightness file. You'll also have 120Hz refresh rate.

I had tried individually the three important components of the solution and they didn't seem to work.

The only other issue that I encountered with this laptop was that the external mic doesn't work with ALSA at all, and the internal mic works but has no volume control. Pulseaudio somehow makes them work, which makes me think that there is a way to make them work with ALSA too, since PA uses ALSA if I am not mistaken. I may try to solve that in the future since I dislike PAs overhead (CPU and latency).

I hope this helps someone.

#19 Re: Installation » [SOLVED] Anacron symlinked to "true", again. » 2022-07-08 16:11:09

Good news. Will there be an new Live ISO that fixes the installer?

#20 Re: Installation » [SOLVED] Anacron symlinked to "true", again. » 2022-06-25 13:49:31

Is it possible to roll out a fix for all users that are affected by this? Most people won't even know that they have a completely broken  anacron setup.

Try:

ls /etc/cron.daily

For a list of things that don't run because of this. NTP and apt related tasks are probably bad not to be running.

#21 Installation » [SOLVED] Anacron symlinked to "true", again. » 2022-06-24 11:53:41

Tritonio
Replies: 31

I had encountered this issue in the past and I thought it was because I did something hacky during the upgrade from the previous Devuan version. But now the same thing happened in a fresh and quite standard installation of Devuan.

I am using the graphical installer (refracta?) without EFI and the only non standard settings are that I create a separate boot partition and I encrypt the root filesystem. Everything else I think is defaults or they are language and locale related settings.

After the end of the installation, anacron is symlinked to "true" which causes, for example, the log rolling of syslog etc not to work. There's basically nothing being run by anacron but because anacron technically exists, Cron is not used a fallback either, so many scheduled things just don't run at all. Crontab entries will still run though.

Last time I had this issue I had copy-pasted a bunch of pages from this forum into a pastebin for future reference by me, here: https://pastebin.com/iGZVJShW The solution is near the end and involves removing dpkg diversions and also uninstalling live* packages.

It looks like this is a very old bug in the Refracta installer which is somehow still around? Or am I doing something wrong? If this is such a common bug I think it should be something that must be affecting many, maybe even most Devuan users without them even knowing about it.

#22 Re: Desktop and Multimedia » [SOLVED] Broken pkexec in Chimaera » 2022-01-13 14:00:12

Have I tried turning it off and on again? No I haven't. And I just did. And it works now.

I restarted because I thought the problem was that I was running my Xsession's dbus under a different group (with "sg") and indeed when I reverted to the original and restarted, it worked! But then I put it back to the different group and it still works. So I guess it simply needed a restart?? Alright... Maybe there was some polkit daemon that had died then.

Thank you all for the help! Once I verify it's working I'll mark it as SOLVED.

#23 Re: Desktop and Multimedia » [SOLVED] Broken pkexec in Chimaera » 2022-01-13 12:06:30

Both are already installed. Maybe I need to run something? I don't see executables in these packages' installed files though.

#24 Desktop and Multimedia » [SOLVED] Broken pkexec in Chimaera » 2022-01-13 10:42:55

Tritonio
Replies: 8

After upgrading from Beowulf, all apps like synaptic, gparted and timeshift fail to launch from the whisker menu in XFCE. After some research I saw that all of them are probably using pkexec to launch which in turn is supposed to use polkit to show the password dialog for elevating privileges.

Which package is supposed to be the polkit agent for XFCE? Arch says it's xfce-polkit but that doesn't exist in the repos. I seem to have installed pokit-kde-agent-1, mate-polkit and mate-polkit-common but not mate-polkit-bin, and I see that I could install lxpolkit too. But since i'm running XFCE I don't think I should be using these.

Thank you.

Board footer

Forum Software