General :: Displaying Text On /dev/tty1?
May 3, 2011
I have a server laptop sitting around at home which is a pretty bland server, on which I generally leave the lid open and there is a login prompt always displayed.
However, I'd love to be able to display useful information on /dev/tty1 so whilst the server is just sitting there, rather than displaying a login prompt on the monitor, it could now display, for example, the current time and weather forecast for the day. Or something along those lines.
View 2 Replies
ADVERTISEMENT
May 13, 2010
What are the differences between "su -" in a GUI terminal and directly logging in as root in a text mode terminal (tty1-tty6)? Any environment, path or other functionality differences?
View 14 Replies
View Related
Sep 8, 2010
I un-installed a few files related to Java yesterday (maybe I removed something else by mistake, I don't think so but I'm having trouble reading log files) and now every piece of text, excluding text rendered by the browser from webpages, is displaying as rectangles.
Trying to start Firefox reports:
Quote:
(firefox-bin:2185): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='common'
(firefox-bin:2185): Pango-WARNING **: failed to choose a font, expect ugly output. engine-type='PangoRenderFc', script='latin'
Segmentation fault
View 2 Replies
View Related
Mar 13, 2010
Im having various problems with the graphic printing features for applets.
In this immediate applet, when I print and update the previous line bleeds through the next line. I tried printing a series of spaces to clear the first text, but it doesn�t work.
Code:
View 8 Replies
View Related
Nov 1, 2010
I use the awesome todo.txt cli tool for my todo list. I want to find a way to display this on my desktop, and have it update every time I update the file. Is there an easy way to do this? Does conky do stuff like this?
View 2 Replies
View Related
Jun 14, 2011
I have Red Hat 5.4, and I'm trying to log in using tty1 by pressing Ctrl-Shift-F1. I get to the text login screen, my banner displays, but when I try to log in as root, the banner just displays again and it asks me to log in.
It does not say that my password is incorrect, just asks me log in as if the previous exchange never happened. I have added tty1 to /etc/securetty, and all the other tty's and vc/1, vc/2, etc...in an attempt to get something to work. I recently started using PAM for password authentication, and the pam_securetty.so line is set correctly in /etc/pam.d/login. Any idea why I can't log in? Did I miss something I have to add?
View 1 Replies
View Related
Mar 30, 2010
My computer, a four year old HP Pavilion dv2000 running with Ubuntu 9.10 since half a year ago, sometimes shut downs and sometimes gets me to a black screen where I can read in the first line: �Ubuntu 9.10 pablo-laptop tty1� and in the second line: �login pablo-laptop:�. Sometimes (only) it allows me to log in, taking me to the login screen that appears after switching on the computer. After logging in on that screen it initiates the computer but all the programs I had opened are closed and I have lost the information. This has been happening to me since long ago but never asked in forums. It is quite annoying and I would be happy to solve it.
Do you think it ca be the CMOS battery? This other thing (check the link below) happened to me not long ago and some people suggested it could be the CMOS battery: [URL]
View 3 Replies
View Related
Jan 15, 2010
may be an advanced question but I need to know how to do this. Here at work I am in charge of recruiting and we have about 1,000 resumes in already. All of the resumes are in a .pdf format. I need to rename every .pdf in the following format:{firstnameLastname}.pdfThe only way I know how to do this is to convert all the .pdf files to text, extract the name out of the first few lines of text, import into excel, and then use VBA to rename the files in mass:Here is my logic so far:~Deskop/a = houses all the .pdfresumesOpen terminal: Code: cd ~/Desktop/afor f in *.pdf; do pdftotext -raw $f; done That will convert all of the preceding resumes into text filesNow I would like to append the name of the text file into the last line of the text file. So, for example, for Resume1.txt, I want to append "Resume1.txt" to the last line within Resume1.txt. So after I run the command I open Resume1.txt and on the last line within I want to see "Resume1.txt" on the last line, at the end of the resume.How can I do this? I would like to use a loop and have the terminal append the filename to the body of the text file until all of the have been appended.
View 1 Replies
View Related
Jul 17, 2009
I was trying to install GTK+-2.8.20, so I installed it's necessary dependencies in this order:
pkg-config-0.23
glib-2.20.4
pango-1.24.4
jpeg library
tiff library
cairo
And I was about to install the last dependency: ATK (Accessability Toolkit).I opened the Archive Manager to extract the "atk-1.26.0.tar.gz" file (yes, I'm still switching from Windows so I'm fond of GUI), but I noticed all the text in that window was boxes, like the □ type box for every letter of text.So instead I thought it wouldn't be a big deal, because the terminal and regular windows weren't screwed up.I opened a text file in gedit (reference to commands in terminal, such as how to extract files via terminal), but yet again all of the text was □-like boxes.
View 2 Replies
View Related
Apr 21, 2010
Currently, when I'm searching text in files of my PHP project, I use this line :
Code:
grep -r 'myTextToFind' *
But now, I would like to search only in ".lang" files. How can I do that ?
View 7 Replies
View Related
Oct 28, 2010
EDIT1: I should note that I was trying to do this in PERL, not sure if other alternatives are more simple?EDIT2: I should note that for text file 3 (reference), it's a long list of MANY cnp_id values and their corresponoding chr, start, and end values. So, the code will have to take the cnp_id from text file 1 and/or 2 and search through textfile 3 (reference) to match on the cnp_id and then take the corresponding chr, start, and end values and add to the relevant line in the output.EDIT3: Sorry, I should mention that the text file entries are all tab-delimited.I have 3 text files:File 1:Columns represent sample IDs (sample_id) and rows represent CNP IDs (cnp_id). Cells represents the confidence level (confidence) for each sample and CNP.Quote:
cnp_idP5E6_SNP6.0_JHP5_010408.CELP5E11reh_SNP6.0_JHP5_011808.CELP7C7_SNP6.0_JHP7_021208.CEL ... etc.
CNP100.0044798340.0027929510.00305613
[code]...
View 6 Replies
View Related
Jun 7, 2010
GNU/linux kernel 2.6, slackware 12.0
Can ls display the whole path of a file? Suppose I have /media/cdrom1/*. So I want the output of ls to be
/media/cdrom1/file1
/media/cdrom2/file2
..................
/media/cdrom2/fileN
View 12 Replies
View Related
Oct 10, 2010
I am working on ns2 for my new project. I have successfully installed ns2 on fedora 8 but whenever I try to run in wireless example it does not display the scenario in nam window. It works with wired but not with wireless. It also create nam trace file but does not show anything. I also tried to run Marc Greis tutorial wireless ex but same problem continue.
View 7 Replies
View Related
Oct 12, 2010
My Ubuntu system is occasionally becoming very sluggish. I'm running many things simultaneously and it's very difficult to tell which program is the culprit.
I suspect that the sluggishness is due to disk activity since the CPU usage is consistently under 50% on each of the 4 cores of the CPU, and over 30% of the 6GB of RAM are free.
Is there a tool that can show me in real time the number of disk IO operations per second and the amount of data read/written per second? Can all this info be broken down and displayed per process?
View 2 Replies
View Related
Nov 15, 2010
I compiled the buildroot for zImage and rootfs.jffs2 for SMDK6410. Used the linux kernel 2.6.35 and busybox 1.17. And deployed these two images using DNW. The kernel and rootfs loaded successfully and able to do execute linux commands from DNW but not from LCD screen. I am new to the linux development and want to see a sample framebuffer / desktop application on the screen.
View 2 Replies
View Related
May 19, 2011
After booting my PC which is running CentOS, it did not display the desktop. It just displayed a terminal window and a firefox browser all on a black screen!
View 5 Replies
View Related
Apr 28, 2011
Does anyone know how to stop the du command from displaying the directory name?
View 1 Replies
View Related
Feb 8, 2011
i have installed fedora14 on my system, while running the php programs errors are not displaying on the browser. display the error while running on the browser at localhost.
View 2 Replies
View Related
Sep 14, 2010
I have been trying to configure webalizer on a centOS 5.5 system. I did the yum install and I found this helpful link...However when I try to change the dir it puts the info into, it keeps giveing me an error cannot cd to the directory. I changed the /etc/webalizer.conf file as described in the above article and try to run it manually same results. /etc/cron.daily/00webalizer Error: Can't change directory to /home/webalizer/When I put the original dir back in the path it writes to /var/www not /var/www/output like it should. I even tried a local /var/wwww/output dir. Then I tried a link to /home/webalizer/output (a dir I created) and same results.(with orginal .cfg in place)I go to my www page remote or on the local network I get page not found errors.In summary.1. Why wont the /etc/webalizer.cf file allow me to change the location of the files?2. How do I display the www page to view the data?3. How can I secure the www page so only I can view the data.
View 4 Replies
View Related
Mar 31, 2011
i am new to redhat linux,how do i list all newly added network interface card.can someone kindly help me with this?
View 11 Replies
View Related
Oct 14, 2010
I need to display chinese character in filename and also on firefox, any link so that I can check out how to do this?
View 1 Replies
View Related
Jun 8, 2010
I'm running Linux Fedora 12 here and I launched a script to create a profile and it launched successfully...
Now the problem is, after the creation of the profile its suppose to launch "first step" but now this windows appears blank and when i move the cursor around it picking the links..
View 3 Replies
View Related
Sep 7, 2010
how to disable displaying image on web browsers. Example I have a link [URL].
- when I connect to this link on my browser, it will not display the image
- But I can use <img src="/img/test.jpg" to websites can read it.
View 9 Replies
View Related
Mar 29, 2010
I have a problem logout from KDE that is both when I hit logout KDE button or "CTRL ALT F(1-6)", I get blank screen. Looks like my machine cannot redirect me back to the starting terminal.
Also in .xinitrc file I have the following line:
Code:
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
whereas .Xresource doesn't exist in that location. Is this related to my problem?
View 14 Replies
View Related
Jun 19, 2010
I have installed both Fedora and Ubuntu with Gnome Desktops and it displays the information an inch to the left, this problem may have to do with the fact that the display comes up as unknown.
View 1 Replies
View Related
Feb 11, 2011
Sometimes when I try to display the mounted device in linux it displays devices which are not currently mounted. I want to correct this this using script.
View 1 Replies
View Related
Jul 4, 2011
I'm trying to setup an alias, that when I change to another directory, any directory, it will also display all its contents like ls -al:Well, that doesn't work. I guess it's an issue with the use of wild-cards.Maybe I should define a new, so far unused, name for the alias like cdl for example.Would be great if someone could help me. I search in several examples for bash aliases but couldn't find the right solution.
View 9 Replies
View Related
Aug 19, 2010
Code:
$ aptitude s
sbin/ selinux/ server/ srv/ sys/
This is what happens when I hit TAB. It always showed "show" and "search" actions before... Why directories now?
View 2 Replies
View Related
Oct 17, 2010
I use Ubuntu 10.04 LTS.
I was compiling an application called Audacious. One of the dependent packages I needed to obtain was called Glib. After installing Glib (and a package it also required), my GNOME began failing and after rebooting the computer, the login GNOME login screen fails to displaying. Does anyone know what's gone wrong?
[URL]
Now after installing Glib, restart your computer and your GNOME will have failed. Why the F did this happen?
View 8 Replies
View Related
May 8, 2011
gentoo linux starts but hangs after displaying some lines, no error message, no panic, just stops after about 20 lines
View 2 Replies
View Related