Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

Testing of new 2016-04-02 ISO

Ask your questions here.

Testing of new 2016-04-02 ISO

Postby jenom » Tue Apr 05, 2016 9:41 pm

Logged in as user/user
went to >>System>>Synaptic Package Manager, it tried to open and gave a following reply:
---------------------------------------------------------------------------------------------------------------------------------------------------------
An Error Occured
The following details provided:

E: The value 'jessie' is invalid for APT::Default-Release as such a release is not available in the sources
E: _cache->open() failed, please report.

Close
------------------------------------------------------------------------------------------------------------------------------------------------------
tried also >>Other>>Synaptic.sh --did not do anything !
Any idea how to fix this?
jenom
 
Posts: 29
Joined: Mon Aug 18, 2014 4:18 pm

Re: Testing of new 2016-04-02 ISO

Postby dzz » Wed Apr 06, 2016 12:34 am

First ensure an internet connection, then do in a root terminal:

apt update

Synaptic will then work.

The package cache is removed from the live-image (therefore also in first install) to save space. It's probably outdated by the time you get to use it anyway.
dzz
 
Posts: 647
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: Testing of new 2016-04-02 ISO

Postby dzz » Wed Apr 06, 2016 12:50 am

The keyboard switcher isn't working right. After changing, it will revert to US after a few seconds. This is because "use system defaults" is checked in the settings menu.

The relevant file is ~/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml .. <property name="XkbDisable" type="bool" value="true"/> should be set to "false"
dzz
 
Posts: 647
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: Testing of new 2016-04-02 ISO

Postby jenom » Wed Apr 06, 2016 12:52 am

thanks
after apt update (with ethernet connection) synaptic now opens
still OTHER >>synapticd.sh does not do anything
jenom
 
Posts: 29
Joined: Mon Aug 18, 2014 4:18 pm

Re: Testing of new 2016-04-02 ISO

Postby dzz » Wed Apr 06, 2016 1:09 am

synaptics.sh is a helper script to get the "synaptics" touchpad tap function working on some laptops, nothing to do with package manager.

On another note, yahoo is the default browser search engine.. Depending on one's point of view, duckduckgo or (preferably) startpage have more robust privacy policies.
dzz
 
Posts: 647
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: Testing of new 2016-04-02 ISO

Postby fsmithred » Wed Apr 06, 2016 3:42 pm

OK, I figured out how to set Startpage as the system-wide default. Also got the default bookmarks sorted. Those things were just set in the user's profile.

I couldn't get refracta-lang to work in the amd64, but it did work in i386. Other weirdness in amd64 was that it got the old refracta boot help pages. That might just be the setting in the config file.

Maybe I'll change the name of synaptics.sh to Synaptics Touchpad in the menu.

I don't have a keyboard-layout file. There's a keyboards.xml and a keyboard-shortcuts, but no XkbDisable property in any file. I tried switching to GB keyboard from the panel button, and it did revert to US. Also, while testing GB, I couldn't find the hash (#). Instead, there was what I think is a newline character. (horizontal bar with a smal right-angle pointing down on the right end of it.) ¬ <- like that.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: Testing of new 2016-04-02 ISO

Postby dzz » Wed Apr 06, 2016 5:04 pm

True, ~/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml is not there on the iso but it appears after changing "Use system defaults". Then the panel switcher works.

Code: Select all
<?xml version="1.0" encoding="UTF-8"?>

<channel name="keyboard-layout" version="1.0">
  <property name="Default" type="empty">
    <property name="XkbDisable" type="bool" value="false"/>
  </property>
</channel>


A UK keyboard layout is different from US, why is a mystery. With the wrong layout and no map you're lost on some characters.
I couldn't get refracta-lang to work in the amd64, but it did work in i386

Does here on live refracta8_xfce_amd64_beta-20160402_0000.iso (and the right keyboard is preset):

Code: Select all
[email protected]:~$ cat /proc/cmdline
BOOT_IMAGE=(loop)/live/vmlinuz boot=live findiso=/refracta-xfce/snapshot_current.iso lang=en_GB timezone=Europe/London noeject swap debug=1 nocomponents=xinit

[email protected]:~$ locale
LANG=en_GB.UTF-8
LANGUAGE=
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

[email protected]:~$ cat /[etc]/default/locale
LANG="en_GB.UTF-8"

[email protected]:~$ cat /[etc]/default/keyboard
# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
XKBLAYOUT="gb"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"
[email protected]:~$ su
Password:
[email protected]:/home/user# locale
LANG=en_GB.UTF-8
LANGUAGE=
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

Try booting with "debug=1", see /var/log/live/config.log for clues what went wrong and check your cmdline.
dzz
 
Posts: 647
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England

Re: Testing of new 2016-04-02 ISO

Postby fsmithred » Wed Apr 06, 2016 8:15 pm

refracta-lang works here. The problem was that I was doing it wrong.
keyboard-layouts.xml appeared as promised.
I noticed that I don't have my usual list of pre-configured locales. Must have lost that along the way. Add that to the list...

startpage-ssl will be the system default.
so will blank home page/start page and ask where to save downloads.
Not sure about plugins yet. Those might just be for user.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: Testing of new 2016-04-02 ISO

Postby dzz » Sun Apr 10, 2016 11:38 am

This, placed in a live-hook script for testing, fixes the panel keyboard switcher:

Code: Select all
# Fix keyboard switcher:

cat << EOF > /home/user/.config/xfce4/xfconf/xfce-perchannel-xml/keyboard-layout.xml
<?xml version="1.0" encoding="UTF-8"?>

<channel name="keyboard-layout" version="1.0">
  <property name="Default" type="empty">
    <property name="XkbDisable" type="bool" value="false"/>
  </property>
</channel>

EOF

Seems a maximum of 4 alt layouts are possible for the panel switcher. You can choose others from "settings" menu.

I'm finding quite simple live-hook scripts really useful for testing. Instant functionality also, can even set my wireless network to start automatically without modifying the actual iso.. This is more difficult (or impossible) if you booted from cd or a usb done with dd because the location of the hook script must be already mounted.

Example (the hook script path must be a wget-style url):
Code: Select all
hooks=file:///lib/live/mount/findiso/refracta-xfce/hookscript


Another advantage of booting the iso from an hd partition (or syslinux usb) is, you can use a custom initrd, patched for RW access to the live-media partition with /usr/local/bin/xtras/patch-live-initrd* .. BTW that patch-live-initrd is outdated. There is a newer one http://exegnulinux.net/refracta/experim ... 0-1.tar.gz but note, you probably need "union=aufs" on cmdline to use it.
dzz
 
Posts: 647
Joined: Wed Apr 27, 2011 11:53 am
Location: Devon, England


Return to Help

Who is online

Users browsing this forum: No registered users and 0 guests

cron
suspicion-preferred