Debian Configuration :: Make Fn Keys Work Independently Of Environment

Jan 5, 2016

I want fn* keys working for all users in all DE/WM and at tty too. I want it even if nobody logged in. Is it possible? How to set it up?

I mean these keys:

toggle wifikbd backlight +/−screen backlight +/−enable/disable screentoggle screensenable/disable touchpadvolume controls

I understand that some of them may work only with Xorg (e.g. toggle screens), but screen and kbd backlight and volume may work at tty too (because I can change this from tty when xorg is down). I know how to do it all from the console, but I want to bind keys with actions.

E.g. I can change kbd backlight with dbus and attach this action to key in my wm config, but it is not what I want. I want to make it global. I don’t understand which layer may provide the functionality for all users. Now only two keys works as I expect: toggle wifi and toggle touchpad. I haven’t set it up, it works out of the box.

Asus N56VZ, Debian stretch.
Code: Select alluname -a
Linux isquabook 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux

View 4 Replies


ADVERTISEMENT

Debian Configuration :: Make Pulseaudio Work Inside Chroot

Apr 18, 2016

I have amd64 Debian Jessie and i386 Debian Jessie installed on my laptop. I wanted to start x86 app that is installed on my x86 OS from my amd64 OS using chroot.

My mounts inside chroot:
Code: Select all/dev/sda7 on / type ext4 (rw,relatime,data=ordered)
/dev/sda5 on /tmp type ext4 (rw,relatime,errors=remount-ro,data=ordered)
/dev/sda5 on /etc/resolv.conf type ext4 (rw,relatime,errors=remount-ro,data=ordered)
tmpfs on /dev/shm type tmpfs (rw,relatime)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
none on /sys/fs/cgroup type tmpfs (rw,relatime,size=4k,mode=755)
systemd on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
/dev/sda5 on /var/lib/dbus/machine-id type ext4 (rw,relatime,errors=remount-ro,data=ordered)

sda5 is host OS and sda7 is guest OS

when I start any x86 app I can see "failed to create secure directory (/run/user/1000/pulse) permission denied" how to make pulseaudio to work inside chroot?

also what this command exackly does?

"pactl load-module module-simple-protocol-tcp rate=48000 format=s16le channels=2 source=auto_null.monitor record=true port=8000 listen=127.0.0.1"

View 2 Replies View Related

Debian Configuration :: Unable To Make Huawei E1750 Wireless Modem Work With Lenny

Oct 10, 2010

I've been trying for a couple of days now to get the Huawei E1750 to work but have had no luck so far. I've installed the packages usb-modeswitch-1.1.4 and usb-modeswitch-data and have edited the usb-modeswitch.conf to include the following:

DefaultVendor= 0x12d1
DefaultProduct= 0×1446
TargetVendor= 0x12d1

[code]....

View 3 Replies View Related

General :: Make Shared Keys .ssh/authorized_keys And Sudo Work Together?

Jul 15, 2010

I've setup the .ssh/authorized_keys and am able to login with the new "user" using the pub/private key ... I have also added "user" to the sudoers list ... the problem I have now is when I try to execute a sudo command, something simple like:

$ sudo cd /root

it will prompt me for my password, which I enter, but it doesn't work (I am using the private key password I set)Also, ive disabled the users password using

$ passwd -l user

I am trying to harden my system ... the ultimate goal is to use pub/private keys to do logins versus simple password authentication. I've figured out how to set all that up via the authorized_keys file.Additionally I will ultimately prevent server logins through the root account. But before I do that I need sudo to work for a second user (the user which I will be login into the system with all the time).

For this second user I want to prevent regular password logins and force only pub/private key logins, if I don't lock the user via" passwd -l user ... then if i dont use a key, i can still get into the server with a regular password.But more importantly I need to get sudo to work with a pub/private key setup with a user whos had his/her password disabled.

1) I've adjusted /etc/ssh/sshd_config and set PasswordAuthentication no This will prevent ssh password logins (be sure to have a working public/private key setup prior to doing this

2) I've adjusted the sudoers list visudo and added

root ALL=(ALL) ALL
dimas ALL=(ALL) NOPASSWD: ALL

