Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Recent posts

#91
Sparky Linux kernel / Re: Suspension issue on Sparky...
Last post by Henry1 - October 24, 2023, 06:12:32 PM
The thing is till 2 days ago I could disable the screensaver and get the notebook suspended using the power management then suddenly some update must have changed something and now it is not possible to get the laptop in standby mode if you do not set the same minutes in the screensaver panel...I had posted another question last Friday on Ungoogled Chromium not being updated to the the latest version even updating packages, any news?

Thank you for your help as usual Pavroo.
#92
Sparky applications / AdGuard Home DNS with SparkyLi...
Last post by budking - October 24, 2023, 04:00:23 PM
My AdGuardHome Guide:

-> Download AdGuardHome  AdGuardHome_linux_arm64.tar.gz
(https://github.com/AdguardTeam/AdGuardHome/releases)

-> Move folder to /opt
Open terminal in unzipped folder.
sudo mv ./AdGuardHome /opt

-> Install AdGuardHome:
 -> sudo /opt/AdGuardHome/AdGuardHome -s install

-> Create the /etc/systemd/resolved.conf.d directory, if necessary:
       sudo mkdir -p /etc/systemd/resolved.conf.d
Deactivate DNSStubListener and update DNS server address. To do that, create a new file, /etc/systemd/resolved.conf.d/adguardhome.conf, with the following content: sudo nano /etc/systemd/resolved.conf.d/adguardhome.conf
[Resolve]
DNS=127.0.0.1-
DNSStubListener=no
    • Specifying 127.0.0.1 as DNS server address is necessary because otherwise the nameserver will be 127.0.0.53 which doesn't work without DNSStubListener.
    • Activate another resolv.conf file:
sudo mv /etc/resolv.conf /etc/resolv.conf.backup
sudo ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf

-> Restart SparkyLinux

-> Open 127.0.0.0 in browser and start quick installation.
http://127.0.0.0/
http://127.0.0.1/
http://127.0.0.1:3000

#Done

Settings for example:
Upstream-DNS-Server: https://family.adguard-dns.com/dns-query
Fallback-DNS-Server: tls://family.adguard-dns.com
Bootstrap-DNS-Server: 94.140.14.15 94.140.15.16
Private inverse DNS-Server: 192.168.1.1
(Info: adguard-dns.io/de/public-dns.html)

#Set all option enable if you want (General Settings & DNS Settings | Encryption Settings not necessary)

#Now you can creating DNS-Rules for blocking.

Browser Mullvad or Firefox:
DNS over HTTPS: Maximum protection -> https://xxxxxxxx.d.adguard-dns.com/dns-query (Get your private link from adguard-dns.io account)

If you want to delete:
sudo rm /etc/systemd/system/AdGuardHome.service
sudo rm -r /opt/AdGuardHome/
#93
Sparky Linux kernel / Re: Suspension issue on Sparky...
Last post by pavroo - October 24, 2023, 03:57:26 PM
Can't help with that, suspend never worked on Debian well for me, sorry.
I use hibernate instead.
#94
Sparky applications / Re: Ungoogled Chromium
Last post by Henry1 - October 24, 2023, 03:17:24 PM
Hi Pavroo,

Is there a problem with the Forum as since Friday I haven't got any answer to the question of not updating Ungloogled Chromium to the newer version and the problem with the suspension on Sparkylinux 7.1 I posted yesterday. Thank you in advance for your help.

Henry
#95
Sparky Linux kernel / Suspension issue on Sparkylinu...
Last post by Henry1 - October 23, 2023, 10:47:27 AM
Good morning,

I have an issue with Sparkylinux 7.1 on my laptop that is not able to suspend, even on "live mode" if screensaver is disabled or uninstalled when before the stand by mode was working even with screensaver disabled setting the time of suspension through the power management. I have tried the way listed below but didn't work, I read few other posts on internet having this problem with Debian Bookworm while I never experienced this issue until today, thank you in advance for the help.

Henry

systemctl status sleep.target
sleep.target - Sleep
     Loaded: loaded (/lib/systemd/system/sleep.target; static)
     Active: inactive (dead)
       Docs: man:systemd.special(7)
        Hp-650:~$ systemctl enable suspend.target 
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
 
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.

sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Created symlink /etc/systemd/system/sleep.target → /dev/null.
Created symlink /etc/systemd/system/suspend.target → /dev/null.
Created symlink /etc/systemd/system/hibernate.target → /dev/null.
Created symlink /etc/systemd/system/hybrid-sleep.target → /dev/null.

systemctl status sleep.target
sleep.target
     Loaded: masked (Reason: Unit sleep.target is masked.)
     Active: inactive (dead)

sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
Removed "/etc/systemd/system/sleep.target".
Removed "/etc/systemd/system/suspend.target".
Removed "/etc/systemd/system/hibernate.target".
Removed "/etc/systemd/system/hybrid-sleep.target".
#96
0ther / Re: The "Looney Tunables" expl...
Last post by jidan - October 22, 2023, 08:17:37 PM
Pavroo solved the issue by releasing updated isos of the distro, all new installed Sparkies will be fixed.
Thanx again Pavroo ;)
#97
Applications / How to add custom category to ...
Last post by wigwami - October 20, 2023, 11:38:11 PM
I'm trying to create a custom category to appear in my jgmenu, called File.  I'm talking about a top-level category, not a custom sub menu that appear beneath one of the standard FreeDesktop-defined categories. And I don't want to manually add this category to jgmenu's prepend or append .csv files.

