Ubuntu Multimedia :: Forcing The Exec Bit For Read Only?
Apr 28, 2011
trying to run stuff from CD or DVD ROMS >without< copying to my cluttered hard drive, and came to a thought that I'd like evaluated: Would it work to perhaps use sed during the cd-rom auto-mount or some other point to enable the executable bit for *.exe and other 'executables' to somehow override the read only factor? I'm not too familiar with sed except that i know it can insert/replace new patterns of data for defined patterns of existing data.. so would something like this work? Could it be implemented as permanent function of Ubuntu to 'checkbox' cd/dvd mounts to insert the exec' bit on all, known, or choice files as a sort of 'virtual' permissions that can be placed on RO mounts?
I've been working on this off and on for the last couple of days and I can't seem to get this working. I'm using the latest Catalyst Control Center (11.5) and I've also got xorg.conf set up for this resolution. If I switch the driver in xorg.conf to radeon from fglrx, I can get my 1920x1080 resolution (only on GNOME;the login screen and Fluxbox have a black bar on the left that cuts off about a quarter of the screen). When using fglrx and Catalyst Control Center, I can only get a maximum resolution of 1600x1200.
Yesterday I was trying to connect the overhead projector to the VGA output of my laptop. The problem was that the device was connected by way of a VGA video splitter, which evidently missed some signal, and made the projector invisible to the laptop: "xrandr -v -q" told me "VGA1 disconnected".
The solution is: boot with
Code: video=VGA-1:e kernel boot parameter, found in the wiki and in intel linux FAQ.
It works, but it is a bit awkward to have to reboot to switch on or off the VGA output. So I suppose there is some user-space trick or utility to do this which I was unable to find.
My audio setup is based on a single guitar amplifier, and from this I suffer from only being able to listen to one of the two stereo channels. Since I honestly don't care for stereo, I'd rather force Ubuntu to output all audio as mono instead of "upgrading" to a stereo compatible setup.Is there a way to do this?
Just got a spare computer running ubuntu. The monitor it has atm has a problem where the screen goes crazy,the colours flicker and there are lines all over. I'm pretty sure its the refresh rate as the monitor can only support 55hz and 60hz. However, Xserver wont allow me to go below 75hz.Specs (very low I know ;D)nVidia 7600GS AMD 32002 gig ramAMW M199D
I am impressed with the visuals of both Ubuntu 10.04 and Firefox 3.6, but unfortunately I've been experiencing a very annoying issue since my install of 10.04 two days ago.
When I begin a Firefox session (using profile manager, in case it might have any relevance to the issue) it moves at lightning speed for the first five or so pages. Then, if I try a website it will time out (I have tried various pages, so it is not a page-specific issue) forcing me to refresh the page, wait roughly ten seconds, and finally be back on the initial page.
I am too lazy to re-list my PC stats, but they can be found in my signature. I am running on a household network, with the average connection speed ranging from from 40-80%.
The only other Ubuntu release I have used is Jaunty, where Firefox 3.0 (was it really 3.0 back then?) worked perfectly.
I have installed Google Chrome as well, and it seems to have the same relative issue, but it manages to recover from the timeouts quickly.
My only thought is perhaps it is an internal Internet setting that is disturbing the browser(s), potentially a default setting that has been modified since 9.04?
I'm working on a web site. I'm sometimes finding that when I update a file, some mysterious force intercepts my changes and refuses to let me see them. I have confirmed that this mysterious force is a server cache.By adding a "?" to the end of the URL, I can see the changes I've made. Is there a way to somehow force my Internet provider to update the server cache?
I am running 5.2; have not configured or installed anything special; and need to perform an update and get the dependencies installed, too. What is the best way to do that?
I recently did a Wubi install of 9.10 on my netbook that initially ran Windows 7 Starter. I wanted to speed up the booting process so I went into Windows and set the OS selection list waiting time to be 0 and the default OS to be ubuntu. I did this assuming that there is a way to force OS selection list to be brought up during boot; I think I was wrong.So now, I'm stuck booting directly into 9.10 (not even a full install!). Is there a way to either modify the Windows boot file to reset the selection list timer or to force the list to be brought back out?
EDIT: I should note that editing the grub files within the wubi install would only make changes to the GRUB loader, which has no effect on the actual Windows loader.
How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection? I have looked into forcebindip but it crashes on wine.
How can I force a Wine application (or Wine itself) to use a specific network interface? I have installed hamachi and am trying to play starcraft over virtual LAN. However, when I run Starcraft with hamachi running, it does not work. I have now determined that hamachi creates a network interface called "ham0". How do I force Wine/Starcraft to use the "ham0" network connection?I have looked into forcebindip but it crashes on wine .
Back when I used openSUSE 10.3 with KDE 3.5.x I used the KDE-specific version of blueproximity found here: K-Blueproximity KDE-Apps.org. The thing that made it great was that it integrated kscreensaver.
It hasn't been updated in a couple years and isn't compatible with 4.3.x so I'm using the non-KDE-ified standard blueproximity package. For the most part it works. Based on comments I found somewhere I'm running the following command to lock the screen:
Code: qdbus org.kde.screensaver /ScreenSaver Lock ; xset dpms force off and to unlock: Code: xset dpms force on ; killall -9 krunner_lock kblankscrn.kss .
The problem is that the unlock command doesn't work. My monitors will reactivate and the screensaver will display but in order to actually unlock I have to hit a key/move the mouse and enter my password.
what the command should be to actually unlock the screen since the above doesn't work.
I'm trying to use tar to tar files before transfer, so I can keep the entire file path rather than losing it along the way. However, when I try to tar an empty folder, it tells me that it is cowardly refusing to create an empty archive. I want to keep the empty folder on the other end, but don't want to put anything else into the archive to make it non-empty. Is there any way to do this?
I have a TCP connection (SSH session to some computer for example) Network suddenly goes down and drops all packets (disconnected cable, out of range). TCP resends packets again and again, retrying with increasing delays. I see the problem and plug the cable back (or restore network somehow). TCP connection finally successfully resends some packet and continues.
The problem is that I need to wait for a some timeout on point 5. I want to use my opened SSH session now and not wait for 5-10 seconds until it finds out that connection is working again.
How to force all TCP connections to resend data without delays in GNU/Linux?
running a large program on a remote SSH server the other day when I was disconnected. This is a large program, ~48 hours to complete, and I was disconnected around hour 40. I have restarted the program using the following (Note: I am already ssh'd into the server) ./20090427_9crossing > 20090427_9crossing.out & Now, I believe this will run the program in the background and output to the file. So, if I get disconnected again will it continue to run? If not, is there a way that I can get it to keep running?
I have set up a linux box running slackware 12.0, along with Apache 2.2.4, on my LAN I have a couple of computers. I want to force them to a webpage under document root, the webpage will be a agreement webpage. Is this possible to do with Apache? This will not be real domain, so my guess it that I would have to tell my DNS server to resolve the ip address to the hostname of my slackware box.
I have 1 Ubuntu server acting as a gateway / proxy and a bunch of iptables rules to log packets from each of these systems. This is done to monitor internet acces. The resulting log file grows to about 80 - 100Mb on a daily basis. I tried setting up log logrotate ( through webmin as well as manually ) to rotate this log file every night at 11:00 pm. However, the file does not get rotated. when i run logrotate -d /etc/logrotate.conf everything goes through fine. i get a message saying that the file qualifies for rotation and no errors.
If i manually force the rotation ( through webmin ) it happens. However, on its own, the log file does not get rotated. I am completely stumped. I tried replicating the exact same settings that are set for syslog rotation, and still no luck. All the other log files do get rotated at the appropriate time ( i have checked in the /var/log/ directory ), but this one does not. I thought it might have been because i had some prerotate and postrotate scripts. Manually forcing rotation did not generate any errors and the scripts ran without any problems. But even then, i removed those scripts, and still no luck. this is the config file for logrotate ( in /etc/logrotate.d/bcrl )
[code]...
I updated the system just one day before this problem ( the second one ) surfaced, but i do not remember what got updated. is there any way to check?
I'm using bioinformatics programs i run from console on my system or on the server and some of them don't have a option for use multiple cores/cpus.There's a way to force it? some programs have to run for days and use a single core...
I'm installing 10.10 on a desktop with Nvidia 6150 that needs nomodeset on boot or i get the blank screen upon boot. I had to force the live CD to nomodeset when booting from the CD. I was finally able to install, but upon the first boot from the hard drive I'm getting the blank screen again. How do I boot with nomodeset and get to my installed ubuntu. Once I get there i can edit my grub settings.
I have a bunch of .caf files in a directory that I want to convert to ogg but I cannot figure out way to do it (except manually). I want to do: sox filename.caf filename.ogg
My co-workers and I are trying to develop a USB device, which uses an FTDI chip as a USB-serial controller. The thing is, we would ideally like to set a custom idVendor and idProduct on the FTDI chip. The problem occurs that when we set custom idVendor and idProduct values, udev(7) loads the "usb" driver. If we leave the idVendor and idProduct values to their originals, udev(7) loads the "ftdi_sio" driver. The whole reason for the custom idVendor and idProduct values is so that I can (hopefully) write a udev(7) rule to map that particular device to a specific entry in /dev. Is there a way to write a udev(7) rule so that you can forcefully load a particular driver for a device? Is there something else that could be done to get a similar result?
I have a home theatre setup, where the hdmi output from my nvidia card goes to a 3 way splitter. I have found a modeline that all 3 monitors are happy with and all works well.
However, every bootup causes linux to detect a different (of the 3) monitor, a changing the video resolution etc..
How do I force linux to just use the Xorg.conf as is (without detecting new monitors every time and messing things up).
I did the chown task, as root, and the file icon still has the lock symbol on it. I did it on another file on my desktop just before that, and the symbol went away.I checked 'Properties', and it shows me as owner.It's an ISO on my desktop, copied from LXF Magazine DVD.
I fixed VLC to point to the correct device /dev/sr0) I executed sudo apt-get install ubuntu-restricted-extras If I play a music CD instead of a movie DVD, it works correct, so the device must work VLC and Movie Player work correctly with any video file in the computer.
If it helps, this is what the log says:
Oct 31 13:14:39 pablo-laptop kernel: [ 4079.019744] sr 0:0:1:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE Oct 31 13:14:39 pablo-laptop kernel: [ 4079.019752] sr 0:0:1:0: [sr0] Sense Key : Illegal Request [current]