Choose style:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Bigoeuf

Pages: 1 [2] 3 4 ... 12
16
Software & Applications / Re: Firejail - Pepp 8 issues
« on: April 15, 2018, 12:40:13 pm »
Afternoon All

Cheers for the response Mark

Quote
Code: [Select]

sudo cp /usr/sbin/firefox /usr/bin/ff-with-light-theme

then
Code: [Select]

firejail ff-with-light-theme

So:

Code: [Select]
~ $ sudo cp /usr/sbin/firefox /usr/bin/ff-with-light-theme

then

Code: [Select]
~ $ firejail ff-with-light-theme
Reading profile /etc/firejail/default.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-passwdmgr.inc
Reading profile /etc/firejail/disable-programs.inc

** Note: you can use --noprofile to disable default.profile **

Parent pid 3709, child pid 3710
Child process initialized in 46.37 ms
Error: Access was denied while trying to open files in your profile directory.

Parent is shutting down, bye...
???

I realised there needed to be a ff-with-light-theme.profile so I copied & renamed the firefox.profile to my home directory:
 (as per the instructions here https://firejail.wordpress.com/documentation-2/building-custom-profiles/):

Code: [Select]
$ sudo cp /etc/firejail/firefox.profile ~/.config/firejail/ff-with-light-theme.profile
(I noticed this profile has root ownership - should that be changed to the user?)

Then:
 
Code: [Select]
~ $ firejail ff-with-light-theme
Reading profile /home/mick/.config/firejail/ff-with-light-theme.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 7755, child pid 7756
Blacklist violations are logged to syslog
Child process initialized in 124.88 ms

And all seems good firefox launches under firejail with light theme  :)

 So I presume now the recently 'installed' /usr/bin/ff-with-light-theme (from /usr/sbin/firefox) will need to be renamed /usr/bin/firefox? & the existing /usr/bin/firefox renamed too? then the to-be-renamed /usr/bin/ff-with-light-theme will need to amended to 'point' to the to-be-renamed /usr/bin/firefox? then I can reinstate the symlink /usr/local/bin/firefox & all should work OK system-wide? (obviously remove ~/.config/firejail/ff-with-light-them.profile too)

The caveat I see, if I am correct, is that the apps that point to/are in the path of the present /usr/sbin/firefox & /usr/bin/firefox would have to be amended too, & I don't know of any further consequences either, & it might start to get a bit messy.  :-\

I don't mean to be presumptuousness & am gratefully for your assistance & I may well be wrong but if this is the case what about the other option you mentioned Mark about removing blacklist? Can this be done on a per app basis? (may well be cleaner/easier all round)  ;)

17
Good morning All
Little problem I've being having getting Firejail to work with Pepp 8 respin.
I have installed the latest version of Firejail (version 0.9.52) directly from:

        https://sourceforge.net/projects/firejail/files/firejail/
& have configured it as recommended to integrate Firejail with my desktop environment:
   
Code: [Select]
$ sudo firecfg
Which creates shortcuts for applications in /usr/local/bin:

   
Quote
'Clicking on desktop manager icons and menus will sandbox the application automatically. We support Cinnamon, KDE, LXDE/LXQT, MATE and XFCE desktop managers, and partially Gnome 3 and Unity. This part works well across all Linux distributions.
    Clicking on files in your file manager will open the file in a sandboxed application. It works fine in newer Linux distributions like Debian “stretch”, Ubuntu 17.04, Arch, Gentoo.'

Problems:

Dropbox:
The nemo-dropbox package installs .dropbox-dist folder to /var/lib/dropbox directory which prevents dropbox lauching under Firejail.
If I remove the dropbox shortcut, created in /usr/local/bin by:

   
Code: [Select]
$ sudo firecfg

then dropbox works normally (but obviously not under Firejail).

However in Pepp 7 the nemo-dropbox package installs .dropbox-dist folder in the home directory & it works fine under Firejail configured to integrate with my desktop environment with:
     
