Hot answers tagged remote-control
24
The -S and -p switches for sudo have no importance in this case. Here is what they do, respectively.
The -S switch causes sudo to read the password from STDIN. This allows, for example, a password to be piped to sudo through echo or cat.
The -p switch allows you to override the default password prompt and use a custom one, or none at all.
The ...
14
I never did that but I think you need to create a keymap file in /lib/udev/keymaps/ and add a rule for your device to /lib/udev/rules.d/95-keymap.rules
Details:
An udev keymap maps scan codes to key codes, so you need to find both to create the keymap file. To find the scan codes run the following and press the buttons on the device:
sudo ...
11
Edit: Rinzwind tipped me off on a launchpad project called "wiican". Apparently it is implemented as an indicator applet and allows to customise your wii-actions. You could bind e.g. amarok -t to a wiibutton.
You're in luck, and you don't even know how much. It took me a while and a bit of research but: I wrote a script to do just that a while back. It ...
6
halt is not shutdown, they are different commands. The former does not turn the power off, unless -p option is used
From the manual (man halt): "-p, --poweroff : Instructs the halt command to instead behave as poweroff."
And, in your case, -p was not used in the haltcommand, hence your computer was not powered off.
Do not confuse this -p with the one from ...
6
There is a good answer at the Unix SE site about the shutdown vs halt issue: What is the difference between Halt and Shutdown commands?
As for the sudo -S -p '' part, this will remove the message about asking the password in the terminal (You still have enter your password though)
For example running sudo <some_command> will give this output before ...
5
After a miracle (Because I never found something to control a Cyber Cafe, I was provided with this: http://mkahawa.sourceforge.net/
Which is exactly what I was looking for:
It even has packages for Ubuntu: http://mkahawa.sourceforge.net/downloads.php
5
You can do it with mpd.
You have to set up the daemon such that it allows ssh connection (basically comment the line bind to adress: 127.0.0.1 in the config file /etc/mpd/), then it will play in the background. You can then control it from any client (i.e. from any device which can connect to your PC) there is a list there:
...
5
Your best bet is to install xrdp . After installation, you can use an RDP client to connect to the machine - you will then be prompted for your credentials as you would be on the login screen.
4
I found a solution based on these 2 answers found in askUbuntu :
- to make my gamepad acts like the keyboard
- activate "Pointing and Clicking" by "Mouse Keys" in "Universal Access"
step 1 : rejoystick to configure the gamepad rejoystick to acts like the Numpad:
UP= 8 DOWN = 2 LEFT = 4 RIGHT =6
Left button = 5 Right button = 0
step 2: rejoystick ...
4
You can try PPT ODP Remote Premium (2.50 €). Its description says that the server application works on Linux, too. It doesn't mention LibreOffice, only OpenOffice, but I hope they are compatible enough. But I didn't test it.
If you don't mind ads and a bit of ugliness, Ubuntu Remote Control works. It only needs an SSH server on the PC (and public key ...
4
I don't know of any pre-built pedals right off hand, but I did see this tutorial on how to build your own USB pedal. Since it is just a modified USB keyboard, it would work fine on linux as well. You could just assign the keyboard command you chose for the pedal to VLC or whatever playback software you are using.
http://www.youtube.com/watch?v=a3NxQ60E72k
...
3
I'm using JDownloader. However, AFAIK running instance cannot be controlled by command line.
On the other hand, there are add-ons like:
- JD Scheduler or
- JD RemoteControl
which can do a great job.
See:
http://jdownloader.org/home/features
http://jdownloader.org/home/addons
(I guess that there will be more tools, maybe someone else will add another ...
3
It seems it is a problem of mapping, or something.
Just run sudo dpkg-reconfigure lirc, and in the first screen (Remote control configuration:), select Windows Media Center Transceivers/Remotes (all).
In the second screen (IR transmitter, if present:), you can select None.
Now, irw can output text:
$ sudo irw
000000037ff07be1 00 KEY_UP mceusb
...
3
[I'd comment if I could.]
Good answers so far, but I would also add that throwing a router in between your server and the rest of the internet probably isn't a bad idea unless you really have a compelling reason not to. If nothing else it's like the door on your house/apartment/domicile/place-of-habitation -- it discourages people from wandering in and ...
3
To disable SSH on certain interfaces, just follow these steps:
First, find the IP address of the server on the eth1 using ifconfig or some other method. This could for example be 192.168.0.12.
Open your /etc/ssh/sshd_config file (sudo nano /etc/ssh/sshd_config) and add edit the following line:
#ListenAddress 0.0.0.0
(which means "listen to all ...
2
Most likely you use RDP (Remote Desktop Protocol), as it works out of the box in Windows.
RDP uses TCP port 3389 by default; so port forwarding needs to be set up like this:
port 3389 on your router --> port 3389 on your Windows machine
For VNC you would need to do the same, but with port 5900.
2
The program you need is called lirc supports the remote control, looking into it it seems the driver is certainly supported but your dell model doesn't yet have a configuration file to map the buttons to actions.
In order to get this working we need a sys-admin or programmer to take a look at your computer while your pressing the keys to figure it out and ...
2
OK so your lirc configuration basically claims the mouse as a remote control input which means xinput can't then use it as a normal mouse. Without lirc claiming the hardware xinput would pick up the mouse and you'd see it when running xinput list from the command line under Virtual core pointer
So since your configuration binds it up what you need to do is ...
2
The first idea that jumps to mind is to just use mplayer . SSH into the remote machine, and control playback normally, DISPLAY=:0.0 mplayer dvd://1
The same could be done with xine too.
2
i got the same remote, im working on getting it to me seen in lirc but in the mentime, you can start mapping the keys right away in the keyboard.xml
the power key is called KEY_SLEEP if you add this to the xml under global,
- - - ActivateWindow(shutdownmenu)
you will now notice that pressing the button not brings up the shutdown menu.
You can find all ...
2
For your first question you will need to setup a firewall. If your server is fully exposed to the internet, this is highly recommended. You might want to look at the Ubuntu Wiki. If you have a router it might do this for you.
For the second part you might want to configure sshd to listen only to local addresses. That's of course assuming your eth1 has a ...
2
xboxdrv should be able to do what you want. It requires however a bit of configuration to work with non-Xbox gamepads, something along the lines of (check man-page for details, use --evdev-debug to find out the button and axis names):
#!/bin/sh
xboxdrv \
--evdev /dev/input/event9 \
--evdev-absmap ABS_X=X1,ABS_Y=y1 \
--evdev-absmap ...
2
Following Grumbel's answer, I tried xboxdrv solution with the support of his link and specially this page:
1. Install xboxdrv 0.8.2 from Ubuntu Software Center.
Install also uinput and joydev if needed.
I did it this way sudo modprobe uinput + sudo modprobe joydev
2. Need to know the event of the gamepad:
Launch udevadm monitor --udev and then plug ...
2
There are two main ways LIRC supports remotes.
One is just via a generic IR receiver. It's possible to "train" these to get a config file, or download one. These just list the pulse timings for each button.
The other means is via an event device - which is the likely mechanism of the remote you've got, since it already has an effect on your machine. This ...
2
The RC6 remotes all use Infrared (ir), not Bluetooth.
The only reliable source (i.e. won't disappear or be out of stock all of a sudden) to buy those receivers that I know of is Ebay. Ironically, it's almost cheaper to buy a remote + receiver bundle than to buy the receiver alone.
The receiver alone (with a Lenovo branding) currently costs $14-$20, a ...
2
From the read me:
Here you can find source files(tar.gz).
Precompiled packages for different systems and repositories are available at "Build Service":http://build.opensuse.org/project/repositories?project=home:ahajda:winexe.
This gets me to:
http://download.opensuse.org/repositories/home:/ahajda:/winexe/xUbuntu_12.10/i386/
...
2
The upcoming version of LibreOffice will have integration with the official Impress remote. You'd need a daily build and the debug apk:
http://dev-builds.libreoffice.org/daily/Android-ARM@24-Bytemark-Hosting/master/current/
http://dev-builds.libreoffice.org/daily/Linux-Fedora17-x86_64@4-gcc-4.7-dbgutil/master/current/
2
As an update to the accepted answer, the LibreOffice Impress Remote app has been officialy released by the Document Foundation, and you can find it on Google Play. Requires a LibO 4.0.1, Bluetooth, and Android 2.3.3+.
1
For Wiimote wmgui, wminput and friends are the right way to go. First thing to do would be to use wmgui and try to connect the controller, if it works and all buttons respond, then you can move on to wminput and try to map them to a joystick. wminput already comes with a bunch of example configs, they can be used like:
$ wminput -c ...
1
I found this lifehacker article on LIRC. It suggests that you install the lirc-x package. If you do that, and then modify your .lircrc file as I am about to show, and then run the irxevent program (from a terminal window or as part of startup — note that you can use irxevent -d to fork and run it in the background) you can then navigate the Unity launcher. ...
Only top voted, non community-wiki answers of a minimum length are eligible