I'm trying to use this thread to set my laptop's resolution to 640x480. To do this, I need to use the addmode command which expects me to list an OUTPUT. What OUTPUT do I list? The "xrandr -q" command doesn't list any outputs.Here is the result of me typing "xrandr -q":
Code:
Screen 0: minimum 800 x 600, current 1024 x 768, maximum 1024 x 768
default connected 1024x768+0+0 0mm x 0mm
i just upgraded to ubuntu 10.04 the netbook distro. at the desktop view there is a list of about 10 buttons/menus listed on the left hand side, is there anyway to control what buttons/menus are listed and which icons are listed under each of them? having a netbook i would like to remove and unclutter the desktop view as much as possible but i dont want to remove those apps i still want to be able to open those apps if i want to even if by removing those icons and menus/buttons makes it a pain.
I have been having some fun with the shell but have become a little lost. I want to be able to email (myself and others) outputs from various commands etc. Sometimes people wish to know the contents of my music library etc and it's nice to be able to ssh in and email an ls (or similar) output.
Here is what I have been doing: Code: ls -R /home/simon/mount/sata0/audio > /tmp/musiclist mail -s $(date +%Y%m%d) email@domain.com < /tmp/musiclist The date part works perfectly and I receive an email with a subject suiting my preferential YYYYMMDD format.
But what I'd like to figure out is how to get this into a single line of code, my first attempt was: Code: mail -s $(date +%Y%m%d) email@domain.com < $(ls -R /home/simon/mount/sata0/audio) This generates an error: -bash: $(ls -R /home/simon/mount/sata0/audio): ambiguous redirect But if I simply run the code "ls -R /home/simon/mount/sata0/audio" - the output is exactly what I want.
Is what I'm trying to do even possible? I do realise that I could use something like this Code: ls -R /directory > /tmp/file && mail -s $(date +%Y%m%d) email@domain.com < /tmp/file But this is still running two commands and I'd like to figure out how to be 'cleverer'.
I've been having issues with Devede on my desktop although I used to use it on my laptop back in the day. I click videocd and under advanced options select ISO but can only get the output of a new .mpg. I've also tried to create disc structure but had the same result. I've uninstalled and reinstalled via the software center and still nothing has changed. Currently I'm having to use wine to run ConvertXtoDVD and then burn with K9Copy.
I've searched high and low, and can't seem to find a solution to this. I'm running a Dell Inspiron with an HDMI output with 10.10 through the tv. I want to get HDMI sound output for VLC, but I also want S/PDIF output (to the stereo) for Musicplayer. I can test and use the HDMI in the sound preferences sound/preferences/sound, but when I try to do the same for the internal card and click 'test speakers' the sound program closes itself. When the machine was a windows machine, it had PowerDVD outputting to the TV and Mediaplayer outputting to the stereo. I'm aiming for a similar set up in Ubuntu.
I've searched and searched and can't find a straight answer about this. I want to sent the same signal out of the digital output and one of the analog outputs on the soundcard (Intel HDA) on my motherboard. I'm using ALSA and Pulse Audio.
Since i upgraded to F14 I have been having an annoying problem with compiz: I have twinview and an nvidia 8800GTS. Windows like transmission and pidgin that i put on my second monitor and then hide, have their position reset to the center left side of the screen on the absolute border of the first monitor. this is probably a problem with how compiz is detecting the outputs.
EDIT: Any windows that have their position saved to the second screen will be reset to hug the center left side of the screen.
SOLVED: I manually set the outputs in compiz and the selected use largest output first in Place Windows plugin.
The serial console is for debugging and will physically disappear when product is mature. However, there are many background processes that may print out statuses/results. These go to /dev/console or serial console. Telnet will be the only way to get a console. I tried netconsole (with netcat) and it works, but it is only for kernel printk messages. I tried "program > /dev/pts/0" and it works also. it would be better if I can just change/add the console /dev/pts/0 to the existing /dev/console.
With pulseaudio handling sound on Lucid (10.04), when I plug in my USB headset it's recognized, but there was no easy way to have it be used without going to System > Preferences > Sound > Input & Output and checking the radio buttons. Then if it's unplugged, and plugged in again later, the setting has been lost, so it was back through the menus. Not good when the headset's not plugged in and I'm fumbling to answer a Skype call. What would be ideal is if pulseaudio could prioritize and always default to the headset when it's plugged in. But I'm told by one of the pulseaudio gods (Col) that it can't yet.Here's a way to at least get the switch down to one button on the panel bar.0. Get all your devices plugged in1. Find your outputs (speakers, headphones):Quote:pacmd list-sinks | grep alsa_output2. Find your inputs (such as a microphone):Quote:pacmd list-sources | grep alsa_input3. Write a bash file to choose one or both, like this but with device names appropriate to your system which you've discovered above for the alsa_output.* and alsa_input.* strings.Quote:
I'm trying to get my Audigy 2 Value to output digital but when I try to use the iec958 interface it outputs to the front speakers analog outputs, ie not the digital io socket.
I can get 5.1 surround by using the plug:surround51 device.
Have gone though other guides trying to fix the problem but no luck. how to get the digital stuff working. I have included some outputs.
I would like to make a one-liner, which diff's "ps aux" output before and after killing a process. So basically it should be a combination of fallowing commands: 1) diff -u 2) ps aux | awk '{print $2}' 3) kill `ps aux | grep [c]ron | awk '{print $2}'` 4) ps aux | awk '{print $2}'
How to achieve this? Something like this: Code: diff $( kill `ps aux | grep [c]ron | awk '{print $2}'` && ps aux | awk '{print $2}' ) $( ps aux | awk '{print $2}' ) I don't have pgrep or pkill available.
I'm on Ubuntu 11.04. I have read around about how to use curl to download a list of URLs from a text file, and everyone says to use
Code: curl -K URLlist.txt This is what the curl man page says as well. However, for even a simple file with one URL, this command outputs a bunch of weird symbols for me instead of downloading the file. For example, I have a text file "test.txt" with one line in the following format:
Code: url = "http://www.example.com/image.jpg" I use the curl command to download this file:
Kernel 2.6.21.5, GNU (slackware 12.0). KDE 3.5.7. MPlayer 1.0rc2-4.1.2.
I have a .avi file on the hard (really on a cd-rom, but it's just the same). Being in the GUI (KDE), I do Main Menu>Run Command and then, in the dialog box, I enter 'gmplayer foo.avi'. Gmplayer starts, the picture of a small console is seen on the screen, and the audio from the movie is heard. Just as if I had inserted the CD into a stand alone dvd player but I could not see the image. I compiled and installed mplayer (with GUI support) from the slackbuilds.org sources and script for slackware 12.0, which is the slack version installed in my machine. If I open a terminal (in the GUI) and run gmplayer there I get this:
Code: VIDEOOUT: [VO_XV] It seems there is no Xvideo support for your video card available. [VO_XV] Run 'xvinfo' to verify its Xv support and read [VO_XV] DOCS/HTML/en/video.html#xv! [VO_XV] See 'mplayer -vo help' for other (non-xv) video out drivers. [VO_XV] Try -vo x11. CPLAYER: Error opening/initializing the selected video_out (-vo) device.
I know I could do what is suggested by gmplayer but, before that, perhaps I am simply invoking gmplayer in the wrong way. That is: there are at least to ways: using the Run Command dialog box and opening a terminal and running as a cli command.
Is it possible to make a script that makes a tree of all folders and subfolders and outputs it to either a .txt file or .pdf? All folders except from one shall list 2 levels. The except folder all the way.
I used to have older version of ubuntu (previous to Lucid,10.4 LTS), and I have a Sony WEGA TV connected to my unbutu laptop w S-Video card connected for Video out...and I used to run following command to activate S-Video out to my TV and it worked perfect...
here's the command that worked : ~$ xrandr --output S-video --set load_detection 1 Now after updating to Lucid/10.4 LTS, this command started getting an error : ~$ xrandr --output S-video --set load_detection 1
Just installed Debian 8, coming from Ubuntu12, it seems I cannot get my dual monitors to work as it should.
I want two monitors side by side, currently I have two identical outputs. I looked around a bit and register two possible problems.
root@bigcem101-debian:/home/bigcem101# xrandr xrandr: Failed to get size of gamma for output default Screen 0: minimum 640 x 400, current 1024 x 768, maximum 1024 x 768 default connected primary 1024x768+0+0 0mm x 0mm
Hence, problem 1: it is as if there is only one monitor detected. Then I tried to look for Xorg.conf ..... and: problem 2 xorg.conf is not there. This seems to be normal but when I installed my Ubuntu years ago it was still there and one could manually set things. There must be something new I am missing.
Card: VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RV670 [Radeon HD 3690/3850]
It seems I have both ati and radeon installed.
root@bigcem101-debian:/home/bigcem101# X -configure (EE) Fatal server error: (EE) Server is already active for display 0
I have a requirement like this:Cut the characters from each line of a file with following positions: 21-24, 25-34 ,111-120.Thse fields now need to be placed in a tab delimited output file.Currently this is how I am achieving it:
how to update a series of values from multiple grep commands outputs to be appended to a single row of a csv file? Work on a linux envir. The values from grep output will be numeric values.
Output sold look like:
1,3,4,5,7,0,5
Each of these values will be odtained from multiple grep commands piped with wc -l Is it possible to update a single row of a csv file if so pleas ehelp me with the command to be used to redirect the output into the csv file
I was wondering if there is an application for Ubuntu (FOSS or otherwise) that would allow me real time management of all of my audio inputs and outputs. Essentially I have multiple microphones attached to my computer and multiple audio outputs. What I am looking to do is to be able to assign each different input to it's own audio output. A touch screen interface is a plus for the program but not necessary.
I have an s series gigabyte Mother board (GA-EP35-DS3L/S3L) I have just ordered a 2.1 stereo system supplying a base and 2 desk top speakers. The default output settings on the board does not include left and right speakers. Is it possible to alter the default outputs on the internal sound card via ubuntu? Under windows there is some software gigabyte supply which enables reallocation of the output sockets. What is available for Ubuntu?
I have a home server that I have been running for some years and am constantly tweaking / playing with it resulting in numerous reinstalls (and upsetting the wife!). It does nothing critical but I use it mainly for:
backing up my laptop files XBMC ZoneMinder
Due to the number of times that I manage to break it, I have now thought about setting it up as a base system but with virtual machines looking after the seperate 'components'. The machine is an AMD Athlon 64 X2 4200+ with 2Gb RAM. First of all do you think it is powerful enough to run XBMC and ZM in seperate virtual machines? - I appreciate the more RAM the better but at the moment I am sticking to 2Gb.
I was also wondering what sort of issues may arise for the audio and video areas I will be using. XBMC currently outputs through an HDMI cable to the TV and ZM recieves video signals through a seperate video card. ( I have had my concerns in the past that there have been conflicts in the way I have set things up!). I have read a number of guides about setting a system up with virtual machines but not really found any articles about the practicalities of using such a set up at home. before I commit and spend a week pulling my hair out trying to get it all to work!
I have two monitors, my laptop screen, and an LCD monitor. I want to configure linux to put one virtual desktop on one, and a second on another. I'm using Compiz as well, so I'd like it to show one side of the cube on each monitor. I'm not really sure how to go about setting this up though. My attempts so far have stretched the same desktop across both monitors, or resulted in an unusable monitor that just sits there with the default background. While I was trying to figure this out I came across something called XRandR that lets you connect/disconnect monitors without restarting xserver. I'm not sure how to get this going either, the only tutorials I found were for intel chipsets, and I'm using the proprietary NVidia drivers.
I have been running linux on my thinkpad r50 for about a year, specifically 9.04. The problem is with this new 10.04 lts installation when I go to hook up an external monitor via the avg port and run xrandr to initialize the display, the laptop monitor panel becomes a garbled image and the television that is attached to the computer says no input. As of now I am stumped and open for assistance on this one.