[arch-general] Check for update in script

2014-09-11 Thread Yamakaky

Hi

I can't find a good way to check for available upgrades without touching 
the database, as running `pacman -Sy` without `u` isn't supported. Any 
idea ? Maybe a new pacman switch like --upstreamdbpath to toggle 
change the location of sync/ without touching local/ ?


Why I need it :
https://github.com/XavierBerger/RPi-Monitor/pull/57#issuecomment-55248969

Yamakaky


Re: [arch-general] Check for update in script

2014-09-11 Thread Savyasachee Jha
On Thu, Sep 11, 2014 at 10:31 PM, Yamakaky yamak...@yamaworld.fr wrote:

 Hi

 I can't find a good way to check for available upgrades without touching
 the database, as running `pacman -Sy` without `u` isn't supported. Any idea
 ? Maybe a new pacman switch like --upstreamdbpath to toggle change the
 location of sync/ without touching local/ ?

 Why I need it :
 https://github.com/XavierBerger/RPi-Monitor/pull/57#issuecomment-55248969

 Yamakaky


It can certainly be done. You can always do a pacman -Su later, if you
want. In your use case, you can probably specify an alternative db path
using the --dbpath switch in pacman.

In this case, I believe RTFM is an appropiate response. :)

Hope it helps.

-- 
Savyasachee Jha

*Aerodynamics is for people whodon't know how to build engines.*


Re: [arch-general] Check for update in script

2014-09-11 Thread Jakub Klinkovský
On 11.09.14 at 19:01, Yamakaky wrote:
 Hi
 
 I can't find a good way to check for available upgrades without touching the
 database, as running `pacman -Sy` without `u` isn't supported. Any idea ?
 Maybe a new pacman switch like --upstreamdbpath to toggle change the
 location of sync/ without touching local/ ?
 
 Why I need it :
 https://github.com/XavierBerger/RPi-Monitor/pull/57#issuecomment-55248969
 
 Yamakaky

pacman provides a `checkupdates` script, see /usr/bin/checkupdates for how it
works.

--
jlk


pgpmDUdmL4ExP.pgp
Description: PGP signature


Re: [arch-general] pacman-key issue

2014-09-11 Thread Frank Zimmermann
Am Mittwoch, den 10.09.2014, 06:55 +0200 schrieb Christian Hesse:
 Frank Zimmermann frank.zimmermann.ber...@freenet.de on Tue, 2014/09/09
 22:39:
  
  
  Am Di, 9. Sep, 2014 um 10:37 schrieb Yamakaky yamak...@yamaworld.fr:
   At a last resort, you can remove /etc/pacman.d/gnupg, then run 
   `pacman-key --init` and `pacman-key --populate archlinux`.
  
  Did that, how long is pacman-key --init supposed to run? After approx 
  30min with no changes in /etc/pacman.d/gnupg I stopped it and tried to 
  populate the keyring with the reported errors.

I've deleted /etc/pacman.d/gnupg and started from scratch, now it seems
to work.

KR Frank


[arch-general] Fail to use optirun when using bumblebee 3.2.1-3

2014-09-11 Thread Stephen Zhang
Hi all,
I installed bumblebee to support my nvidia GT-620m card, but failed to use
optirun sometimes. Here are some details.

When I use optirun firefox, it works fine. But when I use it to launch
wine osu!.exe(a game), it fails. and I got these outputs:
/-
|[VGL] WARNING: The OpenGL rendering context obtained on X display
|[VGL]:8 is indirect, which may cause performance to suffer.
|[VGL]If :8 is a local X display, then the framebuffer device
|[VGL]permissions may be set incorrectly.
|[VGL] WARNING: The OpenGL rendering context obtained on X display
|[VGL]:8 is indirect, which may cause performance to suffer.
|[VGL]If :8 is a local X display, then the framebuffer device
|[VGL]permissions may be set incorrectly.
|[VGL] ERROR: glXCreateContextAttribsARB symbol not loaded
\-

Then I tried optirun --debug glxgears, it also failed to start. The ouputs
were:
/-
|[ 1826.023482] [DEBUG]optirun version 3.2.1 starting...
|[ 1826.023552] [DEBUG]Active configuration:
|[ 1826.023577] [DEBUG] bumblebeed config file: /etc/bumblebee/bumblebee.conf
|[ 1826.023601] [DEBUG] X display: :8
|[ 1826.023623] [DEBUG] LD_LIBRARY_PATH: /usr/lib/nvidia:/usr/lib32/nvidia
|[ 1826.023645] [DEBUG] Socket path: /var/run/bumblebee.socket
|[ 1826.023665] [DEBUG] Accel/display bridge: auto
|[ 1826.023687] [DEBUG] VGL Compression: proxy
|[ 1826.023709] [DEBUG] VGLrun extra options: 
|[ 1826.023730] [DEBUG] Primus LD Path: /usr/lib/primus:/usr/lib32/primus
|[ 1826.023819] [DEBUG]Using auto-detected bridge virtualgl
|[ 1829.389796] [INFO]Response: Yes. X is active.
|
|[ 1829.389827] [INFO]Running application using virtualgl.
|[ 1829.389960] [DEBUG]Process vglrun started, PID 2144.
|libGL error: failed to load driver: swrast
|[VGL] WARNING: The OpenGL rendering context obtained on X display
|[VGL]:8 is indirect, which may cause performance to suffer.
|[VGL]If :8 is a local X display, then the framebuffer device
|[VGL]permissions may be set incorrectly.
|[VGL] ERROR: in readpixels--
|[VGL]358: GL_ARB_pixel_buffer_object extension not available
|[ 1829.487837] [DEBUG]SIGCHILD received, but wait failed with No child
|processes
|[ 1829.487863] [DEBUG]Socket closed.
|[ 1829.487878] [DEBUG]Killing all remaining processes.
\-
optirun glxspheres{32,64} got the almost same outputs above.

