Firefox and VM

2023-11-29 Thread Steve B via PLUG-discuss
I've been using Apparmor and Firejail to secure Firefox for the past few
years. However, for sometime now I'm finding that Firefox profiles for one
or the other do not appear to be maintained. Consequently I'm looking to
move my use of Firefox to a VM.

My dilemma is what OS to use for the VM. Alpine or Damn Small were my first
considerations. Small footprint, just the essentials and then add Firefox.

Is anyone here doing something similar? Looking for suggestions as to which
OS to use.

Steve
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


PXE boot server

2023-07-27 Thread Steve B via PLUG-discuss
Recently acquired a HP 800 mini that I have setup and am using as a PXE
boot server. At present I have Clonezilla and Parted Magic being served
out. What other tools are others using that might be useful for a SOHO
environment?

I'm planning to shutdown my Raspberry Pi and move AdGuard over as well as
installing Docker to run TrueCommand.

These are the tools I use the most, and since the HP opens other
possibilities thought I'd ask around for ideas.

Steve
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


PXE and PartedMagic

2023-04-09 Thread Steve B via PLUG-discuss
Trying to setup a PXE server in order to have some of my tools such as
CloneZilla and PartedMagic available rather than use a flash drive.
Client machine boots PXE and I am getting the PXE boot menu, but cannot get
PartedMagic to boot.

dnsmasq.conf looks like this:
port=0
interface=eth0
dhcp-range=192.168.1.0,proxy
enable-tftp
tftp-root=/mnt/data/netboot/boot
pxe-service=x86-64_EFI,"PXELINUX (EFI)",efi64/syslinux.efi
log-queries
log-facility=/var/log/dnsmasq.log

Parted Magic resides in tftp-root=/mnt/data/netboot/boot/pmagic

PXELinux default file is current configured as:
LABEL pmagic64
DEFAULT vesamenu.c32
MENU TITLE PXE Boot Menu
MENU LABEL Parted Magic 2019
LINUX pmagic/bzImage64
INITRD
pmagic/initrd.img,pmagic/fu.img,pmagic/m64.img,pmagic/files.cgz
APPEND edd=on vga=normal

Last entries from the log say:
pr  9 20:25:09 dnsmasq-tftp[12644]: sent
/mnt/data/netboot/efi64/pxelinux.cfg/default to 192.168.1.245
Apr  9 20:25:09 dnsmasq-tftp[12644]: sent
/mnt/data/netboot/efi64/vesamenu.c32 to 192.168.1.245
Apr  9 20:25:09 dnsmasq-tftp[12644]: sent
/mnt/data/netboot/efi64/libcom32.c32 to 192.168.1.245
Apr  9 20:25:09 dnsmasq-tftp[12644]: sent
/mnt/data/netboot/efi64/libutil.c32 to 192.168.1.245
Apr  9 20:25:09 dnsmasq-tftp[12644]: sent
/mnt/data/netboot/efi64/pxelinux.cfg/default to 192.168.1.245
Apr  9 20:25:11 dnsmasq-tftp[12644]: file
/mnt/data/netboot/efi64/pmagic/bzImage64 not found
Apr  9 20:25:23 dnsmasq-tftp[12644]: file
/mnt/data/netboot/efi64/pmagic/bzImage64 not found
Apr  9 20:25:24 dnsmasq-tftp[12644]: file
/mnt/data/netboot/efi64/pmagic/bzImage64 not found
Apr  9 20:25:24 dnsmasq-tftp[12644]: file
/mnt/data/netboot/efi64/pmagic/bzImage64 not found

I'm not understanding why the bzImage file is being looked for in
/mnt/data/netboot/efi64 and not /mnt/data/netboot/boot. Can anyone with PXE
knowledge five me some assistance?
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Docker

2023-04-03 Thread Steve B via PLUG-discuss
I"m looking to dip my toes into Docker for use on my home network. Reading
up on what to consider for running atop the bare metal it seems like two of
the most mentioned have been discontinued - CoreOS and RancherOS, and
Atomic supposedly is not quite ready for production. At least according to
some articles.

What are others using to host their Docker containers on their home
networks?

