Skip to the posts
Buffalo's neighborhood journals since 2003 🍀 Patrick Spicy Devil Logan🌭 Sahlen🥨 Weber Spank🥟 Pierogi🐸 Scaj🍺 Labatt Utica Pink Cherio❄️ Snow Murder

tinypliny’s journal

🏷️ linux

99 posts

[Solved] External Monitor problems on Fedora 15

·

Found a nice solution to the crazy external monitor problem in Fedora 15:
Download the latest release of ARandR from here:
Extract to some directory and navigate to that directory:

cd /arandr-0.1.5/



Run arandr.

./arandr



All external display problems SOLVED! Woohoo. Thank you, Christian Amsuess. You simply rock.
I saw they are trying to get this nifty program reviewed to include it in the Fedora yum repository For such a wonderful program that replaces the crap they have in gnome 3, the brutal review process seems somewhat counterproductive.



The Extended monitor display works. However, if I assign the external monitor as the primary display, it doesn't work. It gives me a blank backlit screen. WHYYYY?

I really need one of these counters now.
image
The number matches. I have the exact expression too.

In addition, I feel like I could outshout the incredible hulk anytime after /var/log/messages records an exception that could have well read, "You wouldn't like me when I'm angry normal".

Last few lines from /var/log/Xorg.0.log


[ 2244.948] (II) intel(0): EDID vendor "HWP", prod id 9896
[ 2244.948] (II) intel(0): Using hsync ranges from config file
[ 2244.948] (II) intel(0): Using vrefresh ranges from config file
[ 2244.948] (II) intel(0): Printing DDC gathered Modelines:
[ 2244.948] (II) intel(0): Modeline "1680x1050"x0.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz)
[ 2244.948] (II) intel(0): Modeline "800x600"x0.0 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz)
[ 2244.948] (II) intel(0): Modeline "640x480"x0.0 31.50 640 656 720 840 480 481 484 500 -hsync -vsync (37.5 kHz)
[ 2244.948] (II) intel(0): Modeline "640x480"x0.0 25.18 640 656 752 800 480 490 492 525 -hsync -vsync (31.5 kHz)
[ 2244.948] (II) intel(0): Modeline "720x400"x0.0 28.32 720 738 846 900 400 412 414 449 -hsync +vsync (31.5 kHz)
[ 2244.948] (II) intel(0): Modeline "1280x1024"x0.0 135.00 1280 1296 1440 1688 1024 1025 1028 1066 +hsync +vsync (80.0 kHz)
[ 2244.948] (II) intel(0): Modeline "1024x768"x0.0 78.75 1024 1040 1136 1312 768 769 772 800 +hsync +vsync (60.0 kHz)
[ 2244.948] (II) intel(0): Modeline "1024x768"x0.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz)
[ 2244.948] (II) intel(0): Modeline "832x624"x0.0 57.28 832 864 928 1152 624 625 628 667 -hsync -vsync (49.7 kHz)
[ 2244.948] (II) intel(0): Modeline "800x600"x0.0 49.50 800 816 896 1056 600 601 604 625 +hsync +vsync (46.9 kHz)
[ 2244.948] (II) intel(0): Modeline "1152x864"x0.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz)
[ 2244.948] (II) intel(0): Modeline "1152x720"x60.0 67.32 1152 1208 1328 1504 720 721 724 746 -hsync +vsync (44.8 kHz)
[ 2244.948] (II) intel(0): Modeline "1280x960"x0.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz)
[ 2244.948] (II) intel(0): Modeline "1440x900"x0.0 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz)
[ 2244.948] (II) intel(0): Modeline "1600x1000"x60.0 133.14 1600 1704 1872 2144 1000 1001 1004 1035 -hsync +vsync (62.1 kHz)
[ 2261.254] (II) intel(0): EDID vendor "SEC", prod id 21825
[ 2261.254] (II) intel(0): Printing DDC gathered Modelines:
[ 2261.254] (II) intel(0): Modeline "1366x768"x0.0 72.33 1366 1414 1446 1526 768 770 775 790 -hsync -vsync (47.4 kHz)
[ 2262.258] (II) intel(0): EDID vendor "SEC", prod id 21825
[ 2262.258] (II) intel(0): Printing DDC gathered Modelines:
[ 2262.258] (II) intel(0): Modeline "1366x768"x0.0 72.33 1366 1414 1446 1526 768 770 775 790 -hsync -vsync (47.4 kHz)
[ 2262.353] (II) intel(0): EDID vendor "SEC", prod id 21825
[ 2262.353] (II) intel(0): Printing DDC gathered Modelines:
[ 2262.353] (II) intel(0): Modeline "1366x768"x0.0 72.33 1366 1414 1446 1526 768 770 775 790 -hsync -vsync (47.4 kHz)
[ 2262.467] (II) intel(0): Allocated new frame buffer 1728x1050 stride 7168, tiled
[ 2293.167] (II) intel(0): EDID vendor "SEC", prod id 21825
[ 2293.167] (II) intel(0): Printing DDC gathered Modelines:
[ 2293.167] (II) intel(0): Modeline "1366x768"x0.0 72.33 1366 1414 1446 1526 768 770 775 790 -hsync -vsync (47.4 kHz)
[ 2293.280] (II) intel(0): Allocated new frame buffer 3072x1050 stride 12288, tiled