Code: [Select]
$ sudo firecfg

So - initially I uninstalled the nemo-dropbox package:

    https://www.dropbox.com/help/desktop-web/uninstall-dropbox

Code: [Select]
dropbox stop
dropbox status  # Should report "not running"
rm -rf ~/.dropbox-dist
rm -rf /var/lib/dropbox
rm -rf ~/.dropbox*
sudo apt-get remove nemo-dropbox
sudo apt-get remove dropbox
rm /etc/apt/source.d/dropbox
(The last 2 commands resulted in no action)

Then I downloaded the dropbox.deb package directly from Dropbox.com:

https://www.dropbox.com/install

It installed (with .dropbox-dist folder in the home directory) & worked fine as per Pepp 7 above but it doesn't fully integrate with nemo i.e. there are no addition folder/file indicator icons to show synced/syncing. So I uninstalled this dropbox package (as above) &, rightly or wrongly, because its for Pepp 7 & not 8, I downloaded the nemo-dropbox 2.2.1+peppermint package & installed it. I dont really know the ramifications, if any, (although from what I see it is a very similar vintage & size to the nemo-dropbox 2.2.0-0~webupd8~xenial0 version installed with Pepp 8) & all seems to be working fine as per in the Pepp 7 installation. Is there going to be a problem with this?

Firefox;
I've replace Chromium with Firefox, 'cos I like it better, but it doesn't launch at all under Firejail configured to integrate with my desktop environment with

   
Code: [Select]
$ sudo firecfg

If I launch in the terminal:

   
Code: [Select]
$ firefox

I get:
Code: [Select]
~ $ firefox
Reading profile /etc/firejail/firefox.profile
Reading profile /etc/firejail/disable-common.inc
Reading profile /etc/firejail/disable-devel.inc
Reading profile /etc/firejail/disable-programs.inc
Reading profile /etc/firejail/whitelist-common.inc
Reading profile /etc/firejail/whitelist-var-common.inc
Parent pid 2238, child pid 2239
Blacklist violations are logged to syslog
Child process initialized in 58.84 ms
Error: no suitable /usr/sbin/firefox executable found

Parent is shutting down, bye...

/usr/sbin/firefox is a an executable script forcing a light theme on firefox created by peppermint-firefox-themer:
Code: [Select]
#!/bin/sh

env GTK_THEME=Peppermix-Light-7-Red /usr/bin/firefox "$@"

So, as seen above, Firejail does not recognise /usr/sbin/firefox as a suitable executable. If I remove/rename /usr/sbin/firefox then firefox launches under firejail but it launches with the system-wide dark theme that is set up & the script above (/usr/sbin/firefox) is no longer in the Path. I can & have created firefox.desktop file(s) in ~/.local/share/applications/ :
Code: [Select]
[Desktop Entry]
Type=Application
Name=Firefox - Sandbox
GenericName=firefox-sandbox
Exec=env GTK_THEME=Peppermix-Light-7 firejail firefox
Categories=Network
Icon=firefox-aurora.svg
Terminal=false

So I can then launch from the desktop firefox under Firejail with the light theme but this won't launch firefox under Firejail with the light theme as global instance i.e. launch from a hyperlink in a script or another app - so can anyone suggest a solution?



18
Hello N
Similar to christianvl I have been using FreeOffice from Softmaker (which I think is to what he is referring) & have found it pretty good & very compatible with M$ Word documents - however the FreeOffice version can only open .docx & saves as .doc here's a link to the relevant page from their site http://www.freeoffice.com/en/discover/freeoffice-windows-linux & the relevant part:
Quote
Files and printing
    Documents can be exchanged between any version of TextMaker on any operating system with no loss of fidelity.
    Open and save DOC files of Microsoft Word 6.0 to 2016 faithfully, including password-protected files
    Open DOCX files from Microsoft Word 2007 to 2016 faithfully, including password-protected files
    Open and save OpenDocument files (compatible with OpenOffice and LibreOffice)
    Open and save documents in RTF, HTML, Pocket Word, ASCII and Unicode
    Open WordPerfect documents (.wpd)
    Document preview straight from the file dialog
    Assistant for importing and exporting text files in many character sets
    Create PDF files and PDF forms directly in FreeOffice TextMaker
    Tagged PDFs and bookmarks in PDF files
    Export to the e-book format EPUB
    Print 2, 4, 8 or 16 pages on one sheet of paper
    Send documents in a freely selectable format (e.g. DOC or PDF) by e-mail

