Re: [arch-general] Having trouble understanding UEFI booting

2015-08-28 Thread Christian Demsar
On Wed, Aug 26, 2015, at 10:17 PM, mick wrote:
> The disk is currently split into 11 partitions
> partsizecodename
> [...]
> 2   260mb   EF00EFI system partition
> [...]
> when installing I have only used partitions 9, 10 & 11. partitions 1 -
> 8 were on the disc from the windows pre-install and shrunk to make way
> for linux.

If you didn't mount your ESP (EFI System Partition), then that's why
your installation failed.

You need to mount the partition of type EF00 (EFI System Partition) on
/boot. By the looks of it, it's your second partition (if your drive is
/dev/sda, then most likely /dev/sda2).

Follow this after you have the partition mounted correctly:
https://wiki.archlinux.org/index.php/Systemd-boot#EFI_boot

Unless you really need GRUB, you should use bootctl.


Re: [arch-general] Extremely slow battery status on MBP

2015-08-28 Thread Christian Demsar
On Fri, Aug 28, 2015, at 02:40 PM, Emanuel Evans wrote:
> Apologies for the repeat posting--I think my previous posting ended up
> bouncing due to some misconfigured dmarc settings.

Your email actually got through successfully. I saved the thread in case
anyone figured it out. (I regrettably can't solve your problem,
however.)


Re: [arch-general] filezilla won't start

2015-08-23 Thread Christian Demsar
On Sun, Aug 23, 2015, at 06:37 PM, James wrote:
> http://lockie.ca/test/filezilla_017.png
>> An assertion failed!

I thought assertions are usually not compiled into releases.

Anyway, you might want to include a little bit more info. What do you
mean by fresh install?


Re: [arch-general] motherboard change - strategies for saving current install?

2015-08-12 Thread Christian Demsar
On Wed, Aug 12, 2015, at 10:08 PM, David C. Rankin wrote:
> "can I boot the install media, assemble raid arrays, chroot old and
> update, or do I just dump the root partition and reinstall
> completely?"

You'll need to reinstall, I think. According to [1], ESP on RAID is not
a good idea, which means one of your drives will have to host the EFI
(and also usually boot) partition.

[1] https://wiki.archlinux.org/index.php/EFI#ESP_on_RAID

Instead, you can do something similar to the full-disk encryption /
plausible deniability setup I experimented with a few months ago [2] --
host the EFI / boot partition on a high quality USB drive instead and
keep your RAID array intact.

[2] 
https://wiki.archlinux.org/index.php/Dm-crypt/Encrypting_an_entire_system#Plain_dm-crypt


Re: [arch-general] NetworkManager warn logs, Is it something to be concerned?