Nvidia and Intel Graphics in Fedora 15

·

There's something really wrong with my setup here:


01:00.0 VGA compatible controller [0300]: nVidia Corporation Device [10de:0df4] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Toshiba America Info Systems Device [1179:fc31]
    Flags: bus master, fast devsel, latency 0, IRQ 16
    Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
    Memory at e0000000 (64-bit, prefetchable) [size=256M]
    Memory at f0000000 (64-bit, prefetchable) [size=32M]
    I/O ports at e000 [size=128]
    Expansion ROM at f7000000 [disabled] [size=512K]
    Capabilities: [60] Power Management version 3
    Capabilities: [68] MSI: Enable- Count=1/1 Maskable- 64bit+
    Capabilities: [78] Express Endpoint, MSI 00
    Capabilities: [b4] Vendor Specific Information: Len=14
    Capabilities: [100] Virtual Channel
    Capabilities: [128] Power Budgeting
    Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024
    Kernel driver in use: nvidia
    Kernel modules: nvidia, nouveau, nvidiafb



Even though there is now a driver in use (installed from here: ) I still cannot adjust my resolution. I didn't install nVidia's own driver because of this article:

There is only ONE resolution in the display settings (1024X768). Attaching an external monitor results in the computer shutting down on its own. And there is no way to adjust brightness.

Aarrgh. Frustration ++. I am just going to ignore this today. I have too much work piled up.

Fedora 15 with XFCE. Some Notes

·

Remove irritating desktop icons from view.
  • desktop settings > icons > icon type > choose "None"

Getting information about package versions from Yum
  • yum info packagename

Side note to @paul: R does pull in the following dependencies:

texlive.x86_64 0:2007-62.fc15
texlive-dvips.x86_64 0:2007-62.fc15
texlive-latex.x86_64 0:2007-62.fc15
texlive-texmf.noarch 0:2007-37.fc15
texlive-texmf-dvips.noarch 0:2007-37.fc15
texlive-texmf-fonts.noarch 0:2007-37.fc15
texlive-texmf-latex.noarch 0:2007-37.fc15
texlive-utils.x86_64 0:2007-62.fc15



It's such a pity the packages it pulls are from 2007! :/

And Gnumeric doesn't even start up now. Something about:

gnumeric: symbol lookup error: /usr/lib64/libspreadsheet-1.10.17.so: undefined symbol: go_direction_get_name



  • In Debian, you can actually, copy the entire /var/apt/cache files into a new installation and have the apt manager pull the .deb files from there without having to download packages over and over. But I don't see any such package repository in Fedora in the /var/cache/yum/ directory. It's all rolled into some sort of a database file. I found from this link that yum *deletes* everything after install. This is kind of wasteful for people who have enough space but not enough bandwidth(ME!). To prevent yum from deleting all the packages after install, apparently, I need to make keepcache=1 in /etc/yum.conf Now I only need to remember this detail next time.

  • These are my detailed specs just for reference...
