I'm using rootcopy folder to save my personal data but I struggling to find which folders keep some settings.
1- num lock on/off
2- I already set Opera to be the preferred browser on XFCE, but when I open it I see a message asking if I want to make Opera the default browser. Even copying the whole folder home/guest/.config/opera to rootcopy folder of my USB stick, when I reboot Porteus, Opera keeps asking me to make it the default browser (although to XFCE Opera still is the preferred browser).
3- the new releases of Opera use Gnome keyring to encrypt user's passwords. So when you first open Opera it asks you to create a password for the keyring. No problem so far. I even get which folder keeps this password. The next time you reboot Porteus and open Opera it asks for the password you created before, then you insert it and it opens without any flaws and won't ask you for this password no matter how many times you close and open Opera. The problem is when you reboot: it asks for the password you created.
4- if you try to load a xzm package you'll be asked to insert root password. In this dialog there's a checkbox 'Remember password' giving user the possibility to remember only to the current session. How to save this checkbox state?
Also, if I open Opera it's not maximized, then I maximize, close and finally open it -- without restarting Porteus. Oddly it opens not maximized.
Some questions about persistence folders
Some questions about persistence folders
Last edited by fulalas on 11 Nov 2016, 03:55, edited 1 time in total.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: Some questions about persistence folders
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
Re: Some questions about persistence folders
Thanks, Bogomips. I've managed to solve item 2 using your tip:
But I can't for the others (I also included item number 4 in the first post ). Is there another solution?
Code: Select all
sudo save-changes ch_a.xzm
# Do some processing to generate required changes
sudo save-changes ch_b.xzm
mkdir a b
sudo mount ch_a.xzm a
sudo mount ch_b.xzm b
diff -qr b a
- Ed_P
- Contributor
- Posts: 8367
- Joined: 06 Feb 2013, 22:12
- Distribution: Cinnamon 5.01 ISO
- Location: Western NY, USA
Re: Some questions about persistence folders
If you boot as root and you won't need the password when activating a module.fulalas wrote:4- if you try to load a xzm package you'll be asked to insert root password. In this dialog there's a checkbox 'Remember password' giving user the possibility to remember only to the current session. How to save this checkbox state?
Ed
-
- Contributor
- Posts: 676
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Russia is causing the immense damage to humanity
- Contact:
Re: Some questions about persistence folders
ad 1 - /etc/slim.conf or /etc/lxdm.conf
ad 2 - /home/guest/.config/xfce4/helpers.rc
ad 3 - I think you can set empty password for gnome keyring - disabled encryption
ad 4 - No plain solution, maybe something in /etc/group
ad 5 - the same story for google-chrome - set maximized size of window by drag and drop the corner
ad 2 - /home/guest/.config/xfce4/helpers.rc
ad 3 - I think you can set empty password for gnome keyring - disabled encryption
ad 4 - No plain solution, maybe something in /etc/group
ad 5 - the same story for google-chrome - set maximized size of window by drag and drop the corner
You have mind and feelings. Be wise and clever.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: Some questions about persistence folders
4. You could use sudo to have guest access the mount command or perhaps a polkit rule to allow anyone in the wheel group to bypass authentication.
EDIT:
I haven't tried this. Let me know if it works. The next version will have more support for people in wheel group.
EDIT:
I haven't tried this. Let me know if it works. The next version will have more support for people in wheel group.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
Re: Some questions about persistence folders
I've only found slim.conf, and inside it I have this:tome wrote:ad 1 - /etc/slim.conf or /etc/lxdm.conf
Code: Select all
# Activate numlock when slim starts. Valid values: on|off
#numlock on
Create home/guest/.config/xfce4/xfconf/xfce-perchannel-xml/keyboards.xml and put this inside it:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<channel name="keyboards" version="1.0">
<property name="Default" type="empty">
<property name="Numlock" type="bool" value="true"/>
<property name="RestoreNumlock" type="bool" value="true"/>
</property>
</channel>
It works. Thanks!tome wrote:ad 2 - /home/guest/.config/xfce4/helpers.rc
Yeah, but Opera keeps asking for a new password each time I open it.tome wrote:ad 3 - I think you can set empty password for gnome keyring - disabled encryption
tome wrote:ad 4 - No plain solution, maybe something in /etc/group
Really odd! Thanks anywaytome wrote:ad 5 - the same story for google-chrome - set maximized size of window by drag and drop the corner
Re: Some questions about persistence folders
I'm not quite sure if I understand what you mean, but I don't want to bypass the password dialog nor avoid mounting to be password check. I just want to save the checkbox state ('Remember for this section'), not the password itself.brokenman wrote:4. You could use sudo to have guest access the mount command or perhaps a polkit rule to allow anyone in the wheel group to bypass authentication.
EDIT:
I haven't tried this. Let me know if it works. The next version will have more support for people in wheel group.