Ubuntu / Apple :: Reversing Command And Control ?
Jan 6, 2011Is there a way to reverse the functionality of the cmd and ctrl buttons? I'm used to the Mac layout and am often hitting cmd instead of ctrl. =
View 2 RepliesIs there a way to reverse the functionality of the cmd and ctrl buttons? I'm used to the Mac layout and am often hitting cmd instead of ctrl. =
View 2 RepliesIf you're familiar with macs, you know that they use command keys instead of control..
If I want to select all I press COMMAND + A not CONTROL + A copy is COMMAND + C, paste is COMMAND + V, quitting an application is COMMAND + Q.
I am used to this, and I would like to change the command key to be the control key, and the macs control key to be the "windows" key.
I have forgotten how to turn the display on/off via command-line on an imac g3.how this can be done?(Google brings up lots of results which use "xset dpms ..", but this does not really apply to me since I don't usually run X).
View 4 Replies View RelatedIs there a way to easily make the command key function as the control key on a macbook pro in these modern times of 2011? I tried one of the command-line based tutorials and couldn't get it to work. Seeing as I have little idea as to what I was doing, I'm going to need a gui. But come Natty, nothing appears to be working. I would think that this is a common question, so I'm sure there is something simple I'm overlooking.
View 9 Replies View RelatedI'd like to find a way to control the fan's activation threshold in ubuntu (i use SMCFanControl in OS X.
View 4 Replies View RelatedMachine: 2008 Mac ProKeyboard: Aluminum/wired/numeric keypad/US layoutKernel: 2.6.35-22-generic x64 (maverick)Bootloader: GRUB 1.99 BetaI have been trying to EFI boot Ubuntu since June - without success. My goal, for now, is to boot into an initramfs environment succesfully. I'm booting with these grub commands:
insmod efi_uga
linux (hd1,gpt1)/ubuntu/vmlinuz-2.6.35-22-generic video=efifb noefi
initrd (hd1,gpt1)/ubuntu/initramfs-2.6.35-22-generic
[code]....
First some background: I currently have iTunes running on a Vista box attached to my TV. I have an Ubuntu box running 11.04 and shairport which serves as remote speakers for the iTunes server. This works fairly well as I can control it with my iPhone, or iPad etc. Very slick interface and my wife loves it .
But I would prefer to not use iTunes to as the server. I would like to let that Vista box sleep most of the day. Doing a little bit of reading it sounds like I should be able to use mt-daapd as a replacement for iTunes. So I installed firefly and gave it a shot. I can get it streaming music fine. But I cannot Apple's "Remote" app to add the new library. When I did some poking I read that I should make a file that ends in ".remote" and put my device name + the pairing passcode from my iPhone in this file.
When I enter the "Add Library" mode on my iPhone it should broadcast an mDNS event. And in fact it looks like it does because: avahi-browse -r -k _touch-remote._tcp Can see my iPhone. But when I do a tail -f on the mt-daapd logfile I never see a connection come up. I have tried debug level 8 in the messaging.Still nothing. In my search for a fix I noticed mt-daapd is no longer being developed but there is forked-daapd. This is actually where I found the instructions for pairing via Remote.
Should I bail on mt-daapd? Will there someday be Ubuntu support for forked-daapd?
One of the most long-lived discussions regarding running Ubuntu on Macs is the problem of excessive heat. There exist solutions for every single case, but they are somewhat hard for the newcomer to find.
This post is a request for a fan-control solution suitable for all macs, to eventually be put in the mactel-support repository. I know there are several fan-control solutions out there, and my hope is that this thread will single out one of them to improve upon to the point that everybody can install and use it on their mac.
I've installed Ubuntu 10.10 on my Macbook Pro 6,2 and try as I might can't change the brightness of my screen whatsoever. I cant use "echo 100> /sys/devices/virtual/backlight/nvidia_backlight/brightness" because the folder does not exist. Pommed, when run using "sudo pommed -d" complains with "Failed to access brightness node: No such file or directory".
I have the mbp-nvidia-bl driver installed *only* (removed nvidia-bli because I had seen in other threads that the two conflicted). I've tried searching the forums and the web but nothing is helping me so far. Biggest roadblock for me using ubuntu is having the headache of using a much to dim screen(or currently a much too bright screen)
According to the Community Documentation for a 6,2 running Maverick, the LCD brightness just "Works." I have mbp-nvidia-bl-dkms and pommed installed, but this has never worked for me.
View 9 Replies View RelatedI have a white Macbook 7,1 and am running 11.04 beta 1. I have worked out almost everything, sound being the main thing that didn't work. The one thing I don't have working is my brightness control -- my laptop always displays at 100%. I tried installing pommed and the dkms package from the Mactel PPA, but nothing works yet. The wiki hasn't been updated to 7,1 for Maverick, let alone Natty.
View 3 Replies View RelatedI have installed Ubuntu Server 10.10 on a PC which is connected to my home network. I want to be able to connect to this PC from my iMac (OS X 10.6) and run things remotely like I can do with software such as VNC between Windows systems.
View 1 Replies View RelatedMy MacBookPro5,5 (also known as the June 2009 Unibody MBP) is having brightness problems. Usually, with OOTB Ubuntu, I can control the brightness flawlessly with the keyboard keys labeled F1 and F2 with no problems once I install the nvidia_bl driver. Pommed improves the experience, giving me keyboard brightness.
Since installing yesterday, the brightness control randomly stopped working. Xev reports that the brightness up and down keys return a keycode (whereas F7 - F12, the playback and volume keys do not; both sets control their respective stuff natively)... this shouldn't happen. nvidia_bl is loading properly according to dmesg; so this problem is baffling.
The Gnome brightness applet does not work, nor does auto dimming. The applet displays a helpfully-apt red circle-with-slash mark. "echo x | sudo tee -a /sys/class/backlight/nvidia_backlight/brightness" still works to change the brightness manually. I can get the Gnome brightness working by manually changing the brightness, killing gnome-power-daemon, and then restarting it via the terminal in no-daemon mode.
I have been experiencing some problems with my time and date settings. It keeps reversing to the 1st of July 2004 at 1 am. On FC10 it did not create too much trouble as setting up the time and date would usually work. But on FC12 when I start my laptop it crashes and I cannot log on. It starts bash and I get this message:'dev/mapper/volgroup 00-logvol100 : superblock last mount time (wed March 3 14:03: 2010, now Thu July 1 01:03:39 2004) is in the futureenter root password or press ctrl dWhen I become root I get these codes :MK Temp : failed to create file via template'/tmp/elektra env.XXXXXXXXX' : read-only file system
Bash: $File:ambiguous redirect
Bash: $File:ambiguous redirect
Bash: $File:ambiguous redirect
[code]....
Just check out the script...
Code:
1 #!/bin/bash
2
[code]....
I have a dual-homed Debian server running squid, but not acting as a router. Simplied network diagram is below - there are other local hops between the gateways and the Internet.
Code:
(eth0 @ 192.168.44.2) <--> (Gateway1 @ 192.168.44.1) <--> Internet
(eth1 @ 192.168.55.2) <--> (Gateway2 @ 192.168.55.1) <--> Internet
Using Gateway1 gives a very fast, but not always reliable route to the Internet. Using Gateway2 gives a slower, but more reliable route to the Internet. The server uses Gateway1 as the default gateway.
I have written a script that pings three hosts on the Internet, and if all three are down, switches the default gateway to Gateway2. This part seems to be easy, but I'd like know if there is a way of routing a ICMP/ping out eth0 to a host, with all other traffic to the host going out eth1, so I can determine if the Internet is reachable via Gateway1 again.
Everything is plain and simple. I want to know what's the least painful way to control vlc from local command line while having GUI as well?
I would like to e.g. use something like "vlc --pause" in one of my bash scripts to pause music if something hapens. So rc interface is useless, is it not?
not making a thorough search on this as the irrelevance of results is beneath me... Well actually I have made it but it was a while ago and to no avail since the new vlc shipped with karmic got rid of the old http interface which allowed to do this just by using wget on an url....
Is it possible to control the mouse position from the command line? I want to centre the pointer in the middle of the screen
View 8 Replies View RelatedI've just started using gdb at my new job, and I'm having a small issue debugging C++ with it. After I execute "continue" or "run" through gdb, I'm not able to return control to gdb. Based on the documentation I read, I should be able to use Control-C to interrupt the program, and have control return to gdb.
This does not work on my setup. Not sure if it's related, but I'm debugging on a remote machine. I tried through PuTTY and xterm using Exceed XServer. In both cases, gdb does not respond to Control-C. This is quite annoying because I have to restart my program every time I want to set a breakpoint.
I frequently ssh into machines to do work. In some cases, the machine is headless so there is no option to log in.Under Debian and on older versions of Ubuntu I would pull out the avahi and network-manager packages and manually configure the interfaces file to my liking and be done with it.However, I would now like to learn how to work within avahi/network manager. So, is there a doc somewhere explaining how to work with modern Ubuntu networking at the command-line level? Ie: Setting up a wireless connection, setting static/dynamic IPs, etc?
View 3 Replies View RelatedI use F13. How can I control the volume of my desktop ssh'ing into it from my laptop?
I use the laptop like a remote control to control my desktop through vnc while watching movies, but changing volume through this setup is a bit too cumbersome and clumsy. I tried alsamixer but it behaves strangely and doesn't change volume.
Quote:As the line between securely hosted and controlled enterprise applications and cloud-based applications continues to blur, there's more "legitimate" traffic between corporate networks and the Internet than ever before. This opens up new vectors for attack by hackers nd cybercriminals as more traffic types are allowed through corporate firewalls. The result is an increase in diversity of covert command and control channels, which hide inside legitimate traffic in order to bypass perimeter security. These C&C channels, used by malware ranging from simple spambots to more sophisticated rootkits, vary in the maliciousness of their intent from casual hacking all the way to advanced persistent threats (APT) and industrial espionage.
View 1 Replies View RelatedWhen I give the command:
winexe --interactive 0 --user <user>%<password> //<ip_address> 'cmd /C dir'
I receive the message:
ERROR: Cannot open control pipe - NT_STATUS_ACCESS_DENIED
The source machine is a RedHat EL4 server. The target machine is a Windows XP Home SP3 pc. When I give the same command to another pc all works fine. The other pc is a Windows XP Prof SP3.
Bot herders and the crimeware gangs behind banker Trojans have had a lot of success in the last few years with using bulletproof hosting providers as their main base of operations. But more and more, they're finding that social networks such as Twitter and Facebook are offering even more fertile and convenient grounds for controlling their malicious creations.New research from RSA shows that the gangs behind some of the targeted banker Trojans that are such a huge problem in some countries, especially Brazil and other South American nations, are moving quietly and quickly to using social networks as the command-and-control mechanisms for their malware. The company's anti-fraud researchers recently stumbled upon one such attack in progress and watched as it unfolded.
View 9 Replies View RelatedI have Lenny PPC installed on my Apple G5 and am using a Danish PC keyboard, so that all the keys follow standard Debian configuration. The only problem is that I can't figure out how to open the CD drive to put a CD in. If I already had a CD in the drive, I could always right-click to eject, but that isn't the case.
View 2 Replies View RelatedI would like to use the command key to enable center mouse click by hitting the sequence 'command key, button1'
View 6 Replies View RelatedI've been following the instructions for the Mactel team and they say to put this into the terminal:
Code:
But it always gives me this:
Code:
I really need this because i believe this fixes a lot of driver issues. Im running the latest MacBook Pro (intel i5 / MBP 6th Gen).
I'm having severe driver issues, i think these fixes these, right?
- No sound
- Special buttons like brightness, sound, etc show up on Ubuntu when pushed but nothing actually happens. Same with the Eject button. Shows a status bubble in the top right that it's ejecting, but doesn't do anything.
- The touchpad, as it has no buttons on the Mac, is nearly not useable, but they say it works out of the box...
Also, side question... can you change control to be cmd? Like, swap them to match the Mac's layout?
I am trying to execute command mactime in order to control changes made to the file system, but I am getting an error. I am running the shell as root, and it is the first time I run the command in this system - Debian Squeeze up to date. The I/O is as follows:
# mactime 3/1/2011
cannot exec /bin/date: No such file or directory
cannot exec /bin/hostname: No such file or directory
cannot exec /bin/uname -n: No such file or directory
Cannot open /var/cache/tct/data/Amnesiac/body: No such file or directory
The first three lines of output are the ones that are worrying at the moment; I am not concerned with the last. Although error messages suggest the programs date, hostname and uname do not exist in /bin directory, they are available as shown by
[Code]...
I don't know how this happened, but my keyboard copy and paste functions have stopped working. Oddly enough, I discovered that I can only copy and paste by using the third mouse button. Pressing down on the scroll wheel after highlighting text copies the text, pressing it again pastes it Ican still use the Edit-copy and Edit-paste menu functions.
I'm sure it has something to do with all the tinkering I have been doing with my desktop. I have been experimenting with CompizConfig and Cairo dock, changing my themes and things of this nature.
Ububtu 10.04.1
kernel 2.6.32-27 generic
I feel little silly asking this, I accidently removed from my gnome panel my internet connection, volume control and battery indicator on F11. how can I add this back. It does not show up in the add to panel menu and the applications do not give you back the default feel.
View 1 Replies View Related