Matty_r

joined 11 months ago
[–] Matty_r@programming.dev 2 points 2 days ago

Have not touched X11 since the proper Wayland support in the Nvidia drivers and Plasma 6. Its been super solid.

[–] Matty_r@programming.dev 1 points 1 week ago (1 children)

Its an option in Lutris to automatically create a shortcut in your Steam game library for a "Non-Steam game". But yes, I think you're right - that's probably what is happening

[–] Matty_r@programming.dev 1 points 1 week ago (3 children)

It works when I launch through Lutris, but yea - using the Steam shortcut it doesn't work. I'm sure it all used to work on my old system, but not sure if I've tried it since moving to Wayland

[–] Matty_r@programming.dev 1 points 1 week ago

It's definitely something like this - from what I can tell the controller hasn't moved "focus" to the game as I can still hear the Steam Big Picture menu making noise etc.

 

Hi all, I tried creating a Steam shortcut through lutris but my controller isn't detected -I'm trying to play it via Steam Link.

Normal Steam games appear to work fine, and from everything I've seen online it should just work.

[–] Matty_r@programming.dev 0 points 2 weeks ago (1 children)

You've proven my initial comment. The term is misused and then people like yourself come along and perpetuate it's misuse.

Going from mucking around to abuse like there's not a hundred other perspectives and factors at play.

[–] Matty_r@programming.dev 5 points 2 weeks ago (3 children)

You're a fucking idiot

[–] Matty_r@programming.dev 11 points 2 weeks ago (5 children)

I think this one just morphed over time to be misused to excuse poor behavior. I always took as like boys rough housing each other and mucking about or eating dirt etc.

[–] Matty_r@programming.dev 2 points 2 weeks ago (1 children)

I recently started using Nobara and notices that I can't update the system with Discover. Is that by design or do I need to configure it. I noticed it had settings for flatpak and stuff but couldn't see any Nobara/Fedora stuff in there.

I'm sure it was working to update Arch when I had a go if it a while ago.

[–] Matty_r@programming.dev 8 points 3 weeks ago

Oh man, those car beds are sweet though. Silly cats.

[–] Matty_r@programming.dev 20 points 4 weeks ago (3 children)

Oh, that ones easy. The developers for Stalker 2 are in Ukraine.

[–] Matty_r@programming.dev 1 points 1 month ago

For those wanting to know why, its called Two's complement

[–] Matty_r@programming.dev 3 points 1 month ago (1 children)

As a TA veteran, I could never get into Planetary Annihilation. Supreme Commander 1 & 2 were pretty good, got lots of hours in those.

 

Hey all,

Just thought I'd share my kinda unattended installer. I know there are a number of scripts out there, but thought others might be interested in this style of installer.

Boot into the official Arch Linux ISO then download the script.

There is an installation config file where you choose which bundles you want installed, and things like the root drive and username etc.

The install will ask for the root password and your user password and that should be it. The rest of the script will go through and automatically install all your selected packages (plus further config if needed), do the regional stuff for timezones etc

I haven't updated the script in a while and it hasn't been tested by many others so your mileage may vary. But here it is, warts and all.

 

Hey all, not sure how I managed this, but over the years I somehow managed to configure different paths which are listed in kf5-config. The for instance the cache path should be /home/matt/.cache, but kf5-config lists it in /mnt/data/matt/home/.cache. I'm sure this was intentional at one point but now i'm trying to fix up my partitions.

So my question is - how do I change the paths listed in kf5-config to where it should be on the root partition (/home/matt/...)?. I'll move the actual data from where it is onto the root partition, I just need to know how to change that paths are configured in kf5-config.

Cheers

kf5-config paths:

cache:
/mnt/data/matt/home/.cache/
config:
/mnt/data/matt/home/.config/:/mnt/data/matt/home/.config/kdedefaults/:/etc/xdg/
data:
/mnt/data/matt/home/.local/share/:/usr/share/:/usr/local/share/
emoticons:
/mnt/data/matt/home/.local/share/emoticons/:/usr/share/emoticons/
exe:
/usr/lib/libexec/:/usr/bin/
html:
/mnt/data/matt/home/.local/share/doc/HTML/:/usr/share/doc/HTML/

etc.. etc..

Edit: I just wanted to add that these paths are different from what is listed in qtpaths:

$ qtpaths --paths CacheLocation
/home/matt/.cache/<APPNAME>
$ qtpaths --paths ConfigLocation
/home/matt/.config:/home/matt/.config/kdedefaults:/etc/xdg

Solved:

Turns out that it expands symlinked directories.

 

Hey all, I have a Samsung S22 and got an update this morning which has forced on the navigation bar at the bottom of the screen. Disabling the new circle to search didn't make a difference.

