=== TheCaptain898094 is now known as TheCaptain89809 === patrick_ is now known as patrick === ubuntu_4321 is now known as ubuntu4321 [18:40] is there a way to change, globally, the pastebin URI for pastebinit? [18:53] PeGaSuS, the pastebinit man page says the XDG config directories are searched for configuration files, that would include /etc/xdg on ubuntu. Haven't tried myself. [18:57] right. but I don't see any config file for pastebinit and I need to set it globably. [19:05] PeGaSuS, so I'd create /etc/xdg/pastebinit.xml from the example in the man page and edit it to suit. Actually looking at the code, it looks like it looks in a gazillon places as well as XDG_CONFIG_DIRS, like /etc/pastebin.d/.conf but it looks like it wants ConfigParser syntax not xml, so I guess the man page is out of date [19:24] PeGaSuS, continuing to read the source, it looks like there are two levels of config, one in conf-file format that defines the various pastebin sites supported (see /usr/share/pastebin.d) and the xml config file that selects the one to be used. [19:27] PeGaSuS, the xml file is looked for in ~/.pastebinit.xml but also as pastebinit.xml in XDG_CONFIG_DIRS, /etc/ and /usr/local/etc. So you should put it in /etc/pastebinit.xml [19:29] rfm: you're a lifesaver! thanks a ton \o/ [19:31] !cookie [19:31] Wow! You're such a great helper, you deserve a cookie! [20:23] hmm.. I've tried to add " http://dpaste.com " to /etc/pastebinit.xml but it's still using paste.ubuntu.com [20:38] okay. I just changed the default pastebin directly on /usr/bin/pastebinit [20:38] for now it should be okay like this [21:10] PeGaSuS, just dpaste.com. It's not the url, it's just a pointer to the conf file in /usr/share/pastebin.d [21:11] oh.. [21:12] the example XML from the manpages shows a full URL, though [21:13] hmm. it doesn't seem to work, either. [21:15] PeGaSuS, what version of pastebinit do you have? I have 1.6.2 (from ubuntu 24.04). (It has dpaste as default, too.) [21:17] I have 1.5.1, Ubuntu 20.04 [21:17] I know I need to upgrade, but meh.. [21:17] feeling lazy [21:28] what better time is there for such work than during the holidays (assuming you have any) [22:01] it's planned for after the new year [22:01] so many stuff on this server... [22:03] using VMs and containers helped me a lot to make that a lot easier [22:15] my main issue are third party repositories. I hate having to update them all again [22:15] altough I have only like 4 or 5