You are not logged in.

#2601 2014-06-26 16:32:10

qiuwei
Member
Registered: 2009-12-18
Posts: 245

Re: Progress on Unity under Arch Linux!

aabmass wrote:
Reded wrote:

Possibly related to the above - When I run indicator-datetime-service, it terminates with this error when ran in a terminal:

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
zsh: abort      /usr/lib/indicator-datetime/indicator-datetime-service

It runs for maybe 30 seconds before doing this, and doesn't appear when I login.

Same here:

$ time /usr/lib/indicator-datetime/indicator-datetime-service 

(process:5814): Indicator-Datetime-WARNING **: Getting timezone from systemd's timedate1 interface

(process:5814): Indicator-Datetime-WARNING **: indicator-datetime cannot connect to EDS source: Unable to connect to 'Calendar': Cannot open calendar: Timeout was reached
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
Aborted

real	0m30.093s
user	0m0.093s
sys	0m0.010s

30 seconds was a very good estimate..

Edit:

Unfortunately, enabling systemd-timesyncd.service didn't help:

# systemctl enable systemd-timesyncd.service
# systemctl start systemd-timesyncd.service

It's a new bug due to the recent update of other archlinux pakcages.
I haven't tested it, but I guess a clean rebuild of unity-for-arch would fix it.

Offline

#2602 2014-06-27 20:41:08

okto
Member
Registered: 2014-06-24
Posts: 14

Re: Progress on Unity under Arch Linux!

And my other question: how to set things to run when Unity starts? In Ubuntu there is a startup items option in the power/gear menu.

Offline

#2603 2014-06-29 20:00:20

aabmass
Member
Registered: 2011-12-14
Posts: 34

Re: Progress on Unity under Arch Linux!

qiuwei wrote:

It's a new bug due to the recent update of other archlinux pakcages.
I haven't tested it, but I guess a clean rebuild of unity-for-arch would fix it.

Thanks, qiuwei. I did a full rebuild, same problem.

Offline

#2604 2014-07-01 21:02:09

sollidsnake
Member
Registered: 2012-01-30
Posts: 102

Re: Progress on Unity under Arch Linux!

aabmass wrote:
Reded wrote:

Possibly related to the above - When I run indicator-datetime-service, it terminates with this error when ran in a terminal:

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
zsh: abort      /usr/lib/indicator-datetime/indicator-datetime-service

It runs for maybe 30 seconds before doing this, and doesn't appear when I login.

Same here:

$ time /usr/lib/indicator-datetime/indicator-datetime-service 

(process:5814): Indicator-Datetime-WARNING **: Getting timezone from systemd's timedate1 interface

(process:5814): Indicator-Datetime-WARNING **: indicator-datetime cannot connect to EDS source: Unable to connect to 'Calendar': Cannot open calendar: Timeout was reached
terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_S_construct null not valid
Aborted

real	0m30.093s
user	0m0.093s
sys	0m0.010s

30 seconds was a very good estimate..

Edit:

Unfortunately, enabling systemd-timesyncd.service didn't help:

# systemctl enable systemd-timesyncd.service
# systemctl start systemd-timesyncd.service

It turns out there's a patch called 0001-Get-timezone-from-systemd-s-timedate1-interface.patch in the PKGBUILD. Disabling it before building brings the clock back, but with the wrong timezone.


"For with the passing of this hour
Even gods will be devoured"

Offline

#2605 2014-07-01 21:56:16

aabmass
Member
Registered: 2011-12-14
Posts: 34

Re: Progress on Unity under Arch Linux!

sollidsnake wrote:

It turns out there's a patch called 0001-Get-timezone-from-systemd-s-timedate1-interface.patch in the PKGBUILD. Disabling it before building brings the clock back, but with the wrong timezone.

Yes. I debugged this yesterday but didn't have time to post it. You can use this patch to fix it with the correct timezone, too. I haven't found any issues with this fix yet. Download the patch, add

  patch -p1 -i "${srcdir}/0003-Timezone-systemd-nullptr-check.patch"

