You are here

Agreguesi i feed

Alessio Treglia: The Breath of Time

Planet UBUNTU - Enj, 25/08/2016 - 6:33md

 

For centuries man has hunted, he brought the animals to pasture, cultivated fields and sailed the seas without any kind of tool to measure time. Back then, the time was not measured, but only estimated with vague approximation and its pace was enough to dictate the steps of the day and the life of man. Subsequently, for many centuries, hourglasses accompanied the civilization with the slow flow of their sand grains. About hourglasses, Ernst Junger writes in “Das Sanduhrbuch – 1954” (no English translation): “This small mountain, formed by all the moments lost that fell on each other, it could be understood as a comforting sign that the time disappears but does not fade. It grows in depth”.

For the philosophers of ancient Greece, the time was just a way to measure how things move in everyday life and in any case there was a clear distinction between “quantitative” time (Kronos) and “qualitative” time (Kairòs). According to Parmenides, time is guise, because its existence…

<Read More…[by Fabio Marzocca]>

Alessio Treglia: The Breath of Time

Planet Debian - Enj, 25/08/2016 - 6:33md

 

For centuries man has hunted, he brought the animals to pasture, cultivated fields and sailed the seas without any kind of tool to measure time. Back then, the time was not measured, but only estimated with vague approximation and its pace was enough to dictate the steps of the day and the life of man. Subsequently, for many centuries, hourglasses accompanied the civilization with the slow flow of their sand grains. About hourglasses, Ernst Junger writes in “Das Sanduhrbuch – 1954” (no English translation): “This small mountain, formed by all the moments lost that fell on each other, it could be understood as a comforting sign that the time disappears but does not fade. It grows in depth”.

For the philosophers of ancient Greece, the time was just a way to measure how things move in everyday life and in any case there was a clear distinction between “quantitative” time (Kronos) and “qualitative” time (Kairòs). According to Parmenides, time is guise, because its existence…

<Read More…[by Fabio Marzocca]>

Driver Killed a Pedestrian in Japan While Playing Pokemon Go

Slashdot.org - Enj, 25/08/2016 - 6:11md
An anonymous reader writes: One woman was killed and another injured. In what police are calling Japan's first death linked to Pokemon Go, a driver playing the smartphone game hit two pedestrians on Tuesday night, officials said. The collision broke the neck of one woman, killing her, and left another woman with a broken hip, the Wall Street Journal reports. Police in Tokushima, on the western Japanese island of Shikoku, told the Wall Street Journal the women were crossing the street when the car struck them. The man driving the car did not see them because was playing Pokemon Go.

Read more of this story at Slashdot.

Uber Loses At Least $1.2 Billion In First Half of 2016

Slashdot.org - Enj, 25/08/2016 - 5:31md
An anonymous reader writes: The ride-hailing giant Uber Technologies Inc. is not a public company, but every three months, dozens of shareholders get on a conference call to hear the latest details on its business performance from its head of finance, Gautam Gupta. On Friday, Gupta told investors that Uber's losses mounted in the second quarter. Even in the U.S., where Uber had turned a profit during its first quarter, the company was once again losing money. In the first quarter of this year, Uber lost about $520 million before interest, taxes, depreciation and amortization, according to people familiar with the matter. In the second quarter the losses significantly exceeded $750 million, including a roughly $100 million shortfall in the U.S., those people said. That means Uber's losses in the first half of 2016 totalled at least $1.27 billion. "It's hardly rare for companies to lose large sums of money as they try to build significant markets and battle for market share," said Joe Grundfest, professor of law and business at Stanford. "The interesting challenge is for them to turn the corner to become profitable, cash-flow-positive entities."

Read more of this story at Slashdot.

Jonathan Riddell: KDevelop, Muon, Plasma 5.7.4

Planet UBUNTU - Enj, 25/08/2016 - 5:30md

To celebrate the release of KDevelop 5 we’ve added KDevelop 5 to KDE neon User Edition.  Git Stable and Git Unstable builds are also in the relevant Developer Editions.

But wait.. that’s not all.. the package manager Muon seem to have a new maintainer so to celebrate we added builds in User Edition and Git Unstable Developer Edition.

Plasma 5.7.4 has been out for some time now so it’s well past time to get it into Neon, delayed by a move in infrastructure which caused the entire repository to rebuild.  All Plasma packages should be updated now in KDE neon User Edition.

