• 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: June 20th, 2023

help-circle




  • Sorry for not replying sooner, life stuff.

    I’ve had problems with the 555 driver like KDE’s lock screen would freeze for up to 30 seconds whilst trying to unlock and resuming from suspend resulted in a black screen.

    So I went back to the 550 driver - I’ve uploaded the RPMs/SRPMs that I use; https://misc.lapwing.org/rpms/nvidia-550/

    Please note this is just a dump of RPMs/SRPMs and not a repo, so it’s just a stop gap until 560 arrives and (hopefully) fixes my issues.

    You will probably have to fight dnf a bit to get it to actually replace the 555 RPMs, but I’ve not had a recurrence and the akmod dance works just as jankily well as before.




  • Sam Black@lemm.eetoLinux@lemmy.mlGnome extension on KDE?
    link
    fedilink
    English
    arrow-up
    6
    ·
    5 months ago

    The GNOME extension appears to get the currently focused window information (ie name, title, PID and executable name) and make this information available over DBUS for the client binary.

    The client binary calls gnome-screenshot -f and I assume gives a path that the client binary then sends to Hubstaff servers.

    A janky suggestion would be to create a Kwin Script that pulls the active window information, sends it (somehow) to a DBUS service that can provide it to the client binary and create a wrapper script around spectacle to pretend to be gnome-screenshot (eg spectacle -b -f $@)

    I don’t know if this would work fully though as the client binary strings seem to hint it checks the running version of GNOME Shell, and without an account I can’t see if this is a hard requirement or a “Hey, this is broken, we’ll try our best!” type thing.



  • You can start it with systemctl start podman-auto-update.service It’ll auto update daily at 00:00.

    Be aware you need to enable and start podman-auto-update.timer for this to work automatically (ie systemctl enable --now podman-auto-update.timer), this command will just update the images once only.

    I don’t think this works for non-system podman images, so you’d have to do systemctl --user enable --now podman-auto-update.timer for each user.





  • Sorry, I was thinking file browser mounts would appear in mount, but they don’t.

    You should be able to list file browser mounts in a terminal using gio mount -li after mounting via the file browser, and it will list the SMB mount it’s using, ie smb://SERVER/$share/

    This annoyingly doesn’t give us the username or domain for the SMB share, and to get that if the server and share looks OK we have to run gvfs (what the file browser for PopOS uses in the background) in debug mode and re-mount the SMB share; in a terminal run pkill gvfs; pkill nautilus; LANG=C GVFS_DEBUG=1 $(find /usr/lib* -name gvfsd 2>/dev/null) --replace 2>&1 ; this will unmount anything in the file browser but will show what username and domain the file browser is using to access the SMB share, for example after clicking on a share in the file browser, among other logs, I get;

    smb: do_mount - URI = smb://absolution.local/samshared
    smb: do_mount - try #0 
    smb: auth_callback - kerberos pass
    smb: auth_callback - out: last_user = 'samblack', last_domain = 'SAMBA'
    smb: do_mount - [smb://absolution.local/samshared; 0] res = -1, cancelled = 0, errno = [22] 'Invalid argument' 
    smb: do_mount - enabling NTLMSSP fallback
    smb: do_mount - try #1 
    smb: auth_callback - ccache pass
    smb: auth_callback - out: last_user = 'samblack', last_domain = 'SAMBA'
    smb: do_mount - [smb://absolution.local/samshared; 1] res = -1, cancelled = 0, errno = [22] 'Invalid argument' 
    smb: do_mount - try #2 
    smb: auth_callback - normal pass
    smb: auth_callback - reusing keyring credentials: user = 'samblack', domain = 'ABSOLUTION'
    smb: auth_callback - out: last_user = 'samblack', last_domain = 'ABSOLUTION'
    smb: do_mount - [smb://absolution.local/samshared; 2] res = 0, cancelled = 0, errno = [0] 'Success' 
    smb: do_mount - login successful
    smb: send_reply(0x55ea6ffe5450), failed=0 ()
    

    This should give the username and domain that connects and can be used in the credential file.

    Once this is done, you can exit the terminal with gvfs running and you should be able to close and re-open the file browser and the mounts should just re-appear normally.

    Hopefully this will give enough information as to why the file browser mount works and the mount command doesn’t.