Notifications
by Danishka Navin
Hi,
Imagine no user logged in to neither GUI nor CLI but a background service
is running.
Is it possible to send a notification to GUI after completion of the
processing running on the background?
I have checked notify-send but could not find such a specific example.
Thanks in advance.
Regards,
--
Danishka Navin
4 years, 6 months
Bind my personal shell program to open only a specific text file
extension (and not all text/plain files)
by Dario Lesca
I have a my personal application (~/bin/launch-app) that read a text
file with .app extension (myapp.app) and run some stuff of things
Since the myapp.app is a text file ...
[lesca@dodo tmp]$ file myapp.app
myapp.app: ASCII text
if I try bind this file to my program launch-app via nemo, nautilus,
thunar, ecc or via line command mimeopen, all other text (text/plain)
file (es some.txt) are bind to my program.
[lesca@dodo tmp]$ mimeopen -d /tmp/myapp.app
Please choose a default application for files of type text/plain
^^^^^^^^^^^^^^^^^^^^^^^^
1) launch-app (userapp-launch-app-LF774Z)
2) LibreOffice Main (libreoffice)
3) Geany (geany)
4) ....
How to bind only .app file to my application?
Many thanks
--
Dario Lesca
(inviato dal mio Linux Fedora 30 Workstation)
4 years, 6 months
Re: how do I use gunzip with dd?
by ToddAndMargo
On 9/21/19 10:02 PM, Derrik Walker v2.0 wrote:
> Try replacing gunzip with zcat.
>
> - Derrik
Worked. Thank you!
4 years, 6 months
KDE on Fedora 30/31
by William Oliver
Folk,
A few versions of Fedora ago, I got a little frustrated with the way
KDE was running on my laptop. I don't remember the actual problem,
really. I think it had to do with not being able to download and
install icons or themes or some other eyecandy; there was always some
sort of failure. The upshot was that I was more loyal to my desktop
than my distro and switched to KDEneon since it worked.
But, I've always had a soft spot for Fedora; I've been using it off
and on ever since it has existed (and Red Hat Linux or Mandrake before
that). I'm getting the itch to give it a go again, probably when 31 is
finalized.
So... for the KDE users out there, how is Fedora doing with KDE
nowadays?
billo
4 years, 6 months
rsync oddity
by Frank Elsner
Hi all,
when doing an rsync of /home to a remote host with options
"--stats -av --hard-links --delete-during" I get
sending incremental file list
cannot delete non-empty directory: frank/.sylpheed-2.0/imapcache/c64.shuttle.de/frank
cannot delete non-empty directory: frank/.sylpheed-2.0/imapcache/c64.shuttle.de/frank
cannot delete non-empty directory: frank/.sylpheed-2.0/imapcache/c64.shuttle.de
This is strange because the directory does not exist
# cd /home
# file frank/.sylpheed-2.0/imapcache/c64.shuttle.de
frank/.sylpheed-2.0/imapcache/c64.shuttle.de: cannot open `frank/.sylpheed-2.0/imapcache/c64.shuttle.de' (No such file or directory)
Can someone explain that?
Kind regards, Frank
4 years, 6 months
grub regression in f30
by François Patte
Bonjour,
I have an nvidia graphic card and since at least f27 I had a high
resolution (1280x1024) on the console screen during the boot. This is no
more the case in f30. Why?
I use the nvidia driver from rpm-fusion, nouveau does not work with my card.
Thank you.
--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte
4 years, 6 months
losetup failed to set up loop device while rescuing a SD card that
does not mount
by Ranjan Maitra
Hi,
I have been trying to rescue the files from a SD card that is connected to a USB adapter, and that can not mount in the usual way because I guess it is corrupt (complains of no read-write permission even though the SD card is unlocked).
Following the instructions here:
https://blog.tinned-software.net/rescue-data-from-corrupt-sd-card/
I get:
$ sudo ddrescue -f /dev/sda SD_card_rescue.log
GNU ddrescue 1.23
Press Ctrl-C to interrupt
ipos: 322563 kB, non-trimmed: 0 B, current rate: 64000 B/s
opos: 322563 kB, non-scraped: 0 B, average rate: 1178 kB/s
non-tried: 0 B, bad-sector: 19968 B, error rate: 0 B/s
rescued: 8270 MB, bad areas: 26, run time: 1h 56m 58s
pct rescued: 99.99%, read errors: 78, remaining time: 0s
time since last successful read: n/a
Finished
However, when I try:
$ sudo losetup -f -P SD_card_rescue.img
losetup: SD_card_rescue.img: failed to set up loop device: No such file or directory
Adding the full path name for the SD_card_rescue.img does not change the error.
I looked around a bit and tried the following:
https://askubuntu.com/questions/634501/cant-mount-iso-file-as-loop-device...
It does not per se use losetup but I still get the same error.
Any suggestions? I am on an updated F30.
Many thanks and best wishes,
Ranjan
4 years, 6 months
anacron
by Patrick Dupre
Hello,
On my machine, I have crond and anacron running.
I guess that I do not need crond.
I can easily manage crond, but waht about anacron?
systemctl status anacron
Unit anacron.service could not be found
systemctl status anacrond
Unit anacrond.service could not be found
while
systemctl status crond
● crond.service - Command Scheduler
Loaded: loaded (/usr/lib/systemd/system/crond.service; enabled; vendor preset: enabled)
Active: active (running) since Sun 2019-09-22 09:09:21 CEST; 3h 5min ago
Main PID: 1429 (crond)
Tasks: 7 (limit: 4915)
Memory: 4.3G
CGroup: /system.slice/crond.service
├─ 1429 /usr/sbin/crond -n
├─ 8113 /usr/sbin/anacron -s
├─10084 /usr/bin/bash /bin/run-parts /etc/cron.weekly
├─10088 /bin/sh /etc/cron.weekly/backup.cron
It seems that anacron is a service of crond.
Is the only option to remove crontabs?
Thanks
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988
===========================================================================
4 years, 6 months
mkexfatfs doesn't work?
by Richard Shaw
I just installed exfat-utils and I'm trying to format a 16GB microSD card:
$ sudo mkfs.exfat /dev/sdb1
mkexfatfs 1.3.0
Creating... done.
Flushing... done.
File system created successfully.
But it actually doesn't do anything. All the old files are still on the SD
card.
Thanks,
Richard
4 years, 6 months
how do I use gunzip with dd?
by ToddAndMargo
Hi All,
What am I doing wrong here?
# gunzip DeadStick.FC30_2019-09-06.dd.gz | dd status=progress bs=4096
of=/dev/sdb
0+0 records in
0+0 records out
0 bytes copied, 176.897 s, 0.0 kB/s
Many thanks,
-T
4 years, 6 months