Want to install it? The weekly User Edition ISO has been updated and looks lovely.

by

Ubuntu Insights: 25 Linux devices to celebrate 25 years of Linux!

Planet UBUNTU - Enj, 25/08/2016 - 4:52md

Happy 25th birthday Linux. It’s a monumental milestone!

Over the years Canonical has been working on putting Linux in the hands of millions of people and worked with various hardware vendors to release over 1000 models of Linux hardware (!)

Today we’re celebrating by showcasing 25 Ubuntu devices released over the years from laptop, netbook, tower computer, phone, tablets, development boards, drones to robotic spiders. We hope you enjoy the list – there are some golden oldies – and we look forward to the next 25 years!

Plus if you have a favourite device from the list (or not), why not let us know by tweeting #UbuntuDevices – enjoy!

25 Ubuntu Devices

1. System 76 (June 2005) System76 was the first hardware vendor to offer packaged Ubuntu laptops, desktops and servers! 2. Dell Inspiron Mini 9 (Sep 2008) The Dell Inspiron Mini Series was a line of subnotebook/netbook computers designed by Dell 3. ZaReason Verix 545 (Jun 2010) ZaReason only makes Linux computers 4. HP mini 5103 (Sep 2010) Another netbook! 5. Hp compaq 4000 (Jan 2011) A stable and reliable PC mainly for business use 6. Dell Wyse T50 (Sep 2011) Fast and affordable thin client for Cloud Client Computing Deployments 7. Asus Eee PC 1015CX – (March 2012) Netbooks are still in favour… getting smaller and cheaper! 8. Acer Veriton Z (Jan 2013) One of the many towers running Ubuntu 9. Turtlebot 2 (March 2013) The 2nd iteration of the robotic development platform 10. BQ E4.5 (Feb 2015) And here it is – our very first Ubuntu Phone! 11. Raspberry Pi 2 (Feb 2015) A collaboration with the Raspberry Pi Foundation where Snappy Ubuntu Core is available for the Raspberry Pi 2 12. Meizu MX4 (July 2015) Our first release with Chinese partners, Meizu 13. Lenovo Thinkpad L450 (July 2015) Continually shipping Ubuntu pre-installed on laptops worldwide 14. Intel Compute Stick (July 2015) Enabling the transformation of a display into a fully functioning computer for home use or digital signage! 15. Erle Spider (Sep 2015) The first legged drone powered by ROS and running snappy Ubuntu Core 16. Dell XPS 15 (October 2015) The second iteration of this laptop built for developers who need powerful Linux desktop! 17. Robotics OP2 (Oct 2015) All we can say is, he was a hit at MWC 16! 18. DJI Manifold (Nov 2015) A high-performance embedded computer designed specifically to fly 19. BQ Aquaris M10 (Feb 2016) Reinventing the personal mobile computing experience with our first converged device 20. Meizu PRO 5 (Feb 2016) Our most powerful phone to date! 21. Intel NUC (Feb 2016) A platform for developers to test and create x86-based IOT solutions using snappy Ubuntu Core also used for digital signage solutions 22. Samsung Artik 5+10 (May 2016) Developer images available on 2x boards! 23. Bubblegum 96 board (July 2016) Image of Ubuntu Core available for uCRobotics on this awesome board 24. Mycroft (July 2016) The open source answer to natural language platform 25. Intel Joule board (Aug 2016) A new development board in the Ubuntu family, targetting IoT and robotics makers

Want to find out how to develop for all these great devices? Develop with Ubuntu

Singapore Launches World's First 'Self-driving' Taxi Service

Slashdot.org - Enj, 25/08/2016 - 4:50md
Days before ride-hailing service Uber debuts its self-driving car in Pittsburgh, a company in Singapore has beaten Uber to the race. The Guardian reports: The world's first "self-driving" taxi service has been launched in Singapore -- albeit with a human backup driver and co-pilot on board for the time being. Members of the public selected to take part in the trial would be able to hail a free ride through their smartphones, said nuTonomy, an autonomous vehicle software startup. The cars -- modified Renault Zoe and Mitsubishi i-MiEV electrics -- had a driver in the front prepared to take back the wheel and a researcher in the back watching the car's computers, the company said. Each was fitted with Lidar, a laser-based detection system like radar. An Associated Press reporter taking a ride on Wednesday observed that the safety driver had to step on the brakes once, when a car was obstructing the test car's lane and another vehicle, which appeared to be parked, suddenly began moving in the oncoming lane. The service would start with six cars, growing to a dozen by the end of the year, said nuTonomy, adding that it aimed to have a fully self-driving taxi fleet in Singapore by 2018.