[txt]1011/toshibaspecs.txt[/txt]

Making a bootable USB in Linux

·

Sometimes the simplicity of things across all distributions of linux are most refreshing. To burn an iso into a USB and create a bootable USB, I was glad to find out that I didn't need to hunt for programs as I usually do. I could do it in 4 steps.


@paul would like to remind everyone that this method completely gets rid of all the existing data on the USB drive so do it on an expendable one not somewhere you have all your backup files.



Pull up a terminal.
Pull up the system messages by


tail -f /var/log/messages


This records the realtime happenings on your system

Plug in your USB, you'll see it coming up on the messages window
Let's say its /dev/sdb


At this point @uncutsaniflush would like to say:
You should also note that this only works if your usb drive is "/dev/sdb." If a box has multiple hard drives, it is unlikely that "/dev/sdb" would be your usb drive. If someone had for example two hard drives, "dev/sdb" would be the second one. And thus, all data on the second hard drive would be destroyed. "dd" is a wonderful tool but rather easy to misuse if one isn't absolutely clear which drive is which.


On the terminal again, umount it first


umount /dev/sdb



Go to the directory containing the iso image


cd /directory/that/contains/iso



Then give the simple command to burn the iso into the USB


dd if=file.iso of=/dev/sdb



This will take a while to finish, but yes, it's that simple.

Fedora missing fonts for Gnumeric?

·

Why are the row and column numbers displaying as numeric placeholder skeletons in Gnumeric??

image

Does Gnumeric use some proprietary fonts that the mighty forces at Fedora have decided to outcast from the distro??

Aaargh. Can one thing be hitch-free for a change??! Apparently not.

Suse Suse Studio?

·

Okay, NOW I have tried everything except OpenSuse.

Though Debian has been my favourite in terms of usability and friendliness, there is something really wrong with how Debian systems interact with R and deal with numerical ordering.

For eg. you would expect intervals to be ordered as:
[ 7,11)
[11,12)
[12,13)
[13,14)
[14,29]

Instead Debian orders them as:
[11,12)
[12,13)
[13,14)
[14,29]
[ 7,11)

In a scenario where I have one-digit, two-digit and three-digit numbers, I get the weirdest possible ordering. In the example above, it compares 1 and 7, rather than 11 and 7. This number-by-number evaluation creates serious problems in trend testing and determination of direction of association between variables. It potentially distorts the category that is treated as the reference variable. I looked at R documentation to see if I could change something to make it right. However, after many trials, my windows machine and machines running Fedora were uniformly giving me the right answers while Debian derivatives were giving me the weird answers.

For now, this is a dealbreaker for me and I can't go back to Debian.

That leaves me with
-- CentOS
-- Scientific Linux
-- Fedora
-- OpenSuse

I tried installing CentOS and Scientific Linux on the brawny Toshiba this past weekend but first there were problems with permissions and then problems with the R repository in both CentOS and Scientific Linux. Though Scientific Linux claims to come with R, the DVD I downloaded did not have R! When I tried to install R, there was no R in the default repository. Adding the correct R repository was an unending nightmare that took up 2 hours. I gave up in frustration. Then there was a problem with permissions. CentOS and Scientific Linux don't set up a username to go with the root password in the installation sequence. Even though you might have given a name to your computer during installation, you start up with something like:

yourgivenname@localhost.

instead of

yourgivenname@yourgivencomputername

In addition, it doesn't automatically add you to the sudoers group. I know linux admins won't view this as a problem but end-users like me don't need to work out details about how to add themselves to sudoers, change the localhost name, set up root permissions once more after installation. Its a pain to be burdened with all these nitty grittys even before you start using the system.

CentOS and Scientific Linux are so similar in their installation setup and behaviour, they might as well be clones of each other. The permissions and repositories problem rears its ugly head at every possible software installation. It gets to be very tiring. And what is with the repositories anyway??! They have software from 2 years ago! I understand they are more stable than the newer ones, but come on, newer features that make life easier in the software I use are very important to me!

So no more RHEL derivatives for me.