3) root is the only user account that will have a password, I am testing with two user accounts "dimas" and "sherry" which do not have a password set (passwords are blank, passwd -d user)

The above essentially prevents everyone from logging into the system with passwords (a public/private key must be setup). Additionally users in the sudoers list have admin abilities. They can also su to different accounts. So basically "dimas" can sudo su sherry, however "dimas can NOT do su sherry. Similarly any user NOT in the sudoers list can NOT do su user or sudo su user.

View 3 Replies View Related

Debian Configuration :: Man-db In Chroot Ssh Environment

Aug 26, 2015

I've been bashing around this for a couple of days, and could not find answer by using google. My debian 8.1.0 jessie runs perfectly fine. To perform SSH chroot jail, I issued an apt-get install makejail.

The ssh chroot environment runs great. I used makejail configuration scripts. The man pages are perfectly available from TTY login. Yet from a SSH session (chroot jailed) the man pages could not be found.

My MANPATH environment variable points at /usr/share/man

Running "mandb -c" from a SSH session as root tells:

0 man subdirectories contained newer manual pages.
0 manual pages were added.
0 stray cats were added.
0 old database entries were purged.

simply copying the contents of the /usr/share/man to /jail/usr/share/man
and running the "mandb -c" command gives lots of "dangling symlink" errors.

Perhaps the /jail directory need some dependent files, or change file permissions somewhere but I just couldn' t figure that out.

View 0 Replies View Related

Debian Configuration :: Apt-get Autoremove - Sound Keys Not Working

Apr 20, 2010

apt-get suggetsed I should remove some packages I was no longer using. I've read the threads that explain this, but unfortunately I did that just now, not when I actually ran the damn command. I must say, however, that there were lots of things I wasn't actually using, so it was useful in a way. But there is a problem:

I have a Dell Inspiron 1525 and to get my sound keys working (the mute, volume up and volume down keys) I had to go to Settings-->Regional & Accessibility-->Keyboard Layout and there in Keyboard model I chose the option Dell Laptop/Notebook Inspiron 6xxx/8xxx. I know that's not exactly my model, but that made my sound keys work fine. Well, since I did the autoremove thing, that stopped working. I haven't got a clue what library was being used to get the sound keys working.

View 3 Replies View Related

Debian Configuration :: How To Swap CapsLock & Control Keys

May 14, 2011

On my Debian machine I have no InterNet connection.

Hardware: --
HP Pavilion DV8000 laptop,
-- 2GHz AMD Turion CPU,
-- 4 gb ram,
-- 150 gb hd,
-- (non-working non-free) BroadCom BMC-4318 wireless chip
OS:
-- Debian 6.0.1a, "Squeeeeeeeze"
-- KDE (soon to be replaced with LXDE, much sweeter and cooler apps).

Here's da problem...(thanks to stinky 1983 Macro$haft & IBM collusion to wipeout WordStar), how do I swap CapsLock & Control keys?Its gotta work in both terminal & X apps

View 1 Replies View Related

Debian Configuration :: Environment Variables For All Users

Nov 27, 2015

I'm newbie on Debian, and I just installed Debian 8.2. (I used to run openSuse, and I see Debian is quite different.)

Where should I set environment variables (like PATH or JAVA_HOME) in order to affect all users?

I read some documentation about that, but It is not clear for me, the difference among "/etc/environment", "/etc/bash.bashrc" and "/etc/profile".

(In openSuse, I used to create a file "/etc/bash.bashrc.local" and set the environment variables there, in order these settings are not lost with updates.)

View 1 Replies View Related

Debian Configuration :: Volume Keys Not Working / Configuring Superkey

Jan 15, 2010

I'm having trouble with my keyboard functions on my netbook (eeePC 1005HA running squeeze/sid - specific build being the one available on December 23rd 2009 - hasn't been updated since installation) - specifically, some of the function keys seem to be off - i.e. when pressing Fn+key, only some actually work. The specific ones I'm having trouble with are:
Fn+F10 (mute)Fn+F11 (vol. down)Fn+F12 (vol. up)

As far as I can remember, they've never worked; at first I thought it wouldn't be an issue for me, having the volume panel, but the more time goes on, the more annoying it's becoming. Also, as it was a M$ machine at purchase, it has a Windoze key on it, which I'd like to configure to actually do something useful - preferably to open the main menu, if possible - but have so far failed to find any guides on how to do it. (Have Googled on multiple occasions, to no avail.)

