OT: bash question
by Mike Wright
Hi all,
I need to extract the name of a parent directory, not the whole path.
Combinations of dirname and cut didn't get me anywhere.
Given this: (the ... indicates that I don't know the dir depth)
/.../mydir/my.file
How would I extract this:
/.../mydir/my.file
^^^^^
TIA to all takers :)
10 years, 1 month
Today's F20 update of hicolor-icon-theme messed the desktop
by Marco Maccaferri
Hi,
I did the usual yum update today and after a reboot I found my desktop
all messed and not functioning: the icons on the preferred applications
bar were all stick to each other without the usual border around them,
the search functionality wasn't working, the buttons on the applications
screen weren't visible, and other weird things.
I did a yum history undo, it failed to downgrade some packages
(wondering why since I updated few minutes before) but luckily it
restored the right package and the desktop is working again.
I think that the culprit is hicolor-icon-theme, before opening a bug, do
someone else experienced the same issue ?
For reference, the updated packages are these:
crda-1.1.3_2013.11.27-4.fc20.x86_64
hicolor-icon-theme-0.13-1.fc20.noarch
hwdata-0.261-1.fc20.noarch
iproute-3.12.0-2.fc20.x86_64
lohit-devanagari-fonts-2.94.0-1.fc20.noarch
oddjob-0.31.5-1.fc20.x86_64
oddjob-mkhomedir-0.31.5-1.fc20.x86_64
python-dns-1.11.1-2.fc20.noarch
realmd-0.14.6-4.fc20.x86_64
setroubleshoot-3.2.17-1.fc20.x86_64
setroubleshoot-server-3.2.17-1.fc20.x86_64
xorg-x11-drv-wacom-0.23.0-4.fc20.x86_64
xorg-x11-server-Xorg-1.14.4-7.fc20.x86_64
xorg-x11-server-common-1.14.4-7.fc20.x86_64
After the downgrade, I did an upgrade again excluding hicolor-icon-theme
(seems to the only relevant package here) and the desktop is still
working. My guess is that something in there messed everything.
Regards,
Marco.
10 years, 1 month
VEry OT Ruby
by Roger
The ISP will not permit any web frameworks at all and will not install
Rails, or Laravel for php. Will not install Ruby 1.9.3 or Ruby 2.n so am
forced to Ruby 1.8.7.
Is is possible to run a small web site generated in Ruby on Rails
without having Rails on the server?, or one generated in Laravel for PHP
without Laravel installed. If so how?
Changing ISP is not an option.
Thank you for any insights.
Roger
10 years, 1 month
overview of fonts in Fedora
by lee
Hi,
is there some sort of overview of all the fonts that are included in
Fedora?
There are quite a few, most of them not installed, with unknown
looks. It would be nice to see screenshots to get an idea about what all
these mysterious fonts look like.
--
Fedora release 20 (Heisenbug)
10 years, 1 month
Has Firefox suddenly stopped working for you folk?
by William Oliver
I just did one of those 1000-pending updates on my Fedora 20 installation, and suddenly Firefox is no longer working. It worked fine before. When I run it from console, I see the error:
(process:13166): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
This happens both with the installed firefox using yum, as well as when I remove firefox and download the binary from mozilla.com.
A search on the internet suggests that the error message was benign and not related to the problem when it popped up in an ubuntu forum a couple of months ago.
Does anybody know if this is a common problem?
billo
10 years, 1 month
error open ports
by William Biggs
I install chrip for my ham radio but every tip . I try to read the radio
I get this error on all ports . How do I set the Permission for the
software for the user I'm using ?
could not open port /dev/ttyUSB0: [Errno 13] Permission denied:
'/dev/ttyUSB0
10 years, 1 month
hardware TPM module - install?
by Wolfgang S. Rupprecht
What is the current feeling on installing an optional hardware TPM
module on a motherboard that has a header for it? My most recent Asus
motherboard has a header for a $20 TPM module. From what I understand
this module has a hardware random number generator that can spit out
10's of kbits/sec of entropy and has several different modes for storing
user-loadable crypto keys. On the surface, both of these sound like
useful things. Is there a downside? Can a flawed RNG pollute the
entropy pool in a way that lowers the security?
-wolfgang
10 years, 1 month
Re: Most Efficient Network File sharing protocol?
by Pete Travis
On Mar 4, 2014 8:32 AM, "Pete Travis" <lists(a)petetravis.com> wrote:
>
>
> On Mar 3, 2014 7:58 PM, "Dan Mossor" <dan.mossor(a)outlook.com> wrote:
>
> .
> >
> > When the DVD is built, I pull the updates across the local network to
my machine and build the DVD there. These <4GiB transfers sometimes take
close to 3 to 4 hours using NFS, and it is a Gigabit network. rsync
appeared to be a bit faster, but my goal is to find the most efficient
transfer method to move lots of little -and some big - files across a local
network.
> >
>
> > Dan Mossor
>
> What kind of NAS is this? Are the disks in good shape? Even with 10/100,
the transfer rate should be faster than DVD write speed, allowing you to
burn the disc on the fly, without copying everything to the workstation
first.
>
> Gigabit has a theoretical max of ~125MB/s. You're nowhere near that;
changing the transfer protocol to gain a few percentage points on
throughout is a moot question when the bottleneck is clearly somewhere
else. If your workstation is a Raspberry Pi, you have probably reached it's
limits and should probably consider an upgrade for any measureable
performance gain.
>
> --Pete
Oops, sorry for dragging off-list, Dan .
10 years, 1 month