I googled 358: GL_ARB_pixel_buffer_object extension not available, only got
this[1], which was useless for me. I also googled :8 is indirect, which may
cause performance to suffer, but got nothing helpful as well.

Here are some more details.
The output of # systemctl status bumblebeed -l was:
/-
|● bumblebeed.service - Bumblebee C Daemon
|   Loaded: loaded (/usr/lib/systemd/system/bumblebeed.service; enabled)
|   Active: active (running) since Fri 2014-09-12 00:53:56 CST; 26min ago
| Main PID: 1182 (bumblebeed)
|   CGroup: /system.slice/bumblebeed.service
|   └─1182 /usr/bin/bumblebeed
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389601] [WARN][XORG]
|(WW) Warning, couldn't open module mouse
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389606]
|[ERROR][XORG] (EE) Failed to load module mouse (module does not exist,
|0)
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389615] [WARN][XORG]
|(WW) Unresolved symbol: fbGetGCPrivateKey
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389637] [WARN][XORG]
|(WW) NVIDIA(0): Unable to get display device for DPI computation.
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389644]
|[ERROR][XORG] (EE) NVIDIA(0): Failed to initiate mode change.
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389648]
|[ERROR][XORG] (EE) NVIDIA(0): Failed to complete mode change
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389654] [WARN][XORG]
|(WW) Warning, couldn't open module mouse
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389658]
|[ERROR][XORG] (EE) Failed to load module mouse (module does not exist,
|0)
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.389668]
|[ERROR][XORG] (EE) /dev/dri/card0: failed to set DRM interface version
|1.4: Permission denied
|
|Sep 12 01:14:40 ASenR_acer bumblebeed[1182]: [ 1829.543431]
|[ERROR][XORG] (EE) Server terminated successfully (0). Closing log file.
\-

And this is my xorg.conf.nvidia file:
/-
|$ cat /etc/bumblebee/xorg.conf.nvidia |grep -v ^#|grep -v ^$
|Section ServerLayout
|Identifier  Layout0
|Option  AutoAddDevices false
|Option  AutoAddGPU false
|EndSection
|Section Device
|Identifier  DiscreteNvidia
|Driver  nvidia
|VendorName  NVIDIA Corporation
|Option ProbeAllGpus false
|Option NoLogo true
|Option UseEDID false
|Option UseDisplayDevice none
|Option ConnectedMonitor CRT-0
|EndSection
|Section Screen
|Identifier Default Screen
|Device DiscreteNvidia
|EndSection
\-

Also, I have these packages installed:
/-

[arch-general] hp myroom

2014-09-11 Thread Javier Vasquez
Hi,

I'm trying to use HP myRoom tool:

https://www.myroom.hp.com

It's pretty similar to HP virtualRooms tool:

https://www.rooms.hp.com

There's an AUR package for hpvirtualrooms:

https://aur.archlinux.org/packages/hpvirtualrooms

And attached goes a package (essentially the PKGBUILD) I created for
hpmyroom.

myRoom is supposed to be based on the virtualRooms technology.

With virtualRooms I don't have any problems getting whatever is shared from
the virtual rooms.

With myRoom I can use the VoIP functionality, I can chat, I can share
desktop, and from my room I can also share desktop.

Weird enough, I can not get what others share to me on myRoom, or others'
room shares.

What I see is something popping up really quick and disappearing in a blink
of an eye.

I'm not using any DE, just a plain WM (fluxbox), so perhaps it might be
some configuration missing, or some permissions issue.

I also attempted xhost+, with no success.  Though I didn't expect anything
great from that, given I don't need it for virtualRooms.