I'm running Sparky with Openbox only so I don't have access to menu editing tools found in Gnome, XFCE, etc. Here's what I've done so far

First, I created a new file.directory file in /usr/share/desktop-directories/.  Here's the content:
[Desktop Entry]
Type=Directory
Encoding=UTF-8
Name=File
Icon=org.xfce.thunar

Second, I created a new XML file called file.menu in /etc/xdg/menus/applications-merged. Here's the content:

<!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
 "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
<Menu>
  <Name>Applications</Name>
  <Menu>
    <Name>File</Name>
    <Directory>file.directory</Directory>
    <Include>
        <Category>File</Category>
    </Include>
  </Menu>
</Menu>

Lastly, I created a new .desktop file called thunar-bulk-rename.desktop in ~/.local/share/applications/.  Here's the content:

[Desktop Entry]
Name=Bulk Rename
Comment=Rename Multiple Files
GenericName=Bulk Rename
Keywords=bulk;renamer;renaming;thunar;files;folders;directory;directories;
Exec=thunar --bulk-rename %F
Icon=org.xfce.thunar
Terminal=false
StartupNotify=true
Type=Application
Categories=Filesystem;Utility;Core;GTK;X-File;

As configured above, the Thunar Bulk Renamer program doesn't move from its original location in the jgmenu Accessories category.  I was told that in the .desktop file, the new category should have X- as a prefix; whether I keep or remove that prefix makes no difference. I also tried removing the other categories from the .desktop file and leaving only X-File (or File). The program appears under a new (yay) category called Other (boo). 

I assume that in both cases, the menu simply doesn't recognize my new, custom category and is defaulting back to either one of the other standard categories or creating the Other category when it doesn't know what else to do.

I must be making an error in either the .directory file or the .menu file but I have no idea what.  Any ideas are welcome, and thanks!
#98
Sparky applications / Ungoogled Chromium
Last post by Henry1 - October 20, 2023, 06:08:18 PM
Hi Pavroo,


Ungoogled Chroomium hasn't been updated in both versions of Sparkylinux stable and semi-rolling to the version 118.0.5993.70-1 (yesterday was released the version 118.0.5993.88-1 for all platforms); even updating packages the version remains the one of 2-3 weeks ago 117.0.5938.92-1.

Thank you in advance for your help.

Henry
#99
System upgrading / Re: virtualbox not working aft...
Last post by pavroo - October 18, 2023, 08:58:12 PM
vbox 7.0.12 fixed that.
#100
General discussion / Re: Debian Sid based Sparky?
Last post by ioniqflish8827 - October 18, 2023, 07:43:55 AM
For ever-ones feature reference you can follow this SparkyLinux-Testing.

Thanks
flipper88

View the most recent posts on the forum