Steve
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Re: Anyone use Google Fi ??

2022-11-17 Thread Steve B via PLUG-discuss
I've been using it for a few years now and have been very happy with it.
Spam filtering on phone calls and text messages is superior to the VZW /
iPhone I carry for work. Monthly plan is similar to any other provider,
maybe even a bit less.

Steve

On Thu, Nov 17, 2022, 12:21 joe--- via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> Does anyone here use Google Fi ??
>
> How good or how bad is it?
>
> ---
> PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Conky neither forking to background or transparent

2022-10-12 Thread Steve B via PLUG-discuss
Finally found some time to sit down and rewrite my conkyrc file after they
changed the format. However, I've been unable to get it to appear
transparent and without window controls. Could someone with a bit more
Conky knowledge point me to my errors? Current config:

conky.config={

alignment = 'top_right',
background = true,
update_interval = 1,

cpu_avg_samples = 2,
net_avg_samples = 2,
temperature_unit = 'fahrenheit',

double_buffer = true,
no_buffers = true,
text_buffer_size = 2048,

gap_x = 7,
gap_y = 35,
minimum_width = 360,
minimum_height = 1000,
maximum_width = 360,
own_window = true,
own_window_class = 'conky',
own_window_argb_visual = yes,
own_window_argb_value = 0,
border_inner_margin = 0,
border_outer_margin = 0,
border_width = 1,

draw_shades = true,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,

override_utf8_locale = true,
use_xft = true,
font = 'DejaVu Sans Mono:size=10',
xftalpha = 0.5,
uppercase = false,

};
---
PLUG-discuss mailing list: PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss


Systemd 248 Fido2

2021-12-15 Thread Steve B via PLUG-discuss
Has anyone tried the cryptenroll process with the latest version of Systemd
and a Fido2 device? If so what are you using? Nitrokey, Yubikey or
something else?

Steve
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Lists for pihole

2021-11-23 Thread Steve B via PLUG-discuss
Are you using Firefox with the DoH setting enabled?

On Tue, Nov 23, 2021, 07:02 Aaron Jones via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> Where do you see the ads? Some, like YouTube, cannot be blocked with
> pihole at all.
>
> > On Nov 22, 2021, at 10:45 PM, Jim via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
> >
> > Recently I bought a raspberry pi.  One thing  I wanted to do with it
> was to run pihole for my local network.  I got it installed and working,
> but I couldn't find any lists that worked with it.  I went online and found
> several and installed them.  I know the pihole software was able to read
> them because the config page told me it was blocking around 2 million
> domains.   I set my router to use the pi as its only DNS.  I still got ads
> on my computer and phone.  The desktop was configured to use DHCP.  I
> changed its DNS settings to use the pi for DNS, but no change.  Does anyone
> here know where I can get some lists that work?   Thanks
> > ---
> > PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> > To subscribe, unsubscribe, or to change your mail settings:
> > https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Handbrake, Flatpak and Pop OS

2021-09-04 Thread Steve B via PLUG-discuss
I uninstalled the Flatpak version and installed an older Deb package and
now everything is working again.

Could it be that libdvdcss is not part of the Flatpak version, or that the
Flatpak technology is unable to access libdvdcss outside of it's sandbox?


On Tue, Aug 31, 2021, 10:08 PM Brian Cluff via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> Sounds like you are missing libdvdcss available from:
> https://www.videolan.org/developers/libdvdcss.html
>
> Without that installed the system has no way to decrypt your DVDs so they
> will appear pixelated
>
> Brian Cluff
>
> On 8/31/21 8:07 PM, Steve B via PLUG-discuss wrote:
>
> Recently I reinstalled Handbrake to Linux (Pop OS) hoping to start ripping
> DVDs again. Previously it was a deb package but it appears Handbrake has
> moved to Flatpak for Linux distribution.
>
> This version of Handbrake is not working for me and I'm struggling to
> understand what I am doing wrong. When Handbrake scans the DVD it does not
> find anything. I have to open and start the DVD in VLC and then Handbrake
> it will find it in its scan. What it does find shows as pixelated in both
> the preview as well as any rip it makes for me. I've tried a handful of the
> presets and no matter what I chose I get the same pixelated output.
>
> Are there any other Flatpak/Handbrake users in this group that have it
> working successfully for them who can give me some guidance?
>
> Steve
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail 
> settings:https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Handbrake, Flatpak and Pop OS