View 11 Replies View Related

Debian Configuration :: Keyboard Misbehaving- Keys Not Immediately Recognized?

Jan 21, 2011

I'm having a weird problem with my keyboard. I have to hold on to the key that I want typed for about 1 whole second for it to be entered... the mouse click is okay, it's just the keyboard.Here's a rough outline of what happened, and the significants events that took place on the desktop that this is happening on.The computer originally had Debian Lenny on it. At some point of time, I just started getting everything from backports... and after some things and hops later, the computer does in fact report having Debian 6.0.Anyway - I again did an upgrade... and now the problem occurs.

View 1 Replies View Related

Debian Configuration :: Reverse Notebook Function Keys To Default (no Fn)?

May 17, 2011

The top row of keys on my notebook are currently assigned to various media functions (brightness, volume, play, stop, etc.) These keys are rarely used, and it would be better if they were assigned to the function keys (f1,f2,f3,...) by default, rather then using the fn key to access them. Locking the fn key down is not an option. What can I do?

View 2 Replies View Related

Debian Configuration :: Environment To Run Old Linux Games-template

Mar 20, 2016

I have some old linux based games and applications that require old libraries to run.But in the mists of time, I've lost the scripts on how to set up a sandbox environment to run them. Any template for that type of fiddle? I should be able to resource libraries contemporary to the games from my collection of old distros, but my web fu on this matter(jargon) is cracked. It would have to be easier that continually trying to fiddle the MS OS version to run under Wine/PlayOnLinux. I've got Myst II, Civilisation CTP and Railway Tycoon II, although I think the last app I ran was Word Perfect 8.

View 3 Replies View Related

Debian Configuration :: Setup PATH Environment Variables?

Jan 8, 2011

I edited /etc/profile to look like:

# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then

[code]....

When i type env, it just shows: PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin It also shows JAVA_HOME, CLASSPATH and others were set up. Trying to get updatetool in glassfish usable for any user and during any session. I did the export command in a shell, and it worked, but not after closing the session. how to do environment variables.

View 3 Replies View Related

Debian Hardware :: Getting Sun Keyboard Keys To Work

Oct 11, 2010

I got Sun Type 5 Unix keyboard which uses mindin-8 connector, attached to a PC through a special adapter which converts it to USB. The keyboard's distinctive features are Control key in the middle row (swapped with Caps Lock which makes it a Unix layout - much more comfortable for the pinky) plus a whole bunch of extra Sun keys, including such useful ones as "Copy", "Paste", and volume control. (Sun Type 5 keyboard has very good feeling to its keys, much better than Type 7 one).Those extra keys work as expected with this adapter in Gnome on OpenIndiana (OpenSolaris previously), but aren't supported out of the box on Debian. Looking around I didn't find any good up to date tutorial how to enable them on Debian or any other Linux. Did anyone try to do it?

View 5 Replies View Related

Debian Configuration :: How To Send Make Equivalents To Make-kpkg

Mar 26, 2016

I build and use a custom kernel, and use the nvidia driver. This is on debian stretch.

By default, I build the image and headers packages with this line:

CONCURRENCY_LEVEL=8 nice -n19 ionice -c3 fakeroot make-kpkg --initrd --append-to-version=-something --revision=1 kernel_image kernel_headers

These kernel sources are usually the sources from debian, with a couple of more patches that I add. It appears that for nvidia-driver package versions higher than 352.79-1, the kernel headers/sources need to be prepared with 'make prepare' and 'make prepare scripts'. It's that simple. I concluded this after the nvidia dkms build failed on my custom kernel, but then succeeded after I pointed it to the full sources, but only after running 'make prepare' and 'make prepare scripts' on them. The problem is that this make-kpkg scheme doesn't appear to do this, or if it does, it doesn't properly include in the headers everything that it should.

View 0 Replies View Related

Debian Multimedia :: 8.0 Jessie - Volume And Fn Keys Doesn't Work

Mar 30, 2015

I recently install a Debian 8.0 Jessie on a Laptop Dell latitude E6540 with gnome 3.14+3. But the problem is that it doesn't recongnize my multimedia buttons, I tried some methods but I didn't get results.