in the pkgbuild after the first two patches, update the sha512sums and rebuild.

Alternatively, here's a package for x86_64 that you can use.

Edit: Changed patch

Last edited by aabmass (2014-07-02 15:15:31)

Offline

#2606 2014-07-02 11:42:52

sollidsnake
Member
Registered: 2012-01-30
Posts: 102

Re: Progress on Unity under Arch Linux!

aabmass wrote:

Yes. I debugged this yesterday but didn't have time to post it. You can use this patch to fix it with the correct timezone, too. I haven't found any issues with this fix yet. Download the patch, add

  patch -p1 -i "${srcdir}/0003-Timezone-systemd-nullptr-check.patch"

in the pkgbuild after the first two patches, update the sha512sums and rebuild.

Alternatively, here's a package for x86_64 that you can use.

I couldn't apply the patch. The file being patched doesn't seem to exist.

can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- indicator-datetime-13.10.0+14.04.20140415.3/src/timezone-systemd.cpp       2014-06-30 15:38:53.397571301 -0400
|+++ indicator-datetime-13.10.0+14.04.20140415.3/src/timezone-systemd-nullcheck.cpp     2014-06-30 15:40:35.128794407 -0400
--------------------------
File to patch: 

But I can confirm that the built package works. Thanks!


"For with the passing of this hour
Even gods will be devoured"

Offline

#2607 2014-07-02 14:49:00

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 233

Re: Progress on Unity under Arch Linux!

sollidsnake wrote:
aabmass wrote:

Yes. I debugged this yesterday but didn't have time to post it. You can use this patch to fix it with the correct timezone, too. I haven't found any issues with this fix yet. Download the patch, add

  patch -p1 -i "${srcdir}/0003-Timezone-systemd-nullptr-check.patch"

in the pkgbuild after the first two patches, update the sha512sums and rebuild.

Alternatively, here's a package for x86_64 that you can use.

I couldn't apply the patch. The file being patched doesn't seem to exist.

can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- indicator-datetime-13.10.0+14.04.20140415.3/src/timezone-systemd.cpp       2014-06-30 15:38:53.397571301 -0400
|+++ indicator-datetime-13.10.0+14.04.20140415.3/src/timezone-systemd-nullcheck.cpp     2014-06-30 15:40:35.128794407 -0400
--------------------------
File to patch: 

But I can confirm that the built package works. Thanks!

Same and same, thanks for the build! big_smile


"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."

Offline

#2608 2014-07-02 15:34:28

aabmass
Member
Registered: 2011-12-14
Posts: 34

Re: Progress on Unity under Arch Linux!

sollidsnake wrote:

I couldn't apply the patch. The file being patched doesn't seem to exist.

can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- indicator-datetime-13.10.0+14.04.20140415.3/src/timezone-systemd.cpp       2014-06-30 15:38:53.397571301 -0400
|+++ indicator-datetime-13.10.0+14.04.20140415.3/src/timezone-systemd-nullcheck.cpp     2014-06-30 15:40:35.128794407 -0400
--------------------------
File to patch: 

But I can confirm that the built package works. Thanks!

Reded wrote:

Same and same, thanks for the build! big_smile

No problem! I updated the patch, but I don't think that was the problem. The patch patches a file created by 0001-Get-timezone-from-systemd-s-timedate1-interface.patch, so if they aren't in the right order in the pkgbuild, it won't work. Anyway, if you want to build it, here's a makepkg source tarball: https://dl.dropboxusercontent.com/s/upu … src.tar.gz

Offline

#2609 2014-07-02 15:39:32

sollidsnake
Member
Registered: 2012-01-30
Posts: 102

Re: Progress on Unity under Arch Linux!

aabmass wrote:

No problem! I updated the patch, but I don't think that was the problem. The patch patches a file created by 0001-Get-timezone-from-systemd-s-timedate1-interface.patch, so if they aren't in the right order in the pkgbuild, it won't work. Anyway, if you want to build it, here's a makepkg source tarball: https://dl.dropboxusercontent.com/s/upu … src.tar.gz