I heard it can be disabled through GoodLock but I'm not installing that. Maybe it can be disabled via adb or something?

Cheers

 

Hey all I'm looking for recommendations for a video doorbell that doesn't need an internet connection.

Preferably something that is WiFi and would work with Frigate?

 

Hey all,

I'm going to be moving on to my next project and have been thinking about doing an email client. I like Thunderbird, but the search is terrible, and I also want to tackle something that needs pretty high performance for processing emails etc.

Any suggestions or considerations I should think about?

I'll focus on just getting SMTP going in a CLI then I'll introduce some sort of frontend using Qt.

 

Hey all,

Another update/release of urChat (Java IRC Client). This release had a lot of focus on general usability and backend cleaning up. Performance for updating the styles has been improved and i've also moved some of the major panels into their own classes to make it easier to add more options/panels at a future date. In doing this, there is less effort needed when adding more options as the this is all handled when using addToPanel() method:

For Instance, i've added an option to toggle the tab icons, after creating the new JCheckBox showTabIcons, all that's needed to have it save to the preferences correctly is:

URPanels.addToPanel(this, showTabIcons, null, Placement.DEFAULT, null, Constants.KEY_SHOW_TAB_ICON);

This adds it to the current JPanel (In this case the InterfacePanel), places it after the previous Component and then associates that with the KEY_SHOW_TAB_ICON Preference key. Much easier than before.

Support for HTTP proxies has also been added, so we've now got both SOCKS and HTTP proxies as an option. There is now better disconnection handling, it will automatically reconnect if it disconnects unexpectedly (after some time), and it will also rejoin all of the previously connected channels.

I've also added in LOG4J2 for logging. At the moment there is a log4j2.xml config file included in the release JAR, but eventually i'll allow custom config files. I'm not 100% sure how I feel about it yet as it increased my release JAR file size from 247 KB to 2.47 MB which is quite a significant jump.

Anyway, thanks everybody for your support and interest. Feel free to join the #urchat channel at irc.libera.chat to discuss improvements etc. :) Onwards and upwards to version 0.7.0!

GitHub Link

1
submitted 8 months ago* (last edited 3 months ago) by Matty_r@programming.dev to c/opnsense@lemmy.world
 

Hey all, I've been trying to figure out why enabling IPS kills my network. I have some services I host and would like to get some sort of IPS running. I used to have Snort running through pfSense and didn't experience issues like this.

Edit: as an update to this, I resolved it by installing the realtek plugin.

 

Hey all, recent convert from pfSense. I'm trying to make sure only the DNS servers I've defined are being used for lookups? I'm using Unbound and noticing a lot of traffic on port 53 to destinations other than the ones I've put in.

 

Version 0.5.1 of my IRC Client has been released. This time around it was mostly focussed around bug fixes largely to do with updating the styles. But I also added a couple of features. This was a shorter release from 0.4.0 as the changes weren't as significant.

Profile Handling

I wanted a way to easily manage profiles, especially during development. With this release i've added a Profiles page, which allows you to Create new profiles, clone an existing profile, rename, and delete profiles. You can also set a profile as the default to be used when loading the app.

A majority of the effort went into keeping the Profile Picker (the combobox that changes the active profile) and the profiles page in sync which was done using listeners. New listeners were created for DELETE,CREATE, and CHANGE events as other components needed to add their own listeners to the queue to make sure they were also kept in sync, but also to update styles etc when the profile changes.


public static void fireListeners (EventType eventType)
{
    if(!listenerLists.containsKey(eventType))
        listenerLists.put(eventType, new EventListenerList());

    Object[] listeners = listenerLists.get(eventType).getListenerList();

    // Reverse order
    for (int i = listeners.length - 2; i >= 0; i -= 2)
    {
        if (listeners[i] == ActionListener.class)
        {
            if (actionEvent == null)
            {
                actionEvent = new ActionEvent(listeners, i, null);
            }

            ((ActionListener) listeners[i + 1]).actionPerformed(actionEvent);
        }
    }
}

All of this profile work was also used to centralise the loading and saving of profile information through the URProfileUtil helper class. This should hopefully help down the track.

Profiles Page

Custom Nick Format

This was similarly difficult to when I implemented the custom Date formatting. At least this time around I had an idea of how it might be implemented. However the difference was that I couldn't treat the resultant String as a whole, for example setting the Date format to [HHmm] i'd just return [0652] then insert that into the document, I had to contend with nick styles as well.

In the end I settled with splitting whatever was placed into the Nick format field into three parts (Prefix, nick, Suffix). If you want something just on the right side of the nick, you put nick in the Nick format field, then whatever you want next to that. When placing the nick in the document, I set the attributes according to which part and then use this when updating the styles etc.

Custom Nick format

view more: next ›