Code:
Code: Select all$showkey --scancodes
volume up   -- 0xe0 0x30 0xe0 0xb0
volume down -- 0xe0 0x2e 0xe0 0xae
volume mute -- 0xe0 0x20 0xe0 0xa0

$showkey --keycodes
volume up   -- 115
volume down -- 114
volume mute -- 113

[Code] ....

When I reassinged the keys on Settings>Keyboard>Shortcuts to F7, F8 and F9 it works, but when use the keys volume up, down and mute It doesn't show anything.

The same happens with Fn + Brightness keys, in this case it worked the first time but then stop to work I don't know why..

View 5 Replies View Related

Debian Configuration :: Make Boot Partition Within LVM In Debian Usin Preseed?

Mar 16, 2011

I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.

### Partitioning.
# you can specify a disk to partition. The device name can be given in either
# devfs or traditional non-devfs format. For example, to use the first disk

[code]....

View 1 Replies View Related

Debian :: Usb Stick Don't Work - How To Make It Work

Jan 14, 2011

I just installed Squeeze_di_rc1, whit gnome, when i insert any usb stick i recive how can i solve it?At the same times i tried to format in fat 16 with gparted but the result is the same.

View 6 Replies View Related

Debian Configuration :: Apt Wants To Remove Make?

Oct 18, 2010

For some reason from a fresh installation on Debian (Squeeze), Apt is telling me I no longer need the 'make' package and I can remove it. I find this extremely odd & random given I just built this O.S. Why would Debian want to remove such a package and since this is a fresh installation, is there something I did wrong?

View 4 Replies View Related

Debian :: Make An Image Of Configuration For Install From It?

Aug 27, 2010

I configure my system in a long time and now I have a suitable system! But I install all directories in one partition and now I like install again, but I need make an image of my configuration for install from it and after install I don't spend time for again configuration.

View 2 Replies View Related

Debian Configuration :: Network Manager - Can't Make Changes

Nov 28, 2015

It seems that my network manager may be running in root mode...

For instance in network connections, edit and delete are greyed out. if i click add, i am unable to enter any details. if i run nm-connection-editor as root i am able to make changes.

How can i set it that the normal user can make changes? [managed is set to true in the conf file]

View 6 Replies View Related

Debian Configuration :: How To Make My Box Into A Wireless Repeater

May 19, 2011

I have a wireless router in my room and when people use their WiFi devices in the living room the signal is very weak and really slow, i have a Debian box in the living room that i would like to use as a wireless repeater. i want it to receive the wireless signal from my router and transmit an AP that resembles the one being transmitted by the router is this possible, and how can it be done

View 9 Replies View Related

Debian Configuration :: Make Modprobe Look Into The Right Directory?

Jun 28, 2011

I've got a problem when I try to use to load modules like when I try : modprobe tun It says : FATAL: Could not load /lib/modules/2.6.32-4-pve/modules.dep: No such file or directory I've checked in my filesystem, the directory 2.6.32-4-pve doesn't exist, instead I have 2.6.39.2.110628 So how could I make modprobe look into the right directory ?

View 4 Replies View Related

CentOS 5 Networking :: 2nd NIC Port Seems Not Working Independently Without 1st NIC?

Jun 25, 2009

Would like to seek your support and idea about the having 2 IP addresses bind to my server.I am using a Dell Server coming with 2 Gigabit Ethernet ports -- eth0 and eth1.After CentOS 5.4 installation, if we assign 2 IP addresses 192.168.1.1 and 192.168.1.2(both in the same subnet - 255.255.255.0) to the 2 NIC. The default gateway is 192.168.1.254.We found the following phenomenon:1. If we unplug the cable connecting eth0, eth1 will be disconnected as well.2. The connection to the server, like SSH, FTP, experience frequently disconnection.My questions:1. If we want to connect both cables to the 2 ports, how can we make them independent and actas normal? That means both ports are functioning independently.2. Is the any build in function in CentOS that can bind 2 NIC as 1?

View 2 Replies View Related

Debian Configuration :: No Rule To Make Target Modules

Sep 17, 2015

i'm trying to install driver for some PCI device but i have problems with it - when i run it it gives me an error