2015-07-22 Thread Christian Demsar
There might be a negligible decrease in speed since 220 bytes less are
being transmitted per frame, but I don't think it's a breaking issue.
Problems arise when the MTU is set higher than all parts of the network
can handle, which is why the standard seems to be 1500 (although I've
seen some openvpn configuration files restricting the MTU to 1400 for
reducing packet loss -- I've never tested to see if it works or not).

I'm not sure why your NIC is broadcasting an MTU of 0. Someone more
experienced with the (Arch) Linux network stack should be able to help
here.


Re: [arch-general] current flash vulnerabilities - what to do?

2015-07-17 Thread Christian Demsar
On Fri, Jul 17, 2015, at 02:13 AM, Ralf Mardorf wrote:
> In Western civilisations we seldom need TOR, what we need are less
> bloated browsers, that still provide some comfort.

There are a few minimalist browsers out there. Gnome, KDE, and XFCE all
have them. 

The basic comfort I require is cross-platform bookmark sync. None of
these small browsers have the manpower to do this unless they wrap
themselves into FF sync like icecat does. 

Anyone have any ideas on how to sync bookmarks, history, and tabs across
FLOSS browsers on all platforms? 


Aside, flash is still important. It should just be treated as if it is
riddled with 0-days (which it is) and an open door for malware. I've used
it more than a few times viewing .swf`s for college classes, for
instance, and I doubt the university is going to pay someone to convert
content that is still "functional".

There's a lot of legacy flash content that should be preserved and
accessible, but there definitely shouldn't be any new flash content
being created.


Re: [arch-general] Firefox display problem

2015-06-07 Thread Christian Demsar
On Sun, Jun 7, 2015, at 04:27 PM, Francis Gerund wrote:
> Thank you.
>
> Yes, temporarily allowing cnn.com in NoScript did get rid of the
> rectangles.
>
> But try it youself, and then click the NoScript icon in the Firefox menu
> bar to count the still-blocked third-party revenue leeches cnn
> lets tag along on it's website.  11 by my count.
>
> So much for privacy.
>
> Remeber when the websites said to visitors, "what can we do for you?",
> not
> "what can we do you for?" . . .

Privacy issues aside, javascript on certain websites tends to slow my
browser down to a crawl. Amazon.com, for instance, is impossibly
sluggish when I whitelist it. It's crashed my DE before when I had more
than a few tabs open.

In terms of both privacy and performance, the third-party scripts and
trackers really do slow down browsing.

(The Amazon scripts aren't third party, they're just surprisingly
slow...)

As an aside, if anyone knows a fix for Amazon on Firefox, I'd appreciate
a tip. I'm not sure if it's just my local setup.

--
vixsomnis


Re: [arch-general] Firefox display problem

2015-06-07 Thread Christian Demsar
On June 7, 2015 3:31:26 PM EDT, Francis Gerund  wrote:
>Using Firefox to access http://cnn.com, photos show up, but often have
>a
>superimposed small, hollow rectangle in the center of each.  The
>rectangles
>contain the characters "FI" above the characters "33".
>
>Is this a sign of some missing component from Firefox, or just an error
>at
>the cnn.com website?  Or something else?

Are you blocking javascript? When I allow CNN in noscript, those characters are 
replaced (by a search icon, or the weather, for instance).
-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-02 Thread Christian Demsar
On Tue, Jun 2, 2015, at 09:41 PM, Kodephault wrote:
> Is your keyboard based on Microdia board? I had the same issue and I
> fixed
> it using a custom driver.
> 
> Please check the idVendor and idProduct with the lsusb command and maybe
> I
> can help you.
> 
> Regards.

Replying for OP (he attached the lsusb output -- appears to be
Microdia). Some info is missing, probably not run under root.

Bus 003 Device 003: ID 0c45:7603 Microdia 
Couldn't open device, some information will be missing
Device Descriptor:
  bLength18
  bDescriptorType 1
  bcdUSB   2.00
  bDeviceClass0 
  bDeviceSubClass 0 
  bDeviceProtocol 0 
  bMaxPacketSize0 8
  idVendor   0x0c45 Microdia
  idProduct  0x7603 
  bcdDevice1.06
  iManufacturer   1 
  iProduct2 
  iSerial 0 
  bNumConfigurations  1
  Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength   59
bNumInterfaces  2
bConfigurationValue 1
iConfiguration  0 
bmAttributes 0xa0
  (Bus Powered)
  Remote Wakeup
MaxPower  300mA
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber0
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  1 Boot Interface Subclass
  bInterfaceProtocol  1 Keyboard
  iInterface  0 
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.11
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength  65
 Report Descriptors: 
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81  EP 1 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval  10
Interface Descriptor:
  bLength 9
  bDescriptorType 4
  bInterfaceNumber1
  bAlternateSetting   0
  bNumEndpoints   1
  bInterfaceClass 3 Human Interface Device
  bInterfaceSubClass  1 Boot Interface Subclass
  bInterfaceProtocol  1 Keyboard
  iInterface  0 
HID Device Descriptor:
  bLength 9
  bDescriptorType33
  bcdHID   1.11
  bCountryCode0 Not supported
  bNumDescriptors 1
  bDescriptorType34 Report
  wDescriptorLength 169
 Report Descriptors: 
   ** UNAVAILABLE **
  Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82  EP 2 IN
bmAttributes3
  Transfer TypeInterrupt
  Synch Type   None
  Usage Type   Data
wMaxPacketSize 0x0008  1x 8 bytes
bInterval  10


-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Tue, Jun 2, 2015, at 12:01 AM, Facundo Curti wrote:
> 2015-06-02 0:56 GMT-03:00 Christian Demsar :
> 
> > On Mon, Jun 1, 2015, at 11:47 PM, Facundo Curti wrote:
> > > 2015-06-02 0:38 GMT-03:00 Christian Demsar :
> > >
> > > > On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
> > > > > 2015-06-02 0:10 GMT-03:00 Christian Demsar :
> > > > >
> > > > > > On Mon, Jun 1, 2015, at 10:36 PM, Facundo Curti wrote:
> > > > > > > Distros/computer, I didn't. But in windows it works fine. :/
> > > > > > > El 01/06/2015 22:55, "Christian Demsar" 
> > > > > > > escribió:
> > > > > > >
> > > > > > > > On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
> > > > > > > > > Hi. I hope someone can help me please.
> > > > > > > > >
> > > > > > > > > I bought a new keyboard, a noga NKB-710. The problem is that,
> > > > > > according
> > > > > > > > > to
> > > > > > > > > xev, four of the keys have the same keycode...
> > > > > > > > >
> > > > > > > > > The keys Ctrl, Alt, Win*** and shift, have the same keycode,
> > 50.
> > > > Off
> > > > > > > > > course, it doesn't work correctly. and this way, It's
> > imposible
> > > > to
> > > > > > me to
> > > > > > > > > configure it with xmodmap.
> > > > > > > > >
> > > > > > > > > I don't know what data I can share. I hope this to be
> > sufficient:
> > > > > > > > >
> > > > > > > > > attached a lsusb -v output
> > > > > > > > >
> > > > > > > > > Thx, bye! :P
> > > > > > > > > Email had 1 attachment:
> > > > > > > > > + lsusb-v2
> > > > > > > > >   20k (application/octet-stream)
> > > > > > > >
> > > > > > > > Have you tested if it works in other distros or other
> > computers?
> > > > Might
> > > > > > > > narrow down the problem.
> > > > > > > >
> > > > > > > > --
> > > > > > > > vixsomnis
> > > > > > > >
> > > > > >
> > > > > > (please bottom-post if you can)
> > > > > >
> > > > > > I installed the xorg-xev package to compare to what you're seeing.
> > I
> > > > > > think the X11 keycodes are different from the codes actually sent
> > by
> > > > the
> > > > > > keyboard.
> > > > > >
> > > > > > Can you post the output of typing the problem keys when running
> > > > > > $ sudo showkey
> > > > > >
> > > > > > I have:
> > > > > >
> > > > > > left-ctrl = 29
> > > > > > windows = 125
> > > > > > left-alt = 56
> > > > > > right-alt = 57
> > > > > > right-ctrl = 97
> > > > > > left-shift = 24
> > > > > > right-shift = 54
> > > > > >
> > > > > > I think these are standard for all US keyboards.
> > > > > >
> > > > > > That should confirm if the problem is with your keyboard (if the
> > keys
> > > > > > show the same code) or in the driver (or somewhere else).
> > > > > >
> > > > > > There's also the slight possibility that it's a kernel bug, which
> > would
> > > > > > show up as repeating codes from showkey, since showkey is as close
> > to
> > > > > > the kernel as possible.
> > > > > >
> > > > > > --
> > > > > > vixsomnis
> > > > > >
> > > > >
> > > > > Yes, sorry. My bad. I answered from my phone
> > > > >
> > > > > With showkey I have the code 42 In alt, ctrl, shift and windows.
> > Again,
> > > > > the
> > > > > same code on the keys :/
> > > > >
> > > > > I'm from Argentina, So I don't have an english keyboard.
> > > > >
> > > > > The keyboard works fine on windows :/. ¿Maybe is a Driver thing? :S
> > > > >
> > > > > I dont know what else I can do :S. Is really a nice keyboard :'(
> > jaja.
> > > > >
> > > > > Thank you!
> > > >
> > > > What's your keymap set to? I don't know what the Argentina layout or
> > > > file is.
> > > >
> > > > Try temporarily switching to US qwerty (it'll clear on reboot) and see
> > > > if that differentiates the keys.
> > > >
> > > > $  loadkeys us
> > > >
> > > > You can see which keymaps you have by checking /usr/share/kbd/keymaps
> > > >
> > > > --
> > > > vixsomnis
> > > >
> > >
> > > Switching to us keymap makes me the same :/ it doesn't works
> > >
> > > I was using es layout before
> >
> > I may have been mistaken about scancodes vs keycodes (see
> > https://wiki.archlinux.org/index.php/Extra_keyboard_keys#Scancodes).
> >
> > Try this in a virtual terminal (ttyX, not xterm, gnome-terminal, etc):
> >
> > $  sudo showkeys --scancodes
> >
> > --
> > vixsomnis
> >
> 
> Nope. :S Again have the same code.
> 
> 0x2a when pressing, 0xaa when release.

Ah, sorry. That's the extent of my knowledge. It might be a kernel bug,
so you can submit a bug report (or try out the latest kernel in the
testing repo).

Another option is trying an operating system with a different kernel,
say freebsd. If you still have a problem, it's the fault of the keyboard
(although this is unlikely since Windows sees it fine).

-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 11:47 PM, Facundo Curti wrote:
> 2015-06-02 0:38 GMT-03:00 Christian Demsar :
> 
> > On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
> > > 2015-06-02 0:10 GMT-03:00 Christian Demsar :
> > >
> > > > On Mon, Jun 1, 2015, at 10:36 PM, Facundo Curti wrote:
> > > > > Distros/computer, I didn't. But in windows it works fine. :/
> > > > > El 01/06/2015 22:55, "Christian Demsar" 
> > > > > escribió:
> > > > >
> > > > > > On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
> > > > > > > Hi. I hope someone can help me please.
> > > > > > >
> > > > > > > I bought a new keyboard, a noga NKB-710. The problem is that,
> > > > according
> > > > > > > to
> > > > > > > xev, four of the keys have the same keycode...
> > > > > > >
> > > > > > > The keys Ctrl, Alt, Win*** and shift, have the same keycode, 50.
> > Off
> > > > > > > course, it doesn't work correctly. and this way, It's imposible
> > to
> > > > me to
> > > > > > > configure it with xmodmap.
> > > > > > >
> > > > > > > I don't know what data I can share. I hope this to be sufficient:
> > > > > > >
> > > > > > > attached a lsusb -v output
> > > > > > >
> > > > > > > Thx, bye! :P
> > > > > > > Email had 1 attachment:
> > > > > > > + lsusb-v2
> > > > > > >   20k (application/octet-stream)
> > > > > >
> > > > > > Have you tested if it works in other distros or other computers?
> > Might
> > > > > > narrow down the problem.
> > > > > >
> > > > > > --
> > > > > > vixsomnis
> > > > > >
> > > >
> > > > (please bottom-post if you can)
> > > >
> > > > I installed the xorg-xev package to compare to what you're seeing. I
> > > > think the X11 keycodes are different from the codes actually sent by
> > the
> > > > keyboard.
> > > >
> > > > Can you post the output of typing the problem keys when running
> > > > $ sudo showkey
> > > >
> > > > I have:
> > > >
> > > > left-ctrl = 29
> > > > windows = 125
> > > > left-alt = 56
> > > > right-alt = 57
> > > > right-ctrl = 97
> > > > left-shift = 24
> > > > right-shift = 54
> > > >
> > > > I think these are standard for all US keyboards.
> > > >
> > > > That should confirm if the problem is with your keyboard (if the keys
> > > > show the same code) or in the driver (or somewhere else).
> > > >
> > > > There's also the slight possibility that it's a kernel bug, which would
> > > > show up as repeating codes from showkey, since showkey is as close to
> > > > the kernel as possible.
> > > >
> > > > --
> > > > vixsomnis
> > > >
> > >
> > > Yes, sorry. My bad. I answered from my phone
> > >
> > > With showkey I have the code 42 In alt, ctrl, shift and windows. Again,
> > > the
> > > same code on the keys :/
> > >
> > > I'm from Argentina, So I don't have an english keyboard.
> > >
> > > The keyboard works fine on windows :/. ¿Maybe is a Driver thing? :S
> > >
> > > I dont know what else I can do :S. Is really a nice keyboard :'( jaja.
> > >
> > > Thank you!
> >
> > What's your keymap set to? I don't know what the Argentina layout or
> > file is.
> >
> > Try temporarily switching to US qwerty (it'll clear on reboot) and see
> > if that differentiates the keys.
> >
> > $  loadkeys us
> >
> > You can see which keymaps you have by checking /usr/share/kbd/keymaps
> >
> > --
> > vixsomnis
> >
> 
> Switching to us keymap makes me the same :/ it doesn't works
> 
> I was using es layout before

I may have been mistaken about scancodes vs keycodes (see 
https://wiki.archlinux.org/index.php/Extra_keyboard_keys#Scancodes).

Try this in a virtual terminal (ttyX, not xterm, gnome-terminal, etc):

$  sudo showkeys --scancodes 

-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 11:38 PM, Christian Demsar wrote:
> On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
> > 2015-06-02 0:10 GMT-03:00 Christian Demsar :
> > 
> > > On Mon, Jun 1, 2015, at 10:36 PM, Facundo Curti wrote:
> > > > Distros/computer, I didn't. But in windows it works fine. :/
> > > > El 01/06/2015 22:55, "Christian Demsar" 
> > > > escribió:
> > > >
> > > > > On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
> > > > > > Hi. I hope someone can help me please.
> > > > > >
> > > > > > I bought a new keyboard, a noga NKB-710. The problem is that,
> > > according
> > > > > > to
> > > > > > xev, four of the keys have the same keycode...
> > > > > >
> > > > > > The keys Ctrl, Alt, Win*** and shift, have the same keycode, 50. Off
> > > > > > course, it doesn't work correctly. and this way, It's imposible to
> > > me to
> > > > > > configure it with xmodmap.
> > > > > >
> > > > > > I don't know what data I can share. I hope this to be sufficient:
> > > > > >
> > > > > > attached a lsusb -v output
> > > > > >
> > > > > > Thx, bye! :P
> > > > > > Email had 1 attachment:
> > > > > > + lsusb-v2
> > > > > >   20k (application/octet-stream)
> > > > >
> > > > > Have you tested if it works in other distros or other computers? Might
> > > > > narrow down the problem.
> > > > >
> > > > > --
> > > > > vixsomnis
> > > > >
> > >
> > > (please bottom-post if you can)
> > >
> > > I installed the xorg-xev package to compare to what you're seeing. I
> > > think the X11 keycodes are different from the codes actually sent by the
> > > keyboard.
> > >
> > > Can you post the output of typing the problem keys when running
> > > $ sudo showkey
> > >
> > > I have:
> > >
> > > left-ctrl = 29
> > > windows = 125
> > > left-alt = 56
> > > right-alt = 57
> > > right-ctrl = 97
> > > left-shift = 24
> > > right-shift = 54
> > >
> > > I think these are standard for all US keyboards.
> > >
> > > That should confirm if the problem is with your keyboard (if the keys
> > > show the same code) or in the driver (or somewhere else).
> > >
> > > There's also the slight possibility that it's a kernel bug, which would
> > > show up as repeating codes from showkey, since showkey is as close to
> > > the kernel as possible.
> > >
> > > --
> > > vixsomnis
> > >
> > 
> > Yes, sorry. My bad. I answered from my phone
> > 
> > With showkey I have the code 42 In alt, ctrl, shift and windows. Again,
> > the
> > same code on the keys :/
> > 
> > I'm from Argentina, So I don't have an english keyboard.
> > 
> > The keyboard works fine on windows :/. ¿Maybe is a Driver thing? :S
> > 
> > I dont know what else I can do :S. Is really a nice keyboard :'( jaja.
> > 
> > Thank you!
> 
> What's your keymap set to? I don't know what the Argentina layout or
> file is.
> 
> Try temporarily switching to US qwerty (it'll clear on reboot) and see
> if that differentiates the keys.
> 
> $  loadkeys us
> 
> You can see which keymaps you have by checking /usr/share/kbd/keymaps
> 
> -- 
> vixsomnis

This probably won't work, since I think X overrides this, but it's worth
a shot. It doesn't normally override gnome (my DE) when I set it to
dvorak, for instance.

-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 11:26 PM, Facundo Curti wrote:
> 2015-06-02 0:10 GMT-03:00 Christian Demsar :
> 
> > On Mon, Jun 1, 2015, at 10:36 PM, Facundo Curti wrote:
> > > Distros/computer, I didn't. But in windows it works fine. :/
> > > El 01/06/2015 22:55, "Christian Demsar" 
> > > escribió:
> > >
> > > > On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
> > > > > Hi. I hope someone can help me please.
> > > > >
> > > > > I bought a new keyboard, a noga NKB-710. The problem is that,
> > according
> > > > > to
> > > > > xev, four of the keys have the same keycode...
> > > > >
> > > > > The keys Ctrl, Alt, Win*** and shift, have the same keycode, 50. Off
> > > > > course, it doesn't work correctly. and this way, It's imposible to
> > me to
> > > > > configure it with xmodmap.
> > > > >
> > > > > I don't know what data I can share. I hope this to be sufficient:
> > > > >
> > > > > attached a lsusb -v output
> > > > >
> > > > > Thx, bye! :P
> > > > > Email had 1 attachment:
> > > > > + lsusb-v2
> > > > >   20k (application/octet-stream)
> > > >
> > > > Have you tested if it works in other distros or other computers? Might
> > > > narrow down the problem.
> > > >
> > > > --
> > > > vixsomnis
> > > >
> >
> > (please bottom-post if you can)
> >
> > I installed the xorg-xev package to compare to what you're seeing. I
> > think the X11 keycodes are different from the codes actually sent by the
> > keyboard.
> >
> > Can you post the output of typing the problem keys when running
> > $ sudo showkey
> >
> > I have:
> >
> > left-ctrl = 29
> > windows = 125
> > left-alt = 56
> > right-alt = 57
> > right-ctrl = 97
> > left-shift = 24
> > right-shift = 54
> >
> > I think these are standard for all US keyboards.
> >
> > That should confirm if the problem is with your keyboard (if the keys
> > show the same code) or in the driver (or somewhere else).
> >
> > There's also the slight possibility that it's a kernel bug, which would
> > show up as repeating codes from showkey, since showkey is as close to
> > the kernel as possible.
> >
> > --
> > vixsomnis
> >
> 
> Yes, sorry. My bad. I answered from my phone
> 
> With showkey I have the code 42 In alt, ctrl, shift and windows. Again,
> the
> same code on the keys :/
> 
> I'm from Argentina, So I don't have an english keyboard.
> 
> The keyboard works fine on windows :/. ¿Maybe is a Driver thing? :S
> 
> I dont know what else I can do :S. Is really a nice keyboard :'( jaja.
> 
> Thank you!

What's your keymap set to? I don't know what the Argentina layout or
file is.

Try temporarily switching to US qwerty (it'll clear on reboot) and see
if that differentiates the keys.

$  loadkeys us

You can see which keymaps you have by checking /usr/share/kbd/keymaps

-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 10:36 PM, Facundo Curti wrote:
> Distros/computer, I didn't. But in windows it works fine. :/
> El 01/06/2015 22:55, "Christian Demsar" 
> escribió:
> 
> > On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
> > > Hi. I hope someone can help me please.
> > >
> > > I bought a new keyboard, a noga NKB-710. The problem is that, according
> > > to
> > > xev, four of the keys have the same keycode...
> > >
> > > The keys Ctrl, Alt, Win*** and shift, have the same keycode, 50. Off
> > > course, it doesn't work correctly. and this way, It's imposible to me to
> > > configure it with xmodmap.
> > >
> > > I don't know what data I can share. I hope this to be sufficient:
> > >
> > > attached a lsusb -v output
> > >
> > > Thx, bye! :P
> > > Email had 1 attachment:
> > > + lsusb-v2
> > >   20k (application/octet-stream)
> >
> > Have you tested if it works in other distros or other computers? Might
> > narrow down the problem.
> >
> > --
> > vixsomnis
> >
 
(please bottom-post if you can)

I installed the xorg-xev package to compare to what you're seeing. I
think the X11 keycodes are different from the codes actually sent by the
keyboard.

Can you post the output of typing the problem keys when running
$ sudo showkey

I have:

left-ctrl = 29
windows = 125
left-alt = 56
right-alt = 57
right-ctrl = 97
left-shift = 24
right-shift = 54

I think these are standard for all US keyboards.

That should confirm if the problem is with your keyboard (if the keys
show the same code) or in the driver (or somewhere else).

There's also the slight possibility that it's a kernel bug, which would
show up as repeating codes from showkey, since showkey is as close to
the kernel as possible.

-- 
vixsomnis


Re: [arch-general] Duplicated keycodes

2015-06-01 Thread Christian Demsar
On Mon, Jun 1, 2015, at 09:50 PM, Facundo Curti wrote:
> Hi. I hope someone can help me please.
> 
> I bought a new keyboard, a noga NKB-710. The problem is that, according
> to
> xev, four of the keys have the same keycode...
> 
> The keys Ctrl, Alt, Win*** and shift, have the same keycode, 50. Off
> course, it doesn't work correctly. and this way, It's imposible to me to
> configure it with xmodmap.
> 
> I don't know what data I can share. I hope this to be sufficient:
> 
> attached a lsusb -v output
> 
> Thx, bye! :P
> Email had 1 attachment:
> + lsusb-v2
>   20k (application/octet-stream)

Have you tested if it works in other distros or other computers? Might
narrow down the problem.

-- 
vixsomnis


Re: [arch-general] Additional mouse (Lenovo N700) gesture binding

2015-05-17 Thread Christian Demsar
On May 15, 2015 11:12:20 AM EDT, Oon-Ee Ng  wrote:
>On Thu, May 14, 2015 at 9:22 PM, Christian Demsar
> wrote:
>>>
>>>Does anyone have any idea what could be going on? Could this all just
>>>be a limitation of trying to use xkb with a bluetooth mouse?
>>
>> I can't help you, but I am very interested in this problem. I have an
>old gaming mouse with additional buttons I'd like to bind.
>>
>> Perhaps there is a way to do this without the keyboard? There must be
>a way to define a new button for a mouse. Or perhaps there's a way to
>do this without X.
>
>Yes there is, but for that to happen the signal received must be a
>button signal. Your old gaming mouse should work just fine if you
>follow instructions in [1].
>
>The N700 is a bit of an odd case because the signals its sending out
>are odd (see my original email). I doubt your gaming mouse does that.
>
>[1] - https://wiki.archlinux.org/index.php/All_Mouse_Buttons_Working

Yes, my mouse doesn't actually have that problem, although I thought it did.

However, I do have a special key on my laptop that would normally activate a 
proprietary menu on the factory Windows install. `scankeys` reports it as a 
series of codes instead of a single code, so I can't reassign it in GNOME. 
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: [arch-general] Additional mouse (Lenovo N700) gesture binding

2015-05-14 Thread Christian Demsar
On May 14, 2015 5:53:22 AM EDT, Oon-Ee Ng  wrote:
>On Wed, Apr 22, 2015 at 10:34 AM, Oon-Ee Ng 
>wrote:q
>
>> Firstly, regarding the gestures, here's what I obtain from xinput
>> test. I've also listed which keys these correspond to.
>>
>> Left swipe:-
>> key press   22  Backspace
>> key press   133Super_L (left Windows key)
>> key press   37  Control_L
>> key release 22  Backspace
>> key release 133Super_L (left Windows key)
>> key release 37  Control_L
>>
>> Right swipe:-
>> key press   54  c
>> key press   133Super_L (left Windows key)
>> key release 54  c
>> key release 133Super_L (left Windows key)
>
>> How can I bind gestures to the above? Is it possible, for example, to
>> bind keys to a specific input device (so for example I can bind to
>the
>> letter c but only from the mouse, not from my keyboard)? Or something
>> involving xmodmap?
>
>It's been a month, and off and on I've been looking at this more. It
>appear xkb allows per-device settings, but I've run into several
>roadblocks.
>
>First, I can obtain the current settings using xkbcomp $DISPLAY
>file.xkb, I then edit it to replace the letter 'c' with the letter
>'q'.
>
>To test, when I use file.xkb (xkbcomp file.xkb $DISPLAY) this works as
>expected. Of course, I then reset it to the original behaviour because
>I don't really want to not be able to type the letter c at all.
>
>However, when I try to specify only a specific device (in my case the
>bluetooth mouse on id 14), this does not seem to change anything. My
>keyboard works the same (c does not change to q) and the mouse also
>outputs c rather than q. However after trying to 'type' c on the
>mouse, my keyboard then outputs q instead of c. This is despite the
>fact that the keyboard should be id 11.
>
>This behaviour sometimes seems to happen the other way as well, a
>change (c becomes q) in the id 11 keyboard may suddenly affect the
>mouse, not immediately, but after typing some characters for testing.
>
>Does anyone have any idea what could be going on? Could this all just
>be a limitation of trying to use xkb with a bluetooth mouse?

I can't help you, but I am very interested in this problem. I have an old 
gaming mouse with additional buttons I'd like to bind.

Perhaps there is a way to do this without the keyboard? There must be a way to 
define a new button for a mouse. Or perhaps there's a way to do this without X.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Re: [arch-general] Add wpa_supplicant to the Group 'Base'

2015-04-27 Thread Christian Demsar
On Mon, Apr 27, 2015, at 02:46 PM, Eli Schwartz wrote:
> On Mon, Apr 27, 2015 at 1:32 AM, William Hatch 
> wrote:
> Why automatically assume everyone needs RAID, or encrypted
> filesystems? I am fine with keeping in tools for not-so-common
> filesystem types, though I will still remove them myself.
> 
> All these are things that it can be reasonably expected many many
> people won't ever use.  base should be restricted to things that
> everyone agrees should be part of an Arch system.

I agree that the base group should be as minimal as is realistic, but I
think cryptsetup belongs in base. FDE should be standard install
procedure since most modern x86_64 processors have hardware accelerated
AES (minimal overhead).

-- 
vixsomnis


Re: [arch-general] Updated to gnome 3.16 and I'm getting the "oh no. Something has gone wrong. All extensions have been disabled as a precaution" error.

2015-04-21 Thread Christian Demsar
On Mon, Apr 20, 2015, at 11:04 PM, Dinesh Narayan wrote:
> Hey guys,
> 
> Updated the system last night and right how I'm not able to see the DM.
> Gnome is popping the "oh no. Something has gone wrong. All extensions
> have
> been disabled as a precaution" error. Can anyone help me here.
> 
> Kernel : 3.19.3.3

I'm getting a similar problem when displaying to an external monitor,
but I can't reproduce it at will.

Are you getting the message as soon as you log in? Can you get to GDM
(if you're using GDM)?

-- 
vixsomnis


Re: [arch-general] Unzip archive in which are multiple sub zip archiers?

2015-04-20 Thread Christian Demsar
On Mon, Apr 20, 2015, at 08:27 AM, Csányi Pál wrote:
> 2015-04-17 23:38 GMT+02:00 Maarten de Vries :
> >
> > On 04/17/2015 10:57 PM, Christian Demsar wrote:
> >>
> >> I'll try to use the globbing. That's new to me.
> >>
> >> Is there anything else you saw that was odd? This is the first non-trivial
> >> script I've written (recursion in bash!), so I'm not sure about the
> >> placement of the functions, etc.
> >
> >
> > At a second look, this check might also be a problem:
> >
> > if [ $zipFiles ]; then
> >
> > To be honest I'm not sure what bash will do with that when $zipFiles is an
> > array. The check isn't really needed with an array since looping over an
> > empty array won't do anything anyway. When you do need it you can get the
> > number of elements in an array in bash with ${#array[@]} and test on that.
> > Knowing how bash arrays work can be very useful in writing effective bash
> > scripts. If you haven't yet I would recommend reading up on their specifics.
> >
> > In bash (and some other shells), you might also prefer [[ ]] for tests over
> > [ ]. It is somewhat less confusing in some situations, but be aware that it
> > is not POSIX. Then again, arrays aren't POSIX either. Just be sure to use a
> > proper bash shebang and not #!/bin/sh when you're using bash features (you
> > already did this, but it's important so I'm emphasizing ;) ).
> >
> > I also saw that you check for read permissions before trying to extract the
> > zip file. It doesn't hurt, but it's generally better to just try doing what
> > you want to do and detect errors by checking the exit code of programs you
> > run. Otherwise you will likely forget to check for some uncommon error
> > conditions. In some cases it can even happen that the error conditions are
> > not present when you test for them, but they are later when you try to
> > extract the file (or do something else with it) because something or someone
> > changed something in between.
> >
> >> Is there a way to declare the functions like in C? I couldn't figure that
> >> out from the section on functions in Advanced Bash Scripting.
> >
> > If you mean first declare a function and define it later: no, you can't do
> > that in bash. On the other hand, you can use a function B the body of
> > function A before B is defined, as long as you don't call A until B is
> > defined. So in general it doesn't really matter. For example, this will work
> > fine:
> >
> >foo() {
> > bar
> >}
> >
> >bar() {
> > echo "Hello world!"
> >}
> >
> >foo
> >
> >
> > I hope my comments are useful. If not, feel free to ignore them ;)
> >
> > Regards,
> > Maarten
> 
> Thank you all for help.
> The script works, it can unzip archives recursively.
> 
> -- 
> Regards from Pal

Thanks for the tips Maarten.

I was thinking of trying to implement a more advanced version of this
script as an open source project, but there already is one.

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

I tested it on a 7z{ xz{ txt }, tar.gz{ zip{ txt } } } and it worked
pretty much flawlessly, albeit leaving behind the extracted inner
archives (which would be annoying to delete if you had a mess of
different sorts of archives like the test file I used).

In any case, I recommend that over my script if you ever need to do some
intelligent archive extracting again.

-- 
vixsomnis


Re: [arch-general] Unzip archive in which are multiple sub zip archiers?

2015-04-17 Thread Christian Demsar
On Fri, Apr 17, 2015, at 04:46 PM, Maarten de Vries wrote:
> 
> 
> On 04/17/2015 10:34 PM, Maarten de Vries wrote:
> >
> >
> > On 04/17/2015 10:19 PM, Christian Demsar wrote:
> >> http://pastebin.com/YJFvUt13
> >>
> >> It works on my (single) test case so far. I don't have any more time to 
> >> work in this right now, but I'll test edge cases and add more comments 
> >> later (feedback is welcome).
> >>
> >> If you use this, please, please, please back up your zip file in a 
> >> different directory. I haven't tested it thoroughly enough to be confident 
> >> that it won't suck your files into the black hole of /dev/null.
> >>
> >> On a side note, it does check to make sure the directory doesn't exist, so 
> >> it shouldn't clobber anything. That goes for the internal zips as well.
> >>
> >> The only cryptic thing in the $IFS env var. That's needed for newline 
> >> delimiters, so I can iterate over the zip files in a directory. I'll 
> >> experiment with leaving that section out.
> >>
> >> There's probably a bash guru out there that can do this with a one-liner, 
> >> but that's beyond my skills (I'm a newbie at bash, too).
> >
> > You should be able to avoid fiddling with IFS by using:
> >
> > shopt -s nullglob
> > zipfiles=(*.zip)
> >
> > It also has the advantage of not spawning a process to find zip files. 
> > The nullglob option is needed in case there are no zip files, 
> > otherwise (*.zip) will turn into a literal ('*.zip') instead of an 
> > empty array.
> >
> > Regards,
> > Maarten
> 
> Oh, and I forgot to mention that when you do that you ought to loop over 
> the array as (bash is a bit weird):
> 
> for file in "${zipfiles[@]}"; do
> 
> Otherwise paths with spaces would be a problem.
> 
> Regards,
> Maarten
> 

I'll try to use the globbing. That's new to me.

Is there anything else you saw that was odd? This is the first non-trivial 
script I've written (recursion in bash!), so I'm not sure about the placement 
of the functions, etc. Is there a way to declare the functions like in C? I 
couldn't figure that out from the section on functions in Advanced Bash 
Scripting.

-- 
vixsomnis


Re: [arch-general] Unzip archive in which are multiple sub zip archiers?

2015-04-17 Thread Christian Demsar
On Fri, Apr 17, 2015, at 01:12 PM, Csányi Pál wrote:
> 2015-04-17 18:53 GMT+02:00 Christian Demsar :
> > On April 17, 2015 12:29:36 PM EDT, Maarten de Vries  
> > wrote:
> >>On 17 April 2015 at 18:08, Csányi Pál  wrote:
> >>> I just get a ZIP archive and want to unzip it.
> >>>
> >>> I'm using unzip to unpack this archive.
> >>>
> >>> But when I did first unzip command, I get more ZIP archives, which
> >>> have again in it more ZIP archives.
> >>>
> >>> Is there a command or application whic can unzip this ZIP archive and
> >>> it's sub ZIP archives at once?
> >>>
> >>That doesn't sound like a common enough use case that someone would
> >>have
> >>written a program just for that purpose. But you could write a simple
> >>shell
> >>script (or whatever you prefer) to recursively unzip a bunch of zip
> >>files.
> >>Keep in mind not to unzip the same files forever of course.
> 
> > If you're not familiar with shell scripting I can write one (with detailed 
> > comments). I need the practice.
> 
> OK, write one and I'm willing to try it out and modify if it would
> have GPL licence. :)
> I'm newbie in bash shell scripting.
> 
> -- 
> Regards from Pal

http://pastebin.com/YJFvUt13

It works on my (single) test case so far. I don't have any more time to work in 
this right now, but I'll test edge cases and add more comments later (feedback 
is welcome).

If you use this, please, please, please back up your zip file in a different 
directory. I haven't tested it thoroughly enough to be confident that it won't 
suck your files into the black hole of /dev/null.

On a side note, it does check to make sure the directory doesn't exist, so it 
shouldn't clobber anything. That goes for the internal zips as well.

The only cryptic thing in the $IFS env var. That's needed for newline 
delimiters, so I can iterate over the zip files in a directory. I'll experiment 
with leaving that section out.

There's probably a bash guru out there that can do this with a one-liner, but 
that's beyond my skills (I'm a newbie at bash, too).

-- 
vixsomnis


Re: [arch-general] Unzip archive in which are multiple sub zip archiers?

2015-04-17 Thread Christian Demsar
On April 17, 2015 12:29:36 PM EDT, Maarten de Vries  wrote:
>On 17 April 2015 at 18:08, Csányi Pál  wrote:
>
>> Hi,
>>
>> I just get a ZIP archive and want to unzip it.
>>
>> I'm using unzip to unpack this archive.
>>
>> But when I did first unzip command, I get more ZIP archives, which
>> have again in it more ZIP archives.
>>
>> Is there a command or application whic can unzip this ZIP archive and
>> it's sub ZIP archives at once?
>>
>>
>​Hey,
>
>That doesn't sound like a common enough use case that someone would
>have
>written a program just for that purpose. But you could write a simple
>shell
>script (or whatever you prefer) to recursively unzip a bunch of zip
>files.​
>Keep in mind not to unzip the same files forever of course.
>
>​Regards,
>Maarten​

If you're not familiar with shell scripting I can write one (with detailed 
comments). I need the practice.

It'll have to wait until later today, however.
--
vixsomnis


Re: [arch-general] Can't reboot or shutdown my computer (cgroup: option or name mismatch)

2015-03-17 Thread Christian Demsar
On March 17, 2015 6:59:25 PM EDT, Daniel Micay  wrote:
>On 17/03/15 09:13 AM, Janilson Andrade wrote:
>> Hi all.
>> After months trying many things and after posting in arch forum[1] I
>am here asking if anyone could help me.Everytime I try to reboot or
>shutdown my computer, after turning everything off, my system hangs and
>display one of these messages below.
>> a) cgroup : option or name mismatch, new: 0x0"", old: 0x4 "systemd"
>> shutdown[1]: Failed to finalize  file systems, ignoring
>> 
>> b) A stop job is running for Daemon for power management (20s/1min
>30s)I use Gnome 3, when I've changed to my DE to KDE the reboot options
>worked sometimes, but most of the times it didn't. After it stop
>working at all I've come back to Gnome, since I can't reboot my system
>no matter what I do.
>> OBS: I know the cgroup message is just a warning to most of people,
>but for me it freezes my system and I can only turn the power off and
>on in order to reboot my computer,
>> I really want some help of how can I at least search for the possible
>things that is causing this problem.Sorry for long e-mail.
>> 
>> [1] System doesn't reboot/shutdown (cgroup : option or name
>mismatch) / System Administration / Arch Linux Forums
>
>The fact that it's the last message printed out before it stalls does
>not imply it is the cause. AFAIK this warning occurs *everywhere* so I
>doubt it has anything to do with your issue.

I can confirm that I have that message on all of my archlinux computers, and 
they function fine.

Try booting an arch iso on a USB and see if you still have the problem. It 
might be hardware related, so testing another operating system will help narrow 
things down.
--
vixsomnis


Re: [arch-general] Fwd: Kernel panic - after upgrade

2015-01-31 Thread Christian Demsar
On Sat, Jan 31, 2015, at 12:13 PM, Csányi Pál wrote:
> Indeed. I find the solution at:
> https://wiki.manjaro.org/index.php?title=Clamav
> 
> > Okay, so in regards to ClamAV, I encountered no errors [1] starting
> > clamd with the service file in the clamav package [2].
> 
> > [2] http://pastebin.com/3Frbkf3B
> 
> > You should check your service file at
> > "/usr/lib/systemd/system/clamd.service"
> > and make sure it matches the one I uploaded to pastebin.
> 
> I have the same /usr/lib/systemd/system/clamd.service file as you.
> 
> > If you can link a paste of your log at "/var/log/clamav/clamd.log", that 
> > would help.
> 
> http://pastebin.com/RC9ZzYMs
> 
> This log was I get before solve the clamav problem.

Glad you solved that problem. Did it have to do with the
"/var/lib/clamav/clamd.sock"? Permissions problem with creating the
socket?

> I did check these 500 lines and don't find anything sensitive, like
> passwords. Only find the lines bellow and don't know whether are these
> lines all right:

Oh, I was actually hoping you'd upload the file to pastebin so I could
check it (why I recommended checking for sensitive info).

I don't think having it would help me understand your issues, though. It
might be a systemd bug?

> I observe that that I can't use my DVD writer; it can't read neither
> any CD nor DVD.
> I must to disassemble this DVD writer and assemble my old IDE CD
> writer to can reach the broken system when had kernel panic.

At this point, I'd backup configuration files and home directories and
do a full reinstall. Sounds like there's something going terribly wrong.
Hopefully that works...

-- 
vixsomnis


Re: [arch-general] postgresql 9.3 -> 9.4

2015-01-30 Thread Christian Demsar
On Fri, Jan 30, 2015, at 08:11 PM, William Gathoye wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> On 01/29/2015 07:01 PM, Georg Altmann wrote:
> > On 29.01.2015 17:40, Don deJuan wrote: I am merely _suggesting_ to
> > implement a warning message. It certainly _is_ easy to miss
> > something in the "pacman -Suy" output. As such, I think this would
> > be beneficial to everybody running postgresql, be it on a single
> > desktop computer or a farm of servers.
> 
> I'm silently following this discussion from the start and I completely
> agree with this POV.

I've also been following this discussion. I think having warnings can
make upgrades easier without taking any control away from the user.

There's already a flag in pacman for disabling interactivity
(auto-selecting yes), so that same concept could be used for ignoring
any upgrade warnings.

-- 
vixsomnis


Re: [arch-general] postgresql 9.3 -> 9.4

2015-01-30 Thread Christian Demsar
On Fri, Jan 30, 2015, at 08:11 PM, William Gathoye wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> On 01/29/2015 07:01 PM, Georg Altmann wrote:
> > On 29.01.2015 17:40, Don deJuan wrote: I am merely _suggesting_ to
> > implement a warning message. It certainly _is_ easy to miss
> > something in the "pacman -Suy" output. As such, I think this would
> > be beneficial to everybody running postgresql, be it on a single
> > desktop computer or a farm of servers.
> 
> I'm silently following this discussion from the start and I completely
> agree with this POV.


-- 
vixsomnis


Re: [arch-general] Fwd: Kernel panic - after upgrade

2015-01-30 Thread Christian Demsar
> > So I just installed clamav but when I'm trying to start it with:
> >>
> > 'sudo systemctl start clamd.service'
> >>
> >> I get:
> >> Job for clamd.service failed. See "systemctl status clamd.service" and
> >> "journalctl -xe" for details.
> >>
> >> 'systemctl status clamd.service'
> >>  clamd.service - clamav daemon
> >>Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled;
> >> vendor preset: disabled)
> >>Active: failed (Result: exit-code) since p 2015-01-30 21:14:04 CET;
> >> 10s ago
> >>   Process: 9693 ExecStart=/usr/bin/clamd (code=exited, status=1/FAILURE)
> >
> > It tells you to look in the logs. Did you do that?!
> > Without wanting to be condescending: I don't think you should be using
> > archlinux if you are not capable of looking through logs and searching
> > google (I found the package for your "error" through a fast google
> > search)
> >

Honestly, the idea of looking through logs was very foreign to me when I
started using linux. And Arch Linux was my first linux distro I actually
got to know. I think Arch is an excellent place to learn these skills.

Okay, so in regards to ClamAV, I encountered no errors [1] starting
clamd with the service file in the clamav package [2].

[1] http://pastebin.com/vDSrAhje 
[2] http://pastebin.com/3Frbkf3B

You should check your service file at
"/usr/lib/systemd/system/clamd.service" and make sure it matches the one
I uploaded to pastebin. If you can link a paste of your log at
"/var/log/clamav/clamd.log", that would help. 

Your journalctl log can be captured using:

journalctl -xe | tail -n 500 | tee journal.log 
^^^  ^^^ 
Takes last 500 lines. Saves and prints output. 

Make sure to check these 500 lines that get printed to your terminal for
anything sensitive, like passwords.  NetworkManager doesn't show
passwords in the log, but it does show network SSIDs and connection
protocols, and other bits of information. There's probably more in there
than you would guess (there is in mine).

I had some kernel panic problems I couldn't diagnose with a much-used
MSI P67 motherboard. I'm pretty sure it was a motherboard issue, since
I'm using the same power supply, most of the same RAM, and the same
storage (different motherboard and CPU) and I haven't encountered any
more. If you decide to do a fresh install and you still get kernel
panics, I'd guess it's hardware related. Like a broken SATA port or a
loose connection.

-- 
vixsomnis


Re: [arch-general] Fwd: Kernel panic - after upgrade

2015-01-30 Thread Christian Demsar
> > So I just installed clamav but when I'm trying to start it with:
> >>
> > 'sudo systemctl start clamd.service'
> >>
> >> I get:
> >> Job for clamd.service failed. See "systemctl status clamd.service" and
> >> "journalctl -xe" for details.
> >>
> >> 'systemctl status clamd.service'
> >>  clamd.service - clamav daemon
> >>Loaded: loaded (/usr/lib/systemd/system/clamd.service; enabled;
> >> vendor preset: disabled)
> >>Active: failed (Result: exit-code) since p 2015-01-30 21:14:04 CET;
> >> 10s ago
> >>   Process: 9693 ExecStart=/usr/bin/clamd (code=exited, status=1/FAILURE)
> >
> > It tells you to look in the logs. Did you do that?!
> > Without wanting to be condescending: I don't think you should be using
> > archlinux if you are not capable of looking through logs and searching
> > google (I found the package for your "error" through a fast google
> > search)
> >

Honestly, the idea of looking through logs was very foreign to me when I
started
using linux. And Arch Linux was my first linux distro I actually got to
know. I
think Arch is an excellent place to learn these skills.

Okay, so in regards to ClamAV, I encountered no errors [1] starting
clamd with
the service file in the clamav package [2].

[1] http://pastebin.com/vDSrAhje 
[2] http://pastebin.com/3Frbkf3B

You should check your service file at
"/usr/lib/systemd/system/clamd.service"
and make sure it matches the one I uploaded to pastebin. If you can link
a paste
of your log at "/var/log/clamav/clamd.log", that would help. 

Your journalctl log can be captured using:

journalctl -xe | tail -n 500 | tee journal.log 
^^^  ^^^ 
Takes last 500 lines. Saves and prints output. 

Make sure to check these 500 lines that get printed to your terminal for
anything sensitive, like passwords.  NetworkManager doesn't show
passwords in
the log, but it does show network SSIDs and connection protocols, and
other bits
of information. There's probably more in there than you would guess
(there is in
mine).

I had some kernel panic problems I couldn't diagnose with a much-used
MSI P67
motherboard. I'm pretty sure it was a motherboard issue, since I'm using
the same
power supply, most of the same RAM, and the same storage (different
motherboard
and CPU) and I haven't encountered any more. If you decide to do a fresh
install
and you still get kernel panics, I'd guess it's hardware related. Like a
broken
SATA port or a loose connection.

-- 
vixsomnis


Re: [arch-general] Fwd: Kernel panic - after upgrade

2015-01-30 Thread Christian Demsar
On January 30, 2015 2:21:34 PM EST, "Csányi Pál"  wrote:
>2015-01-30 20:04 GMT+01:00 Csányi Pál :
>> Hi Damjan,
>>
>> 2015-01-30 19:39 GMT+01:00 Damjan Georgievski :
 I'm thinking now about following.
 Whether to purge my Desktop Arch linux installation from hard disk
>and
 install a fresh Arch linux again, or not?

 What would you do in my case? ( I'm not a bash and Arch linux guru.
>)
>>>
>>> First thing is, how did it happen to become broken again.
>>
>> If I could to know that.
>>
>>> Normally it shouldn't break by itself.
>>
>> I just update my system every day.
>
>I think it is broken somehow.
>Say, bash command starts and after a while freezes.
>Same in Midnight Commander.

Your pacman log and journalctl might give some clues.

Of course, I'm guilty of using the "throw-it-out" method, because the concept 
of a repaired system just doesn't compare to an unbroken one, even if they're 
identical... 
--
vixsomnis


Re: [arch-general] Libre Office Freezing system?

2015-01-26 Thread Christian Demsar
On January 26, 2015 7:58:42 PM EST, Michael Rasmussen  
wrote:
>It does for me. 
>Have a Writer document with a embedded table, click and drag to
>highlight a segment. 
>Boom, my user interface is locked up.  No  to get a
>terminal, no toggle of the 
>caps lock indicactor LED, no  to kill X.  No
>nothing. 
>I can ssh in from another system and top shows nothing unusual going
>on.
>
>I've disabled hardware acceleration, that did not affect the problem.
>
>Does this sound familiar?
>Suggestions for resolving?

I probably won't be able to help, but what window manager are you using?
--
vixsomnis


Re: [arch-general] Is there a non file manager daemon for automounting like the ones provided by "pcmanfm -d"

2015-01-06 Thread Christian Demsar
On January 7, 2015 1:03:35 AM EST, Javier Vasquez  
wrote:
>> On Tue, Jan 6, 2015 at 11:51 PM, Javier Vasquez
> wrote:
>> Hi,
>>
>> I've been using "pcmanfm -d &" in my ~/.xinitrc, as suggested by [1].
>> However I would like something similar without the need of the file
>> manager.  Hopefully something that shows in the tray bar what's
>> mounted and allows umounting.
>>
>> I don't use a DE, just plain fluxbox, and having to use whether
>> pcmanfm or thunar or any other file manager with daemon capability is
>> something I would like to prevent.
>>
>> I read about ldm, suggested by [2], but it doesn't seem to offer what
>> I'm looking for.  Seems to be something to automount with particular
>> uid/gid only.  though I might be wrong.
>>
>> Any suggestions?
>>
>> Thanks,
>>
>> --
>> Javier
>>
>> [1] 
>https://wiki.archlinux.org/index.php/File_manager_functionality#File_manager_daemon
>> [2] 
>https://wiki.archlinux.org/index.php/List_of_applications#Mount_tools
>
>BTW, using gvfs is not a problem, but might make things easier
>recognizing the filesystem of the partitions.
>
>Thanks,

I believe it's possible to mount with systemd (I haven't tried this yet).

It should be able to automatically mount drives you've written the unit files 
for, but I don't know about automatic mounting (hot-swapping USB drives, etc.).
--
vixsomnis


Re: [arch-general] makepkg as root

2015-01-03 Thread Christian Demsar
On January 3, 2015 10:59:41 AM EST, Doug Newgard  wrote:
>Without going completely into the battle that can be started by the
>link you mentioned, what about the "choice and freedom" of the authors?
>Don't they have the "choice and freedom" to write their software as
>they
>see fit? This would certainly seem to trump the "choice and freedom" of
>those that contribute nothing.
>
>Doug

Removing asroot reduces flexibility. For instance, when making packages on a 
live install usb. You'd have to create a new account and su into it.

It seems like a projection of morals to me. Just because it's not good practice 
to use root permissions when it's not necessary, doesn't mean it won't ever be 
useful.

The argument for choice and freedom of the creators can also be successfully 
used to justify DRM.
--
vixsomnis


Re: [arch-general] ErgononmicKeyboardQuestion

2014-12-28 Thread Christian Demsar
On December 28, 2014 6:01:02 PM EST, grztnt  wrote:
>Am 28.12.2014 um 23:44 schrieb Hunter Jozwiak:
>> Hi guys.
>> I got an ergonomic keyboard in exchange for a wireless keyboard that
>did
>> not work. There are cool buttons on this keyboard that give you the
>> ability to reply to emails, forward emails, control media, etc. How
>do I
>> get these features to work with the keyboard with Arch Linux?+
>
>Search for:
>xev
>xbindkeys
>xmodmap
>
>https://wiki.archlinux.org/index.php/extra_keyboard_keys

http://www.tldp.org/HOWTO/Keyboard-and-Console-HOWTO-2.html

Some utilities for viewing scancodes and setting them are in the above link.
--
vixsomnis


Re: [arch-general] dhcpcd not working after install from custom iso

2014-12-21 Thread Christian Demsar
On December 17, 2014 2:46:07 PM EST, "P. A. López-Valencia" 
 wrote:
>
>On 17/12/14 09:22, Christian Demsar wrote:
>> I had internet connection when installing from an iso I built using
>the
>> archiso tools, but dhcpcd isn't connecting any more (starting via
>> sytemd). I've also had internet access in previous installs of
>archlinux
>> and FreeBSD, so I don't think there's anything wrong with the
>hardware.
>>
>> [dmesg output] http://pastebin.com/vtVRid1Y
>> [ip link output] http://pastebin.com/gaZxUCmf
>
>You say you configured your connection with systemd. Do you mean you
>enabled dhcpd@enp2s0.service? I suggest you disable it and use
>systemd-networkd instead. It is very simple.
>
>Create a file called /etc/systemd/network/enp2s0.network that contains:
>
>[Match]
>Name=enp2s0
>[Network]
>DHCP=v4
>
>Enable and start systemd-networkd.service and reboot. Your link should
>come up online.

Thanks for the suggestion, but it turned out to be user error. I rechecked the 
hardware addresses, and enp1s0 was actually the dedicated nic I have 
registered. 

This is odd, since I tried both devices initially, and neither worked. It's 
working now, at any rate. Nothing wrong with dhcpcd at all.
--
vixsomnis


Re: [arch-general] fdisk vs. gdisk for GPT partitioning

2014-12-17 Thread Christian Demsar
On December 17, 2014 10:04:43 AM EST, "David J. Haines"  
wrote:
>On Wed, Dec 17, 2014 at 02:30:43AM +0100, Neven Sajko wrote:
>> On 16 December 2014 at 20:52, David J. Haines 
>wrote:
>> > gdisk is also capable of placing new partitions at the end of a
>block of
>> > empty space without having to do manual calcuation of the start
>sector.
>> > I personally find this behavior invaluable.
>> I'm curious why do you allocate partitions to the end of the disk. Do
>you
>> want to be able to resize them more easily, or something else?
>
>For rotational media, you generally want to put your more-used data on
>the outside of the platters (the "beginning" of the disk from
>partitioning tools' perspective) because the data density of the
>platters is constant throughout, meaning that more data will pass under
>the heads in a given unit of time when they're at the outside of the
>platter, as opposed to the inside.
>
>Thus, you generally want to put things like /, /var, and /home on the
>outside (the beginning) and things like swap on the inside (the end),
>unless swapping happens to be what you want your system to really excel
>at.

I've always been under the impression that hard drives start at the outer edge 
and work inward as they fill up, as opposed to optical disks.

It makes the most logical sense, given the performance characteristics.
--
vixsomnis


[arch-general] dhcpcd not working after install from custom iso

2014-12-17 Thread Christian Demsar

I had internet connection when installing from an iso I built using the
archiso tools, but dhcpcd isn't connecting any more (starting via
sytemd). I've also had internet access in previous installs of archlinux
and FreeBSD, so I don't think there's anything wrong with the hardware.

[dmesg output] http://pastebin.com/vtVRid1Y
[ip link output] http://pastebin.com/gaZxUCmf

The device I'm using is listed as enp2s0. It hangs, even though it's set
up (pastebin for proof). Waiting for carrier? I also noticed that at the
bottom of my dmesg, it reports only IPv6, not IPv4. Is this normal
behavior? I think my network only supports IPv4, for dhcp anyway.

Since I have to register the addresses of the NICs with the ISP, only
enp2s0 should hypothetically be able to connect, not enp1s0. This is
also the first time I've had a problem with dhcpcd.

If it makes a difference, I built a custom iso (base) and dropped the
bcache-tools package in /etc so I could set that up. I made no other
modifications to the bulid.

dhcpcd is at version 6.6.4-1 and is fully up-to-date.

== LOG SNIPPET ==

dhcpcd@enp2s0.service - dhcpcd on enp2s0
Loaded: loaded (/usr/lib/systemd/system/dhcpcd@.service; disabled)
Active: failed (Result: exit-code) since Wed 2014-12-17 09:15:46 EST;
51s ago
Process: 542 ExecStart=/usr/bin/dhcpcd -q -w %I (code=exited,
status=1/FAILURE)

Dec 17 09:15:16 vss dhcpcd[542]: version 6.6.4 starting
Dec 17 09:15:16 vss dhcpcd[542]: enp2s0: waiting for carrier
Dec 17 09:15:46 vss systemd[1]: dhcpcd@enp2s0.service: control process
exited, code=exited status=1
Dec 17 09:15:46 vss systemd[1]: Failed to start dhcpcd on enp2s0.
Dec 17 09:15:46 vss systemd[1]: Unit dhcpcd@enp2s0.service entered
failed state.
Dec 17 09:15:46 vss systemd[1]: dhcpcd@enp2s0.service failed.
-- 
vixsomnis


Re: [arch-general] Mailing list web-settings?

2014-12-12 Thread Christian Demsar
Ah, thanks. The admin login blinded me to that.

-- 
vixsomnis

On Thu, Dec 11, 2014, at 05:34 PM, Ralf Mardorf wrote:
> Each header provides this information:
> 
> List-Help:
> 
> 
> IOW to arch-general-requ...@archlinux.org send an empty mail with
> the subject   help   and help will be send to you.
> 
> However, visit: https://lists.archlinux.org//listinfo/arch-general/
> At the bottom below "To unsubscribe from arch-general, get a password
> reminder, or change your subscription options enter your subscription
> email address:" write your emailadress and then push "Unsubscribe or
> edit options". After that type your passwort and log in.
> 
> Consider to wrap after 72 chars.
> 
> -- 
> "Pull a Homer -- to succeed despite idiocy." - The Simpsons