=== Wayward_Vagabond is now known as StupidLikeAFox === brainwash_ is now known as brainwash === sm0rux_ is now known as Guest63448 === tibyke_ is now known as tibyke === sm0rux_ is now known as Guest39411 [13:46] hi [14:15] hi GridCube . on IRC you can just start speaking/asking questions, no need to wait for someone to say hello [14:17] :) thanks sublevel, i just missed that this is not the -offtopic channel, :P was just saying hi [14:17] hi :) [14:48] Hi guys. How do I set up "Preferred Applications" to use a specific text editor for *.txt files? https://docs.xfce.org/xfce/exo/preferred-applications [14:50] if you right click a .txt in the file manager -> open with other application -> is there a tickbox to set as default? [14:51] Yeah I did that, but sometimes it reverts to another text editor like Mousepad rather than Sublime Text. [14:52] are they being detected as a different filetype in the Type column in the filemanager? [14:52] linux doesn't pay much attention to file extensions, as I understand it [14:53] I don't use Thunar as I replaced it with Caja, so maybe I have to install the Mate preferred applications tool? [14:53] or install it? [14:55] using thunar to set the defaults works for me, so it maybe a caja thing while they are not staying as selected [14:55] maybe [14:56] I moved from Ubuntu MATE to Xubuntu as I prefer the Xfce desktop, but there are certain things I like from MATE like Caja. It may be because I have a bit of a "Frankenbuntu" setup as to why things are not working right. [14:58] I did notice that the MATE Preferred Applications does have more options that the Xubuntu one. This was why I was wondering if I could add custom options to that. [14:58] I used to be the same, I used to prefer gnome files until I started to use Thunar more, and now wouldn't go back [14:58] worth a try [14:59] Yeah I do like Thunar I have no isses with it. I've even written some custom scripts for it, it's just I've used Caja for so long that its part of my workflow. Especially with the "Split view". [15:00] Give the custom options a try and see if that fixes it for you [15:00] uh-oh, now you're tempting me to go frankenbuntu [15:00] I'll have a play with it. At present the only solution I've found is to uninstall any and all other text editors other than the one I specifically wish to use. [15:01] hehe sublevel [15:01] I just went lubuntu 16.04 -> xubuntu 18.04 and am trying not to get too distracted by tweaking everything :) [15:02] The beauty of Linux is that the OS lets you do this stuff. [15:03] true, but it may be worth installing thunar along side caja [15:03] I do still have Thunar installed. [15:03] for me the right click oipen terminaal here is a god send [15:04] try using that to change the default text editor and see it that causes problems [15:04] yeah I have that in Caja too [15:07] In Xubuntu 19.04, evidently F4 (in Thunar) will open a terminal in the current path. (cf. https://wiki.xubuntu.org/releases/19.04/release-notes) [15:10] Unfortunately, the new Thunar keyboard shortcuts do not work for me. Perhaps it is because I upgrade to 19.04 from 18.04? [15:11] ok I solved it. When I export code from the application it makes a file in /tmp so I right clikce don the temp file and set it to use the preferred Text Editor from there. Problem solved, thanks guys. [15:11] clicked [15:30] remline, just checked the F4 option in Thunar is working fine for me.. it maybe a setting thats been brought over during the upgrade thats stopping it [15:32] akxwi-dave_, thanks, that sounds like a useful shortcut! I'll hunt for the proper config file. [15:32] ~/.config/Thunar/accels.scm possibly [16:16] sublevel, thanks, modifying accels.scm worked great. The only trick was I had to look up the unique IDs in uca.xml. [16:17] oh good, what did you end up putting in there? I wonder if it could work on 18.04 as well [16:18] oh you can just pop the id into a /ThunarActions/uca-action- ? [16:20] Hmm, I bet so. Here is what I did: https://paste.ubuntu.com/p/jCGR7dCrhg/ [16:21] I didn't modify uca.xml at all, but note that it defines the two custom uca-actions that I added to accels.scm. [16:26] thanks, ah I see - I have two actions in uca, the one with %d doesn't work but the %f one does [16:26] ...when called from the shortcut key [16:32] sublevel, ah, what does %d represent (vs. %f)? [16:36] the containing directory of the selected file https://www.linux.com/tutorials/extend-xfces-thunar-file-manager-custom-actions/ [16:38] e.g. if I'm in my home directory and downloads is selected, I'd prefer the shortcut to open a terminal in ~ rather than ~/downloads [16:41] sublevel, here are my three cases: If I select nothing, F4 opens the visible directory. If I select a folder, F4 opens in that folder (which I think is part of what you want). If I select a file, F4 does nothing (not so useful...). [16:43] oh of couse, I can just click to deselect everything first - yep that's good [16:44] ...but only if there's some blank space beneath the file list [16:44] Still, that is curious that %d doesn't work. I can't think of why that would be. [16:48] huh, if I change %f to %d in uca.xml it does work, it's the other action that was already %d that is doing nothing. weird. not going to play with it further [16:49] oh it's because the first action is tagged and the second is tagged with various file types [20:54] Hello, I have a question. How can I install 18.04 lts on my laptop with 2 drives? Need raid1 (mdadm) encryption and efi support [20:57] I have tried installing mdadm on the live installer, creating the raid and installing the system with automatic partitioning on the raid but grub was unable to install [21:12] xubuntu9w: you could use the default server installer. but in the end, the easiest approach may be to manually partition, then use debootstrap [21:19] i have a VM setup here which is a software raid-1 with dm-crypt-luks encrypted / (incl. /boot), booting in UEFI mode. so pretty close to what you were looking for. back then, when you hadn't forgotten about this chat you had logged into on browser tab 34. [21:20] Still here, downloading server image and looking for documentation. Thank you for replying [21:23] great, you're an exception to the rule :) [21:27] Nice to hear :) Burning the server iso into an usb key right now. So I'll make a raid of the drives then manually create the partitions right? [21:30] if you'll want the setup i described you won't be able to use the installer. if you don't mind having /boot unencrypted, using the installer may work. [21:33] you'd want partitions esp, boot, raid on both drives (esp and boot only on one), then raid-1 the two raid partitions, then dmcrypt-luks on top of the raid, then LVM on top of that, then the file systems on those LVs on top [21:34] actually you could make /boot a raid, too, but you'll need to do this post installation, i dont think the installer likes that. [21:35] esp must be a simple partition and vfat file system (non raid) or your bios may run into troubles. [21:35] having /boot redundant would be great, so the machine would boot even if one drive breaks [21:35] s/bios/uefi/ [21:36] it wont unless you have a mechanism which manually mirrors esp === Mead- is now known as Mead [21:37] Got it, might make a script for that that keeps efi partition syncd between the disks [21:37] But can't find how to use debootstrap [21:40] debootstrap you'd use from a usb (but uefi) booted live system (such as the desktop installer) after partitioning, after creating the raid and encryption layer and lvm and file systemas and mounting them. but before chrooting, installing kernel image, update-inintramfs, update-grub, grub-install [21:42] it's just a small script for just installing a simple (originally debian but also) ubuntu system. [21:47] So I'll make partitions, raid and configure lvm, make filesystems. After I mount them i run debootstrap? [21:54] xubuntu9w: if you'll use deboostrap rather than the installer, yes, that's right. [21:54] you forgot dmcrypt-luks though [21:54] that's be between raid and lvm probably [21:54] *that'D be [21:59] Ok, I'm going to try that out. Thank you very much! === GridCube_ is now known as GridCube [22:02] you're welcome, good luck.