I've been using it for a while now in Linux & entirely in my 3 years on Peppermint  :)
Some things to bear in mind - if you install from the .deb file in that it installs a profile for all users including root user and although it is not a problem (there have been some glitches in the past though) you may not may like it installing to the root folder. You can however just install from the .tgz file as a single user & it will install everything into a folder in your user space (/home/user/SoftMaker/).
You also have to register an email address to receive a key code to "unlock" & use the application but I personally have no issue with it.

As for  Softmaker 2018 beta that christianvl mentions here's the link:
http://www.softmaker.com/en/softmaker-office-linux
It looks good to me but I think access to it will be restricted to while it is in beta only (which seems like it won't be too long now) after which I think you will have to purchase it  :-\

Anyway N hope this is of some help to you  ;)

19
Morning all

The most recent BIOS for my Dell E6430 Latitude Ivy Bridge i7 3540M (3.0 GHz) laptop is sitting at A21

The most recent BIOS for my Dell OptiPlex 7010 SFF Ivy Bridge i5-3470 (3.2 GHz) desktop box is at A25

Make more sense?   ;)

Indeed yes - my apologies I didn't read your post that I quoted properly - specifically:

Quote
........
I checked the BIOS in this desktop box, at it was sitting @ A21. ...........

(my colour highlight)

Note to Santa - New glasses for Xmas please  :D

20
Ayup all  :)

Maybe...

I checked the BIOS in this desktop box, at it was sitting @ A21. I evidently missed the A25 BIOS update in May 2017, soooo...

I baked a Rufus USB stick and installed A25.

I'll check my lappy now, and see if I missed anything there.

I've started depending on Dell's automagic web update utility, but I'm starting to think it isn't up to snuff. I guess I'll go back to doing updates manually.  ::)

EDIT

Looks like the 'road warrior' is up to date:  https://goo.gl/jEp8We

Ehhhh???
My 6430's BIOS is on A21 & I've just checked the Dell website & it is still listed as the latest version?? Even in the link you posted mucker it shows your BIOS version as A21 (unless of course you updated to the elusive A25 afterwards)??  ???

Looks like my 3rd gen processor isn't affected - according to the linked article you give in  your OP VinDSL:

https://thehackernews.com/2017/11/intel-chipset-flaws.html
 
Quote
Affected Intel Products

Below is the list of the processor chipsets which include the vulnerable firmware:

   
  • 6th, 7th and 8th Generation Intel Core processors
  • .................

21
Software & Applications / Re: Nemo - Unable to mount mobile phone??
« on: November 01, 2017, 07:39:24 am »
Morning All
Well I have to report good news regarding this issue - as of the 4.4.0-98 kernel update all seems to be working  ok again  :)
In the meantime between my last post & this I had done a re-install of Pepp 7 on this Inspiron 1501. After that I was left with the 4.4.0-97 & 4.4.0-66 kernels. Booting with the 4.4.0-97 kernel was problematic still, although the 4.4.0-66 kernel was fine, which makes me wonder whether this due to me (as I stated in my OP):
Quote
This problem came about when I was tethered to the phone & I stopped the internet connection & then tried to switch to accessing my phone storage by mounting it in Nemo. I did this pretty rapidly so I don't know if the tethering was fully terminated before I tried to mount the phone & that caused the issue??
Previously I had had no issue mounting the phone in Nemo.
Or perhaps due to an update that had come down or a combination of both - at this time of spooky goings on who knows lol  :D
But like I said the problem appears to be sorted & things are 'back to normal'  ;)

