LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-17-2018, 06:28 AM   #1
hifi100
Member
 
Registered: Sep 2016
Location: India
Distribution: Arch Linux
Posts: 357

Rep: Reputation: Disabled
How to open Libreoffice Calc with firejail ?


When I click on a .ods file I want Libreoffice Calc to open with firejail sandbox. How can I do this ?

Code:
~$ firejail --version
firejail version 0.9.56~rc1
Code:
$ inxi -Fxz
System:    Host: ubuntu Kernel: 4.15.0-34-generic x86_64 bits: 64 gcc: 7.3.0
           Desktop: Gnome 3.28.3 (Gtk 3.22.30-1ubuntu1)
           Distro: Ubuntu 18.04.1 LTS
Machine:   Device: desktop Mobo: ASUSTeK model: H110M-CS v: Rev X.0x serial: N/A
           UEFI: American Megatrends v: 3016 date: 12/27/2016
CPU:       Dual core Intel Core i3-6100 (-MT-MCP-) 
           arch: Skylake-S rev.3 cache: 3072 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 14784
           clock speeds: max: 3700 MHz 1: 2849 MHz 2: 2900 MHz 3: 2904 MHz
           4: 2906 MHz
Graphics:  Card: Intel HD Graphics 530 bus-ID: 00:02.0
           Display Server: x11 (X.Org 1.19.6 ) driver: i915
           Resolution: 1920x1080@60.00hz
           OpenGL: renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2)
           version: 4.5 Mesa 18.0.5 Direct Render: Yes
Audio:     Card Intel Sunrise Point-H HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.15.0-34-generic
Network:   Card: Realtek RTL8111/8168/8411 PCIE Gigabit Ethernet Controller
           driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
           IF: enp2s0 state: up speed: 10 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 120.0GB (46.5% used)
           ID-1: /dev/sda model: Samsung_SSD_750 size: 120.0GB
Partition: ID-1: / size: 24G used: 7.4G (33%) fs: ext4 dev: /dev/sda2
           ID-2: /home size: 84G used: 45G (57%) fs: ext4 dev: /dev/sda3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 29.8C mobo: 27.8C
           Fan Speeds (in rpm): cpu: 0
Info:      Processes: 208 Uptime: 1:03 Memory: 1526.2/3810.9MB
           Init: systemd runlevel: 5 Gcc sys: 7.3.0
           Client: Shell (bash 4.4.191) inxi: 2.3.56

Last edited by hifi100; 09-17-2018 at 06:45 AM.
 
Old 09-18-2018, 04:46 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925Reputation: 2925
I don't know much about this so will be learning with you as we go along.

However, I see there being two phases here - (i) being able to launch a firejailed version of a specific LibreOffice Calc spreadsheet from the command line; (ii) associating the .ods file extension with that command (probably by playing with the .ods-related MIME type and/or the LibreOffice Calc .desktop file). With which of these are you having problems?

Another thing to consider - would you be content with being able to right-click on the .ods and launch the application firejailed from the resultant context menu? This would save having to change .ods MIME associations and desktop files and is doable depending on your file manager.
 
  


Reply

Tags
firejail, libreoffice



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Absolute value of a column in Libreoffice calc Adwat Linux - Software 5 07-31-2021 03:30 PM
[SOLVED] LibreOffice calc quick question timl Linux - Software 5 09-17-2014 05:37 AM
[SOLVED] Formula Locking In LibreOffice Calc cin_ Linux - Software 2 11-19-2012 05:12 AM
[SOLVED] libreoffice calc qrange Linux - Software 2 09-13-2012 01:19 AM
Libreoffice Calc - Hyperlink Problems Myrlin Linux - Desktop 6 11-04-2011 06:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration