Ubuntu :: Refreshing Usb Ports From Terminal ?
Jun 6, 2011
I am having problems with my external hard drive, every time I reboot I have to get on my knees and unplug it from my computer and plug it back in for it to load. There is no power switch on it so i am looking for a way, from the terminal, to reload it.
Using "lsusb" in the terminal I can see:
I heard something about being able to restart a port by the id but can not find anywhere that says how to do this.
Also i was wondering if there is something for Ubuntu like the Perl man pages that just lists all of the commands that a person would use. That would be much preferred to having to look around the Internet every time i need a line of code. And being based on debian would it make sence to look for how to do things in debian if i cant find how to do it in Ubuntu? or will just "in Linux" work?
View 2 Replies
ADVERTISEMENT
Apr 20, 2010
I am having some problems with finding a decent terminal program.
I am using Fluxbox, and so I don't want any DE specific terminal programs.
I have xterm by default, and have been playing with urxvt, aterm and mrxvt as well.
I originally wanted a terminal program with tabs and transparency, however tabs don't matter to me anymore and fluxbox has native support anyway. Now, just proper transparency is important to me. I understand Fluxbox can induce real transparency with xcompmgr, but this has the effect of making the entire window transparent. I am looking for a terminal that supports real transparency naively so the window bar and border will not be transparent, while the "terminal part" will be.
I'm not 100% sure, but out of these I think only urxvt fits the bill, with aterm and mrxvt only supporting pseudo transparency. Is this correct?
Second to this, and my more urgent problem, is that none of the terminals except xterm seem to fresh properly. in xterm I can do everything I can do in a real tty, I can edit with vi, use curses programs etc...no problems. However each of urxvt, mrxvt and aterm behave the same way, and do not refresh properly. If I try to edit a file in vi in any of these, I can only see maybe one or two lines of the file, and can't scroll through or anything...it's impossible to actually edit.
I also note in urxvt, mrxvt and aterm the home and end keys don't work, however they work in xterm just as they do on a tty. For example in each of the non xterm terminals pressing home just gives a tilde, which means I have to hold down the left arrow to get to the end of the line, which can be frustrating.
Obviously the other 3 terminals are are emulating a different terminal type to what xterm does...perhaps. However I have not found a way to test this. For those people using a non xterm terminal, how did you solve this?
I also had some somewhat related questions that I hope I don't need to make a separate post for(they seem so trivial but really bug me)
1. How would I press alt + enter inside a terminal? For example running wicd-curses from a terminal(Even an xterm) you need to press alt + enter to save settings, however from a terminal alt + enter has no effect. Is their any way to force this key combination?
2. I notice when starting a terminal, the shell lacks a prompt. Why do terminals start interactive shells by default, and why do interactive shells not have a prompt? Is their a way to make interactive shells inherrit the same prompt that login shells use? I use both zsh and bash. Is their any practical difference between using a login and interactive shell?
3. If I am running an X session as a normal user, and su to root in a terminal, is their any way I can start X programs as root and get them to display in the X session of my normal user? I normally get an error similar to unable to open display
3a. I just tested...I normally 'su -' out of habbit, and then I get an "unable to open display" error. I just used su, so roots profile was not loaded, and I can start X programs as root. Why does this work?
4. I was wondering if it was possible to have the titlebar of a terminal show the current command or path? Something more unique than just every window open saying urxvt or whatever.
View 4 Replies
View Related
Jul 15, 2010
I have Zotac MAG (read my personnal review here) with Ubuntu 10.04 freshly updated installed with vnc provided with Synaptic and XBMC. This box replaces an equivalent Win7 box.
Couldn't be happier up until some few days ago. VNC stops refreshing the screen.
Albeit it had never refreshed the screen while XBMC was running, I could quit it with keyboard shortcuts and my desktop would show and applications would "animate".
Since a few days ago, the only thing I get is the first screen, wether it's XBMC or the desktop and that's it. I need to quit and restart my vcn client to get another screen refresh.
I have tried, from my desktop, ultravnc, realvnc and tightvnc on the client side... Using many different connection options. Always with the same results.
I have looked around on this forum as well as on Google, but I am not sure where the problem comes from, thus, what to search for.
View 7 Replies
View Related
May 17, 2011
I recently upgraded from xubuntu 9.04 to 11.04, and it seems xterm is either incorrectly configured for the new desktop or not working right. After a bit of typing, xterm stops refreshing, and only the first few chars or words are shown until I manually refresh xterm (then, whatever I'd written shows up correctly).
Steps to reproduce
1. Open xterm, basic command prompt shows up
2. Type "hello, this is a test", xterm only shows "hello, th"
3. Press 'ctrl-l' or click outside the xterm window, xterm updates with full "hello, this is a test"
Already tried dpkg-reconfigure with no success.
Attached is the output from "appres XTerm" and "infocmp"
View 4 Replies
View Related
Dec 17, 2010
I'm writting an app for desktop and embedded linux and I need to get information about the multiserial port, and I need to know which port is been used (by a printer, por example).The multiserial I'm using is an Altera Corporation Device 0004, and I just need to tell how many ports are there and how many is been used.
View 3 Replies
View Related
Jan 19, 2011
I have this weird issue: from time to time (I really cant be more specific, never managed to see a pattern when the problem occurs) the content of open windows is not refreshed until the window is restored and then maximized again. In most cases it is the browser (firefox beta 9), but it is not application specific, because it happens with different applications. I am using the ubuntu 10.10 (kernel 2.6.35-24-generic-pae), compiz(0.8.6) with Nvidia drivers (260.19.06) and X (xorg-server 2:1.9.0-0ubuntu7.1).
View 1 Replies
View Related
Jan 24, 2010
So I have a laptop that I installed 9.10 on recently and for a bit everything was going fine. I have done a few updates over the course of the past week and for a couple days now I have got a huge problem. I am unable to view web pages without having to refresh them over and over until it finally loads. I thought this issue was only with Firefox and I researched the issue and ended up disabling ipv6 in FF. To no avail.
Synaptic Package Manager also will not connect to the internet. It will receive the list of updates but as soon as I click install it sticks on Downloading File 1 of XX. Since it wasn't limited to Firefox and there is debate on whether ipv6 slows down connectivity, I have disabled it system wide. Also to no avail. I have confirmed this to be so with wired and wireless connections to my router.
View 9 Replies
View Related
Apr 17, 2010
I was trying to get my brand new xubuntu install on a Dell Latitutude get going with a kvm switch. I shut down the machine -> connected the kvm cable -> powered it back on and the keyboard/mouse work fine in the login screen, HOWEVER, I just can't get past the login screen, it keeps refreshing the screen even if my authentication is correct.
I unplugged the usb kvm cable, restarted but the problem does not go away.
I can't login to recovery mode (press esc during GRUB load), it doesn't offer any recovery options, goes straight to the login screen.
View 3 Replies
View Related
Sep 1, 2011
Why is it that my Panel is not refreshing and the clock not updating, hasn't since Tues @ 4:54 pm.
I've rebooted 5 times and no change.
View 3 Replies
View Related
Jan 5, 2010
I m mew at linux programing an working on a project that is sort of cctv cmra monitoring i m now facing problem with part of my program for displaying the received image in window and also updating it timely by closing and opening new window or refreshing the same one...........i have no idea where to start study ........system command "display" is not fulfilling the purpose... its not refreshing until window is closed manually, control to the program is not returning back without forcefully closing.
View 2 Replies
View Related
Jul 16, 2010
I own several websites and have always developed on my local Apache server.
I am in the middle of releasing a new product on one of my sites and have been making rapid changes to the site based on feedback from customers, etc. as my product has gone live...
My local server is NOT refreshing pages. I make a change, click "refresh" in my browser and nothing happens.
I have tried clearing my browser cache and it makes no difference. Eventually (several minutes later) my changes happen.
Problem is, I need to be making these changes rapidly, and I really prefer to check my work on localhost before uploading it to a live server where I'm getting a lot of visitors right now.
This is a very recent problem as I have never had this occur before. Running 10.04.
View 9 Replies
View Related
May 18, 2011
I find it gets stuck at refreshing folder and I have to close it and re-open to get it going again. It did not use to b a problem in the past, we seem to be regressing in its usability since the early versions of ubuntu. I hope someone there knows what the problem is, otherwise have to start experimenting with other email clients, what a pain.
View 1 Replies
View Related
Jan 18, 2011
I'm having a problem with the Packman repository lately. First, I added the Packman repo using a Germany mirror link. Everything worked fine until I decided to switch the repository URL to the standard Packman one [URL] instead of a mirror.Then I started getting an error while refreshing repositories:
Code:
Error refreshing service Packman Repository (http://packman.inode.at/suse/11.3/packman.repo): Parse error: repoindex.xml[1] Document is empty
Quite frustratingly, for some reason zypper has made the Packman repo invisible and I can't see it anywhere (not in Yast Software Repositories or in the /etc/zypp/repos.d folder. Yet, it still tries to use that repository when refreshing, and obviously gives me an error in the process. how to completely remove all traces of this Packman repo from my system so I can start anew? (aside from an OS reinstall?)
View 4 Replies
View Related
Apr 19, 2011
I added this question here since it's kinda more related to S/W then H/W but it all depends on H/W
I added a SATA disk in Fedora 12 but it doesn't show up in the udev list.
Done some googling and most says: 'udevadm trigger' but that won't work.
If I reboot it pops up but is that really the only way?
If I pop the disk in the RAID card it works, but not in the M/B's SATA port,
can it be that the BIOS haven't seen it at boot time?
View 3 Replies
View Related
Jun 28, 2011
When I eject CD from CDROM by pushing eject button(mounted on CDROM) it still shows CD and it's contents in nautilus file browser. If I replaced the CD it still shows contents of older CD. If I eject CD manually by file browser then there is no such issue. I know this is the kernel issue because this issue has come after updating my kernel from linux 2.6.33 to linux-netbook-2.6.35. I am using MeeGo. I want to know which kernel parameter(or module) I have to add.
View 7 Replies
View Related
Apr 21, 2009
I have a task01 function. I would like that the click on the button, does not refrest hte page. I does not work...
Here is the code...
View 6 Replies
View Related
Aug 11, 2010
How can I tell if my USB ports are 2.0 ports?
View 1 Replies
View Related
Feb 15, 2011
I have CentOS 5.5, Dell 2407FPW LCD and nVidia GT310 video card. For some reasons, if I maximize my browser to full screen and scroll down (or up, direction doesn't matter), it slowly scrolls. At first, I thought that it had something to do with my firefox.
Then, later on, I found that if I play video files with VideoLan in full screen mode, it is like in slow motion mode, but I have no problem to play the same video in a smaller frame. Hence, I feel that it has something to do with either the video driver or the monitor driver. I am using the Dell 2407FPW(Digital) and GT310 drivers coming with CentOS 5.5. Here is my /etc/X11/xorg.conf:
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
[Code]...
View 3 Replies
View Related
Apr 16, 2011
I'm running OpenSUSE 11.4 (i586) with KDE Desktop 4.6.0 "release 6" on my IBM ThinPad X40. And I have trouble with getting new plasma widgets by internet. To be more concrete, every time I try to install new widget (first I want to view details of that), so when I'm pushing on blue button called "Details", BOOM and my plasma desktop crashes and after refreshing it generates the dump file for reporting to developers.
As this is quite an annoying bug, I've decided to report it, so I've installed all the necessary debugging tools, generated the complete bug report and sent it to KDE team. After this, I've got mail with link on KDE bug tracking system [URL] and found a lot of people being in the same trouble. So, one guy - Dario Andres (I think he's from KDE team) says: "The bug and the fix are in "libattica", may be your version of that library is not the latest. (or there wasn't a release including the fix)" and though after his comment there's a dozen of other replies with the same problem, all of them are marked as the duplicated bug and has no answer.
Well, even I know that my operating system is always up to dated, anyway I've checked that library version on my computer:
giorgi@linux-oary:~> rpm -qa|grep libattica
libattica0-0.2.0-5.1.i586
And I've double checked on the Internet and this is the latest version of this library. So, it's obvious that this BUG 261530 has not solved by this library.
View 6 Replies
View Related
Jan 28, 2010
I am using emacs 23.1.1 on Ubuntu 9.04, kernel 2.6.28-17-generic. When I scroll up and down in a file, occasionally some of the lines are not refreshed properly. i.e. if a line with a lot of text is replaced with a line that has little text, some of the old text that used to be on the line remains (see attached screenshot,near the bottom).
I have the same problem in Kile, so it must not be a bug with either program directly (I think?). I do not have the problem with gedit.
For the record, the emacs message buffer contains the following on startup
Quote:
View 1 Replies
View Related
May 2, 2011
Just upgraded to Ubuntu 11.04 - from 10.10, and now experiencing connection problems with Evolution connecting to my IMAP Microsoft Mail Server. This was working, I was successfully receiving and sending mail via my IMAP setup in Evolution. Since the upgrade to 11.04, it stopped working with the error: "Error while Refreshing folder "INBOX". You must be working online to complete this operation." I check to see if it's in online mode, and it is. I set evolution to work in offline mode. Then I set it back to "online mode" and I get the error: "Error while Reconnecting to 'IMAP Server mail.foo.blah.de.bla". Could not connect to mail.foo.blah.de.bla: Connection Refused"
[Code]...
View 9 Replies
View Related
May 19, 2010
Following the Multi-media and Restricted Format Installation Guide (11.2) guide, I added the packman repository.
Then when clicked OK to update the repos list, I get this message.What should I do? For now, I clicked "Do not import".Generally speaking, when something similar appears, how would you know to trust a resource for providing software?
View 1 Replies
View Related
Jan 25, 2010
How can I edit the system proxy setting using the terminal? Which file contains this settings? I want to edit this automatically using cronjobs, cause from 8-5 I need to use a proxy, but at home I don't need the proxy. How do I fix this?
View 3 Replies
View Related
Aug 8, 2010
What is the command for "Open a terminal window and run application in this terminal
View 4 Replies
View Related
Dec 10, 2010
Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"
In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.
P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!
View 9 Replies
View Related
Nov 6, 2010
I'm using 10.04, and gnome-terminal GNOME Terminal 2.30.2 . I have irssi running on screen session on remote host. And I've been struggling for quite many days to configure it to produce either visual feedback or ring terminal's bell when I receive a private message or one of those that are highlighted.
My compiz settings window in General tab has 'Audible bell' checked.
My GNOME terminal has 'Terminal bell' checked.
I also added 'set bell-style audible' to my ~/.inputrc
And I also tried to manually load pcspkr module into my kernel.
No of the above helped or at least I haven't been able to notice any difference.
I also used some commands for irssi to produce bell sign.
View 2 Replies
View Related
Dec 1, 2010
I've fallen in love with Terminator as a replacement for the standard gnome-terminal app.
However, I'm also very much in the habit of using the nautilus-open-terminal extension for launching new terminal sessions.
I'd like nautilus-open-terminal to launch Terminator rather than gnome-terminal.
A quick search of my system and the web didn't reveal anything. i didn't find a gconf setting to control this. A quick look at the source code didn't help much either.
View 5 Replies
View Related
Dec 12, 2010
I'd like to run a program [URL] from the GUI menu (yes, I know I can run it from the command line). I've gotten this to work by using a menu entry (see attached screenshot).The command is:
Code:
gksu chkrootkit
with the option for Type: was selected as Application in Terminal However, when chkrootkit is finished, the terminal immediately snaps shut according to the profile selection: When Commands Exits: Close terminal What I'd like to do is create another profile that causes the terminal to be held open (see screenshot) when the command exits and be able to choose that profile from the GUI Menu entry. I believe the command when using the CLI is:
Code:
gnome-terminal --profile=<profile_name>
how do I incorporate this within the Command entry line of the launcher?
View 1 Replies
View Related
Feb 10, 2011
i started using computer when it was all dos driven so thought i was going to be fine using the terminal in ubuntu the problem i am facing is i can not quite get my head round why is it if i load the terminal. and the first this i type is dir or ls it gives me a list off directories. So why is it if i type cd /pictures i get no such file or directory ? Confused
This also bugging the jebus out off me is i am trying to get into my usb pen drive from the terminal to run a program i have on there.
so i type cd /media
then typed ls
is displayed New Volume <-- This being the name off my pen drive
i have tried every this to get into there but the commands i would use in dos are not playing ball.
Can some one please explain how to get into my usb pen then tell me were i can go read on this as i really can not get my head around this at moment.
View 5 Replies
View Related
May 18, 2011
what is the difference between Byobu Terminal and Terminal? i ask this because when i upgraded from ubuntu 10.10 to 11.4 i did not have Byobu Terminal
View 2 Replies
View Related