@ Denisjuk Thanks for your comments - I had looked at that as a solution but decided to go down the OS re-install route as I thought it was something that I had done causing the issue & with the 4.4.0-98 kernel update following shortly after I did the re-intallation all now appears to be OK
Quote
sorry fo russian lang on screenshoot
No need to apologise on my behalf Denisjuk I gather that you have to deal with English as a second language & its fairly easy to work out anyway - plus I'm gratefull for the imput - Cheers  :)

@ Spence
Quote
I had this same issue crop up yesterday with my Samsung S8+... initially thought I'd easily resolved it by moving from the USB 2.0 slots to the 3.0 slots... but with every reboot, I'd have to remove and reinsert the phone's usb cord.  ::)
Has this kernel update sorted your problem too ?

Sorry Spence just noticed your on Pepp 8 so the kernel update won't apply to you

Finally @ PCNetSpec Shall I now mark it as solved Mark?

22
GNU/Linux Discussion / Re: Anybody else still using Guayadeque?
« on: October 28, 2017, 06:04:25 am »
@VinDSL
I see your listening to music on your Dell E6430 - if that is through 'onboard speakers' ? cos if so how do find the 'experience' ?
My experience with them is distinctly average - at best. Settings out of the box are totally unusable lots of reverb & distortion & although I have tweaked with the Pulse Audio Equaliser the bass & volume are fairly non-existent.  :-\
This is totally different to the listening experience on my old Inspiron 1501 which is very acceptable for a laptop  :)
I see your using Pepp 7, albeit with the 4.13 kernel, & I'm  using Pepp 8, just wondering what your set-up is on your 6430 VinDSL?

23
General Discussion / Re: shutdown/reboot launchers
« on: October 28, 2017, 05:38:06 am »
Quote
IMHO they're more dangerous than useful unless clicking them also triggers some kind of "Are you sure?" dialog (which kinda defeats the 'less clicks" point) .. I'd hate to loose unsaved work by an accidental click
Yep agree with that as its happened to me  ::) So just edited the my Shutdown button that I had installed in my panel using this post:
https://forum.peppermintos.com/index.php/topic,5881.htm

So that the command is:
Code: [Select]
peppermint-logout

as opposed to:
Code: [Select]
poweroff
;)

24
Software & Applications / Re: Nemo - Unable to mount mobile phone??
« on: October 28, 2017, 05:08:41 am »
Anyone got any thoughts on my last post??
What is concerning is the fact that I'm stuck booting into the 4.4.0-93 kernel which, as I say, probably doesn't bode well for security in the long term & also it appears that the linux kernel is not updating now?  ???

25
Software & Applications / Re: Nemo - Unable to mount mobile phone??
« on: October 24, 2017, 04:24:40 am »
Morning All
Well as the man who found piles of soil being dumped on his allotment said " the plot thickens"  ;D

I was stuck (still am actually) booting into the 4.4.0-93 kernel because of the aforementioned problem with, what appears to be, MTP with the 4.4.0-96 kernel.
The other day I noticed that the 4.4.0-97 kernel was available in updates & duly installed in Pepp 8 on my Dell 6430 - but wasn't flagged up for update in the update manager on my Inspiron 1501 ??? I checked & it was available in the linux kernels tab of the update manager so I installed it & subsequently booted into it. However same problem existed as with the 96 kernel. I purged the 96 kernel & tried again - no change - so I then purged & reinstalled the 97 kernel, booted into it - still the same issue  :(

As a comparison (although I know it is different hardware) I booted into the 4.4.0-97 kernel on my Dell 6430 & could connect to the phone no problems - tether, access file system, re-tether etc any which way you like.

So consequently I'm still  stuck booting into the 4.4.0-93 kernel on this Inspiron 1501, which probable doesn't bode well for security in the long term, so unless anyone's got any ideas how I can resolve this I shall have to do a system re-install on the old  Inspiron 1501  :-\