Read more of this story at Slashdot.

WhatsApp To Share Some Data With Facebook

Slashdot.org - Enj, 25/08/2016 - 4:11md
Two years ago when Facebook bought WhatsApp, the instant messaging client said that the deal would not affect the digital privacy of its users. Things are changing now, WhatsApp said Thursday. The Facebook-owned app will share with the company some member information, as well as some analytics data of its users. Bloomberg reports: WhatsApp announced a change to its privacy policy today that allows businesses to communicate with users. The messages could include appointment reminders, delivery and shipping notifications or marketing material, the company said in its revised terms of service. In a blog post, WhatsApp said it will be testing these business features over the coming months. The strategy is an important step for Facebook as it attempts to make money from its most expensive acquisition. In addition to the messages from businesses, WhatsApp said it would begin sharing more information about its users with the "Facebook family." The data, including a person's phone number, could be used to better targets ads when browsing Facebook or Instagram, WhatsApp said.

Read more of this story at Slashdot.

Ubuntu Podcast from the UK LoCo: S09E26 – Mosaic Promise - Ubuntu Podcast

Planet UBUNTU - Enj, 25/08/2016 - 4:00md

It’s Episode Twenty-six of Season Nine of the Ubuntu Podcast! Mark Johnson, Alan Pope, Laura Cowen, and Martin Wimpress are here again.

We’re here – all of us!

In this week’s show:

That’s all for this week! If there’s a topic you’d like us to discuss, or you have any feedback on previous shows, please send your comments and suggestions to show@ubuntupodcast.org or Tweet us or Comment on our Facebook page or comment on our Google+ page or comment on our sub-Reddit.

Researchers Create Algorithm That Diagnoses Depression From Your Instagram Feed

Slashdot.org - Enj, 25/08/2016 - 3:00md
An anonymous reader quotes a report from Inverse: Harvard University's Andrew Reece and the University of Vermont's Chris Danforth crafted an algorithm that can correctly diagnose depression, with up to 70 percent accuracy, based on a patient's Instagram feed alone. After a careful screening process, the team analyzed almost 50,000 photos from 166 participants, all of whom were Instagram users and 71 of whom had already been diagnosed with clinical depression. Their results confirmed their two hypotheses: first, that "markers of depression are observable in Instagram user behavior," and second, that "these depressive signals are detectable in posts made even before the date of first diagnosis." The duo had good rationale for both hypotheses. Photos shared on Instagram, despite their innocent appearance, are data-laden: Photos are either taken during the day or at night, in- or outdoors. They may include or exclude people. The user may or may not have used a filter. You can imagine an algorithm drooling at these binary inputs, all of which reflect a person's preferences, and, in turn, their well-being. Metadata is likewise full of analyzable information: How many people liked the photo? How many commented on it? How often does the user post, and how often do they browse? Many studies have shown that depressed people both perceive less color in the world and prefer dark, anemic scenes and images. The majority of healthy people, on the other hand, prefer colorful things. [Reece and Danforth] collected each photo's hue, saturation, and value averages. Depressed people, they found, tended to post photos that were more bluish, unsaturated, and dark. "Increased hue, along with decreased brightness and saturation, predicted depression," they write. The researchers found that happy people post less than depressed people, happy people post photos with more people in them than their depressed counterparts. and that depressed participants were less likely to use filters. The majority of "healthy" participants chose the Valencia filter, while the majority of "depressed" participants chose the Inkwell filter. Inverse has a neat little chart embedded in their report that shows the usage of Instagram filters between depressed and healthy users.

Read more of this story at Slashdot.

Robert Ancell: Introducing snapd-glib

Planet UBUNTU - Enj, 25/08/2016 - 12:41md
World, meet snapd-glib. It's a new library that makes it easy for GLib based projects (e.g. software centres) to access the daemon that allows you to query, install and remove Snaps. If C is not for you, you can use all the functionality in Python (using GObject Introspection) and Vala. In the future it will support Qt/QML through a wrapper library.

