Debian Hardware :: Open Apple G5 CD With Key Command?
Mar 14, 2010
I 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.
I have a problem that I can't seem to figure out. I can easily create a .sh file that will execute a command in Terminal, but as soon as it executes the terminal disappears. How do I get it to stay? My idea is to have the keyboard shortcut "ctrl+alt+del" open a .sh file with the contents "ps ax". Then it would be just like having a task manager; the terminal would open with "ps ax" already executed, and all I would have to do is kill the process number.
I have tried eject /dev/cdrom, sudo eject, pressing the eject button but whenever i do , it just opens for like 1 second then closes right back. is this fixable within Xubuntu, or is this a physical problem with the cd drive?
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).
Is 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.
I'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?
When I open an open office document from an NFS share it always opens as readonly. This was a problem I had on Arch linux and the fix was to change the locking options in the soffice script but I've tried that fix here and it doesn't work. I've seen a lot of discussions but they all go back to changing the locking options in soffice, has anyone got any alternative fixes or one that definitely works with locking?
I installed Open Office 4 on Debian 8 but when I run the program I get this error message.
root@localhost:/home/paul# openoffice4 No protocol specified No protocol specified /opt/openoffice4/program/soffice.bin X11 error: Can't open display: Set DISPLAY environment variable, use -display option or check permissions of your X-Server (See "man X" resp. "man xhost" for details)
Open Office works fine when I run the command "startx" in the Konsole but so far I haven't been able to configure it.
In Xubuntu 9.04 I could right click in any directory folder and have the option of opening a terminal window "there". So the terminal command line would open preloaded to that directory. I know, I'm lazy, but it sure made life (and command line work) easier. But it's not available in my new install of Ubuntu 10.04. Now, I know that my gui environment has changed from xfce to gnome, but I would have expected MORE features, not less.
After contracting malware on Vista i decided to switch over to Linux and chose to start of with Ubuntu because of the graphical interface. that being said, you have no doubt inferred that i have no coding experience. basically i was hoping to find some nice tutorials and sites for Ubuntu. Also, i did downloaded the suggested programs and patches but im still experiencing problems with Adobe,flash, and and opening .exe files. for the latter, when i click on .exe files it is equivalent of using explorer on windows so i was wondering how to use the command prompt to open them. supposedly linux is susceptible to malware so if you could please suggest a anti -malware program.
Every time I need to find a file and then open it, I have to use : find ./ -name **.properties. , then copy the result, and then vi "paste the result here" . If I need to use a mouse, it can be a little trouble. So is there any better way to do this?
I install Vmware in winxp sp3, then install centos 5.5-i386 release 2 in Vmware. I want to type some command like yum install ..., but where to open system command? I searched the menu applications places system on the top of the desktop, but I am not sure which one is.
is it possible to open a file with a terminal without specifying the application it will use ? In fact I mean what is the equivalent of the double click on the file manager for a terminal.
im trying to set mp4 files to open with avidemux but its not listed in the "add applications" list, but at the bottom it says "add custom command" and theres a browse button but i have no idea what im looking for.
is there an easier way to add a program thats not in the list, via terminal codes?
or what exact file should i be looking for if i use the browse feature?
I recently managed to compile and install audacious 2.4.0 successfully. I prefer to browse my music folders and double click on the song I wish to play rather than use "open files" within audacious. It works fine to open the first mp3 but when I click to play another song instead of stopping the first one, it opens another instance of audacious and now both songs are playing. When I go into the properties of an mp3 and select open with > "other application" > audacious then click "Use a custom command" the following is in the box /usr/local/bin/audacious %f. is there any custom command I could use so that when I click another song audacious stops the currently playing song and plays the new one, without opening another instance?
I am trying to use a command to open a partition or disc from the top like open up external drive, and not have to be externaldrive/videos or whatever. The reason being is to use in cairo dock, I have tried to drag n drop like i am able to with regular folders, but no good. I seen the option to run a command, and figured I would try it that way.
I have the partitions and discs i want to access mounted. they are: External Drive (/dev/sdc1) Storage (/dev/sdb1) Windows (/dev/sda2)
I tried to open them in terminal, /media/storage: no such file or directory; /dev/sdc1: Permission denied; open /media/storage or /dev/sdc1 Couldn't get a file descriptor referring to the console; se7en@PC:~$ nautilus /media/storage or nautilus /dev/sdc1 .....
Along with a pop-up saying 'the location is not a folder'.
I have a small board that has a static ram board attached to it. I have two different programs that each write to a byte of memory in the static ram board. I get a file descriptor to the device memory with the following code:
int phymemfd; phymemfd=open("dev/mem, O_RDWR | O_SYNC);
This opens the physical memory for both reading and writing. Next I get a pointer to the beginning of my ram board.
I do this same code in two processes that are both running and this works fine. Now, if I take out the O_SYNC parameter, one of the programs gets into some sort of weird state.My understanding of the O_SYNC parameter is that it cause the process accessing the memory location to block, not allow another process to run, until the first process has finished writing to it.I can see that if my program doesn't block, I wouldn't really know what was in the memory location, but would I can't see how it would cause any other type of system problem.
Neither Ubuntu's Unity or KDE respond to the function keys on a regular Apple USB keyboard. I can plug in a non-Apple keyboard and they work just fine. What needs to be changed or configure so that F1 and company on the Apple keyboard work as on other keyboards?