Oh, my mistake. I hadn't enabled back the 0001 patch. After doing that the package built fine. Thanks again!


"For with the passing of this hour
Even gods will be devoured"

Offline

#2610 2014-07-11 17:08:00

okto
Member
Registered: 2014-06-24
Posts: 14

Re: Progress on Unity under Arch Linux!

Still wondering how to launch things when Unity starts. Anyone have a solution?

Offline

#2611 2014-07-11 17:32:36

Reded
Member
From: Manchester, England
Registered: 2012-02-21
Posts: 233

Re: Progress on Unity under Arch Linux!

okto wrote:

Still wondering how to launch things when Unity starts. Anyone have a solution?

I just use the systemd user session https://wiki.archlinux.org/index.php/Systemd/User There is a gnome-tweak-tool section for it but the add button doesn't seem to work for me sad Maybe it's hidden in dconf-editor somewhere?


"Some humans would do anything to see if it was possible to do it. If you put a large switch in some cave somewhere, with a sign on it saying "End-of-the-World Switch. PLEASE DO NOT TOUCH", the paint wouldn't even have time to dry."

Offline

#2612 2014-07-13 04:09:47

ryanvade
Member
Registered: 2013-01-23
Posts: 72

Re: Progress on Unity under Arch Linux!

I also would like to know how to add startup applications.

I have one bug at the moment that is driving me crazy.  The Clock applet keeps crashing at login. I see it for a few seconds, then it is gone.

Is this a known bug? And I have no screen brightness control either.

Last edited by ryanvade (2014-07-13 04:12:18)

Offline

#2613 2014-07-13 16:50:17

ryanvade
Member
Registered: 2013-01-23
Posts: 72

Re: Progress on Unity under Arch Linux!

Another bug: Applets/menu does not appear after sleep.

Offline

#2614 2014-07-13 19:50:54

okto
Member
Registered: 2014-06-24
Posts: 14

Re: Progress on Unity under Arch Linux!

ryanvade wrote:

I have one bug at the moment that is driving me crazy.  The Clock applet keeps crashing at login. I see it for a few seconds, then it is gone.

That is a known bug. Apparently upstream indicator-datetime calls for the timezone in away that doesn't work on Arch (probably trying to ask Upstart or some such nonsense), and it has to be patched to get that data from systemd. Recompiling indicator-datetime from the AUR fixed it for me.

Last edited by okto (2014-07-13 19:51:34)

Offline

#2615 2014-07-13 23:58:26

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

Thanks aabmass for the patch! I don't know if I posted this here earlier, but there's a Unity-for-Arch-Utopic repo based on my utopic branch at Github that includes packages from Ubuntu 14.10. These packages contain many fixes (like the indicator-datetime issue and the external monitor issue), but of course, they're basec on unstable packages. If you'd like to try the out, add the following repo above the Unity-for-Arch repo in pacman.conf:

[Unity-for-Arch-Utopic]
SigLevel = Optional TrustAll
Server = http://dl.dropbox.com/u/486665/Repos/$repo/$arch

Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#2616 2014-07-14 00:52:53

chenxiaolong
Member
From: /home/chenxiaolong
Registered: 2010-11-03
Posts: 779

Re: Progress on Unity under Arch Linux!

okto wrote:

And my other question: how to set things to run when Unity starts? In Ubuntu there is a startup items option in the power/gear menu.

Try my gnome-session-properties package on the AUR. It's the same thing Ubuntu uses (although it's not integrated into the menu).

ywSu9vCs.png


Current system: Lenovo W520
Unity-for-Arch repos' build statuses and old packages: https://jenkins.noobdev.io/

Offline

#2617 2014-07-14 08:41:53

someone123
Member
Registered: 2014-07-14
Posts: 2

Re: Progress on Unity under Arch Linux!

Indicators don't work, I've installed from the unofficial repositorys.
Maybe someone can help me to make it work.
https://www.dropbox.com/s/70fmofqgxq0l7 … 0%3A20.png