26
Software & Applications / Re: Nemo - Unable to mount mobile phone??
« on: October 15, 2017, 07:55:30 am »
Good Afternoon
Firstly apologies for the late response  :-[

Secondly @ spence
 I am not sure your issue is the same as mine spence but either way I'm afraid I can't help you matey & if you're having problems best to post a topic on here for 'the knowledgable' to assist  ;)

Finally @ PCNetSpec :
Quote
Do you need help making the earlier kernel the default for the time being ?

I'm all sorted ta Mark - a bit of searching turned up this:
https://www.calazan.com/how-to-set-an-older-kernel-version-as-the-default-in-grub-during-bootup-ubuntu-12-04/

So I changed 'GRUB_DEFAULT' in the /etc/default/grub file & voilà all done :)

27
Software & Applications / Re: Nemo - Unable to mount mobile phone??
« on: October 09, 2017, 04:05:42 am »
OK Mark will do that - Can't really label it as solved as didn't get to the root of the problem - cheers for your help though  ;)

28
Software & Applications / Re: Nemo - Unable to mount mobile phone??
« on: October 07, 2017, 01:31:10 pm »
Ok Mark did what you said in your last post. All went smoothly & I then rebooted into the newly re-installed 4.4.0-96 kernel.
Tested ok the the phone with nemo & unfortunately no change  :(

(although it did get a little futher before freezing):

29
Software & Applications / Re: Nemo - Unable to mount mobile phone??
« on: October 07, 2017, 12:39:34 pm »
OK Mark did part 1:
Code: [Select]
sudo apt-get remove --purge linux-headers-4.4.0-96 linux-headers-4.4.0-96-generic linux-image-4.4.0-96-generic linux-image-extra-4.4.0-96-generic

Part of the script on actioning that command was:
Code: [Select]
.........
The link /vmlinuz is a damaged link
Removing symbolic link vmlinuz
 you may need to re-run your boot loader[grub]
The link /initrd.img is a damaged link
Removing symbolic link initrd.img
 you may need to re-run your boot loader[grub]
..........

Should I reboot before doing the re-install?

Also I then ran:
Code: [Select]
dpkg -l | grep 4.4.0-96

to make sure I had done it correctly & removed everything.
It came back:
Code: [Select]
mick@mick-Inspiron-1501 ~ $ dpkg -l | grep 4.4.0-96
ii  linux-libc-dev:amd64                        4.4.0-96.119                                    amd64        Linux Kernel Headers for development
mick@mick-Inspiron-1501 ~ $

Does that need to be removed too?

Also

30
Software & Applications / Re: Nemo - Unable to mount mobile phone??
« on: October 07, 2017, 12:00:10 pm »
Heres the info Mark:

Code: [Select]
mick@mick-Inspiron-1501 ~ $ dpkg -l | grep 4.4.0-96
ii  linux-headers-4.4.0-96                              4.4.0-96.119          all          Header files related to Linux kernel version 4.4.0
ii  linux-headers-4.4.0-96-generic                      4.4.0-96.119          amd64        Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-4.4.0-96-generic                        4.4.0-96.119          amd64        Linux kernel image for version 4.4.0 on 64 bit x86 SMP
ii  linux-image-extra-4.4.0-96-generic                  4.4.0-96.119          amd64        Linux kernel extra modules for version 4.4.0 on 64 bit x86 SMP
ii  linux-libc-dev:amd64                                4.4.0-96.119          amd64        Linux Kernel Headers for development
mick@mick-Inspiron-1501 ~ $

Don't want to move to a too newer Kernel - I had try to install Pepp 8 on this laptop & it didn't like it (would't shut down):
https://forum.peppermintos.com/index.php/topic,5621.0.html

So think its best to give the 4.10 kernel via the HWE a miss ta  ;)

Pages: 1 [2] 3 4 ... 12