Code: Select allmake: Entering directory `/lib/modules/2.6.32-5-686/build'
make: *** No rule to make target `modules'.  Stop.
make: Leaving directory `/lib/modules/2.6.32-5-686/build'

i've tried to find solution in internets but have no success usually they say that problem is that ppl forget to download kernel-headers and kernel-sources or unpack kernel-sources or make symlink usr/src/linux but i've done it all and the result is the same.i think the root of problem is that `/lib/modules/ 2.6.32-5-686/build' folder is empty but there have to be this RULE, so what i have to do to have it there? my system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686.

View 2 Replies View Related

Debian Configuration :: Wireless Won't Make Connection After Upgrade?

May 15, 2010

I have a Dell Mini 9 with a Broadcom wireless adapter. I've had it working for months on Debian Sid, but recently I updated the entire OS to get KDE 4.4 (I also went from a 2.6.30 to a 2.6.32 kernel). Something in that upgrade caused wireless to cease to work properly. The problem is similar to the one described in this thread, but no resolution is mentioned there: viewtopic.php?f=5&t=50892 I've gone through all the steps to install the STA drivers/wl module for it, and it basically appears to be working. Using wicd, I can see all the wireless networks in the area.

The problem occurs when trying to connect. When I try to connect to my WPA wireless network, it eventually fails claiming a bad password. When I turned the wireless network into an unsecured network, it eventually fails claiming it's unable to get an IP. I've also tried at the command line with wpa_supplicant and it initially appears to work but in fact it hasn't. I've also got Kubuntu 10.04 installed on this machine, and it can connect without issue (using the proprietary driver that Ubuntu's hardware driver manager allows one to use).Does anyone know what has caused this? I even tried the earlier kernel, so that's not it.

View 1 Replies View Related

Debian Configuration :: Can Make Openvpn Faster Like Rsync

Oct 22, 2010

I use openvpn to connect otherwise isolated machines, and use samba to share filesystems across the vpn, which works just fine.But I recently discovered that copying files using rsync -e ssh is so much faster than copying from a mounted filesystem - like about 5 times faster.I've got comp-lzo enabled in both server and the client, at least I think I have, the directive is there in both the server.conf and the client.conf files, but how do I check that it's active?Does anyone know if I can make openvpn behave more like rsync, because copying is easier than rsyncing?

View 8 Replies View Related

Debian Configuration :: Make Xterm To Use Trurtype Fonts?

Apr 4, 2011

How can I make xterm to use truetype fonts by default,out setting it every time i start it?

View 1 Replies View Related

Debian Configuration :: Make MenuConfig Cannot Find Makefile

May 23, 2011

Trying to build a driver for a TV tuner card. When I enter 'make menuconfig', I get this error:

make[2]: Entering directory `/usr/src/linux-headers-2.6.32-5-amd64'
/lib/modules/2.6.32-5-amd64/source/scripts/Makefile.build:44: /lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile: No such file or directory
make[3]: *** No rule to make target `/lib/modules/2.6.32-5-amd64/source/scripts/basic/Makefile'.  Stop.
make[2]: *** [scripts_basic] Error 2

Suspect I need another package in addition to linux-headers.
Running Squeeze, amd64, KDE.

View 7 Replies View Related

Debian Configuration :: Torrent Traffic Very Slow / Make It Up?

Jul 10, 2011

I am running on debian squeeze 6.0.2. I have been using it for the last id say 3 weeks and really am enjoying it.

I generally use transmission-gtk to share files over the internet. Normally I seed torrents at 110-160kb/s for hours at a time. However after messing around with firestarter my upload speed for seeding torrents rarely peaks over 70kb/s. I have purged firestarter with no success of my regular upload speed, and am very confused as to what happened. I also notice sometimes when it will get to about 70kb/s it will immediately drop down to the 20-30kb/s range.

For incoming bittorrent connections I use port 37294. I have set port 37294 to be allowed in my firewall, and forwarded in my router (since purging firestarter did not help I just reinstalled it).

I have also read allowing ports 6881-6889 is important, but I have never done that in my history of using torrents, and I have never experienced a decrease in UL speed like this.

Have I done something incorrect? I have never had this issue on other machines?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved