Re: Bluetooth woes (again)
On Sun, Oct 25, 2015 at 11:50:40PM +, Patrick O'Callaghan wrote: > On Sun, 2015-10-25 at 14:05 -0600, jd1008 wrote: > > > > On 10/25/2015 01:57 PM, Patrick O'Callaghan wrote: > > > On Sun, 2015-10-25 at 12:08 -0600, jd1008 wrote: > > > > Had a similar problem. I changed the batteries with brand new one > > > > (Super Alkaline) and it worked. > > > New battery made no difference. > > > > > > poc > > Have trie re-authenticatinig the password? Usually 4 zeroes? > > The mouse is already paired. Furthermore, IIRC it has never asked me > for a key. In the past when I had problems connecting to a device that "used to work" I would deleted it from BT's list of known devices. However, recently I discovered that "deleting" and "unpairing" are distinct operations. I could not move a kbd to a different system by deleting it from the first, I had to unpair the kbd before it would pair with the new system. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Amavis / logwatch error / F23
On Sun, Nov 08, 2015 at 11:57:06AM -0500, Tom Horsley wrote: > On Sun, 8 Nov 2015 10:26:07 -0600 > SternData wrote: > > Amavis may not be installed, but this file from logwatch > is: > > > /usr/share/logwatch/scripts/services/amavis > > Probably wouldn't hurt anything to delete it. If an > update puts it back, that probably means it > has been fixed. I hate deleting config files. In this case I might make a directory "/usr/share/logwatch/scripts/services/.orig" and move amavis there. Perhaps an even better solution is to copy logwatch's config file "/usr/share/logwatch/default.conf" to an alternate name (eg. /usr/share/logwatch/default.conf.orig) and edit the working copy. It suggests keeping the default "Service = All" followed by a line like "Service = "-amavis". jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Amavis / logwatch error / F23
On Sun, Nov 08, 2015 at 03:09:46PM -0600, SternData wrote: > On 11/08/2015 12:07 PM, Jon LaBadie wrote: > >On Sun, Nov 08, 2015 at 11:57:06AM -0500, Tom Horsley wrote: > >>On Sun, 8 Nov 2015 10:26:07 -0600 > >>SternData wrote: > >> > >>Amavis may not be installed, but this file from logwatch > >>is: > >> > >>>/usr/share/logwatch/scripts/services/amavis > >> > >>Probably wouldn't hurt anything to delete it. If an > >>update puts it back, that probably means it > >>has been fixed. > > > >I hate deleting config files. In this case I might > >make a directory "/usr/share/logwatch/scripts/services/.orig" > >and move amavis there. > > > >Perhaps an even better solution is to copy logwatch's > >config file "/usr/share/logwatch/default.conf" to an > >alternate name (eg. /usr/share/logwatch/default.conf.orig) > >and edit the working copy. It suggests keeping the > >default "Service = All" followed by a line like > >"Service = "-amavis". > > > > Actually, the overrides go in /etc/logwatch/conf/logwatch.conf. I'm not > asking how to hide it but reporting a problem in a script. My bad, you are certainly correct. BTW, the script contains the author/maintainer's name and email address. Perhaps a note to him is in order. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: dnf keepcache
> On Sun, 15 Nov 2015 12:08:54 +0100, Maurizio Marini wrote: > > > $ man dnf.conf > > keepcache > boolean > > Keep downloaded packages in the cache. If set to False and pack‐ ^^^ > ages have not been installed they will still persist until next > successful transaction. The default is False. > Is this an error in the man page or, more likely, is my understanding of keepcache faulty? Perhaps "True" means `all' downloaded packages remain in cache but if "False", only uninstalled ones are kept. -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: BTRFS and Nvidia broken on F23
On Wed, Nov 04, 2015 at 09:48:05PM +, Patrick O'Callaghan wrote: > On 4 November 2015 at 21:24, Patrick O'Callaghan> wrote: > > > Does "modprobe -v btrfs" print anything, or does the command fail > >> silently? > >> > > Gives no output. "lsmod|grep btrfs" shows nothing. > > > >> Is this with SELinux enforcing? If so, have you tried with enforcing=0 > >> yet? (or run "setenforce 0" as root before trying modprobe and the other > >> commands. > > > > I tried with enforcing off. No difference. > > I'm thinking that the btrfs problem is a red herring. I masked both btrfs > and NFS filesystems in /etc/fstab and rebooted. Now I get a very low-res > KDE login screen (which of course doesn't do any good as /home is not > mounted), but journalctl continues to show errors, in particular: > > Unit var-lib-nfs-rpc_pipefs.mount has failed > > Also, networking is off. I repeat, all NFS mounts are masked (commented > out). > When I upgraded to F22, all fstab entries that said mount at boot had to succeed or the boot went to emergency mode. For me it was an obscure sshfs mount that caused problems. Are any boot time mounts failing? -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: OT: help with search
On Mon, Nov 02, 2015 at 11:22:38AM -0700, jd1008 wrote: > ... > > No. > Not a local page. It can be any public search engine, > and it can be any specific phrase. > I already provided an example. > But the example does not give me just the raw texts of > the links of the hits found, nor does it give all of them > in one fell swoop which you could save to a text file. > Check out this forum query: https://productforums.google.com/forum/#!topic/websearch/wBL65wPIxxY If I understand the discussion, and it is correct, Google will only show a maximum of the first 1000. One responder also shows a way to get those 1000 into a document 100 at a time. HTH jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Fedora 22 upgrade oddity
Using "fedup", I upgraded from F20 to F21 and a few weeks later to F22. The F22 upgrade resulted in a couple of problems, one of which I'll describe here. After the F22 upgrade, the boot would hang at an early stage. I could still boot F21. Eventually I discovered that dracut was encountering an error and not producing the file "/boot/initramfs-". However, the next step of the kernel installation, grub2-mkconfig was still producing a grub menu entry for the kernel, but without the necessary last line "initrd16 initramfs-". I feel grub2-mkconfig, after the dracut failure, should not have produced the menu entry at all. From F21 I tried to manually run dracut to generate the F22 initramfs. Dracut complained about a missing "bootchart" module. Yet the F22 repositories did not contain a bootchart package. So I reran dracut with options to ignore bootchart and it succeeded. grub2- mkconfig also made a correct boot menu entry. Further research indicated that bootchart was moved from being a separate package that was invoked by kernel boot options to be a standard part of the default kernel. When dracut searched for the bootchart module it encountered a "left-behind", separate bootchart package, correctly deduced it was the wrong module and failed. But as noted, grub2-mkconfig completed without showing an error. Once I removed the old, separate bootchart package kernel installations, dracut, and grub2-mkconfig all went smoothly. In summary, the installation of a new kernel can seem to complete successfully and yet have encountered critical errors. In my case dracut failed but its error was not considered fatal and the installation completed as if successful though the new kernel could not be started. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Fedora 22 upgrade oddity
On Fri, Oct 16, 2015 at 11:59:03AM -0700, Joe Zeff wrote: > On 10/16/2015 11:45 AM, Jon LaBadie wrote: > >After the F22 upgrade, the boot would hang at an early > >stage. I could still boot F21. > > Actually, what you had was F22 with an F21 kernel, as you'd have seen if > you'd tried to update your system. Yes, I know what uname -r would return, > but that's because it would be reporting (correctly) that the kernel was for > F21, not that your entire system was F21. Been there, done that, but in my > case it was because the only kernel that would boot correctly on my laptop > was from the older version; I was finally forced to correct it by > reinstalling. Correction accepted. Reword the passage to: After the F22 upgrade, booting the F22 kernel would hang at an early stage. I could still boot either of the two remaining F21 kernels. But that has little impact on the tale. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: OT: but could be useful to other users also
On Fri, Oct 16, 2015 at 08:12:33PM -0600, jd1008 wrote: > Have external usb 3.0 drive. > Laptop has usb 2.0 ports, and 1 eSata-II port. > In order for me to get decent I/O throughput > with this drive, I need a cable that has usb 3.0 Micro-B male > connector on one and and male eSata connector on the other. > I do not know if this will require a protocol converter or not. > I have searched Ebay for such a cable, to no avail. > If anyone has more info to shed light on this, would be > appreciated. > I see male eSATA to male USB3 cable/adapters. Perhaps you could add a female USB3 to male micro-b adapter such as: http://www.amazon.com/Type-Female-Micro-Male-Adapter/dp/B004574Y7E -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: fix a txt/dat file with soccer data using awk and sort
On Sat, Oct 03, 2015 at 06:23:38PM -0800, Antonio Olivares wrote: > Dear fedora users, > > I have a file table.dat with team data ie, Wins Loses Draws Goals For, Goals > Against, Total Points as follows: > > $ cat table.dat > TeamW L D GF GA DIF PTS > Team1 3 2 1 13 17 > Team2 2 3 1 14 13 > Team3 6 0 0 28 13 > Team4 0 6 0 5 23 > Team5 0 0 0 0 0 > $ awk '{print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $7 "\t" $8 "\t" > $5-$6, "\t" $2*3+$3*0+$4*1}' table.dat > TeamW L D GF GA DIF PTS 0 0 > Team1 3 2 1 13 17 -4 10 > Team2 2 3 1 14 13 1 7 > Team3 6 0 0 28 13 15 18 > Team4 0 6 0 5 23 -18 0 > Team5 0 0 0 0 0 0 0 > bash-4.3$ > > I can get the DIF by subtracting the 5th - 6th and get the goal differential, > and the points by multiplying the Wins by 3 and the loses by 0 and the ties > by 1 and get the points. I am not expert, but instead of using a spreadsheet > I would like to use awk as the example shows, but I would like the DIF to be > under DIF and the points under PTS, how can I accomplish this? Also if it > were possible which I do not see why not? is how can I sort the teams by the > ones higher in the table? Here is a shot at it. Assumptions include the team names are longer than shown so I left room for up to 15 chars and for the sorting to work as I have it, the names can not have spaces. awk ' BEGIN { SortCmd = "sort -nr -k 8" } NR == 1 { printf "%-15s %5s %5s %5s %6s %6s %6s %6s\n", "TEAM", "W", "L", "D", "GF", "GA", "DIF", "PTS" } NR > 1 { dif = $5 - $6 pts = $2 * 3 + $4 printf "%-15s %5d %5d %5d %6d %6d %6d %6d\n", $1, $2, $3, $4, $5, $6, dif, pts | SortCmd } ' datafile > > For example, I would like to do something like: > > http://www.premierleague.com/en-gb/matchday/league-table.html/ > > http://www.mlssoccer.com/standings > > http://www.mediotiempo.com/tabla_general.php?id_liga=1 > > but only using awk/sed/sort no spreadsheet, no database only nice > unix/linux/bsd tools > > Also add a variation, if the teams tie in regulation, then overtime > kicks(extra time) and/or penalty kicks to determine a winner. If the team > wins in overtime or penalty kicks the winning team earns two points and the > loser earns one point only > > TeamW L D GF GA OT/PKS DIF PTS > Team1 3 2 1 13 17 > Team2 2 3 1 14 13 > Team3 6 0 0 28 13 > Team4 0 6 0 5 23 > Team5 0 0 0 0 0 > > Here Team1 ties with Team2 and they go into overtime and remain tied in > Overtime. After the overtime, they go into Penalty Kicks. Team2 beats Team1 > in PKS and earns two points, in the overall PTS > > team1 earns 10 total pts, and team2 should have 8 pts. But the awk command > on top gives 7 points because it does not take into account PKS. > > awk '{print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $7 "\t" $8 "\t" > $5-$6, "\t" $2*3+$3*0+$4*1}' table.dat > > how can it be done so that the table prints out correctly and in the OT/PKS > line, the team that wins gets a 1:0 and the losing team gets a 0:1 and each > time they tie and go in to OT, a running tally gets going 2:0 or 1:1 > depending if they split the games. > > Thank you in advance for suggestions and advice. I am discovering awk that > one can do math to lists and tables it is awesome. I did not know this, I > just used sed -i 's|*|x|g' file to replace text x with *. > I'm unclear about what is needed for your second variation. It seems that the input data should have numbers in the PKS column indicating how many extra points they should receive. In that case, simply adjust the terms calculating "pts" (something like pts = $2 * 3 + $4 + $7) and the corresponding arguments to printf. -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: (SOLVED) Re: fix a txt/dat file with soccer data using awk and sort
On Sun, Oct 04, 2015 at 08:52:00AM -0800, Antonio Olivares wrote: > > > > -Original Message- > > From: jo...@jgcomp.com > > Sent: Sun, 04 Oct 2015 01:01:26 -0400 > > To: users@lists.fedoraproject.org > > Subject: Re: fix a txt/dat file with soccer data using awk and sort > > > > On Sat, Oct 03, 2015 at 06:23:38PM -0800, Antonio Olivares wrote: > >> Dear fedora users, > >> > >> I have a file table.dat with team data ie, Wins Loses Draws Goals For, > >> Goals Against, Total Points as follows: > >> > >> $ cat table.dat > >> TeamW L D GF GA DIF PTS > >> Team1 3 2 1 13 17 > >> Team2 2 3 1 14 13 > >> Team3 6 0 0 28 13 > >> Team4 0 6 0 5 23 > >> Team5 0 0 0 0 0 > >> $ awk '{print $1 "\t" $2 "\t" $3 "\t" $4 "\t" $5 "\t" $6 "\t" $7 "\t" $8 > >> "\t" $5-$6, "\t" $2*3+$3*0+$4*1}' table.dat > >> TeamW L D GF GA DIF PTS 0 > >> 0 > >> Team1 3 2 1 13 17 -4 > >> 10 > >> Team2 2 3 1 14 13 1 > >> 7 > >> Team3 6 0 0 28 13 15 > >> 18 > >> Team4 0 6 0 5 23 -18 > >> 0 > >> Team5 0 0 0 0 0 0 > >> 0 > >> bash-4.3$ > >> > >> I can get the DIF by subtracting the 5th - 6th and get the goal > >> differential, and the points by multiplying the Wins by 3 and the loses > >> by 0 and the ties by 1 and get the points. I am not expert, but instead > >> of using a spreadsheet I would like to use awk as the example shows, but > >> I would like the DIF to be under DIF and the points under PTS, how can I > >> accomplish this? Also if it were possible which I do not see why not? > >> is how can I sort the teams by the ones higher in the table? > > > > Here is a shot at it. Assumptions include the team names are > > longer than shown so I left room for up to 15 chars and for > > the sorting to work as I have it, the names can not have spaces. > > > > awk ' > > BEGIN { SortCmd = "sort -nr -k 8" } > > > > NR == 1 { > > printf "%-15s %5s %5s %5s %6s %6s %6s %6s\n", > > "TEAM", "W", "L", "D", "GF", "GA", "DIF", "PTS" > > } > > > > NR > 1 { > > dif = $5 - $6 > > pts = $2 * 3 + $4 > > printf "%-15s %5d %5d %5d %6d %6d %6d %6d\n", > > $1, $2, $3, $4, $5, $6, dif, pts | SortCmd > > } > > ' datafile > > > This achieves the goal that was set. The only thing is how can I call it > from script with a different datafile, instead of writing the datafile > each time. ie, save the above instructions to a file called teamstats.sh. > In it, datafile would be teams1.dat. How can I call it/script with > different teams.dat? so it can run nicely. > Yes, put it into a file and make the file executable. To work with different data files, change my "datafile" argument to "$1" or perhaps "${1:?need a data file name}". Then you would execute it as "progname datafile". BTW personally I avoid naming a program with its language as an extension. Your program is "teamstats". Why do you care that it is a shell script, a python script, a compiled C program or ??? For example, suppose in the future you decide to rewrite it in python. Now it would be called teamstats.py. But people are used to running teamstats.sh. You have to "retrain" them. If you leave off the extension no retraining is needed. -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
keyboard oddity
For several years I have used a Logitech K800 keyboard on my primary desktop, currently running Fedora 22. Recently it has been acting up, sending a stream of fives (5's) as if I was holding down the five key and it was autorepeating. The 5's would appear sporadically, sometimes once a day, other times every couple of minutes. They appeared in xterm's, browsers, and other GUI apps and also when I switched to one of the virtual consoles not running X-windows. The 5's also appeared in virtual guest OS's. Assuming my keyboard was bad I purchased another kbd, Logitech K330. As expected, no 5's streamed from this new kbd. However when I installed the suspect K800 kbd on my other system (running CentOS 7.1), it acts normally, no 5's. Swap it back to Fedora 22, I get 5's. It has now been back to the CentOS system for 10 days and has not acted up once. Only on Fedora 22. Any clue as to what might cause such behavior on one system but not another? -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: keyboard oddity
On Sat, Oct 03, 2015 at 11:17:53AM +0800, Ed Greshko wrote: > On 10/03/2015 10:48 AM, Jon LaBadie wrote: > > For several years I have used a Logitech K800 keyboard on my > > primary desktop, currently running Fedora 22. Recently it > > has been acting up, sending a stream of fives (5's) as if > > I was holding down the five key and it was autorepeating. > > > > The 5's would appear sporadically, sometimes once a day, > > other times every couple of minutes. They appeared in > > xterm's, browsers, and other GUI apps and also when I > > switched to one of the virtual consoles not running > > X-windows. The 5's also appeared in virtual guest OS's. > > > > Assuming my keyboard was bad I purchased another kbd, > > Logitech K330. As expected, no 5's streamed from this > > new kbd. However when I installed the suspect K800 kbd > > on my other system (running CentOS 7.1), it acts normally, > > no 5's. Swap it back to Fedora 22, I get 5's. It has > > now been back to the CentOS system for 10 days and has > > not acted up once. Only on Fedora 22. > > > > Any clue as to what might cause such behavior on one > > system but not another? > > > > Several people have reported this as the "plague of fives" and seem to feel > it is kernel related. I had seen it as well on my system. I first thought > it was the Logitech Unifying Receiver and moved it to a different USB port. > But based on the experience of others I guess it was only a coincidence that > they no longer happen for me. > Thanks for the "identifier". My search turned up nothing. I considered the Unifying Receiver also but all 3 I had on hand exhibited the same behavior. Jon -- Jon H. LaBadie jo...@jgcomp.com 11226 South Shore Rd. (703) 787-0688 (H) Reston, VA 20190 (703) 935-6720 (C) -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: An interesting sort problem
On Fri, Nov 27, 2015 at 09:57:11AM -0700, jd1008 wrote: > > > On 11/27/2015 03:29 AM, Andrew Haley wrote: > >#!/bin/awk -f > >{ > > lines[NR]=$NF " " $0 > >} > > > >END { > > PROCINFO["sorted_in"]="@val_type_asc" > ># for (i in lines) { for (i = NR; i >= 1; i--) { > > line = lines[i] > > j=index(line, " ") > > print substr(line, j+1) > > } > >} > Hi Andrew, > manpage for awk does not betray any info on making sort in reverse. > What is the incantation in this script to make the sort in reverse? > -- > users mailing list > users@lists.fedoraproject.org > To unsubscribe or change subscription options: > https://admin.fedoraproject.org/mailman/listinfo/users > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org >>> End of included message <<< -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: opening xxx.pat files
On Thu, Dec 10, 2015 at 08:05:44PM +0200, Angelo Moreschini wrote: > Hi, > > I got a file with suffix .pat (the extension is a Pattern Image file) and, > for what I could know, this kinde of files are used with photoshop... > > II haven't photshp, so I looked for knowing how to open this file, and the > only suggestion that I found was to try (in Linux environment) with GIMP. > > I hadn't success in this way, (using GIMP) so I would ask what other I can > try ... > What does the "file" command say about the .pat file? $ file *.pat In file's "magic" file (/usr/share/file/magic) these comments appear: # XCF: file(1) magic for the patterns used in the GIMP (.pat), # # developed by Spencer Kimball and Peter Mattis # # ('Bucky' LaDieu, n...@vt.edu) So maybe it is a gimp pattern file and not something from photoshop. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Cannot access my phone storage from fc22
On Sat, Jan 02, 2016 at 01:12:36PM -0700, jd1008 wrote: > > On 12/30/2015 12:13 PM, Jon LaBadie wrote: > >On Tue, Dec 29, 2015 at 07:17:43PM -0700, jd1008 wrote: ... > >>Android is 4.4.2 (nothing newer is available for my phone. > >>Developer option set. usb debugging enabled. > >> > >>yet, when I plug my phone to usb on laptop, > >>laptop does not mount anything, nor does any icon > >>appear on the panel as a result of plugging in. > >>Also, the phone does not pop up a screen asking me > >>to enable USB in data mode or any other mode. > >> > >On F22, my LG tablet connects using the mtp protocol. > >However, I had to add it to the udev rules configuration file. > > > >I copied /usr/lib/udev/rules.d/69-libmtp.rules to > >/etc/udev/rules.d and edited the copy. I found > >rules for tablets similar to my own and duplicated > >them but with an appropriate name and with the vendor > >and product id's I got from lsusb. > > > >HTH, > >Jon > Tried it. > Still, laptop does not detect phone. > Phone is set to query the user for connection protocol when > usb is plugged in to both phone and laptop. > Phone does not prompt me with that question. > > The file /etc/udev/rules.d/69-libmtp.rules, > > does not have an entry for my phone model > (LG G Flex D959). > > For example, I see the entry: > > # LG Electronics Inc. LG G Flex 2 > ATTR{idVendor}=="1004", ATTR{idProduct}=="633e", SYMLINK+="libmtp-%k", > ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" > > but my phone is the LG G Flex (Generation 1), model D959. > > Would a new line like: > > ATTR{idVendor}=="1004", ATTR{idProduct}=="d959", SYMLINK+="libmtp-%k", > ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" > > correctly represent my phone in this rules file? No, I said I got the numbers from lsusb. Here is one line of lsusb output: Bus 003 Device 002: ID 04a9:2206 Canon, Inc. CanoScan N650U/N656U || |Product ID Vendor ID, likely 1004 for your LG vendor jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Cannot access my phone storage from fc22
From what you've said neither the computer nor the phone seem to realize they are connected. Perhaps it is cable problems? Either a bad cable or the wrong type. I read about some phone that needed a "usb serial" cable rather than a standard usb cable. Other than that, I've got nothing. Good luck and HNY! jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Cannot access my phone storage from fc22
On Sat, Jan 02, 2016 at 01:18:55PM -0700, jd1008 wrote: > > On 01/02/2016 01:12 PM, jd1008 wrote: > >On 12/30/2015 12:13 PM, Jon LaBadie wrote: > >>On Tue, Dec 29, 2015 at 07:17:43PM -0700, jd1008 wrote: ... > >>> > >>>Android is 4.4.2 (nothing newer is available for my phone. > >>>Developer option set. usb debugging enabled. > >>> > >>>yet, when I plug my phone to usb on laptop, > >>>laptop does not mount anything, nor does any icon > >>>appear on the panel as a result of plugging in. > >>>Also, the phone does not pop up a screen asking me > >>>to enable USB in data mode or any other mode. > >>> > >>On F22, my LG tablet connects using the mtp protocol. > >>However, I had to add it to the udev rules configuration file. > >> > >>I copied /usr/lib/udev/rules.d/69-libmtp.rules to > >>/etc/udev/rules.d and edited the copy. I found > >>rules for tablets similar to my own and duplicated > >>them but with an appropriate name and with the vendor > >>and product id's I got from lsusb. > >> > >>HTH, > >>Jon > >Tried it. > >Still, laptop does not detect phone. > >Phone is set to query the user for connection protocol when > >usb is plugged in to both phone and laptop. > >Phone does not prompt me with that question. > > > >The file /etc/udev/rules.d/69-libmtp.rules, > > > >does not have an entry for my phone model > >(LG G Flex D959). > > > >For example, I see the entry: > > > ># LG Electronics Inc. LG G Flex 2 > >ATTR{idVendor}=="1004", ATTR{idProduct}=="633e", SYMLINK+="libmtp-%k", > >ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" > > > >but my phone is the LG G Flex (Generation 1), model D959. > > > >Would a new line like: > > > >ATTR{idVendor}=="1004", ATTR{idProduct}=="d959", SYMLINK+="libmtp-%k", > >ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" > > > >correctly represent my phone in this rules file? > > Looking at udev via systemctl -l > > # systemctl -l | grep udev > systemd-udev-settle.service loaded active exitedudev Wait for Complete > Device Initialization > systemd-udev-trigger.service loaded active exitedudev Coldplug all > Devices > systemd-udevd.service loaded active running udev Kernel Device Manager > systemd-udevd-control.socket loaded active running udev Control Socket > systemd-udevd-kernel.socket loaded active running udev Kernel Socket > > > Is there another udev service that needs to be running? My system has the last 4 lines the same as yours. The first is not present in my "# systemctl -l | grep udev" output. A "systemctl status systemd-udev-settle.service" says it is loaded but not active. A guess, perhaps it becomes active when a new device is connected. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Firefox and gmail troubles
On Thu, Dec 31, 2015 at 10:59:44AM -0700, Chris Murphy wrote: > On Thu, Dec 31, 2015 at 10:47 AM, Chris Murphy> wrote: > > Keep in mind the baremetal system that it consistently happens on, has > a VM running in which it does not happen. > > The other manifestations are google searches and account switches > hanging. For search, I usually use the URL field to do the search and > then hit return. The typical result is nearly instant but no results > are displayed, just the google search bar and under that the > qualifiers All Video News Maps Imaging Shopping, and then white space > where there should be search results but there are none. I click > reload icon on the right side of the URL field but instead of > reloading, the URL field is replaced by gray "Search or Enter Address" > as if nothing had previously been entered or loaded. If I try again > using the exact same steps, it works normally. It's a total crap > shoot. > Putting on my Way-back-hat, that sounds like what I used to see when multiple processes were trying to read from stdin at the same time. For me it happened most often on Solaris when X would crash and the display manager would not restart. There might be a shell process and a terminal login process, or two login processes competing for the tty input. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: gnome won't start
On Wed, Dec 30, 2015 at 04:31:30PM -0800, Rick Stevens wrote: > On 12/30/2015 03:59 PM, Jon LaBadie wrote: > >On my F22 system I typically use mate as my desktop environment. > >Occasionally I log out and try to login using gnome. It quickly > >comes up with a screen saying "Opps, something has gone wrong". > > > >If I try "gnome classic" instead, it takes a little longer and > >I get a flash of an new desktop before the "Opps" screen. > > > >After the failed login, I went debugging by logging into a > >tty terminal. > > > >Looking at ~/.xsessionerrors there are 4 lines of > >"stty: standard input: Inappropriate ioctl for device" > >and nothing else. > > > >I don't notice any errors in /var/log/Xorg.0.log*. > > > >If I try it logging in as a new user with gnome it starts > >up fine. > > > >If I remove ~/.gnome* and ~/.gconf* the problem still occurs. > > > >Any hints where to look? > > I detest the new Gnome, but I'd suggest also moving/deleting "~/.config" > (or at least "~/.config/gnome*") and trying again. Good thought. I removed ~/.config/gnome* and ~/.config/gconf* as well. Same "opps" screen when attempting to login to a gnome DE. jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Cannot access my phone storage from fc22
On Tue, Dec 29, 2015 at 07:17:43PM -0700, jd1008 wrote: > > $ adb devices > * daemon not running. starting it now on port 5037 * > * daemon started successfully * > > ** daemon still not running > error: cannot connect to daemon > > $ ps -ef | grep adb > jd 19967 1 0 19:06 pts/300:00:00 adb -P 5037 fork-server > server > jd 19983 7405 0 19:09 pts/300:00:00 grep --color=auto adb > > Android is 4.4.2 (nothing newer is available for my phone. > Developer option set. usb debugging enabled. > > yet, when I plug my phone to usb on laptop, > laptop does not mount anything, nor does any icon > appear on the panel as a result of plugging in. > Also, the phone does not pop up a screen asking me > to enable USB in data mode or any other mode. > On F22, my LG tablet connects using the mtp protocol. However, I had to add it to the udev rules configuration file. I copied /usr/lib/udev/rules.d/69-libmtp.rules to /etc/udev/rules.d and edited the copy. I found rules for tablets similar to my own and duplicated them but with an appropriate name and with the vendor and product id's I got from lsusb. HTH, Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
gnome won't start
On my F22 system I typically use mate as my desktop environment. Occasionally I log out and try to login using gnome. It quickly comes up with a screen saying "Opps, something has gone wrong". If I try "gnome classic" instead, it takes a little longer and I get a flash of an new desktop before the "Opps" screen. After the failed login, I went debugging by logging into a tty terminal. Looking at ~/.xsessionerrors there are 4 lines of "stty: standard input: Inappropriate ioctl for device" and nothing else. I don't notice any errors in /var/log/Xorg.0.log*. If I try it logging in as a new user with gnome it starts up fine. If I remove ~/.gnome* and ~/.gconf* the problem still occurs. Any hints where to look? Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: partition management in dual-boot laptop / limited space
On Wed, Jan 06, 2016 at 06:23:55PM +, Ian Malone wrote: > On 6 January 2016 at 17:01, Patrick O'Callaghanwrote: > > On Wed, 2016-01-06 at 13:30 +, Ian Malone wrote: > >> Is there any less drastic approach? > > > > You don't really explain your use case. I find it's enough to run the > > occasional Windows session in a VM, but if you depend on high- > > performance 3D graphics (e.g. for gaming) that may not be enough. For > > most everything else it's fine. > > > > This is probably better now than it was before, but with a two core > system and not a massive amount of RAM it seems a better use to dual > boot on the laptop (and on my desktop I dual boot because that's > exactly what I use windows for). Allowing access to the shared > partition (music and other data) means I can get at that from both > sides of a dual boot, I can install windows programs there if > necessary to avoid having a large chunk of space stuck in a c:\ > partition or VM image. That would be a bit harder from a VM (if > possible at all, not sure filesystem passthrough will work for a > windows client, samba is awful). Also, my windows license is a > hardware one, not for VM. I can only see the windows in a vm helping > in this situation if there's a neat way to give it fairly transparent > access to a filesystem on the host machine. To the latter point, I run Windows 8.1 as a VirtualBox VM under F22. The space for all my VM's is in a single LV with a ext4 filesystem. It can be resized as needed. I don't know about other virtual environments, but under VBox, access to the Linux data is simple, called shared folders. Normally I make my F22 home dir available as a share (e: drive). This is one directory tree on an ext4 fs in an LV. To try other combos today I shared /usr/local, the root of an ext4 fs again in an LV. I also shared /tmp, a memory based tempfs. Again, a simple "fill out a gui form of 5 items". Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Problem with bash: alias command
On Sun, Dec 20, 2015 at 01:42:30PM +0100, Joachim Backes wrote: > Hi all, > > Running F23, and my shell is /bin/bash. > > My problem: suppose you define an alias: > > alias x='echo PAR=$1' > > Now call the alias by: > > x 1 > > Output: PAR= 1 > > My question: why do I get the blank before the "1"? > aliases are not intended to be used with positional parameters. You will need to use functions to do that. As to the space, "x", not "x 1" gets replaced by the alias definition. So $ x 1 becomes $ echo PAR=$1 1 As noted above, positional parameters to not exist for aliases so this becomes $ echo PAR= 1 To confirm $1 is not interpreted, try $ x now is the time which becomes $ echo PAR= now is the time Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: An interesting sort problem
On Fri, Nov 27, 2015 at 12:38:38PM -0700, jd1008 wrote: > > > On 11/27/2015 12:14 PM, Jon LaBadie wrote: > >On Fri, Nov 27, 2015 at 09:57:11AM -0700, jd1008 wrote: > >> > >>On 11/27/2015 03:29 AM, Andrew Haley wrote: > >>>#!/bin/awk -f > >>>{ > >>> lines[NR]=$NF " " $0 > >>>} > >>> > >>>END { > >>> PROCINFO["sorted_in"]="@val_type_asc" > >>># for (i in lines) { > > for (i = NR; i >= 1; i--) { > >>> line = lines[i] > >>> j=index(line, " ") > >>> print substr(line, j+1) > >>> } > >>>} > >>Hi Andrew, > >>manpage for awk does not betray any info on making sort in reverse. > >>What is the incantation in this script to make the sort in reverse? > > Sorry John. It did not sort in reverse :( > Whoops, sorry, I forgot PROCINFO doesn't sort the array, it affects how the array is accessed. Does this work? Choose which ever function suits your direction. #!/bin/awk -f { lines[NR]=$NF " " $0 } function cmp_str_index(i1, v1, i2, v2) { # string index comparison, ascending order v1 = v1 "" v2 = v2 "" if (v1 < v2) return -1 return (v1 != v2) } function rcmp_str_index(i1, v1, i2, v2) { # string index comparison, decending order v1 = v1 "" v2 = v2 "" if (v2 < v1) return -1 return (v2 != v1) } END { PROCINFO["sorted_in"] = "rcmp_str_index" for (i in lines) { line = lines[i] j=index(line, " ") print substr(line, j+1) } } jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: [Fedora 23] Installing KDE Plasma as a second Desktop Environment! [bug]
On Tue, Nov 24, 2015 at 04:19:02PM +, Patrick O'Callaghan wrote: > On Tue, 2015-11-24 at 09:41 +, Andrew R Paterson wrote: > > ... most people assume that in order to change DE youi have to change DM! > > The "slightly different capabilities" you describe are so slight as > > make the whole idea of using multiple DMs a pointless exercise. > > Not so. As I think I mentioned once already, I changed from SDDM back > to KDM because the former doesn't support automatically opening gnome- > keyring on login. This is not a crippling failure, but it is a real > annoyance. You are not "using" multiple DMs, you have chosen to use one of several DMs available. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: copr-selinux dependencies Fedora 22
On Tue, May 24, 2016 at 11:47:21PM -0700, Samuel Sieb wrote: > On 05/24/2016 10:51 PM, Jon LaBadie wrote: > > Suggestions for how to resolve the situation? > > I don't anticipate using copr, perhaps remove it? > > Do any system functions depend upon copr installation? > > > I think you only need that if you are going to run a copr server. I wonder > how you even got it installed as I don't see anything that would require it. I wonder also. In my dnf history, the oldest copr- related items are updates last August. The total dnf history goes back to September 2014 while running Fedora 20. So they must have been introduced before then. Why I have no recollection! Unless someone suggests otherwise, I'll probably erase the entire copr set + dependencies. # dnf list installed '*copr*' Last metadata expiration check performed 13:12:06 ago ... Installed Packages copr-backend.noarch 1.37-1.fc22 @System copr-backend-doc.noarch 1.37-1.fc22 @System copr-cli.noarch 1.50-1.fc22 @updates copr-cli-doc.noarch 1.50-1.fc22 @updates copr-frontend.noarch 1.44-1.fc22 @System copr-frontend-doc.noarch 1.44-1.fc22 @System copr-selinux.noarch 1.35-1.fc22 @System python-copr.noarch1.68-1.fc22 @updates python-copr-doc.noarch1.68-1.fc22 @updates python3-copr.noarch 1.68-1.fc22 @updates In addition, these would be removed: python-marshmallow python-ordered-set python-requests-toolbelt python3-marshmallow python3-ordered-set python3-requests-toolbelt Thanks, Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
copr-selinux dependencies Fedora 22
Trying to update on F22. DNF reports copr-selinux version 1.40 is available to replace v1.35 but it can not due to "broken dependencies". rpm says "policycoreutils-python-utils" is required but not installed. "policycoreutils-python" is installed and dnf says it required package is not available. rpmfind shows the "policycoreutils-python-utils" available for F23, but not for F22. Suggestions for how to resolve the situation? I don't anticipate using copr, perhaps remove it? Do any system functions depend upon copr installation? Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Keyboard Volume Control Keys
On Sat, May 28, 2016 at 03:27:27PM +0930, Tim wrote: > On Fri, 2016-05-27 at 15:10 -0400, Jon LaBadie wrote: > > Running F23, mate desktop and compiz. > > > > Each time I login the three volume keys on my > > keyboard cause no action. If I go into the > > program "/usr/bin/mate-keyboard-properties" > > either as a CLI or the System->Preferences menu > > and immediately exit the keys work as expected. > > Going off from a related tangent from other suggestions, have a look at > your session preferences for startup programs - the ones that are > automatically fired off when you login (generally system things, rather > than applications that you've used). > > On my older-than-yours installation using Mate, one of them is the MATE > Settings Daemon. That sounds a prime candidate for your issue. Check > that it is ticked. Or even try the Windows toggle off-back-on-again > trick. Thanks Tim, that seems to have done the job. I checked and in my current session mate-settings-daemon was running. But it was not checked as an auto-startup program. Probably something else caused it to run, perhaps my launching the keyboard properties program. Anyway, I checked it to run at startup and the volume keys were active without my taking any action. > > While you're in there, you may find a bunch of things that auto start > that you don't use. You can switch them off for less things to wait for > when you log-in. > I keep it pretty tight already. That is probably why the settings-daemon was not checked. Thanks again, Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Keyboard Volume Control Keys
Running F23, mate desktop and compiz. Each time I login the three volume keys on my keyboard cause no action. If I go into the program "/usr/bin/mate-keyboard-properties" either as a CLI or the System->Preferences menu and immediately exit the keys work as expected. Can anyone suggest a way to activate the volume keys automatically on login? Thanks, Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Keyboard Volume Control Keys
On Fri, May 27, 2016 at 12:44:09PM -0700, Rick Stevens wrote: > On 05/27/2016 12:10 PM, Jon LaBadie wrote: > > Running F23, mate desktop and compiz. > > > > Each time I login the three volume keys on my > > keyboard cause no action. If I go into the > > program "/usr/bin/mate-keyboard-properties" > > either as a CLI or the System->Preferences menu > > and immediately exit the keys work as expected. > > > > Can anyone suggest a way to activate the volume > > keys automatically on login? > > I use Xfce so this may not apply, but have you saved your session? > > I'm not sure about Mate, but IIRC, by default session info isn't saved > under Xfce unless you go into "Applications->Settings->Session and > Startup" and tick the "Save Session on Logout" box in the "General" tab > and either log out or go to the "Session" tab and click the "Save > Session" button (which I generally do any time I change stuff here). Mate has that also. Typically I leave it set to not automatically save. Then when I want to change my starting session I set things up the way I like, turn the setting on and logout. Next login, (i.e. immediately) I turn it off again. I've saved a session with the keys functioning but it had no effect on them next login, they were off. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Keyboard Volume Control Keys
On Fri, May 27, 2016 at 01:52:28PM -0700, Joe Zeff wrote: > On 05/27/2016 01:49 PM, Jon LaBadie wrote: > > I've saved a session with the keys functioning but it had no effect > > on them next login, they were off. > > Thank you; at least we've eliminated one possible answer. As I told a > caller once when I was doing tech support, "Much of trouble shooting is > going down one blind alley after another until one of them isn't." One other bit; I'm using a Logitech wireless keyboard, model K800. It shares the "Unifying" usb-receiver with my mouse. Mate's keyboard properties dialog shows many Logitech models but not the K800. I've set the model type to generic "Logitech Cordless". Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Unset environment variable when building rpm
On Fri, Jan 15, 2016 at 12:48:58PM +0100, arnaud gaboury wrote: > On Fri, Jan 15, 2016 at 12:46 PM, Patrick O'Callaghan >wrote: > > On Fri, 2016-01-15 at 11:42 +0100, arnaud gaboury wrote: > >> I need to unset one of my environment variable to successfully build > >> a > >> rpm package. > >> > >> I added this in my .spec file, but apparently it doesn't work: > >> > >> --- > >> if [ -n $R_PROFILE_USER ];then > >> unset R_PROFILE_USER > >> fi > >> > >> > >> What is the correct way to unset for build time a env variable? > > > > Why do you need the test? Just unset it directly. > ok. In case this variable does not exist, will the build stop? The manpage for unset says its exit status is TRUE unless the variable is marked READONLY. > Anyway to save the variable value, unset and restore at %post ? > > > > > poc > > -- > > users mailing list > > users@lists.fedoraproject.org > > To unsubscribe or change subscription options: > > https://admin.fedoraproject.org/mailman/listinfo/users > > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > > Have a question? Ask away: http://ask.fedoraproject.org > > > > -- > > google.com/+arnaudgabourygabx > -- > users mailing list > users@lists.fedoraproject.org > To unsubscribe or change subscription options: > https://admin.fedoraproject.org/mailman/listinfo/users > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org >>> End of included message <<< -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Finding the date on which a Fedora 23 was installed on a given machine
On Sat, Jan 16, 2016 at 09:07:52PM +, Andrew R Paterson wrote: > On Saturday 16 Jan 2016 02:19:59 Tim wrote: > > --- snip --- > > > > Obviously most of that is pre-release, but some of it is post. > How about when the root filesystem was created? > ls -alct /|tail -1|awk '{print $6, $7, $8}' > Rgds > Andy Simplified as "ls -lcd /" However, "c" is not "C"reate time, but inode "C"hange time. Add or remove and entry from / or modify permissions or owner/group and "c" time is updated. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: [Fedora] Re: how to automatically clean /tmp
On Thu, Jan 28, 2016 at 11:46:49AM +0100, Walter Cazzola wrote: > Ok I dropped the idea of using my current /tmp partition for a tmpfs and > followed your suggestion > > On Wed, 27 Jan 2016, Gordon Messmer wrote: > > >If you'd like to use tmpfs now, you can "systemctl enable tmp.mount" and > >comment out the /tmp item you currently have in fstab. When you reboot, > >you should have /tmp mounted as tmpfs. > > unfortunately this didn't work > >> systemctl enable tmp.mount >The unit files have no [Install] section. They are not meant to be enabled >using systemctl. >Possible reasons for having this kind of units are: >1) A unit may be statically enabled by being symlinked from another unit's > .wants/ or .requires/ directory. >2) A unit's purpose may be to act as a helper for some other unit which has > a requirement dependency on it. >3) A unit may be started when needed via activation (socket, path, timer, > D-Bus, udev, scripted systemctl call, ...). > > But I've solved it by manually adding >tmpfs /tmp tmpfs rw,seclabel 0 0 > to /etc/fstab and commenting the line used to mount the old /tmp > partition. > > I still have to rid off of one of these two tmpfs > > tmpfs 1633640 0 1633640 0% /run/user/989 > tmpfs 1633640 20 1633620 1% /run/user/526 > > I think I have to keep one of them since it is associated to my id (526) > but I can't imagine what the other is for and how to avoid its creation. > Googling didn't help much. > Don't remove either one. They are managed by the system. They are taking no disk space (unless memory becomes full and it will then use swap). They are not even taking significant memory. In fact 989 is using 0 memory. Why are you so intent on removing things working as they should? Probably user 989 is your login display manager. Check who 989 is in /etc/passwd (grep 989 /etc/passwd). On my system is it "lightdm". I have a /run/user/966. My 966 is "sddm", my display manager. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: ssh colors vs. bash colors
On Sun, Jan 31, 2016 at 01:59:58PM +0100, Dennis Jacobfeuerborn wrote: > On 31.01.2016 07:40, Jon LaBadie wrote: > > On Sun, Jan 31, 2016 at 02:21:04PM +1030, Tim wrote: > >> Allegedly, on or about 29 January 2016, Dennis Jacobfeuerborn sent: > >>> Now I only need to figure out what exactly "di=01;34" vs. "di=38;5;33" > >>> means... ... > > > > The "3" of 38 is setaf, the 8 is the first part of the color > > specification. This 3 number combo is used only on terminals > > capable of more than the standard 8, typically 256 colors. > > > > I think the "5" seems to be constant, perhaps meaning a color > > beyond the std 8 and the 33 completes the color specification. > > I found two good references one for the codes themselves and one for all > the color codes: > https://en.wikipedia.org/wiki/ANSI_escape_code > http://misc.flogisoft.com/bash/tip_colors_and_formatting > > 38 sets the extended foreground color which can be followed by either: > 5:n where n is the color index in a standard 256 color palette or > 2;r;g;b to set rgb colors from a 24 bit palette. > > Regards, > Dennis Thanks for correcting my guesswork. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: ssh colors vs. bash colors
On Sun, Jan 31, 2016 at 02:21:04PM +1030, Tim wrote: > Allegedly, on or about 29 January 2016, Dennis Jacobfeuerborn sent: > > Now I only need to figure out what exactly "di=01;34" vs. "di=38;5;33" > > means... > > Ah, now found a reference for the latter > > 38;5;33 > > The 38 prefix apparently means to set the foreground colour, > but a 48 prefix apparently means to set the background colour. > > No idea how they're using the 5. > > The 33 is a colour, but I don't know how that's defined. > > Apparently, it's to do with xterm, so you might look into that. > The "3" of 38 is setaf, the 8 is the first part of the color specification. This 3 number combo is used only on terminals capable of more than the standard 8, typically 256 colors. I think the "5" seems to be constant, perhaps meaning a color beyond the std 8 and the 33 completes the color specification. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: how to automatically clean /tmp
On Wed, Jan 27, 2016 at 08:29:57PM +0100, Walter Cazzola wrote: > Dear Linux Experts, > > I've recently passed from Fedora 20 to Fedora 23 on my laptop. > > I've a separate partition for /tmp that I'm used to see it wiped out at > any reboot on my previous installation but now this is never wiped out. > > This is a real partition: > > /dev/sda10 5029504 1154204 3596772 25% /tmp > > whereas previously it was a tmpfs partition. I've read on the web that > after Fedora 20 the tmpfs has been dropped in favor of real partition > but I was expecting anacron/cron entry that wipe the content of the > partition at boot but my system doesn't have any. > > It is also difficult to create my own anacron/cron entry because this > should take effect before the system starts and create its temp > files/sockets in there. > > I'm also puzzled because I also have a couple of tmpfs partitions: > > tmpfs1633640 0 1633640 0% /run/user/989 > tmpfs163364016 1633624 1% /run/user/526 > > that I don't what they are for and if I can (and how) rid of them. > > Probably I could add an entry like this > tmpfs /tmptmpfs rw,seclabel 0 0 > > in /etc/fstab but this would means a waste of the space I currently have > reserved for /tmp (4Gb not much but I would prefer to use them). > > So there is a way to wipe out the /tmp partition before it has been > mounted and the system creates its files and use the current partition > for it? Couple of points. I don't think you can reserve a partition for the use of a tmpfs. It uses your RAM memory and swap space instead. You could add /dev/sda10 as another swap partition. Then perhaps add the fstab entry. However, I think systemd has a way mount /tmp as a tmpfs without having an fstab entry. If you want to use your partition as /tmp but have it cleaned out at boot, check the manpage for tmpfiles.d Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: OT: recommended way of timing two pieces of code in C
On Fri, Feb 26, 2016 at 08:31:07AM -0600, Ranjan Maitra wrote: > Hi, > > Disclaimer: This is clearly marked OT, with the only connection to this group > being the fact that I am running F23 on a 20-core Dell T5810 @3.1 GHz each > and 64 GiB memory. My OT queries over the past 13 years (almost) here have > elicited great wealth of information so I am posing here. > > So, I am trying to compare two kinds of methods in a C program. Both are > written as efficiently as possible (assumed because no point otherwise). I > would like to know which of these is more efficient. I have been using > get_rusage but I was wondering whether there is a better way? > > Separately, is there a way to get the number of floating point instructions > in C? Both FLOPS and MIPS? > > Many thanks and best wishes, > Ranjan Its been ages so I may have faulty memory. The compiler can generate code to "profile" a piece of code. As I recall the profile included info on number of times a function is entered, total time spent in the function, and maybe min/max times in the function. You only need to add the profile option for the code you are interested in. And perhaps at the link stage also. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Looking for "photo" program
On Sat, Feb 13, 2016 at 03:08:39PM +, Timothy Murphy wrote: > There used to be a Unix program for copying text as it was typed. > As I recall, the original program was called "photo", > but then it changed its name, or another program took its place. > (I think the program in fact copied all input and output.) > I believe the UNIX program (actually BSD) you are thinking of is "script". All terminal i/o is saved to file "typescript". > Is there such a program today? It is on my F22 and CentOS7.2. > > (I actually want to save Firefox input and output.) I think it is only useful in a CLI environment, i.e. a terminal. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Photo app's -
On Mon, Apr 11, 2016 at 10:25:52PM -0700, Samuel Sieb wrote: > On 04/11/2016 08:43 AM, Bob Goodwin wrote: > >I just installed simple-mtpfs and gat the following: > > > >[root@Box10 bobg]# simple-mtpfs -l > >No raw devices found. > >[root@Box10 bobg]# simple-mtpfs -l > >No raw devices found. > > > You said it is a Nikon S3100? I just checked the manual and the camera > should support PTP and MTP. Check the output of: I too looked at a S3100 manual and found this strange footnote: Notes on Connecting the Camera to a Printer • When Auto is selected for Charge by computer, it may be impossible to print pictures with direct connection of the camera to some printers. If the PictBridge startup screen is not displayed in the monitor after the camera is connected to a printer and turned on, turn the camera off and disconnect the USB cable. Set Charge by computer to Off and reconnect the camera to the printer. Perhaps check if your "Charge by computer" setting is auto and turn to off. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Newest kernel 4.4.3-300.fc23.x86_64
On Fri, Mar 04, 2016 at 09:44:02AM +0100, Patrick Laimbock wrote: > On 04-03-16 07:56, jarmo wrote: > >Just with last update, new kernel, made my Logitech K520 do strange > >things. Every now and then writes alone number 5 to open window, like > >skype etc. Anyone else noticed? > > I have seen that too with my Logitech K520 keyboard. Not only with the > 4.4.3-300 kernel but also with the older ones. Hitting the 5 key usually > makes it stop. Disabling "Repeat Keys" in the Keyboard config (in Gnome) > seems to make it stop. Haven't had time to further investigate. If you find > out what's causing it please update this thread. It seems to be a recurring defect. Some kernel releases exhibit it others do not. Last I looked in to it (maybe 9 months ago) it wasn't solved and was being called the Marching Fives. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Newest kernel 4.4.3-300.fc23.x86_64
On Fri, Mar 04, 2016 at 09:49:48AM -0800, Rick Stevens wrote: > On 03/04/2016 09:04 AM, jarmo wrote: > >Fri, 04 Mar 2016 11:21:14 -0500 > >Jon LaBadie <jo...@jgcomp.com> kirjoitti: > > > >> > >>It seems to be a recurring defect. Some kernel releases exhibit it > >>others do not. Last I looked in to it (maybe 9 months ago) it wasn't > >>solved and was being called the Marching Fives. > >> > >>jl > > > >Then I have met Marching Nines also :D > > You chaps aren't using the keyboards with KVMs, are you? I've seen lots > of really strange behaviors with KVMs and different kernels. Nope. Two systems, Fedora 22 and CentOS 7.1. Both use the "unifying" USB dongle from Logitech that handles both mouse and keyboard. But the mice and kbds are different. One keyboard acted up on Fedora, kbd swap cured the problem. Swap back, problem back. Moving mice and usb receivers did not affect the problem. It stayed with the one kbd and Fedora. Next F22 kernel update, no problems with either kbd. Typically I don't reboot right after a kernel update. When I do reboot it is usually into a different kernel. On one reboot the problem reappeared. Another kernel update appeared just a day or two later; problem gone. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Newest kernel 4.4.3-300.fc23.x86_64
On Sat, Mar 05, 2016 at 06:06:08AM +1030, Tim wrote: > Allegedly, on or about 04 March 2016, Jon LaBadie sent: > > One keyboard acted up on Fedora, kbd swap cured the problem. Swap > > back, problem back. Moving mice and usb receivers did not affect the > > problem. > > Just for curiosity's sake: > > Have you tried different USB ports? Some may not be supplying > sufficient power (particularly those on flyleads, rather than a port > directly on a motherboard or daughtercard), and a peripheral may act up. Motherboard has headers for 8 USB ports, none go to a hub or splitters except for one header feeding a front panel memory card reader. I'm only using 2 other USB port, both of which are wired directly to a header. > > Are you using USB extension leads? The "unifying" dongle normally is on a 30 inch extension cable. But I did try it directly in a USB port without the extension and the problem persisted. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: dnf and yum caches
On Wed, Apr 13, 2016 at 09:45:23AM -0700, Rick Stevens wrote: > On 04/13/2016 07:40 AM, Paolo Galtieri wrote: > >Thank you for all the comments. > > > >What I find interesting, as I indicated in my original post, is that > >it's the files in > > > >/var/cache/yum/x86_64/22 > > > >that are being updated even though I use dnf to do the update. They show > >the current date of my last update. > > No, that's expected. The idea is you have lots of stuff in the > /var/cache//x86_64/<19|20|21> directories left over from the > PREVIOUS versions of the system is what I was trying to infer. A > > du -hs /var/cache/* > > would reveal it. My machine at home had tons of stuff from the F18, > F19, F20, F21 and F22 incarnations of the system (yes, that poor beast > has been upgraded many, MANY times). > > >I'll go ahead and rm -rf the yum and dnf directories and see what happens. > > That's the quick way to do it. I was trying to emphasize using the tool > itself to clean things up, but that's just as effective and probably > easier. How do you address the remaining F18...F2x packages. Which should be, can safely be, and shouldn't be removed? My system also was upgraded many times. There are lots of older distro packages still installed. One I got rid of was bootchart from F18. It prevented my complete upgrade to F22. Stimulated by this thread I looked at the still installed old packages. Gee, F-spot from F18. Who knew it was dead? That pkg is gone now. But what about things like 4 packages named "Fedora-UserManagement-*"? Are they still needed? Were they ever? Are they no longer updated because they have morphed into something else? And what about "hardinfo". Wonder if the F18 version still runs. Yup, looks like a useful inventory tool. Wonder why its no longer available. Not really looking for answers to these specific questions. Just wondering how other people deal with decision making, "should they stay of should they go"? jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: filesystem error
On Fri, Apr 22, 2016 at 08:39:05AM -0400, Jeffrey Ross wrote: > I have the following error reported in my logs, I've had it for quite some > time and through several reboots > > EXT4-fs (md2): error count: 1 > EXT4-fs (md2): initial error at 1452554514: ext4_lookup:1343: inode 1308162 > EXT4-fs (md2): last error at 1452554514: ext4_lookup:1343: inode 1308162 > > md2 is my root partition, I ran "find / -mount -inum 1308162" find didn't > return any value. > > How can I track down this error, identify what file it refers to and clear > the error out? if it matters, its an older Fedora system (16 to be exact) The inode may not be allocated to a file and thus available for allocation. UNIX systems had a program fsdb (file system debugger) that let you view and edit components of a file system. Is there a similar program for ext-X file systems? Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Can't rename files on KDE desktop.
On Mon, May 23, 2016 at 08:59:27AM -0700, Alan Evans wrote: > On Sun, May 22, 2016 at 5:16 PM, Ed Greshkowrote: > > > On 05/23/16 07:07, Alan Evans wrote: > > > > > Or rather, I can rename them, but then I can't access them. > > > ... > > I haven't tried a link to an application. In my case: > > Right-click on Desktop, Create New --> Folder. > Name the folder "foo". > Click on foo, opens File Manager in foo directory. Close that. > Right-click on foo, Rename. "bar" > Click on bar... Error. > (After reboot, clicking on bar works.) > > Same thing happens with Create New --> Text File. > > This condition exists in my login and my wife's login, since I'm not sure > when. It sounds like the file manager doesn't refresh its list of files in the current directory after your rename. What if you force a refresh. Say leave the FM and reenter. Or switch to several directories and return to the one containing "bar". Or create another file/directory. Gee, I wonder if you could get two "bar" files by creating another one while the FM doesn't acknowledge the first one. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: sed regex oddness
On Wed, May 04, 2016 at 03:44:26PM +1000, Philip Rhoades wrote: > People, > > This behaves as expected: > > echo 'This is a test 12335 and 669384 535xy4' | sed 's/[0-9]*//g' > > but I would expect this: > > echo 'This is a test 12335 and 669384 535xy4' | sed 's/[0-9]*//' > > to delete the first string of digits but it doesn't do anything . . > clarification from a sed guru? > The '*' means "zero or more digits". Don't forget that zero. The first match is where there are zero digits, i.e. at the beginning of the line. So sed replaces it with "//" (nothing). Try sed 's/[0-9]*/X/' to confirm. You really want sed 's/[0-9][0-9]*//' which reads a digit followed by zero or more additional digits. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: sed regex oddness
On Thu, May 05, 2016 at 08:56:51AM -0700, Samuel Sieb wrote: > On 05/05/2016 03:35 AM, Ian Malone wrote: > > On 5 May 2016 at 10:27, Patrick O'Callaghanwrote: > > > On Wed, 2016-05-04 at 16:24 -0700, Samuel Sieb wrote: > > > > Oh, right. I never use a regexp that can match nothing, so I missed > > > > that. :-) > > > > > > You never use '*'? > > > > > I guess he meant "match *only* nothing", most of the time using * > > you'll still use it in combination with a non-empty pattern. Easy to > > miss that only [something]* can match nothing and therefore first > > matches at the start of the line. > > > Yes, that's what I meant. I can't imagine where that would even be useful. Maybe not useful, but fun: $ echo 123456789 | sed 's/Z*/|/g' |1|2|3|4|5|6|7|8|9| -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: sed regex oddness
On Wed, May 04, 2016 at 10:42:20AM -0700, Samuel Sieb wrote: > On 05/04/2016 10:09 AM, Jon LaBadie wrote: > > The '*' means "zero or more digits". Don't forget that zero. > > The first match is where there are zero digits, i.e. at the > > beginning of the line. So sed replaces it with "//" (nothing). > > > However, usually regexps are greedy so they match as much as possible, not > the minimum. And somehow it does work when you use /g so it is matching > more. > > > Try sed 's/[0-9]*/X/' to confirm. > > > > You really want sed 's/[0-9][0-9]*//' which reads a digit > > followed by zero or more additional digits. > > > Or use + as has been mentioned elsewhere in this thread. Traditionally sed has used basic RE syntax not the extended syntax that includes "+". If the OP uses a sed such as exists on my systems, you can get extended RE syntax with the "-r" option. sed -r 's/[0-9]+//' Samuel, does your sed support extended REs by default? If so, what system has that version? jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: dnf - deprecated update cmd
On Mon, Apr 18, 2016 at 12:38:55PM -0700, Joe Zeff wrote: > On 04/18/2016 09:29 AM, Chris Murphy wrote: > >Yes, dnf would have been a good time for this. I can only guess early > >on something important switching over to dnf blew up spectacularly > >without it, and it was easier to put in a backward compatible > >deprecated subcommand than fight reality. > > Actually, the easiest thing would have been to make update and upgrade > execute the same code, so that people could use whichever they preferred > without having to maintain two chunks of code that do essentially the same > thing. Isn't that what this manpage item says? Update Command dnf [options] update Deprecated alias for the Upgrade Command. -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: gmail thought it was spam
On Sun, Apr 17, 2016 at 04:03:24PM +0930, Tim wrote: > On Sat, 2016-04-16 at 12:27 -0500, g wrote: ... > > Some service providers are just crap, and knowing that I've not used an > ISP mail account since I ditched my second one. That way, I'm not held > hostage to them. It's really worth getting your own domain name, then > you can do your mail through whichever host you feel like using, and > dump them if they go bad, yet still keep the same address. > With your own domain name you could also set up your own mail server at least for the inbound email. Doing that gives you an unlimited number of "email accounts". I'm currently approaching 400 aliases to "jon". If I start a new relationship with a vendor or a mail list I create an additional alias. My filtering pulls out various things, like this list, and at the end splits into "jon" and "NotToJon". If any of the aliases begins to get spammed, I set the server to reject that address and, assuming I want to continue the relationship, have to establish a new address only with the one vendor. > On that note, having more than one email address means that you get > extra doses of spam. Though it is handy to have more than one, so you > can still email if a service goes down, or you have to use mail away > from your own computers. Having multiple email accounts (seldom given out, and real accounts, not the aliases I mention above) has saved my butt a couple of times. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
dnf - deprecated update cmd
On F22, the manpage for dnf says the update and update-to commands are deprecated aliases for upgrade and upgrade-to. That being the case, shouldn't the update-info and check-update commands also be deprecated and have corresponding upgrade versions? jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: using awk for selective printing, and adding a new line
On Mon, May 09, 2016 at 11:50:38AM -0800, Antonio Olivares wrote: > > >> From: ad+li...@uni-x.org > >> Sent: Mon, 9 May 2016 20:47:49 +0200 > >> To: users@lists.fedoraproject.org > >> Subject: Re: using awk for selective printing, and adding a new line > >> > >> Am 09.05.2016 um 18:24 schrieb Antonio Olivares: > >>> Dear folks, > >>> > >>> I have found numerous guides using awk to format stats. I can get > >>> stats > >>> from a website, but when I paste them they get pasted one per line, > >>> > >>> awk ' > >>> > >>> NR == 1 { > >>> printf "%2s %-14s %3s %3s %3s %3s %3s %3s %3s %3s \n", > >>> "Pos", "Equipo", "JJ", "JG", "JE", "JP", "GF", "GC" , > >>> "DIF", "PTS" > >>> } > >>> > >>> NR >= 2 { > >>> printf "%2d %-14s %3d %3d %3d %3d %3d %3d %3d %3d \n", > >>> $1, $2, $3, $4, $5, $6, $7, $8, $9, $10 '\n' > >>> }' $1 > >>> > >>> but it just prints the first line and that is it because it treats the > >>> data as a single line. If that is possible otherwise I will have to do > >>> it manually. > >>> > >>> Best regards, > >>> > >>> > >>> Antonio > >> > >> > >> If you manage that the club names are always single fields of a > >> reasonable length, then > >> > >> awk '{ for (i = 1; i <= NF; i++) if (i % 10) printf "%s\t", $i; else > >> printf "%s\n", $i }' $yourinputfile > >> > >> does what you want. > >> > > > > It is getting close but some formatting is messing it up > > I tried > > > > $ awk 'ORS=NR%10?" ":"\n"' $filename > > > > it looked like it was going to work, but then in the first line, the PTS > > and the 1 got tangled up. Thank you for your insight it is close. I > > might need to use tr -d '\n' filename and pipe this and it could work. > > > > Best Regards, > > > > > > Antonio > > > > awk '{ for (i = 1; i <= NF; i++) if (i % 10) printf "%s\t", $i; else printf > "%s\n", $i }' > > worked :) > > Dear folks, > > I saw a mistake. The command worked, I saw that the names were split into > two and that messed things up. By fixing the names into one, the command > works. Thank you very much for your help. > > Best Regards, > If you leave the data as one field per line you can avoid squishing the team names and not depend on tabs for alignment. awk ' BEGIN { f[1] = 4; f[2] = -14 f[3] = f[4] = f[5] = f[6] = f[7] = f[8] = f[9] = f[10] = 3 } { printf ("%*s%c", f[NR%10], $0, NR%10 ? " " : "\n") } ' -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: http://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: fedora 23 bluetooth connection
On Mon, Jul 25, 2016 at 11:57:24PM +0100, Patrick O'Callaghan wrote: > On Tue, 2016-07-26 at 05:55 +0800, Ed Greshko wrote: > > > > On 07/26/16 02:49, Roger Wells wrote: > > > > > > Something changed (although not fatally): > > > I use Bluetooth speakers quite often. > > > Back in F22 or so after pairing the device merely turning it on caused > > > Fedora to connect to it. > > > Several months ago, now on F23, (not sure when this problem appeared) > > > that changed and after turning the speaker on, I have to go into > > > Bluetooth Settings where the device appears as "Disconnected", select it > > > and activate the "Connection" switch several times and it will > > > eventually connect and be available for selection in the "Sound > > > Settings" after which it works fine. > > > Is there a path back? > > > > > > The setup is up to date Fedora 23 using Gnome 3.18.1-1.fc23.x86_64 > > > TIA, > > > > I use F24, a Bluetooth headset, and KDE. The GUI may be different but I > > think gnome > > should have similar settings. > > > > On my settings for the headset I have "trusted" checked. Then there is > > another "tab" > > called "Advanced Settings". There is a drop down box for "Accept > > Automatically" and I > > have "Trusted Devices" selected. > > > > When I power on my headset it is connected automatically. > > Interesting. A recent thread (around July 8) concerned similar problems > with BT mice. I wonder if this is the solution. I confess I'd never > looked at the Advanced Settings when trying to solve this. > I was the OP on that thread. I saw the trusted setting and am fairly sure I tried it with no improvement. I stopped using the bt mouse. Even turned off bt in the bios. Will revisit the issue with the trusted setting and report back jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: USB drive name change -
On Mon, Jul 25, 2016 at 07:46:04AM -0400, Bob Goodwin wrote: > On 07/24/16 18:42, Ed Greshko wrote: > > > >It does what I asked! > > You seem to have /dev/sdd1 already mounted on /mnt/temp. > > > > And you've manually mounted /dev/sde1 on /mnt/temp as well as it being > > automounted on > > /run/media/bobg. > > > > Not sure that is what you wanted to accomplish. > + > > After boot this morning I switched on the power on the external, usb drive > adapter and an icon appeared on the desktop screen. I clicked on "Mount" and > got: > > /dev/sdd1 on /run/media/bobg/a3cd7e7f-254d-410a-b120-e02524f75a29 type ext4 > (rw,nosuid,nodev,relatime,seclabel,data=ordered,uhelper=udisks2) > > > So the command 'e2label /dev/sdd1 st1000' makes it possible to add another > device, it doesn't change the name. What did I miss in setting up the > external drive initially? IIRC, yesterday you were labelling /dev/sde1, not sdd1. Did it get enumerated differently today? If the system consistently mounts the drive to a specific location (ex /run/media/bobg/ you could make a symbolic link to the mount point in your homedir, say /home/bobg/extdisc. If the drive is mounted you have an easy to use path to it. Otherwise it will just be a broken link, no problem. jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: WiFi conflicting with Bluetooth
On Tue, Jul 26, 2016 at 01:09:55PM -0600, Chris Murphy wrote: > On Tue, Jul 26, 2016 at 12:23 PM, George N. White III> wrote: > > > Where I work, there is no wifi but iMacs are purchased with > > bluetooth mouse and keyboard. With a bunch of systems in a cubicle farm, > > bluetooth is not reliable, so users switch to USB mouse and keyboard. > > Wired keyboard is fine, it's rather stationary. But having reliably > used an Apple Magicmouse on macOS for years, there is no way I'd ever > go back to a wired mouse. I'd go so far as to use Windows if the only > other alternative was to go to a wired mouse. Look into keyboard and mouse wireless dongles that are not bt. My desktop tower is pretty far behind me. I use a Logitech kbd They use a single, tiny usb dongle for both. It was too great a distance, so I added a usb extender cable to get the dongle closer. Works great. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Fedora 24 and PNY SSD Problems
On Sat, Jul 23, 2016 at 08:04:42AM -0500, Gregory P. Ennis wrote: > > On Sun, Jul 17, 2016 at 08:45:13AM -0500, Gregory P. Ennis wrote: > > > > Everyone, > > > > I am trying to reclaim some use out of a couple old Compaq Presaio > > SR1720NX machines for the office by adding some memory and a PNY 240 > > GB > > CS1311 SSD drives. The bios was made by Phoenix; I did not identify > > a > > version number of the bios. I did not plan on keep the hard drive > > installed and planned on just using the SSD. These machines were IDE > > machines and only had two SATA ports on the motherboard. > > > > When I install the SSD the bios recognizes the Pny SSD properly, and > > I > > was able to set up the boot order without difficulty. > > > When I had to replace the MB of a similar, older system, I used a non- > HP MB. > Later when I wanted to beef it up, the new MB only had 2 SATA ports and > I wanted to install more drives. So I purchased a really cheap SATA > controller card. > > I got a store-brand SSD and to my surprise the MB controller did not > see it but the cheap controller did. Blaming the store-brand SSD, > I returned it and got a Crucial SSD. Same problem though. So it > was the controller, not the SSD. MB controller worked fine with > other SATA drives, but not with the SSD. > > Jon > -- > > Jon, > > I went to Fry's yesterday to pick up SATA controller card and the Fry's > expert told me that their SATA controllers did not work with Linux. > Can you look up the name of the SATA card that you used and publish > it. > > Thanks, > > Greg Silicon Image SiL 3124 PCI-X SATA RAID Controller When I ran the simple "hdparm -t" tests on the same convevtional disks the add-in controller had about 75% the performance of the MB controller. jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: fedora 23 bluetooth connection
On Tue, Jul 26, 2016 at 01:33:00AM -0400, Jon LaBadie wrote: > On Mon, Jul 25, 2016 at 11:57:24PM +0100, Patrick O'Callaghan wrote: > > On Tue, 2016-07-26 at 05:55 +0800, Ed Greshko wrote: > > > > > > On 07/26/16 02:49, Roger Wells wrote: > > > > > > > > Something changed (although not fatally): > > > > I use Bluetooth speakers quite often. > > > > Back in F22 or so after pairing the device merely turning it on caused > > > > Fedora to connect to it. > > > > Several months ago, now on F23, (not sure when this problem appeared) > > > > that changed and after turning the speaker on, I have to go into > > > > Bluetooth Settings where the device appears as "Disconnected", select it > > > > and activate the "Connection" switch several times and it will > > > > eventually connect and be available for selection in the "Sound > > > > Settings" after which it works fine. > > > > Is there a path back? > > > > > > > > The setup is up to date Fedora 23 using Gnome 3.18.1-1.fc23.x86_64 > > > > TIA, > > > > > > I use F24, a Bluetooth headset, and KDE. The GUI may be different but I > > > think gnome > > > should have similar settings. > > > > > > On my settings for the headset I have "trusted" checked. Then there is > > > another "tab" > > > called "Advanced Settings". There is a drop down box for "Accept > > > Automatically" and I > > > have "Trusted Devices" selected. > > > > > > When I power on my headset it is connected automatically. > > > > Interesting. A recent thread (around July 8) concerned similar problems > > with BT mice. I wonder if this is the solution. I confess I'd never > > looked at the Advanced Settings when trying to solve this. > > > I was the OP on that thread. I saw the trusted setting and am fairly > sure I tried it with no improvement. > > I stopped using the bt mouse. Even turned off bt in the bios. > Will revisit the issue with the trusted setting and report back > It seems "trust" is the key. I had difficulty turning it on for my mouse device. In blueman-manager, there are menu items and a separate icon button to turn on trust. These did not complain but didn't set the mouse as a trusted device either. I went into bluetoothctl, found the device id, and used the trust command. It reported setting "trust succeeded". Sure enough, when I went back into the gui blueman-manager, it was showing the trust icon for my mouse. Now rebooting with the mouse on, or starting the mouse after booting, it comes right up. Seems like blueman-manager needs a fix to get trust working. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: fedora 23 bluetooth connection
On Tue, Jul 26, 2016 at 01:33:00AM -0400, Jon LaBadie wrote: > On Mon, Jul 25, 2016 at 11:57:24PM +0100, Patrick O'Callaghan wrote: > > On Tue, 2016-07-26 at 05:55 +0800, Ed Greshko wrote: > > > > > > On 07/26/16 02:49, Roger Wells wrote: > > > > > > > > Something changed (although not fatally): > > > > I use Bluetooth speakers quite often. > > > > Back in F22 or so after pairing the device merely turning it on caused > > > > Fedora to connect to it. > > > > Several months ago, now on F23, (not sure when this problem appeared) > > > > that changed and after turning the speaker on, I have to go into > > > > Bluetooth Settings where the device appears as "Disconnected", select it > > > > and activate the "Connection" switch several times and it will > > > > eventually connect and be available for selection in the "Sound > > > > Settings" after which it works fine. > > > > Is there a path back? > > > > > > > > The setup is up to date Fedora 23 using Gnome 3.18.1-1.fc23.x86_64 > > > > TIA, > > > > > > I use F24, a Bluetooth headset, and KDE. The GUI may be different but I > > > think gnome > > > should have similar settings. > > > > > > On my settings for the headset I have "trusted" checked. Then there is > > > another "tab" > > > called "Advanced Settings". There is a drop down box for "Accept > > > Automatically" and I > > > have "Trusted Devices" selected. > > > > > > When I power on my headset it is connected automatically. > > > > Interesting. A recent thread (around July 8) concerned similar problems > > with BT mice. I wonder if this is the solution. I confess I'd never > > looked at the Advanced Settings when trying to solve this. > > > I was the OP on that thread. I saw the trusted setting and am fairly > sure I tried it with no improvement. > > I stopped using the bt mouse. Even turned off bt in the bios. > Will revisit the issue with the trusted setting and report back See my posting today "RE bluetooth mouse [SOLVED]" for a fuller description. In short, I had tried to set the mouse to a trusted device using blueman commands such as blueman-manager. I tried again but it did not allow automatic connection of the mouse. Now I tried the "trust" sub-command of bluetoothctl. It did succeed in setting the mouse as a trusted device. And the mouse automatically connects after boot. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bluetooth mouse [SOLVED]
On Fri, Jul 08, 2016 at 12:43:07AM -0400, Jon LaBadie wrote: > I have an old Dell Vostro 1500 laptop. It was running > Fedora 17 with no problems with the bluetooth mouse I use. > > After a fresh install of Fedora 24 Workstation I can't > get the mouse to reconnect after a boot. Systemctl > reports bluetoothd 'Failed to obtain handles for > "Serviced Changed" characteristic'. Both blueman-manager > and blueman-applet report the adapter is off and are > unable to turn it on. > > I can go into bluetoothctl, power on the adapter and > connect to the mouse. Things are fine until a reboot. > > lshw reports the bluetooth adapter is a Broadcom BCM2045. > > Any thoughts on how to get the adapter powered on at boot > and the mouse auto-reconnected as it nicely did 7 Fedora > releases ago. > > Thanks, Jon In another thread ("fedora 23 bluetooth connection") the "Trusted" setting for a BT device was mentioned. Previously I had tried to set my mouse as a trusted device using the GUI configuration tool "blueman-manager". When I clicked on the "trust" icon or on the "trust" menu icon, nothing seemed to happen but no error messages came up either. I revisited the problem and repeated the above observation. Then I tried the "bluetoothctl" command, finding "trust" and "untrust" commands were available. I ran the "trust [dev]" command, it reported "trust successfully applied to [dev]". And over in the blueman-manager, a trust icon appeared on the mouse entry. Even better news, when I reboot, if the mouse is on it is connected and active. If the mouse is not on, turning it on automaticall connects it and it is active. Sounds like there is a problem with blueman-manager! Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bluetooth mouse [SOLVED]
On Fri, Jul 29, 2016 at 03:18:52PM +0100, Patrick O'Callaghan wrote: > On Wed, 2016-07-27 at 18:47 -0400, Jon LaBadie wrote: > > Sounds like there is a problem with blueman-manager! > > I assume you've reported this to Bugzilla. If so, best quote the BZ > report number here so others can chip in. > > poc Bug 1361761 -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: F22 -> F23 -> F24 ?
On Fri, Aug 12, 2016 at 02:59:49PM -0400, Jon LaBadie wrote: > Planning on taking my F22 desktop to F24 soon. > > Just want to confirm that trying to skip a > release ist verboten. :( > Love it!! First three responses are: 1. Yes, designed to work that way 2. Not recommended 3. Better do a fresh install :) -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
F22 -> F23 -> F24 ?
Planning on taking my F22 desktop to F24 soon. Just want to confirm that trying to skip a release ist verboten. :( Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
radiotray and gstreamer plugins
The current thread on "listening to online broadcasts" stimulated me to ask about problems with the one I like, "radiotray". A number of stations I try to listen to, including some preconfigured ones, fail with a list of procedures from gstreamer that suggest a plugin is missing. But it does not say which. As far as I can tell I have just about every gstreamer plugin installed and see no way to determine what may be missing. Scouring the net comes up with lots of reports of similar error listings, but no "solution" has worked in my environment. Here is a sample listing: gstdecodebin2.c (3576) gst_decode_bin_expose(): GstPlayBin2:player GstURIDecodeBin:uridecodebin9 GstDecodeBin2:decodebin29: I have the same problem on Fedora 22 and 24. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: radiotray and gstreamer plugins
On Wed, Jul 13, 2016 at 02:51:41PM -0700, Rick Stevens wrote: > On 07/13/2016 02:24 PM, Jon LaBadie wrote: > > The current thread on "listening to online broadcasts" > > stimulated me to ask about problems with the one I > > like, "radiotray". > > > > A number of stations I try to listen to, including some > > preconfigured ones, fail with a list of procedures from > > gstreamer that suggest a plugin is missing. But it > > does not say which. As far as I can tell I have just > > about every gstreamer plugin installed and see no way > > to determine what may be missing. > > > > Scouring the net comes up with lots of reports of > > similar error listings, but no "solution" has worked > > in my environment. > > > > Here is a sample listing: > > > > gstdecodebin2.c (3576) > > gst_decode_bin_expose(): > > GstPlayBin2:player > > GstURIDecodeBin:uridecodebin9 > > GstDecodeBin2:decodebin29: > > > > I have the same problem on Fedora 22 and 24. > > Do you have gstreamer-plugins-ugly installed? Looking at the various > source modules, Gst* comes from that package. Looks like yes: $ dnf list installed '*ugly*' Installed Packages gstreamer-plugins-ugly.x86_64 0.10.19-18.fc22@System gstreamer1-plugins-ugly.x86_64 1.4.5-1.fc22 @System -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: OT: grep and regex patterns
On Thu, Jul 14, 2016 at 02:09:27AM +, Christopher wrote: > On Wed, Jul 13, 2016, 21:11 Chris Adamswrote: > > > Once upon a time, Mike Wright said: > > > > Putting all that together, I'd recommend: > > > > PATTERN='https?://[^/]*\.in/' > > grep "$PATTERN" file.of.links > links.in Minor nit, egrep is needed for the '?' or grep -E. > > > > or just: > > > > grep 'https?://[^/]*\.in/' file.of.links > links.in > > > > Only potential oddity would be if you have URLs with non-standard ports > > specified (like "https://foo.in:8080/;); to match that, you could use > > egrep instead (extended regex): > > > > egrep 'https://[^/]*\.in(:[0-9]+)?/' file.of.links > links.in > > > One extra change I'd make, to make it more obvious you are checking for a > literal dot and not intending to escape, use [.] instead of \. > > So, > > egrep 'https://[^/]*[.]in(:[0-9]+)?/' file.of.links > links.in > -- > users mailing list > users@lists.fedoraproject.org > To unsubscribe or change subscription options: > https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org >>> End of included message <<< -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: conversion of notes.ics in a text format
On Thu, Jul 21, 2016 at 01:20:37PM +0100, Patrick O'Callaghan wrote: > On Thu, 2016-07-21 at 13:44 +0200, Maurizio Marini wrote: > > Hello > > after last upgrade of Fedora23 => Fedora24 > > I lost my knote note, I had only one note but full of precious notes > > I have an old version: > > /home/maumar/.kde/share/apps/knotes/notes.ics > > but it is full of \n > > is there a perl line for converting \n into cr? > > perl, python, sed ...whatsover... > > > > This way I can get my note back; old, but better than nothing :) > > Thanks in advance > > > > tr '\n' '\r' < input > output > That could result in double spaced "output" If so, try: tr -d '\n' < input > output2 jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: sed question
On Thu, Jul 21, 2016 at 08:00:44AM -0400, bruce wrote: > Hey guys.. > > Sed question.. should be simple, but after stack/net searches, lots or > trials.. can't seem to get it.. > > I've got a case > > foo('txt') > foo("txt") > > I'd like to have > > foo('/dir1/txt') > foo("/dir1/txt") > > Now. I do a simple sed search/replace if it just focuses on the txt, but > crafting a sed that uses the entire input as a search due to the parens > '()' is a bit painful! Doing the sed using the \( for the ( wasn't quite > successful! > > for just the txt.. > > sed -i 's/'txt'/'dir1/txt'/' *files.dat > sed -i 's/"txt"/"dir1/txt"/' *files.dat > > these work... > > any thoughts on how to handle the parens would be cool! > > just irks me that I couldn't see what I missed. > Two more possibilities (the short output lines were unchanged): # search for entire string, replace only txt $ sed '/foo(.txt.)/s,txt,/dir/txt,' tst.txt foo('/dir/txt') bar('txt') foo('bar') foo("/dir/txt") bar("txt") foo("bar") # capture unchanging parts as \1 and \2 using grouping \( & \) $ sed 's,\(foo(.\)txt\(.)\),\1/dir/txt\2,' tst.txt foo('/dir/txt') bar('txt') foo('bar') foo("/dir/txt") bar("txt") foo("bar") -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Fedora 24 and PNY SSD Problems
On Sun, Jul 17, 2016 at 08:45:13AM -0500, Gregory P. Ennis wrote: > Everyone, > > I am trying to reclaim some use out of a couple old Compaq Presaio > SR1720NX machines for the office by adding some memory and a PNY 240 GB > CS1311 SSD drives. The bios was made by Phoenix; I did not identify a > version number of the bios. I did not plan on keep the hard drive > installed and planned on just using the SSD. These machines were IDE > machines and only had two SATA ports on the motherboard. > > When I install the SSD the bios recognizes the Pny SSD properly, and I > was able to set up the boot order without difficulty. > When I had to replace the MB of a similar, older system, I used a non-HP MB. Later when I wanted to beef it up, the new MB only had 2 SATA ports and I wanted to install more drives. So I purchased a really cheap SATA controller card. I got a store-brand SSD and to my surprise the MB controller did not see it but the cheap controller did. Blaming the store-brand SSD, I returned it and got a Crucial SSD. Same problem though. So it was the controller, not the SSD. MB controller worked fine with other SATA drives, but not with the SSD. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: OT: grep and regex patterns
On Thu, Jul 14, 2016 at 04:02:02PM +1000, c...@zip.com.au wrote: > On 13Jul2016 22:03, Mike Wrightwrote: > > OK, thanks everybody. > > > > Had to use egrep. This works: > > > > PATTERN='https?://[^/]*\.in(/.*)*' > > egrep $PATTERN file.of.links > links.in > > You need quotes around $PATTERN when you use it, thus: > > egrep "$PATTERN" file.of.links > links.in > ... > > Covers cases with https and where nothing follows the .in > > Your: > > (/.*)* > > is better written: > > (/.*)? > I'll mention one of my pet peeves (kinda like RLS's UUOC* award). In a simple pattern matching grep RE, a repetition operator, '*' (and in egrep '?'), is useless at the start or end of the pattern and may reduce grep's efficiency. grep .*abc grep abc.* grep .*abc.* grep abc Will all match the same set of lines. Note, I'm not referring to some situations where anchors are used (ex. 'abc[0-9]*$'), or sed substitutions, or even grep with the '-o' option to output the matched portion. Jon * Randal L Schwarz' Useless Use Of Cat -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Tumblerd? - Re: Really excessive screen behavior
On Tue, Jul 05, 2016 at 01:51:48PM -0700, Rick Stevens wrote: > On 07/05/2016 01:36 PM, Joe Zeff wrote: > > On 07/05/2016 11:35 AM, Rick Stevens wrote: > >> Yeah, I use that one a lot, too. "pidof -x" is useful as well and you > >> don't need the greps. > > > > One of the wonderful things about *nix is the fact that there are so > > many different ways to get exactly the same results, depending on > > personal preference. > > Since "pidof" doesn't do the grep, so you need to specify the entire > process name (e.g. "pidof chron" gets nothing, "pidof chronyd" gets the > PID of the chronyd process). > > In that sense, your "ps aux | grep | grep -v grep" is a more flexible > in that you only need to know part of the process name. I use it a lot > myself--but not to the point of turning it into a script/utility. :) There is also "pgrep" $ pgrep chronyd 1542 $ pgrep chron 1542 $ pgrep fire 1535 8708 21777 $ pgrep -l fire 1535 firewalld 8708 firewall-applet 21777 firefox $ pgrep -a fire 1535 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid 8708 /usr/bin/python -Es /usr/bin/firewall-applet 21777 /usr/lib64/firefox/firefox Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bluetooth mouse
On Fri, Jul 08, 2016 at 09:43:35AM +0100, Patrick O'Callaghan wrote: > On Fri, 2016-07-08 at 00:43 -0400, Jon LaBadie wrote: > > I have an old Dell Vostro 1500 laptop. It was running > > Fedora 17 with no problems with the bluetooth mouse I use. > > > > After a fresh install of Fedora 24 Workstation I can't > > get the mouse to reconnect after a boot. Systemctl > > reports bluetoothd 'Failed to obtain handles for > > "Serviced Changed" characteristic'. Both blueman-manager > > and blueman-applet report the adapter is off and are > > unable to turn it on. > > > > I can go into bluetoothctl, power on the adapter and > > connect to the mouse. Things are fine until a reboot. > > > > lshw reports the bluetooth adapter is a Broadcom BCM2045. > > > > Any thoughts on how to get the adapter powered on at boot > > and the mouse auto-reconnected as it nicely did 7 Fedora > > releases ago. > > > > Thanks, Jon > > I have a Broadcom BT dongle with roughly the same issues. Years ago I > created a /etc/rc.d/rc.local file containing: > > hciconfig hci0 up > > For recent Fedoras note that you now have to explicitly enable rc.local > for it to run: > > systemctl enable rc-local > > I also find the dongle sometimes doesn't power on after returning from > hibernation. Haven't found a fix for that other than keeping an extra > mouse so I can enable it manually. > Thanks for the suggestion Patrick, I'll try it this evening. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bluetooth mouse
On Fri, Jul 08, 2016 at 09:53:43AM -0300, George N. White III wrote: > On Fri, Jul 8, 2016 at 5:43 AM, Patrick O'Callaghan <pocallag...@gmail.com> > wrote: > > On Fri, 2016-07-08 at 00:43 -0400, Jon LaBadie wrote: > > > I have an old Dell Vostro 1500 laptop. It was running > > > Fedora 17 with no problems with the bluetooth mouse I use. > > > > > > After a fresh install of Fedora 24 Workstation I can't > > > get the mouse to reconnect after a boot. Systemctl > > > reports bluetoothd 'Failed to obtain handles for > > > "Serviced Changed" characteristic'. Both blueman-manager > > > and blueman-applet report the adapter is off and are > > > unable to turn it on. > > > > > > I can go into bluetoothctl, power on the adapter and > > > connect to the mouse. Things are fine until a reboot. > > > > > > lshw reports the bluetooth adapter is a Broadcom BCM2045. > > > > > > Any thoughts on how to get the adapter powered on at boot > > > and the mouse auto-reconnected as it nicely did 7 Fedora > > > releases ago. > > > > > > Thanks, Jon > > > > I have a Broadcom BT dongle with roughly the same issues. Years ago I > > created a /etc/rc.d/rc.local file containing: > > > > hciconfig hci0 up > > > > For recent Fedoras note that you now have to explicitly enable rc.local > > for it to run: > > > > systemctl enable rc-local > > > > I also find the dongle sometimes doesn't power on after returning from > > hibernation. Haven't found a fix for that other than keeping an extra > > mouse so I can enable it manually. > > > > > If is any consolation, my new iMac also requires that I keep a USB mouse > handy for the same reason. Curiously, the wireless keyboard is generally > (but not always) recognized, but sometimes I have to borrow a USB keyboard > to log in. Yeah, my other laptop was so bad I got a Logitech mouse with their miniscule "unifying receiver" dongle. But the Vostro has been fine over about an 7-10 yr period. The problem only arose after installing F24 over F17. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Tumblerd? - Re: Really excessive screen behavior
On Tue, Jul 05, 2016 at 02:34:20PM -0700, Rick Stevens wrote: > On 07/05/2016 02:18 PM, Jon LaBadie wrote: > > > > There is also "pgrep" > > > > $ pgrep chronyd > > 1542 > > > > $ pgrep chron > > 1542 > > > > $ pgrep fire > > 1535 > > 8708 > > 21777 > > > > $ pgrep -l fire > > 1535 firewalld > > 8708 firewall-applet > > 21777 firefox > > > > $ pgrep -a fire > > 1535 /usr/bin/python -Es /usr/sbin/firewalld --nofork --nopid > > 8708 /usr/bin/python -Es /usr/bin/firewall-applet > > 21777 /usr/lib64/firefox/firefox > > Ok, now that's one I hadn't heard of. That's nice! > > Thanks for the tip! Its compabion, pkill, is nice too. Does the pgrep for you. $ pkill firefox jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bluetooth mouse
On Fri, Jul 08, 2016 at 10:50:15PM +0100, Patrick O'Callaghan wrote: > On Fri, 2016-07-08 at 16:31 -0400, Jon LaBadie wrote: > > BTW the Broadcom BT adapter in my laptop seems to present as > > a USB device: > > > > $ lsusb > > ... > > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation > > Bus 003 Device 009: ID 0a5c:4503 Broadcom Corp. Mouse (Boot Interface > > Subclass) > > Bus 003 Device 008: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot > > Interface Subclass) > > Bus 003 Device 007: ID 413c:8126 Dell Computer Corp. Wireless 355 > > Bluetooth > > Bus 003 Device 006: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub > > (part of BCM2046 Bluetooth) > > Bus 003 Device 001: ID 1d6b:0001 Linux Foundation > > Yes, the Broadcom is a USB device because it's plugged into a USB port, > but still needs BT drivers for whatever is connected to it (e.g. mouse, > BT speaker, my phone etc.). The MS dongle also shows as a BT device: > Sorry, what I meant to point out (poorly), was my BT is an internal adapter, not a dongle. Of course it could be connected to an internal USB port. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: SOLVED (?): Re: mounting davfs2 on Fedora 24 (can't mount with rw access for user)
On Sat, Jul 09, 2016 at 09:25:49AM -0500, Ranjan Maitra wrote: > I seem to have perhaps unwittingly sort of solved this problem: > > I have done the following: > > 1. sudo mkdir -m 755 /mnt/box > > 2. then set: > > use_locks 0 > > in: > > /etc/davfs2/davfs2.conf > > > 3. sudo mount -t davfs https://dav.box.com/dav /mnt/box -o > rw,user,noauto,uid=USER,file_mode=600,dir_mode=700 > > Please enter the username to authenticate with server > https://dav.box.com/dav or hit enter for none. > Username: USERNAME > Please enter the password to authenticate user USERNAME with server > https://dav.box.com/dav or hit enter for none. > Password: > /sbin/mount.davfs: Warning: can't write entry into mtab, but will mount the > file system anyway > > I still get the warning, but now I am able to read and write to it. (The only > change I did from what I was doing previously is that I explicitly set my > mode to be -m 755 while mkdir-ing /mnt/box.) > > I certainly would like the warning to go away, so any suggestions to that > effect would be appreciated! > Is /etc/mtab a file or a symlink to /proc/mounts? The mount manpage says it should be the link due to userspace problems. Alrernatively, add 2> /dev/null or use --no-mtab. jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: bluetooth mouse
On Fri, Jul 08, 2016 at 05:02:57PM +0100, Patrick O'Callaghan wrote: > On Fri, 2016-07-08 at 09:53 -0300, George N. White III wrote: > > > I also find the dongle sometimes doesn't power on after returning > > from > > > hibernation. Haven't found a fix for that other than keeping an > > extra > > > mouse so I can enable it manually. > > > > > > > > If is any consolation, my new iMac also requires that I keep a USB > > mouse > > handy for the same reason. Curiously, the wireless keyboard is > > generally > > (but not always) recognized, but sometimes I have to borrow a USB > > keyboard > > to log in. > > The spare mouse I keep is in fact part of a cheap Microsoft wireless > kb/mouse combo that also works via a dongle, and which has literally > never failed to start. I think the difference is that the dongle > emulates a USB mouse and kb directly, but there's essentially no > documentation for it so that's a guess. > > (Before you ask: I prefer the feel of my BT mouse, especially for > scrolling, which is why I don't use the MS one except when forced to). Agreed, their scrollwheel sucks. Plus they never seem to have left and right tilt. I use that to flip between workspaces. BTW the Broadcom BT adapter in my laptop seems to present as a USB device: $ lsusb ... Bus 004 Device 001: ID 1d6b:0001 Linux Foundation Bus 003 Device 009: ID 0a5c:4503 Broadcom Corp. Mouse (Boot Interface Subclass) Bus 003 Device 008: ID 0a5c:4502 Broadcom Corp. Keyboard (Boot Interface Subclass) Bus 003 Device 007: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth Bus 003 Device 006: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) Bus 003 Device 001: ID 1d6b:0001 Linux Foundation Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: SOLVED (?): Re: mounting davfs2 on Fedora 24 (can't mount with rw access for user)
On Sat, Jul 09, 2016 at 02:21:05PM -0500, Ranjan Maitra wrote: > Hi Jon, > > On Sat, 9 Jul 2016 13:26:48 -0400 Jon LaBadie <jo...@jgcomp.com> wrote: > > > On Sat, Jul 09, 2016 at 09:25:49AM -0500, Ranjan Maitra wrote: > > > I seem to have perhaps unwittingly sort of solved this problem: > > > ... > > > > > > I still get the warning, but now I am able to read and write to it. > > > (The only change I did from what I was doing previously is that I > > > explicitly set my mode to be -m 755 while mkdir-ing /mnt/box.) > > > > > > I certainly would like the warning to go away, so any suggestions > > > to that effect would be appreciated! > > > > > > > Is /etc/mtab a file or a symlink to /proc/mounts? The mount > > manpage says it should be the link due to userspace problems. > > > > Alrernatively, add 2> /dev/null or use --no-mtab. > > > > I tried -n for --no-mtab, but there was no difference. > Note that the --no-mtab option was strangely not recognized. > > Many thanks, > Ranjan > What about /etc/mtab. Is it a file or a link? BTW On my system /etc/mtab -> /proc/self/mounts despite what the manpage says about pointing to /proc/mounts. It is "not wrong" however, my /proc/mounts also points to /proc/self/mounts. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
bluetooth mouse
I have an old Dell Vostro 1500 laptop. It was running Fedora 17 with no problems with the bluetooth mouse I use. After a fresh install of Fedora 24 Workstation I can't get the mouse to reconnect after a boot. Systemctl reports bluetoothd 'Failed to obtain handles for "Serviced Changed" characteristic'. Both blueman-manager and blueman-applet report the adapter is off and are unable to turn it on. I can go into bluetoothctl, power on the adapter and connect to the mouse. Things are fine until a reboot. lshw reports the bluetooth adapter is a Broadcom BCM2045. Any thoughts on how to get the adapter powered on at boot and the mouse auto-reconnected as it nicely did 7 Fedora releases ago. Thanks, Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
F24 gnome login failure
On my F24 laptop I typically run in a Mate environment. Yesterday I tried to login to a gnome environment. After entering my password there is a little pause, screen blanks, and a fresh login screen comes back. Looking at logs, the only error I find is: fatal ... could not find org.gnome.Shell.desktop That desktop file exists on none of my systems and dnf provides '*gnome.shell.desktop' returns nothing. As a no brainer I eliminated all traces of gnome and gconf under my home directory. Result was same error. Any suggestions? Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: F24 gnome login failure
On Mon, Aug 08, 2016 at 11:05:40AM -0700, Joe Zeff wrote: > On 08/08/2016 10:24 AM, Jon LaBadie wrote: > > As a no brainer I eliminated all traces of gnome > > and gconf under my home directory. Result was > > same error. > > This is probably a dumb question, but did you make sure there weren't any > gnome-related dot files left, such as .gnome3 or something similar? Also, > check under .config if you haven't. I don't really think this is the issue, > but it can't hurt to be sure. Yes, I did. Also under ~/.local. I finished with find's of "-iname '*gnome*'" and "-iname '*gconf*'". One further test, created a new user and it could not login into gnome either. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: F23 : DBus.Error.NoReply: can't enable bluetooth.
On Sat, Aug 06, 2016 at 03:07:49PM -0400, sean darcy wrote: > On a dual boot lenovo laptop, bluetooth works on windows, but not fedora. > > The kernel finds bluetooth: > > dmesg | grep Bluet > [ 16.369045] Bluetooth: Core ver 2.21 > [ 16.372683] Bluetooth: HCI device and connection manager initialized > [ 16.373928] Bluetooth: HCI socket layer initialized > [ 16.375159] Bluetooth: L2CAP socket layer initialized > [ 16.376488] Bluetooth: SCO socket layer initialized > [ 17.323669] Bluetooth: hci0: read Intel version: 370710010002030d56 > [ 17.325355] Bluetooth: hci0: Intel device is already patched. patch num: > 56 > [ 38.998012] Bluetooth: BNEP (Ethernet Emulation) ver 1.3 > [ 39.000420] Bluetooth: BNEP filters: protocol multicast > [ 39.002702] Bluetooth: BNEP socket layer initialized > [ 4974.462452] Bluetooth: RFCOMM TTY layer initialized > [ 4974.462459] Bluetooth: RFCOMM socket layer initialized > [ 4974.462525] Bluetooth: RFCOMM ver 1.11 > > But on boot I get a dialog box: > > org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes > include: the remote application did not send a reply, the message bus > security policy blocked the reply, the reply timeout expired, or the network > connection was broken. > > and bluetoothctl doesn't scan; > > show > Controller D0:7E:35:D7:9D:66 > Name: lenovo.riverside > Alias: ChromeLinux_7E85 > Class: 0x1c010c > Powered: yes > Discoverable: no > Pairable: yes > UUID: Headset AG(1112--1000-8000-00805f9b34fb) > UUID: Generic Attribute Profile (1801--1000-8000-00805f9b34fb) > UUID: A/V Remote Control(110e--1000-8000-00805f9b34fb) > UUID: OBEX File Transfer(1106--1000-8000-00805f9b34fb) > UUID: Generic Access Profile(1800--1000-8000-00805f9b34fb) > UUID: OBEX Object Push (1105--1000-8000-00805f9b34fb) > UUID: PnP Information (1200--1000-8000-00805f9b34fb) > UUID: A/V Remote Control Target (110c--1000-8000-00805f9b34fb) > UUID: IrMC Sync (1104--1000-8000-00805f9b34fb) > UUID: Audio Source (110a--1000-8000-00805f9b34fb) > UUID: Audio Sink(110b--1000-8000-00805f9b34fb) > UUID: Message Notification Se.. (1133--1000-8000-00805f9b34fb) > UUID: Phonebook Access Server (112f--1000-8000-00805f9b34fb) > UUID: Message Access Server (1132--1000-8000-00805f9b34fb) > Modalias: usb:v1D6Bp0246d0527 > Discovering: yes > scan on > Failed to start discovery: org.bluez.Error.InProgress > > Any help appreciated. > I think I got a similar message when I turned off the bluetooth transmitter via a switch on my laptop. It was the "Error In Progress" that I recall. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: F24 gnome login failure
On Tue, Aug 09, 2016 at 07:01:35AM +0200, fedora wrote: > Have you also checked in the /etc/pam.d/* ? Your mate desktop will probably > use a different pam-auth into the system from the one gnome will use. > I remember that way back in the past I always had to change at least one > pam.d file before beeing able to login from gnome desktop. > > suomi There are no pam modules there specific to desktop environments. There are mate- and cinnamon-screensaver modules. Several pam modules have "gnome" references, but all are to the keyring. Jon > > On 08/08/2016 08:26 PM, Jon LaBadie wrote: > > On Mon, Aug 08, 2016 at 11:05:40AM -0700, Joe Zeff wrote: > > > On 08/08/2016 10:24 AM, Jon LaBadie wrote: > > > > As a no brainer I eliminated all traces of gnome > > > > and gconf under my home directory. Result was > > > > same error. > > > > > > This is probably a dumb question, but did you make sure there weren't any > > > gnome-related dot files left, such as .gnome3 or something similar? Also, > > > check under .config if you haven't. I don't really think this is the > > > issue, > > > but it can't hurt to be sure. > > > > Yes, I did. Also under ~/.local. > > I finished with find's of "-iname '*gnome*'" and "-iname '*gconf*'". > > > > One further test, created a new user and it could not login into > > gnome either. > > > > Jon > > > -- > users mailing list > users@lists.fedoraproject.org > To unsubscribe or change subscription options: > https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org > Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct > Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines > Have a question? Ask away: http://ask.fedoraproject.org >>> End of included message <<< -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Xfce on Fedora 24?
On Sun, Aug 07, 2016 at 11:50:14PM -0400, Robert Moskowitz wrote: > I have set up a system with F24 and installed Xfce. My old system is > running F22 with Xfce, so a bit of a jump. > > But on a lot of dialogs it is saying that Cinnamon is running? > > Apps are different like Nemo rather than Thudar? > > System tray on the bottom not top and a few other oddities. > > Did I really get Xfce? Has it changed that much? > I'm sure there are others, but here are two suggestions. I notice for 4 environments on my F24 system (gnome, mate, plasma, and cinnamon), each set the environment variable DESKTOP_SESSION. Unfortunately I don't have xfce installed to check it. At the login screen, after your user id is selected or typed in, but before entering your password, look for an icon that drops down a menu of available desktop environments. It will default to your most recent session and you can select a different one if desired. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Marching 5's again
Has there been any resolution to the "marching 5's" syndrome? As I recall it seemed to be kernel release specific. After 6-9 months of no extraneous 5's, I've got the problem again on F22 with kernel 4.4.13-200. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: Samsung Gs3 and F24/Xfce
On Tue, Aug 16, 2016 at 05:56:09PM -0700, Joe Zeff wrote: > On 08/16/2016 05:36 PM, Robert Moskowitz wrote: > > > > lsmod|grep gvfs > > > > comes up with nothing to display. > > > > and > > > > # modprobe gvfs-mtp > > modprobe: FATAL: Module gvfs-mtp not found in directory > > /lib/modules/4.6.5-300.fc24.x86_64 > > I have gvfs-mtp installed and get the same results. In fact, I have my > phone mounted and am browsing the SD card and still get the same results. They may be FUSE, file systems in user space and thus not in the kernel. jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
mate-terminal launcher oddity
On a Fedora 25 system running the mate desktop environment I have three terminal launchers in my top panel. The commands executed are: 1. mate-terminal 2. mate-terminal --geometry 96x30+130+280 -t MUMS -x ssh -Y mums 3. mate-terminal --geometry 96x30+90+130 -t CYBER -x ssh -Y cyber If # 3. is launched when no other terminal session is running two similar sized windows appear, one with the ssh session, the other with no shell or ssh apparent. If either window is closed, the other closes as well. But if another terminal session, 1. and/or 2. is already running when I launch 3., 3. comes up as a single window. Actually I briefly see the extra window, but it immediately closes leaving the one containing the ssh session. I never see the extra window behavior when the nearly identical launcher 2. is executed. Perhaps the odd behavior of launcher 3. is somehow related to mate-terminal running as a single process no matter how many terminals are open. But why the different behavior of 2. vs 3.? Jon -- Jon H. LaBadie jo...@jgcomp.com ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: [OT] bash help
On Mon, Feb 20, 2017 at 10:46:23AM +, Andy Blanchard wrote: > On 20 February 2017 at 09:18, T_POLwrote: > > > > not sure about that but I think the "cd" command executes indeed > > but it's valid only for the scripts' environment and not for the > > shell you started the script from. > > *ding* *ding* *ding* We have a winner! > > Shells execute in their own instance of bash (or whatever) - a > subshell. The way to do this is with an alias or function, depending > on your needs (aliases don't except parameters, functions do), so > here's the function for "mdcd": > > $ mdcd() { > # additional checks here, per original post > mkdir $1 > cd $1 > } > > > Alternatively, you can force a script to run in the current shell by sourcing > it > > $ . {scriptname} > > Note the "." between the prompt and script (you can also use the more > literal "source"): > > $ source {scriptname} > > Another option, just for completeness, would be to alias sourcing a > script, e.g.: > > $ alias mdcd='. {path to script}' > A caveat I think the OP already found out. Both the sourced script and the function would be running in the users interactive shell environment, it must for the cd to be effective. Thus you do not want to "exit" from either the sourced script nor from the function as that causes the interactive shell to exit. In the function you can use "return " instead of "exit ". Jon -- Jon H. LaBadie jo...@jgcomp.com ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: question about packages
On Mon, Feb 20, 2017 at 09:50:51PM +0100, john.david.r.smith wrote: > hi. > i can install the package 'vim' via `sudo dnf install vim` > but there is no package called vim in the list returned by `dnf search vim`. > > is there a way to get the real package name given the name vim? > (i want a generic way to resolve such a name). > - John Two things come to mind. dnf list 'vim*' ordnf list '*vim*' dnf provides /usr/bin/vim jon -- Jon H. LaBadie jo...@jgcomp.com ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
compiz problems
Running Fedora 25 with a Mate desktop environment. I ran the same on F24 and still do on another system. I would prefer to use compiz as my window manager. However it is unusable. If I move a window, images trail the movement and remain when I stop. Popup menus don't disappear when I make a selection. Killing a window does not cause its image to disappear. All the residual garbage is cleaned up if I change workspaces and change back again. But the desktop wallpaper is gone too. I don't run any of compiz' fancy features, wobbly windows, etc. Any idea what might cause this problem? Jon -- Jon H. LaBadie jo...@jgcomp.com ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
radiotray, gstreamer plugin
Using "radiotray" in a mate environment on Fedora 24. For many stations I get the following warning message: Your GStreamer installation is missing a plug-in. gstdecodebin2.c(3576): gst_decode_bin_expose (): \ /GstPlayBin2:player/GstURIDecodeBin:uridecodebin7/ \ GstDecodeBin2:decodebin26: \ no suitable plugins found So far as I can tell, all the available plugins for gstreamer and gstreamer1 (12 each) are installed. How can I determine what is missing? Jon -- Jon H. LaBadie jo...@jgcomp.com ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: sed question!
On Sun, Feb 12, 2017 at 08:06:28PM -0500, bruce wrote: > Hey guys. > > Thanks for the delete replies.. > > Got a quick sed question now.. > > test file:: > head -2 sed.dat > 228d98f0_f16a_11e6_9544_1ad613f05f7b,1486934882 > 22b93712_f16a_11e6_a6ad_1ad613f05f7b,1486934883 > > want to simply truncate/search/replace the end of each line starting > with the "," > to get > > 228d98f0_f16a_11e6_9544_1ad613f05f7b > 22b93712_f16a_11e6_a6ad_1ad613f05f7b > > the following isn't working > sed -i 's/\,+\$//' sed.dat > > sed -i 's/\,+$//' sed.dat > > I'm sure it's simple/trivial... > Several problems. The sed's I know don't use extended RE syntax and '+' is a repetition character of extended RE. Some sed's might allow its use with the '-r' option. And maybe there are some sed's that do use extended RE. Comma is not typically a special character, so no need to escape. In pattern matching by the shell, the '*' repetition character does not reference the preceeding character. RE repetition characters (* in basic and + and ? in extended) always refer to repetitions of the preceeding character. Thus your pattern (if and extended RE) would be looking for a string of commas, NOT one comma followed by a string of any char. Try something like "sed -r -i 's/,[0-9]+$//'". or "sed -i 's/,[0-9]*$//'" or if uncertain they will be digits, but certain they will not be commas (i.e. you want to delete the last comma onward) try "sed -i 's/,[^,]*$//' Jon -- Jon H. LaBadie jo...@jgcomp.com ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Mouse problems
On Thu, Feb 09, 2017 at 06:49:18AM -0700, Lawrence E Graves wrote: > If I got to my files and double click on documents, it won't work. If I go > to settings and click on mouse and touch pad and test the double click, it > doesn't work. I hope that makes sense. > 'm not having that problem in mate or gnome environ. Isn't there a mouse setting for how rapid the clicks must be? Perhaps yours is set for too quick. jl -- Jon H. LaBadie jo...@jgcomp.com ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: running ssh/remote cmd in the background
On Sun, Feb 26, 2017 at 06:40:50PM +0100, Joachim Backes wrote: > On 02/26/17 18:08, bruce wrote: > > Morn guys... > > > > The following works as a test ssh to fire off a remote cmd. However it > > waits for the cmd to complete befor returning. I'm looking to run th > > cmd as a background on the local/calling instance. Ultimaely, I'll be > > testing this from py/php scripts. > > > > ssh -t user1@67.205.151.05 'cat /cloud/hash2.dat | wc -l' > > > > -would the following work? > > > > ssh -t user1@67.205.151.05 'cat /cloud/hash2.dat | wc -l' & > > It runs the (complete) local ssh cmd (including it's parameters) locally in > background. If you want to run the remote cmd in background > (cat /cloud/hash2.dat | wc -l) you must add the "&" before the closing "'" > and not after. > > But this means your ssh command likely may exit before the remote cmd > finishes. Is this reasonable? > > Kind regards > > Joachim Backes Two other considerations: Where is the output from the pipeline sink (wc -l in this case) going to go? Without the ssh connection, it will go to stdout, either closed or set to /dev/null. When the ssh connection terminates, I suspect its children processes on the remote to receive the "Hang UP" (your parent has died) signal and will likely commit suicide. Jon -- Jon H. LaBadie jo...@jgcomp.com ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: running ssh/remote cmd in the background
On Mon, Feb 27, 2017 at 09:41:11AM -0800, Rick Stevens wrote: > On 02/26/2017 12:34 PM, bruce wrote: > > Hey Jon... > > > > You are absolutely correct.. if the parent ssh terminates.. the remote ... > > Jon, we try not to top-post here. Just a nudge. I didn't Rick, you attributed the above incorrectly. > > If you are using ssh to spawn a remote screen session that runs a > command in the background it should work just fine, e.g.: > > ssh user@remote "screen command-to-run args &" I replied to the original post and the screen command was never mentioned. Jon -- Jon H. LaBadie jo...@jgcomp.com ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
calendar program loops
Upgraded to F24 and had a big surprise this morning, a mail queue clogged by over 400,000 messages. Root runs a nightly cronjob of "/usr/bin/calendar -a" to look at each users calendar file and send notices of upcoming events. The new version loops endlessly through all the users. If I run calendar as myself without the -a option it doesn't loop. Run it as "sudo calendar -a" and I have to kill it quickly or the mail system will clog again. My google and bugzilla search did not find any comparable reports. Is anyone using this ancient command with the -a option? Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: calendar program loops
On Thu, Aug 25, 2016 at 01:39:00AM -0700, Joe Zeff wrote: > On 08/24/2016 10:21 PM, Jon LaBadie wrote: > > Root runs a nightly cronjob of "/usr/bin/calendar -a" > > to look at each users calendar file and send notices > > of upcoming events. The new version loops endlessly > > through all the users. > > > > If I run calendar as myself without the -a option > > it doesn't loop. Run it as "sudo calendar -a" and > > I have to kill it quickly or the mail system will > > clog again. > > Take it out of root's crontab and put it in your own. > That way, you won't have to worry about the bug. And check that each user knows how to set-up their own crontab, is allowed, and does if they want the service. jl -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: unable to start rc-local.service[SOLVED]
On Sun, Sep 04, 2016 at 10:34:20PM +0200, François Patte wrote: > Le 03/09/2016 22:59, François Patte a écrit : > > > > On other nstall of fedora 23 this works Why not on this computer? > > Just unwanted spaces before and after #!/bin/bash > > The script works when executed for itself, but it seems that systemd is > quite supercilious about that spaces and very avaricious to give some > hints about the error encountered! > > Thank you for helping. The '#!' notation has meaning ONLY if it is the first two characters of the file. Otherwise it is just a shell comment. From the command line you are probably running bash. Thus the script gets executed by the shell you want. But during boot it may be executed by a different shell and that shell may not deal with some constructs the same as bash. Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org
Re: kernel 4.7.3 and module nvidia
On Thu, Sep 15, 2016 at 04:44:51PM +0800, Ed Greshko wrote: > > > On 09/15/16 15:48, François Patte wrote: > > Le 14/09/2016 23:56, Ed Greshko a écrit : > >> > >> In addition to what others have said, make sure you have both > >> akmods-shutdown.service and > >> akmods.service enabled. ... > >> I've found that having both enabled will catch improperly > >> installed kmods. Ed, I'm not having problems, but not having noticed those unit before I checked their status. Both are enabled and have run abd exited with status 0. Is that the typical status for a running system? Jon -- Jon H. LaBadie jo...@jgcomp.com -- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@lists.fedoraproject.org Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org