Which leaves me with Fedora. Sigh. I don't know if I can deal with all the mess that I have been documenting.

So at this point, I am thinking Suse Studio with the software I need from the list below. It could be better than getting OpenSuse and then installing everything because adding software and repositories beforehand might reduce dependency conflicts.

What do I need?

·

Things are not great in linux land. Maybe my particular combination of requirements breaks things? I can't believe it. This is my list of absolutely essential software for my linux machine. These are ones that I use on an hourly or a "minutely" basis.

Analyses Environment
- R
- RStudio
- Variable number of R packages

Spreadsheet
- Gnumeric

Writing Environment
- Texlive
- Texmaker Texstudio
- Texworks
- Gummi
- Geany
- Abiword: Yuck. Going to LibreOffice Writer. Compatibility is awful with MS Word.
- WriteType
- Zim desktop wiki
- LibreOffice Writer.

Networking
- Wireless
- Wired
- (Bluetooth would be nice, but seldom works, so I could let it go.)

Media
- Some hassle-free media player that would play multiple formats. Not liking Rhythmbox so much. I am done even risking any media formats on the Satellite P750 till the issues with the intel/nvidia cards are resolved.

Graphics
- Gimp
- Mypaint
- Pinta: This is just a pretty replica of paint.net. Clicking on the buttons doesn't do ANYTHING on Fedora 15.

... to be continued as I think of more things I use.

EDIT: Turns out I need WAAY more things that this puny list, so I decided to attached my latest yum log as a text file here.
Type:


sudo geany /var/log/yum.log



And you will get this log with date and time details of every package you have ever updated, installed or erased in Fedora 15.
[txt]1011/yum102311.txt[/txt]

Worst luck indeed: Fedora 15 BSOD

·

Seriously? Behold Fedora 15's Black Screen of Death.

image

Transcript of Error:
[5.693915] nouveau 0000:01:00.0: Invalid ROM contents
[5.825510] nouveau 0000:01:00.0: Pointer to BIT loadval table invalid
[5.849874] nouveau 0000:01:00.0: 0XD518: i2c wr fail: -6
[5.964968] nouveau 0000:01:00.0: PGRAPH: unsupported chipset, please report!
[6.092104] [drm: intel_dsm_platform_mux_info] *ERROR* MUX INFO call failed


Looks like I might need a hard reboot. The wretched thing is not coming out of this error screen. And it goes into it at every boot and suspend.

Apparently, this is a known new bug:

With some insights from here:

ds,
Your issue is related to the optimus technology deployed in the m14x, it's a new piece of tech that allows switching between your nvidia card and intel sandy bridge. In short, your nvidia card does not work on Linux out-of-the-box. Read more about how you can either disable your nvidia card (I did that and saved 14 w (1½ hours of battery time) or try and enable it using some experimental tech called switcheroo. Read more here:
Posted by Magnus Glantz 2011-07-06 01:07:30



My brother's hacky solution:

Close the lid for 15-30 seconds and then open. If it doesn't work, repeat as many times as necessary.


I can only say... !!!

Fedora 15/Satellite P750 Bluetooth issue

·

Where on earth is the bluetooth??! According to:


systemctl status bluetooth.servicebluetooth.service




- Bluetooth Manager
     Loaded: loaded (/lib/systemd/system/bluetooth.service)
     Active: active (running) since Thu, 13 Oct 2011 21:06:35 -0400; 43min ago
    Main PID: 1027 (bluetoothd)
     CGroup: name=systemd:/system/bluetooth.service
         â”” 1027 /usr/sbin/bluetoothd -n



But the bluetooth gui says:

No Bluetooth adapters found



I am stumped. Is there a hardware switch to the bluetooth that is turned off?

rfkill list
0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no



The bluetooth is not even there.

Gaaaah!!

lspci output