2021-09-01 Thread Steve B via PLUG-discuss
Synaptic says I have it installed, v1.4.2-1

On Tue, Aug 31, 2021 at 10:08 PM Brian Cluff via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> Sounds like you are missing libdvdcss available from:
> https://www.videolan.org/developers/libdvdcss.html
>
> Without that installed the system has no way to decrypt your DVDs so they
> will appear pixelated
>
> Brian Cluff
>
> On 8/31/21 8:07 PM, Steve B via PLUG-discuss wrote:
>
> Recently I reinstalled Handbrake to Linux (Pop OS) hoping to start ripping
> DVDs again. Previously it was a deb package but it appears Handbrake has
> moved to Flatpak for Linux distribution.
>
> This version of Handbrake is not working for me and I'm struggling to
> understand what I am doing wrong. When Handbrake scans the DVD it does not
> find anything. I have to open and start the DVD in VLC and then Handbrake
> it will find it in its scan. What it does find shows as pixelated in both
> the preview as well as any rip it makes for me. I've tried a handful of the
> presets and no matter what I chose I get the same pixelated output.
>
> Are there any other Flatpak/Handbrake users in this group that have it
> working successfully for them who can give me some guidance?
>
> Steve
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail 
> settings:https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Handbrake, Flatpak and Pop OS

2021-08-31 Thread Steve B via PLUG-discuss
Recently I reinstalled Handbrake to Linux (Pop OS) hoping to start ripping
DVDs again. Previously it was a deb package but it appears Handbrake has
moved to Flatpak for Linux distribution.

This version of Handbrake is not working for me and I'm struggling to
understand what I am doing wrong. When Handbrake scans the DVD it does not
find anything. I have to open and start the DVD in VLC and then Handbrake
it will find it in its scan. What it does find shows as pixelated in both
the preview as well as any rip it makes for me. I've tried a handful of the
presets and no matter what I chose I get the same pixelated output.

Are there any other Flatpak/Handbrake users in this group that have it
working successfully for them who can give me some guidance?

Steve
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Pi-hole, Linux hosts file and local DNS

2021-07-25 Thread Steve B via PLUG-discuss
Is there a way to use Pi-holes local DNS functions to create entries for
services on my local LAN?

For example if Pi-Hole is at http://192.168.1.160/admin can i create
something that has that full URL? The Linux hosts file limits me to the IP
address and I'm looking for a way to have anything that comes after the IP
such as port numbers and such.
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

NFS/SMB and ransomware

2021-06-13 Thread Steve B via PLUG-discuss
Looking for some information regarding networked file systems and
ransomware. If my understanding is correct, should a PC get infected with
ransomware it can search out and encrypt NFS and SMB shares.

Would it be correct to assume that in order to encrypt an NFS or SMB share
they would have to be online? If the device on which the network file
system was located were powered off, could it be woken via a WOL command
and then encrypted?

I currently have a TrueNAS machine that houses all my media and is also my
Plex server. It also has an NFS share to which I backup as needed. In
addition I have a Synology NAS to which I have a backup copy of the TrueNAS
server.
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Editing firefox.desktop

2021-03-23 Thread Steve B via PLUG-discuss
Success -  I could not get any farther than what I posted the other day
using ~./local/share/applications/sandfox.desktop, but I achieved 100%
success by editing /usr/share/applications/firefox.desktop.

Under the main {Desktop Entry] I appended "sandbox" to the Actions
parameter and then created a new [Desktop Action sandbox] submenu with the
lines:
[Desktop Action sandbox]
Name=Open in a sandbox
Exec=firejail --apparmor --private --dns=89.233.43.71 --net=eno1
--netfilter=/etc/firejail/nolocal.net --seccomp firefox -no-remote