Last edited by someone123 (2014-07-14 08:42:31)

Offline

#2618 2014-07-15 19:54:57

okto
Member
Registered: 2014-06-24
Posts: 14

Re: Progress on Unity under Arch Linux!

chenxiaolong wrote:

Try my gnome-session-properties package on the AUR. It's the same thing Ubuntu uses (although it's not integrated into the menu).

Thanks! Exactly what I needed. I'm trying to decide whether or not to upgrade to the Utopic packages from your repo. Have they broken anything for you?

Offline

#2619 2014-07-19 04:49:10

ryanvade
Member
Registered: 2013-01-23
Posts: 72

Re: Progress on Unity under Arch Linux!

Indicators are now working for me. Even the calendar. Just need to get the screen brightness working (will just create a keyboard shortcut) . Thanks chenxiaolong and Okto

Last edited by ryanvade (2014-07-19 05:07:46)

Offline

#2620 2014-07-25 15:23:45

sollidsnake
Member
Registered: 2012-01-30
Posts: 102

Re: Progress on Unity under Arch Linux!

I'm testing qt5 applications and I see it doesn't have a globalmenu. I have appmenu-qt5 and libdbusmenu-qt5 installed. Doesn't unity have qt5 globalmenu support yet?


"For with the passing of this hour
Even gods will be devoured"

Offline

#2621 2014-07-26 19:36:36

sollidsnake
Member
Registered: 2012-01-30
Posts: 102

Re: Progress on Unity under Arch Linux!

sollidsnake wrote:

I'm testing qt5 applications and I see it doesn't have a globalmenu. I have appmenu-qt5 and libdbusmenu-qt5 installed. Doesn't unity have qt5 globalmenu support yet?

Never mind, I got it working. I just needed to set the environment variable QT_QPA_PLATFORMTHEME=appmenu-qt5. Now I have globalmenu for QT5 smile


"For with the passing of this hour
Even gods will be devoured"

Offline

#2622 2014-07-30 18:10:28

ryanvade
Member
Registered: 2013-01-23
Posts: 72

Re: Progress on Unity under Arch Linux!

Calendar is missing again.

Also, the logout button does not work.

Offline

#2623 2014-08-22 19:58:31

okto
Member
Registered: 2014-06-24
Posts: 14

Re: Progress on Unity under Arch Linux!

Logged in today and neither the Unity panel nor the dock launched. A manual start of Unity reports "unity-panel-service not found".
Issued a pacman -Syu, reports conflicts between metacity and metacity-ubuntu, bamf and bamf-ubuntu, says compiz-ubuntu depends metacity (how is that even possible). Pacman -Syudd and -Syu --force did nothing to fix this. Removed bamf-ubuntu and metacity-ubuntu with -Rdd, currently running pacman -Syu.

Realize this is sort of a mishmash, will report back after system upgrade completes and I do a reboot, but does anyone know why this is suddenly happening?

I'm using the unofficial Utopic repo linked earlier in this thread.

Offline

#2624 2014-08-22 20:31:28

okto
Member
Registered: 2014-06-24
Posts: 14

Re: Progress on Unity under Arch Linux!

dconf reset -f /org/compiz/ fixed it. Still curious what caused this in the first place.
Unrelatedly, this seems to have fixed the problem I was having with mount actions for removable disks double-launching.

Maybe a Unity reset is regular maintenance like a PRAM zap used to be on pre-Intel Macintoshes? I still get the urge to hold Cmd-Opt-P-R on boot when things don't work right. tongue

Offline

#2625 2014-08-29 03:03:53

horsemanoffaith
Member
Registered: 2013-05-10
Posts: 168

Re: Progress on Unity under Arch Linux!

I'm trying to install Unity on my new SSD drive, and it's saying that libgee06 isn't available. When I look up libgee06, it's available as an AUR package, but that doesn't help me install Unity from scratch. Will libgee06 be added to the Unity-for-Arch repo?

Offline

Board footer

Powered by FluxBB