00:00.0 Host bridge: Intel Corporation Sandy Bridge DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Sandy Bridge PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Device 0116 (rev 09)
00:16.0 Communication controller: Intel Corporation Cougar Point HECI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Cougar Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 1 (rev b4)
00:1c.1 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 2 (rev b4)
00:1c.3 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 4 (rev b4)
00:1c.5 PCI bridge: Intel Corporation Cougar Point PCI Express Root Port 6 (rev b4)
00:1d.0 USB Controller: Intel Corporation Cougar Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Cougar Point LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation Cougar Point 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation Cougar Point SMBus Controller (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation Device 0df4 (rev a1)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device 8176 (rev 01)
04:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
04:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
04:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 30)
04:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev 30)
05:00.0 USB Controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 04)



Some googling lead to another bloke facing the exact problem


Oct 13 21:57:15 bluetoothd[1027]: Stopping SDP server
Oct 13 21:57:15 bluetoothd[1027]: Exit
Oct 13 21:57:15 bluetoothd[1027]: bluetoothd[1027]: Stopping SDP server
Oct 13 21:57:15 bluetoothd[1027]: bluetoothd[1027]: Exit
Oct 13 21:57:16 bluetoothd[2481]: Bluetooth deamon 4.87
Oct 13 21:57:16 bluetoothd[2481]: bluetoothd[2481]: Bluetooth deamon 4.87
Oct 13 21:57:16 bluetoothd[2481]: Starting SDP server
Oct 13 21:57:16 bluetoothd[2481]: bluetoothd[2481]: Starting SDP server
Oct 13 21:57:16 bluetoothd[2481]: Parsing /etc/bluetooth/input.conf failed: No such file or directory
Oct 13 21:57:16 bluetoothd[2481]: bluetoothd[2481]: Parsing /etc/bluetooth/input.conf failed: No such file or directory
Oct 13 21:57:16 bluetoothd[2481]: Parsing /etc/bluetooth/audio.conf failed: No such file or directory
Oct 13 21:57:16 bluetoothd[2481]: bluetoothd[2481]: Parsing /etc/bluetooth/audio.conf failed: No such file or directory
Oct 13 21:57:16 NetworkManager[934]: bluez error getting default adapter: No such adapter



Some more googling lead to this thread:
Keany says:

before you start BT installation be sure WLAN LED is ON.



Hmm... so the WLAN LED is on, but the Bluetooth LED is not on and there is no function key to turn the bluetooth LED on!

Aarrrgh. Another unsolved mystery.

Texmaker error in Fedora 15

·

Escapist solution to ensuing mess:
The wrestling match with Texmaker on Fedora 15 got way too confusing. I found that Texmaker has a fork called Texstudio and I have installed it instead. The x86_64 version of Texstudio for Fedora 15 is available here:



My most useful LaTeX editor doesn't start in Fedora 15. I am getting this error message:

texmaker: error while loading shared libraries: libQtWebKit.so.4: cannot open shared object file: No such file or directory



But I do have libQtWebKit.so.4!

whereis libQtWebKit.so.4
libQtWebKit.so: /usr/lib/libQtWebKit.so.4



After some googling, I think the problem lies here:


whereis libQtGui.so.4
libQtGui.so:
/usr/lib/libQtGui.so.4
/usr/lib64/libQtGui.so.4



To try and find out which one of these is "owned" or "required" by other packages, I used the syntax from this VERY helpful document:

rpm -qf /usr/lib/libQtGui.so.4


gives

qt-x11-4.7.4-2.fc15.i686



rpm -qf /usr/lib64/libQtGui.so.4


gives

qt-x11-4.7.4-2.fc15.x86_64



Just for kicks, I also queried rpm for everything containing qt


rpm -qa | grep -i qt




qt-x11-4.7.4-2.fc15.x86_64
PyQt4-4.8.3-2.fc15.x86_64
poppler-qt-0.16.7-1.fc15.x86_64
qt-webkit-4.7.4-2.fc15.i686
qt-x11-4.7.4-2.fc15.i686
qt-4.7.4-2.fc15.x86_64
qt-4.7.4-2.fc15.i686



Hmm... so my system is x86_64. Do I need these i686 packages? Are these not being recognized by texmaker, perhaps? Should I be deleting these i686 packages (and their dependencies) and replacing them with the x86_64 versions?


See solution at the top. It's not worth my time to be wrestling with this level of hideous confusion.