snapd uses a REST API and snapd-glib very closely matches that. The behaviour is best understood by reading the documentation of that API. To give you a taste of how it works, here's an example that shows how to find and install the VLC snap.

Step 1: Connecting to snapd

The connection to snapd is controlled through the SnapdClient object. This object has all the methods required to communicate with snapd. Create and connect with:

    g_autoptr(SnapdClient) c = snapd_client_new ();
    if (!snapd_client_connect_sync (c, NULL, &error))
        // Something went wrong

Step 2: Find the VLC snap 
Asking snapd to perform a find causes it to contact the remote Snap store. This can take some time so consider using an asynchronous call for this. This is the synchronous version:
    g_autoptr(GPtrArray) snaps =
        snapd_client_find_sync (c, NULL,
                                SNAPD_FIND_FLAGS_NONE, "vlc",
                                NULL, &error);
    if (snaps == NULL)
        // Something went wrong
    for (int i = 0; i < snaps->len; i++) {
        SnapdSnap *snap = snaps->pdata[i];
        // Do something with this snap information
    }

Step 3: Authenticate 
Some methods require authorisation in the form of a Macaroon (the link is quite complex but in practise it's just a couple of strings). To get a Macaroon you need to provide credentials to snapd. In Ubuntu this is your Ubuntu account, but different snapd installations may use another authentication provider.
Convert credentials to authorization with:

    g_autoptr(SnapdAuthData) auth_data =
        snapd_client_login_sync (c,
                                 email, password, code,
                                 NULL, &error);
    if (auth_data == NULL)
        return EXIT_FAILURE;

Once you have a Macaroon you can store it somewhere and re-use it next time you need it. Then the authorization can be created with:

    g_autoptr(SnapdAuthData) auth_data =
        snapd_auth_data_new (macaroon, discharges);

Step 4: Install VLC 
In step 2 we could determine the VLC snap has the name "vlc". Since this involves downloading ~100Mb and is going to take some time the asynchronous method is used. There is a callback that gives updates on the progress of the install and one that is called when the operation completes: 
    snapd_client_install_async (c, auth_data,
                                "vlc", NULL,
                                progress_cb, NULL,
                                NULL,
                                install_cb, NULL);

static void
progress_cb (SnapdClient *client,
             SnapdTask *main_task, GPtrArray *tasks,
             gpointer user_data)
{
    // Tell the user what's happening
}

static void
install_cb (GObject *object, GAsyncResult *result,
            gpointer user_data)
{
    g_autoptr(GError) error = NULL;

    if (snapd_client_install_finish (SNAPD_CLIENT (object),
                                     result, &error))
        // It installed!
    else
        // Something went wrong...
}

Conclusion 
With snapd-glib and the above code as a starting point you should be able to start integrating Snap support into your project. Have fun!

Canon Unveils EOS 5D Mark IV DSLR

Slashdot.org - Enj, 25/08/2016 - 12:00md
It's been a little more than 4 year since Canon unveiled the EOS 5D Mark III. Today, Canon took the wraps off its successor -- the EOS 5D Mark IV. The Mark IV features a 34-megapixel, full-frame CMOS sensor and Digic 6+ processor with support for capturing 4K video at 23.98, 24, 25 and 30 fps. In addition, it features a 61-point autofocus system, built-in digital lens optimizer, NFC, Wi-Fi and an ISO range of 100-32,000. The continuous shooting mode is set at 7 fps, compared to 6 fps on the 5D Mark III. It will also take both CompactFlash and SD cards, and there is GPS included in the body for geotagging images. Canon is selling the Mark IV in early September for $3,499 for the body only. They're also selling two new L-series EF lenses -- the Canon EF 16-35mm f/2.8L III USM Ultra-Wide Zoom Lens and EF 24-105mm f/4L IS II USM Standard Zoom Lens. President and COO, Canon U.S.A., Inc, Yichi Ishizuka said in a statement: "Canon's EOS 5D series of DSLR cameras has a history of being at the forefront of still and video innovation. And today, we add to this family of cameras the EOS 5D Mark IV -- the first in our 5D series to offer 4K video and built-in Wi-Fi and NFC connectivity. In developing this new DSLR camera, we listened to the requests of current EOS users to create for them a modern, versatile camera designed to help them create and share beautiful still and video imagery." Here's a blast from the past: Canon's EOS 1Ds Mark II. Slashdot reader LoudMusic submitted this story back in 2004, highlighting the camera's "802.11a/g and wired networking capabilities."

Read more of this story at Slashdot.

Joerg Jaspert: New gnupg-agent in Debian

Planet Debian - Enj, 25/08/2016 - 11:55pd

In case you just upgraded to the latest gnupg-agent and used gnupg-agent as your ssh-agent you may find that ssh refuses to work with a simple but not helpful

sign_and_send_pubkey: signing failed: agent refused operation

This seems to come from systemd starting the agent, no longer a script at the start of the X session. And so it ends up with either no or an unusable tty. A simple

gpg-connect-agent updatestartuptty /bye

updates that and voila, ssh agent functionality is back in.

Note: This assumes you have “enable-ssh-support” in your ~/.gnupg/gpg-agent.conf

Norbert Preining: Gaming: Deus Ex Go

Planet Debian - Enj, 25/08/2016 - 11:34pd

Long flights and lazy afternoons relaxing from teaching, I tried out another game on my Android device, Deus Ex Go. It is a turn based game in the style of the Deus Ex series (long years ago I was beta tester for the Deus Ex version of LGP). A turn based game where you have to pass through a series of levels, each one consisting of an hexagonal grid with an entry and exit point, and some nasty villains or machines trying to kill you.

Without any explanations given you are thrown into the game and it takes a few iterations until you understand what kind of attacks you are facing, but once you have figured that out, it is a more or less simple game of combination how to manage to get to the exit. I played through the around 50 levels of the story mode and I think it was only in the last five that I once or twice had to actually try and think hard to find a solution.

I found the game quite amusing at the beginning, but soon it became repetitive. But since you can play through the whole story mode in probably one long afternoon, that is not so much of a problem. More a problem is the apparently incredible battery usage of this game. Playing without checking for some time leaves you soon with a near empty battery.

Graphically well done, with more or less interesting gameplay, it still does not stand up to Monument Valley.

Ubuntu Insights: 25 years on and Linux is still going strong

Planet UBUNTU - Enj, 25/08/2016 - 10:00pd

I embarked on the Linux journey in 2004 when I joined the newly founded Canonical and its not-yet-named Ubuntu team. I knew there was incredible opportunity around Linux but even then it wasn’t clear how pervasive Linux would become in all corners of technology, industry and society. Linux started its journey as a platform for researchers and developers and over the last 25 years it has become the innovator’s production platform across all computing platforms we use today. Perhaps it is fairer to say that the world has become developer-led, and since Linux is the first choice of developers, the world has adopted Linux by default. Servers, mobile, IoT and more all primarily run on Linux because the developers who make the most interesting things generally start on Linux.

Canonical is proud to support Linux with Ubuntu as the developer platform of choice. Enabling developers to be agile and effective is the best way to encourage the next wave of technical innovation. The leaders in drones, robotics, blockchain, artificial intelligence, self driving cars, computer visions are all blazing their trail on Ubuntu today and they are the technologies that will shape our lives in the coming years. Canonical shapes Ubuntu to be the fastest, easiest and most economical way to deliver innovation in real products – from the cloud to the edge of the network.

We’re also incredibly proud to continue to support Linux’s journey as the production platform for the enterprise and telecoms infrastructure we see today. Ubuntu is used in more than 55% of the production OpenStack clouds around the world. Enterprise and Telco deployments on Ubuntu have changed the way business deploys IT infrastructure. And we are already leading on what’s next for the future of cloud computing with NFV, Containerisation, and Machine Learning. On the IoT front we’re reshaping the nature of the device and the software operations experience for distributed computing with Ubuntu Core, built for IoT deployments where transactional upgrades, constrained environments, and security are the primary requirements.

While the cloud runs almost entirely on Linux, we think the desktop remains an important focus for Linux innovation too. Ubuntu started from the desktop, and is still innovating with the creation of a unique experience that converges the mobile and desktop worlds. Containers of all forms – docker, LXD and snap packaging are a new way for developers to design, distribute and run applications across clouds, devices and distributions.

So what does the next 25 years look like? As they say, the future is already here, just not evenly distributed. With machine learning progress going exponential, I think societies in future can expect to put even more trust in software for their everyday needs, and I’m glad that the trend is increasingly in favour of software that is shared, that is free for all to build upon, and that can be examined and improved by anybody. Public benefit depends on private innovation, and the fact that Linux as an open platform exists enables that innovation to come from anywhere. That’s something to celebrate. Happy birthday, Linux!

NASA Astronaut Jeff Williams Sets New US Space Endurance Record With 521 Days

Slashdot.org - Enj, 25/08/2016 - 9:00pd
An anonymous reader quotes a report from CBS News: Space station commander Jeff Williams set a new U.S. space endurance record Wednesday, his 521st day in orbit over four missions, eclipsing the 520-day record set earlier this year by astronaut Scott Kelly at the end of his nearly one-year stay aboard the lab complex. Williams now moves up to 17th on the list of the world's most experienced astronauts and cosmonauts. The overall record is held by cosmonaut Gennady Padalka, who logged 878 days in orbit over five missions. Williams, Soyuz TMA-20M commander Alexey Ovchinin and flight engineer Oleg Skripochka were launched to the space station March 18. They plan to return to Earth Sept. 6 (U.S. time), landing in Kazakhstan to close out a 172-day mission. At landing, Williams will have logged 534 days aloft, moving him up to 14th on the space endurance list. Williams first flew in space in 2000 aboard the shuttle Atlantis, the third shuttle flight devoted to station assembly. He served as a flight engineer aboard the station in 2006 and completed a second long-duration stay in 2010, serving as a flight engineer and then commander of Expedition 22. "I wanted to congratulate you on passing me up here in total number of days in space," Kelly radioed Williams Wednesday. "It's great to see another record broken. [...] But I do have one question for you. And my question is, do you have another 190 days in you?" Kelly was referring to the time Williams' current mission would have to be extended to equal Kelly's U.S. single-flight record. Williams laughed, saying "190 days. That question's not for me, that's for my wife!"

Read more of this story at Slashdot.

Francois Marier: Debugging gnome-session problems on Ubuntu 14.04

Planet Debian - Enj, 25/08/2016 - 7:00pd

After upgrading an Ubuntu 14.04 ("trusty") machine to the latest 16.04 Hardware Enablement packages, I ran into login problems. I could log into my user account and see the GNOME desktop for a split second before getting thrown back into the LightDM login manager.

The solution I found was to install this missing package:

apt install libwayland-egl1-mesa-lts-xenial Looking for clues in the logs

The first place I looked was the log file for the login manager (/var/log/lightdm/lightdm.log) where I found the following:

DEBUG: Session pid=12743: Running command /usr/sbin/lightdm-session gnome-session --session=gnome DEBUG: Creating shared data directory /var/lib/lightdm-data/username DEBUG: Session pid=12743: Logging to .xsession-errors

This told me that the login manager runs the gnome-session command and gets it to create a session of type gnome. That command line is defined in /usr/share/xsessions/gnome.desktop (look for Exec=):

[Desktop Entry] Name=GNOME Comment=This session logs you into GNOME Exec=gnome-session --session=gnome TryExec=gnome-shell X-LightDM-DesktopName=GNOME

I couldn't see anything unexpected there, but it did point to another log file (~/.xsession-errors) which contained the following:

Script for ibus started at run_im. Script for auto started at run_im. Script for default started at run_im. init: Le processus gnome-session (GNOME) main (11946) s'est achevé avec l'état 1 init: Déconnecté du bus D-Bus notifié init: Le processus logrotate main (11831) a été tué par le signal TERM init: Le processus update-notifier-crash (/var/crash/_usr_bin_unattended-upgrade.0.crash) main (11908) a été tué par le signal TERM

Seaching for French error messages isn't as useful as searching for English ones, so I took a look at /var/log/syslog and found this:

gnome-session[4134]: WARNING: App 'gnome-shell.desktop' exited with code 127 gnome-session[4134]: WARNING: App 'gnome-shell.desktop' exited with code 127 gnome-session[4134]: WARNING: App 'gnome-shell.desktop' respawning too quickly gnome-session[4134]: CRITICAL: We failed, but the fail whale is dead. Sorry....

It looks like gnome-session is executing gnome-shell and that this last command is terminating prematurely. This would explain why gnome-session exits immediately after login.

Increasing the amount of logging

In order to get more verbose debugging information out of gnome-session, I created a new type of session (GNOME debug) by copying the regular GNOME session:

cp /usr/share/xsessions/gnome.desktop /usr/share/xsessions/gnome-debug.desktop

and then adding --debug to the command line inside gnome-debug.desktop:

[Desktop Entry] Name=GNOME debug Comment=This session logs you into GNOME debug Exec=gnome-session --debug --session=gnome TryExec=gnome-shell X-LightDM-DesktopName=GNOME debug

After restarting LightDM (service lightdm restart), I clicked the GNOME logo next to the password field and chose GNOME debug before trying to login again.

This time, I had a lot more information in ~/.xsession-errors:

gnome-session[12878]: DEBUG(+): GsmAutostartApp: starting gnome-shell.desktop: command=/usr/bin/gnome-shell startup-id=10d41f1f5c81914ec61471971137183000000128780000 gnome-session[12878]: DEBUG(+): GsmAutostartApp: started pid:13121 ... /usr/bin/gnome-shell: error while loading shared libraries: libwayland-egl.so.1: cannot open shared object file: No such file or directory gnome-session[12878]: DEBUG(+): GsmAutostartApp: (pid:13121) done (status:127) gnome-session[12878]: WARNING: App 'gnome-shell.desktop' exited with code 127

which suggests that gnome-shell won't start because of a missing library.

Finding the missing library

To find the missing library, I used the apt-file command:

apt-file update apt-file search libwayland-egl.so.1

and found that this file is provided by the following packages:

  • libhybris
  • libwayland-egl1-mesa
  • libwayland-egl1-mesa-dbg
  • libwayland-egl1-mesa-lts-utopic
  • libwayland-egl1-mesa-lts-vivid
  • libwayland-egl1-mesa-lts-wily
  • libwayland-egl1-mesa-lts-xenial

Since I installed the LTS Enablement stack, the package I needed to install to fix this was libwayland-egl1-mesa-lts-xenial.

I filed a bug for this on Launchpad.

next-20160825: linux-next

Kernel Linux - Enj, 25/08/2016 - 6:52pd
Version:next-20160825 (linux-next) Released:2016-08-25
Kategoritë: Kernel Linux

Global Warming Started 180 Years Ago Near Beginning of Industrial Revolution, Says Study

Slashdot.org - Enj, 25/08/2016 - 5:30pd
New research led by scientists at the Australian National University's Research School of Earth suggests that humans first started to significantly change the climate in the 1830s, near the beginning of the Industrial Revolution. The findings have been published in the journal Nature, and "were based on natural records of climate variation in the world's oceans and continents, including those found in corals, ice cores, tree rings and the changing chemistry of stalagmites in caves." Sydney Morning Herald reports: "Nerilie Abram, another of the lead authors and an associate professor at the Australian National University's Research School of Earth Sciences, said greenhouse gas levels rose from about 280 parts per million in the 1830s to about 295 ppm by the end of that century. They now exceed 400 ppm. Understanding how humans were already altering the composition of the atmosphere through the 19th century means the warming is closer to the 1.5 to 2 degrees target agreed at last year's Paris climate summit than most people realize." "It was one of those moments where science really surprised us," says Abram. "But the results were clear. The climate warming we are witnessing today started about 180 years ago."

Read more of this story at Slashdot.

'Octobot' Is The World's First Soft-Bodied Robot

Slashdot.org - Enj, 25/08/2016 - 3:50pd
sciencehabit quotes a report from Science Magazine: Researchers have created the first completely soft-bodied robot, dubbed the 'octobot.' The palm-sized machine's exterior is made of silicone. And whereas other soft robots have had at least a few hard parts, such as batteries or wires, the octobot uses a small reservoir of hydrogen peroxide as fuel. The basic design can be scaled up or down, increasing or decreasing fuel capacity depending on the robot's job. As the field of soft robotics advances, the scientists envision these robots being used for marine search and rescue, oceanic temperature sensing, and military surveillance. The report adds: "When the hydrogen peroxide washes over flecks of platinum embedded within the octobot, the resulting chemical reaction produces gas that inflates and flexes the robot's arms. As described online today in Nature, the gas flows through a series of 3D-printed pneumatic chambers that link the octobot's eight arms; their flexing propels it through water."

Read more of this story at Slashdot.

Faqet

Subscribe to AlbLinux agreguesi