I'm writing in case there's any Arch user that can help.  On ubuntu with
gnome this thing works out of the box, and I'm getting the hpmyroom
binaries from the deb package (there's also rpm).  See ldd output:


% ldd /usr/share/hpmyroom/hpmyroom
linux-gate.so.1 (0xf777c000)
libuuid.so.1 = /usr/lib32/libuuid.so.1 (0xf7745000)
libXss.so.1 = /usr/lib32/libXss.so.1 (0xf7741000)
libXfixes.so.3 = /usr/lib32/libXfixes.so.3 (0xf773b000)
libXtst.so.6 = /usr/lib32/libXtst.so.6 (0xf7734000)
libasound.so.2 = /usr/lib32/libasound.so.2 (0xf7628000)
libpng12.so.0 = /usr/lib32/libpng12.so.0 (0xf75f8000)
libSM.so.6 = /usr/lib32/libSM.so.6 (0xf75ef000)
libICE.so.6 = /usr/lib32/libICE.so.6 (0xf75d2000)
libXrender.so.1 = /usr/lib32/libXrender.so.1 (0xf75c7000)
libfontconfig.so.1 = /usr/lib32/libfontconfig.so.1 (0xf758a000)
libfreetype.so.6 = /usr/lib32/libfreetype.so.6 (0xf74e6000)
libXext.so.6 = /usr/lib32/libXext.so.6 (0xf74d1000)
libX11.so.6 = /usr/lib32/libX11.so.6 (0xf739a000)
libz.so.1 = /usr/lib32/libz.so.1 (0xf7383000)
libdl.so.2 = /usr/lib32/libdl.so.2 (0xf737d000)
librt.so.1 = /usr/lib32/librt.so.1 (0xf7374000)
libglib-2.0.so.0 = /usr/lib32/libglib-2.0.so.0 (0xf7269000)
libpthread.so.0 = /usr/lib32/libpthread.so.0 (0xf724c000)
libstdc++.so.6 = /usr/lib32/libstdc++.so.6 (0xf7156000)
libm.so.6 = /usr/lib32/libm.so.6 (0xf710a000)
libgcc_s.so.1 = /usr/lib32/libgcc_s.so.1 (0xf70ee000)
libc.so.6 = /usr/lib32/libc.so.6 (0xf6f2c000)
/lib/ld-linux.so.2 (0xf777f000)
libXi.so.6 = /usr/lib32/libXi.so.6 (0xf6f19000)
libexpat.so.1 = /usr/lib32/libexpat.so.1 (0xf6ef)
libbz2.so.1.0 = /usr/lib32/libbz2.so.1.0 (0xf6edf000)
libpng16.so.16 = /usr/lib32/libpng16.so.16 (0xf6ea)
libharfbuzz.so.0 = /usr/lib32/libharfbuzz.so.0 (0xf6e44000)
libxcb.so.1 = /usr/lib32/libxcb.so.1 (0xf6e1e000)
libpcre.so.1 = /usr/lib32/libpcre.so.1 (0xf6db)
libXau.so.6 = /usr/lib32/libXau.so.6 (0xf6dac000)
libXdmcp.so.6 = /usr/lib32/libXdmcp.so.6 (0xf6da4000)

So I don't see any missing library, though there might be some incompatible
ones, but I have no clue.

If there's any one who can help me out to be able to get the shared stuff
on myRoom, that'd be great.

Thanks,

-- 
Javier.


Re: [arch-general] Dell latitude and keyboard problem

2014-09-11 Thread Sławek Kapłoński
Hello,

Thanks for info. Yesterday I downgrade bios to A08 and since then I have no 
any issue with keyboard so far. I hope that it really helps.
I checked also changelog of A10 bios version and there is point:
Keyboard input improvement - so this is probably great future 

---
Pozdrawiam
Sławek Kapłoński
sla...@kaplonski.pl

Dnia wtorek, 9 września 2014 16:09:21 piszesz:
 Hello,
 
 Le mercredi 03 septembre 2014, 12:50:42 Sławek Kapłoński a écrit :
  Bios
  is up to date now and I didn't found any option which could be related
  to that in BIOS.
 
 Actually, I've noticed this problem on my dell e7440 after updating the bios
 to A10. Unfortunately, I've not written the previous version I was using
 before (probably A08).
 
 --
 Hyacinthe
 PGP KeyID 0x550DF40B


[arch-general] [Berlin]ArchLinux User Group

2014-09-11 Thread akendo

Hello everyone,

I have seen an increased interests in Arch Linux by a lot of users
lately. While I'm already exchanging with some of my friends regards
this a lot, more and more are coming. So I thought about create a (for
now) monthly appointment where we can met to talk, help and work on
ArchLinux or just be around.
It should be nothing special.

On the 1 of October I like you to invite everyone to the first
ArchLinux User Group meeting in Berlin. At least the first I'm with me
';-).
I hope to host it in the c-base[1]. There will be no agenda and no plan
for this. Just bring yourself.

The only thing that you have to take care: to be excellent to each 
other!

Feel free to join us on the IRC on Freenode #Archlinux-berlin


[1]https://c-base.org/

best regards
Akendo


[arch-general] fbpanel tclock font colour

2014-09-11 Thread Ralf Mardorf
Hi,

is it possible to change the colour of fbpanel tclock's font?

span style=color:whitefoo/span seems not to work. With the
below-mentioned settings the font is black, but I need white.

$ cat .config/fbpanel/default
# [snip]
Plugin {
  type = tclock
  config {
ClockFmt = span font=Sans 12b%H:%M/b/span
# 2 line view, time in bold above and date below
#ClockFmt = span font=Sans 12b%H:%M/b #xA;%A, %d %b %Y/span
TooltipFmt = %A, %d %b %Y
#Action = orage 
ShowCalendar = true
ShowTooltip = true
  }
}
# [snip]

Regards,
Ralf