Now if I right click on Firefox I have "Open in a new window", "Open in a
new private window" and "Open in a sandbox". A quick "firejail --list"
confirms firefox is running with the full parameter string. Yes, I'll have
to add it every time Firefox updates, but for now I'm willing to live with
that. Gives me motivation to look into John's suggestion of learning to
patch the file.

Also found that my firejail-profile package was corrupted and that is why I
could not get --net= to work. Purged and reinstalled the package which
solved that problem.



On Mon, Mar 22, 2021 at 9:35 PM Brian Cluff via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> That's what we are talking about.  You can put your own firefox.desktop
> file in ~/.local/share/applications/ and it will supersede the package
> installed version of the file.  I've found just about everything in linux
> has a similar directory hierarchy so you have control over a complete
> system and/or individual program by putting alternative versions of config
> files in their proper places.
>
> According to the spec (
> https://specifications.freedesktop.org/desktop-entry-spec/latest/index.html)
> the order that the .desktop files are searched for is in $XDG_DATA_DIRS and
> the first one found is used.
>
> Brian Cluff
>
> On 3/22/21 6:40 PM, Michael Butash via PLUG-discuss wrote:
>
> You know, I fscking hate this between distros, but for arch on mine, it's
> /usr/share/applications/firefox.desktop, and every time I update it resets
> to defaults I hate.  I keep a copy of firefox.desktop as I need a menu to
> create a "choose profile" menu for firefox when I need many profiles for
> different customers, all with their own needs like different google and
> microsith profiles for orfice365.  Make sure you're hitting the right file
> for the distro as different from deb/ubuntu/mint.
>
> I'd say copy a working entry outside where you find the *.desktop files,
> and just replace what works in a remote location to upgrade when your
> dist.  Firefox is the only thing to overwrite and piss me off every time
> that I know to copy this when I update.  I normally just right click and do
> "Choose profile" for firefox for the plethora of profiles, adding that
> option to my firefox.desktop file, but apparently I'm the only person to do
> this, so shenanigans needed.  Same as yours I presume.  Start with a
> working one at least.
>
> I need to play with this some, as I'd love to relaunch my 6-7 firefox
> profiles automatically, and not screw with my options to launch manually.
> I'm sure there are easier ways to do this normally, but I'm lazy to do so.
> /me shrugs
>
> -mb
>
>
> On Mon, Mar 22, 2021 at 11:31 AM Steve B via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
>
>> Thank you. The original goal was to add it to the menu in Pop OS. I'll
>> look again, but don't recall seeing it after I created it in
>> ~/.local/share/applications. Do I need to use "--register-app" to add it,
>> or should it just show up?
>>
>> On Sat, Mar 20, 2021, 10:30 PM Brian Cluff via PLUG-discuss <
>> plug-discuss@lists.phxlinux.org> wrote:
>>
>>> A desktop file is standardized configuration file for Linux desktops
>>> that describe how to represent a program in the menus (complete with
>>> multiple language support), and how to launch it.  So you can't just launch
>>> it directly because it doesn't mean anything to the command line.  It
>>> should however be showing up in your menus now and so you can put it in
>>> your favorites and easily launch it that way.
>>>
>>> That being cause, you can kinda turn it into an executable by adding
>>> something like the following to the very top of the desktop file:
>>> #!/usr/bin/kioclient5 exec
>>>
>>> That will tell the system to execute the desktop file with kioclient...
>>> of course you need to be running KDE for that to work correctly.  I'm not
>>> sure what the GNOME equivalent of that command is.
>>>
>>> Personally I would just pretty alt+F2 or alt+space may work as well and
>>>

Re: Editing firefox.desktop

2021-03-22 Thread Steve B via PLUG-discuss
I looked again and made more progress. Edited sandfox.desktop to read:

#!/usr/bin/env xdg-open
[Desktop Entry]
Type=Application
Name=Firefox (Sandboxed)
Exec=/bin/sh "/usr/bin/firejail --apparmor firefox"
Icon=/home/steve/Pictures/firejailed-firefox.png

I get a shell of an icon in the menu with the text below it. Still can't
start the browser, but more than I had yesterday.

On Mon, Mar 22, 2021 at 6:10 PM Brian Cluff via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> I don't know about GNOME which I assume your using being the default
> desktop environment for Pop OS, but in KDE, which I'm using, they just show
> up automatically.  I would think it would show up in the menu as "Sandboxed
> Web Browser"
>
>
> Brian Cluff
>
> On 3/22/21 11:30 AM, Steve B via PLUG-discuss wrote:
>
> Thank you. The original goal was to add it to the menu in Pop OS. I'll
> look again, but don't recall seeing it after I created it in
> ~/.local/share/applications. Do I need to use "--register-app" to add it,
> or should it just show up?
>
> On Sat, Mar 20, 2021, 10:30 PM Brian Cluff via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
>
>> A desktop file is standardized configuration file for Linux desktops that
>> describe how to represent a program in the menus (complete with multiple
>> language support), and how to launch it.  So you can't just launch it
>> directly because it doesn't mean anything to the command line.  It should
>> however be showing up in your menus now and so you can put it in your
>> favorites and easily launch it that way.
>>
>> That being cause, you can kinda turn it into an executable by adding
>> something like the following to the very top of the desktop file:
>> #!/usr/bin/kioclient5 exec
>>
>> That will tell the system to execute the desktop file with kioclient...
>> of course you need to be running KDE for that to work correctly.  I'm not
>> sure what the GNOME equivalent of that command is.
>>
>> Personally I would just pretty alt+F2 or alt+space may work as well and
>> just start to type  "Sandboxed Web Browser" and you may only have to type
>> Sand or so before you can press enter and have it launch.
>>
>> Alternatives to starting it from the command line:
>> Create a file called sandfox in /usr/local/bin/ and put the following
>> into it.
>> #!/bin/bash
>> /usr/bin/firejail --apparmor firefox $@
>>
>> Then set it to be executable and then you can execute sandfox from
>> anywhere.
>>
>> You could also set and alias with:
>> alias sandfox="/usr/bin/firejail --apparmor firefox"
>>
>> That will allow you to type sandfox and internally it will replace that
>> with "/usr/bin/firejail --apparmor firefox".  That should also work in most
>> places equally well, but only for your username.
>> That's a one shot way of making that available.  If you want it to be
>> permanent you'll need to add that line to your .bashrc file with:
>> echo alias sandfox='"/usr/bin/firejail --apparmor firefox"' >>~/.bashrc
>>
>> I can't remember what your original goals were, so I hope the above isn't
>> completely shooting the dark.
>>
>> Brian Cluff
>>
>> On 3/19/21 10:25 PM, Steve B via PLUG-discuss wrote:
>>
>> I took Brian's recommendation and created a file in
>> ~/.local/share/applications called sandfox.desktop. Contents of that file
>> are:
>>
>> [Desktop Entry]
>> Encoding=UTF-8
>> Type=Application
>> Icon=/home/steve/Pictures/firejailed_firefox128.png
>> Exec=/usr/bin/firejail --apparmor firefox
>> Name=Sandboxed Web Browser
>> Terminal=false
>>
>> I have it set to executable but when i try to run it "./sandfox.desktop"
>> I get the error:
>> ./sandfox.desktop: line 1: [Desktop: command not found
>> ./sandfox.desktop: line 5: --apparmor: command not found
>> ./sandfox.desktop: line 6: Web: command not found
>>
>> Is my file misconfigured or what do I not have correct?
>>
>>
>>
>> On Fri, Dec 25, 2020 at 5:47 PM Brian Cluff via PLUG-discuss <
>> plug-discuss@lists.phxlinux.org> wrote:
>>
>>> Under debian based distros, overriding an overwrite of ANY installed
>>> file is easily done.
>>> There's a really cool tool called dpkg-divert that the system uses to
>>> take whatever files would normally be installed and steer them into a
>>> different place so that you can put your own version of the file in the
>>> same place without fear of it going away on the next updat

Re: Editing firefox.desktop

2021-03-22 Thread Steve B via PLUG-discuss
Thank you. The original goal was to add it to the menu in Pop OS. I'll look
again, but don't recall seeing it after I created it in
~/.local/share/applications. Do I need to use "--register-app" to add it,
or should it just show up?

On Sat, Mar 20, 2021, 10:30 PM Brian Cluff via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> A desktop file is standardized configuration file for Linux desktops that
> describe how to represent a program in the menus (complete with multiple
> language support), and how to launch it.  So you can't just launch it
> directly because it doesn't mean anything to the command line.  It should
> however be showing up in your menus now and so you can put it in your
> favorites and easily launch it that way.
>
> That being cause, you can kinda turn it into an executable by adding
> something like the following to the very top of the desktop file:
> #!/usr/bin/kioclient5 exec
>
> That will tell the system to execute the desktop file with kioclient... of
> course you need to be running KDE for that to work correctly.  I'm not sure
> what the GNOME equivalent of that command is.
>
> Personally I would just pretty alt+F2 or alt+space may work as well and
> just start to type  "Sandboxed Web Browser" and you may only have to type
> Sand or so before you can press enter and have it launch.
>
> Alternatives to starting it from the command line:
> Create a file called sandfox in /usr/local/bin/ and put the following into
> it.
> #!/bin/bash
> /usr/bin/firejail --apparmor firefox $@
>
> Then set it to be executable and then you can execute sandfox from
> anywhere.
>
> You could also set and alias with:
> alias sandfox="/usr/bin/firejail --apparmor firefox"
>
> That will allow you to type sandfox and internally it will replace that
> with "/usr/bin/firejail --apparmor firefox".  That should also work in most
> places equally well, but only for your username.
> That's a one shot way of making that available.  If you want it to be
> permanent you'll need to add that line to your .bashrc file with:
> echo alias sandfox='"/usr/bin/firejail --apparmor firefox"' >>~/.bashrc
>
> I can't remember what your original goals were, so I hope the above isn't
> completely shooting the dark.
>
> Brian Cluff
>
> On 3/19/21 10:25 PM, Steve B via PLUG-discuss wrote:
>
> I took Brian's recommendation and created a file in
> ~/.local/share/applications called sandfox.desktop. Contents of that file
> are:
>
> [Desktop Entry]
> Encoding=UTF-8
> Type=Application
> Icon=/home/steve/Pictures/firejailed_firefox128.png
> Exec=/usr/bin/firejail --apparmor firefox
> Name=Sandboxed Web Browser
> Terminal=false
>
> I have it set to executable but when i try to run it "./sandfox.desktop" I
> get the error:
> ./sandfox.desktop: line 1: [Desktop: command not found
> ./sandfox.desktop: line 5: --apparmor: command not found
> ./sandfox.desktop: line 6: Web: command not found
>
> Is my file misconfigured or what do I not have correct?
>
>
>
> On Fri, Dec 25, 2020 at 5:47 PM Brian Cluff via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
>
>> Under debian based distros, overriding an overwrite of ANY installed file
>> is easily done.
>> There's a really cool tool called dpkg-divert that the system uses to
>> take whatever files would normally be installed and steer them into a
>> different place so that you can put your own version of the file in the
>> same place without fear of it going away on the next update.
>>
>> Just do:
>> dpkg-divert --add --rename /usr/share/applications/firefox.desktop
>>
>> In this case, that would be the overkill and less correct way of handing
>> the problem.  A better way would be to put your own version of the
>> firefox.desktop into certain directories and that cause it to override the
>> system version of the config.  Put them in ~/.local/share/applications/ to
>> change an individual user and /usr/local/share/applications/ to effect
>> every user on the system.
>>
>> Brian Cluff
>>
>>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail 
> settings:https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Editing firefox.desktop

2021-03-20 Thread Steve B via PLUG-discuss
On a side note, could use a little help with the restricted network
function. Something changed between earlier versions and 0.9.64.4. In
earlier versions I could use "firejail --apparmor --net=eno1 firefox" to
create a new network stack. When I try to use it now I do not get any
errors, but am unable to browse to any site. If I change restricted-network
to yes I get the error "Error: networking feature is disabled in Firejail
configuration file". Networking is enabled according to both the config
file and to "firejail --version".

The developers notes in /etc/firejail/firejail.config say "Restricted
networking grants access to --interface, --net=ethXXX and # --netfilter
only to root user. Regular users are only allowed --net=none. I'm guessing
that firejail sees me as a regular user and not as a root user?

On Sat, Mar 20, 2021 at 7:05 AM John Seberg via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> Not really sure, but I think you need to launch it with an application
> such as /usr/bin/gtk-launch.
>
>
> https://unix.stackexchange.com/questions/457410/start-desktop-launcher-from-command-line-on-mint
>
>
>
>
>
>
> On Friday, March 19, 2021, 10:26:06 PM MST, Steve B via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
>
>
>
>
>
> I took Brian's recommendation and created a file in
> ~/.local/share/applications called sandfox.desktop. Contents of that file
> are:
>
> [Desktop Entry]
> Encoding=UTF-8
> Type=Application
> Icon=/home/steve/Pictures/firejailed_firefox128.png
> Exec=/usr/bin/firejail --apparmor firefox
> Name=Sandboxed Web Browser
> Terminal=false
>
> I have it set to executable but when i try to run it "./sandfox.desktop" I
> get the error:
> ./sandfox.desktop: line 1: [Desktop: command not found
> ./sandfox.desktop: line 5: --apparmor: command not found
> ./sandfox.desktop: line 6: Web: command not found
>
> Is my file misconfigured or what do I not have correct?
>
>
>
> On Fri, Dec 25, 2020 at 5:47 PM Brian Cluff via PLUG-discuss <
> plug-discuss@lists.phxlinux.org> wrote:
> >
> >  Under debian based distros, overriding an overwrite of ANY installed
> file is easily done.
> > There's a really cool tool called dpkg-divert that the system uses to
> take whatever files would normally be installed and steer them into a
> different place so that you can put your own version of the file in the
> same place without fear of it going away on the next update.
> >
> > Just do:
> > dpkg-divert --add --rename /usr/share/applications/firefox.desktop
> >
> > In this case, that would be the overkill and less correct way of handing
> the problem.  A better way would be to put your own version of the
> firefox.desktop into certain directories and that cause it to override the
> system version of the config.  Put them in ~/.local/share/applications/ to
> change an individual user and /usr/local/share/applications/ to effect
> every user on the system.
> >
> > Brian Cluff
> >
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Editing firefox.desktop

2021-03-19 Thread Steve B via PLUG-discuss
I took Brian's recommendation and created a file in
~/.local/share/applications called sandfox.desktop. Contents of that file
are:

[Desktop Entry]
Encoding=UTF-8
Type=Application
Icon=/home/steve/Pictures/firejailed_firefox128.png
Exec=/usr/bin/firejail --apparmor firefox
Name=Sandboxed Web Browser
Terminal=false

I have it set to executable but when i try to run it "./sandfox.desktop" I
get the error:
./sandfox.desktop: line 1: [Desktop: command not found
./sandfox.desktop: line 5: --apparmor: command not found
./sandfox.desktop: line 6: Web: command not found

Is my file misconfigured or what do I not have correct?



On Fri, Dec 25, 2020 at 5:47 PM Brian Cluff via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> Under debian based distros, overriding an overwrite of ANY installed file
> is easily done.
> There's a really cool tool called dpkg-divert that the system uses to take
> whatever files would normally be installed and steer them into a different
> place so that you can put your own version of the file in the same place
> without fear of it going away on the next update.
>
> Just do:
> dpkg-divert --add --rename /usr/share/applications/firefox.desktop
>
> In this case, that would be the overkill and less correct way of handing
> the problem.  A better way would be to put your own version of the
> firefox.desktop into certain directories and that cause it to override the
> system version of the config.  Put them in ~/.local/share/applications/ to
> change an individual user and /usr/local/share/applications/ to effect
> every user on the system.
>
> Brian Cluff
>
>
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Replacement fan for a Pi 3b+ POE hat?

2021-03-04 Thread Steve B via PLUG-discuss
I've been running Pi-Hole on my 3b+ for a while now. She's POE powered or
was until recently. The POE hat still fires it up, but the little fan
mounted to the top acts somewhat dead. When you first connect the Ethernet
cable the fan briefly moves, but then nothing. Google did not appear to
find a replacement fan. Would anyone have a source for such a device?

Steve
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Radeon card recommendations

2021-02-25 Thread Steve B via PLUG-discuss
I've been digging through some of the Arch and Gentoo documentation trying
to get a handle on which of the older Radeon cards use the drivers built
into the kernel. While they do a good job about telling me chipsets and GCN
architecture, I'm still struggling to find a card.

The Optiplex 9020 I own uses a PCIe x16 slot, first generation or possible
second. I've been using the integrated Intel for now but would like to add
a discrete GPU. If I'm reading the Arch and Gentoo docs correctly most of
the cards seem to be more gaming oriented and require a connection to the
PSU.

Ideally I'm looking for a card that does not require a connection to the
PSU is 2 or 4GB and can support a 4K monitor.

Any advice would be greatly appreciated.

-S-
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Radeon card recommendations

2021-02-03 Thread Steve B via PLUG-discuss
Looking for some recommendations on a discrete graphics card for a Dell
Optiplex 9020 and an HP z27S monitor. I'm moving to PopOS and would like to
get the most out of the monitor. If 21.04 moves to Wayland I understand AMD
is well supported whereas Nvidia does not support it.
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Editing firefox.desktop

2020-12-23 Thread Steve B via PLUG-discuss
Is it possible to edit the firefox.desktop file such that I can invoke
"firejail --apparmor firefox -no-remote" as the default manner in which the
application starts? If so can someone point me to a guide or provide me
with an example? I'm having some difficulty finding a resource through
Google.

Steve
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

RJ11 keystone for old 3Com Intellijack

2020-10-07 Thread Steve B via PLUG-discuss
I'm rewiring a part of my home to extend the network into that room and
would like to reuse an old 3Com Intellijack I have laying about. Ideally
I'd like to connect an analog phone and tie it back into my asterisk
system. Would anyone know where I could source two, RJ11 keystones for an
old 3CNJ220?

Steve
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Raspberry Pi uses on a home network

2020-09-10 Thread Steve B via PLUG-discuss
I decided to go with Pi-hole as I believe I can get the most benefit from
that for my needs.

On Wed, Sep 9, 2020, 8:02 PM polt via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> use it to control your 3D printer, if you don't have a 3D printer you
> should get one so you can control it.
>
> Jason
>
>
> On 9/9/2020 3:22 PM, Steve B via PLUG-discuss wrote:
>
> I've been offered a Raspberry P 3B+ with a POE hat, but am having
> difficulty deciding if I really need it. Currently the uses I can see for
> it within my home network are:
>
> 1. Ubiquiti controller (replacing a cloud controller);
> 2. Pi hole;
> 3. Tor relay node;
> 4. Asterisk server.
>
> Would appreciate some ideas for other possible uses.
>
> Steve
>
>
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail 
> settings:https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Re: Raspberry Pi uses on a home network

2020-09-09 Thread Steve B via PLUG-discuss
Thanks to all!

On Wed, Sep 9, 2020, 7:01 PM Donald Cha. via PLUG-discuss <
plug-discuss@lists.phxlinux.org> wrote:

> Inground water sprinkler system controller.
> Tens unit.
> Lights on timer.
> Thermostat.
>
>
>
> Sent from Yahoo Mail on Android
> 
>
> On Wed, Sep 9, 2020 at 8:26 PM, AZ Pete via PLUG-discuss
>  wrote:
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
>
> ---
> PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss

Raspberry Pi uses on a home network

2020-09-09 Thread Steve B via PLUG-discuss
I've been offered a Raspberry P 3B+ with a POE hat, but am having
difficulty deciding if I really need it. Currently the uses I can see for
it within my home network are:

1. Ubiquiti controller (replacing a cloud controller);
2. Pi hole;
3. Tor relay node;
4. Asterisk server.

Would appreciate some ideas for other possible uses.

Steve
---
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org
To subscribe, unsubscribe, or to change your mail settings:
https://lists.phxlinux.org/mailman/listinfo/plug-discuss