Thanks Livin Free...
Here's another one... Why is it that I always get the error message "Error: Can't open display:" in my mail whenever I execute or try to call an xterm command using cron to activate the command. What did I miss? Thanks in advance UNIX gurus... (3 Replies)
I'm currently looking into ways to integrate the Telegram API into the forums:
Telegram Bots - Bot Code Examples
I'm thinking, first off, to use the Telegram API to get forum alerts and notifications (to Bot or Not?).
Second, I thinking of ways to more deeply integrate Telegram into the... (5 Replies)
I have added a new experimental "Computer Science and Mathematics Trivia - True or False" section in the discussions, currently under the tags box.
In the future, I plan to
Expand this feature to add more trivia categories from math, science and technology.
Keep track of correct and... (20 Replies)
The UNIX and Linux Forums now has over 1000 TRUE / FALSE computer science and computer related trivia question in our database. These questions are of relatively high quality (compared to similar sites on the web) and are fun (according to feedback by users). In the first week during the... (1 Reply)
Thanks to Akshay, who helped me write the core MySQL queries, we now have two new draft leaderboards, by (1) member and by (2) country:
https://www.unix.com/trivia_stats.php
Currently milhan leads the members with a high score of 90%:
... (3 Replies)
Only a few days after I coded this new feature from scratch, we are seeing over 3000 entries in the database from members (mostly guests) playing CS trivia.
I have spend a lot of time coding this (from scratch) and testing the API. From the logs, it seems to have an API bug which appears... (31 Replies)
Today marks another milestone in the computer trivia app:
100,000 Computer Trivia Questions Answered by Users
Some notes to mention at this milestone:
vbe leads the "best score" category with 320 questions answered for an overall score of 91.2%.
rdrtx leads "most questions answered"... (0 Replies)
I have just completed the first phase of integrating all these devices and technologies:
MQTT, Node-RED, Linux, Apache2, MySQL, PHP, Telegram, ESP32, ESP8266, and the Arduino Uno
The glue that binds all this together is MQTT. In fact, MQTT makes this kind of integration nearly trivial to... (1 Reply)
Just noticed that our successful computer trivia feature (stats here) has surpassed over 50,000 questions answered by users:
https://www.unix.com/trivia_stats.php
This was a coding effort worth while and I'm pleased to see so many people enjoying it in such a short time since it was released... (3 Replies)
Discussion started by: Neo
3 Replies
LEARN ABOUT OPENSOLARIS
update-desktop-database
update-desktop-database(1) User Commands update-desktop-database(1)NAME
update-desktop-database - Desktop file caching utility
SYNOPSIS
update-desktop-database [--help] [--verbose] [--quiet] [filepath]
DESCRIPTION
update-desktop-database creates cache files for desktop file MIME type mapping for improved MIME lookup performance.
It expects to be given the path to a directory or directories containing a number of application installed .desktop files, e.g.
/usr/share/applications, and writes a mime-info.cache containing cached information about the MIME types that each application can handle.
If no directory is provided, this utility will use a default directory list as specified in the FreeDesktop MIME specification. This cache
file is used to avoid a lot of system call and disk seek overhead in a number of applications.
OPTIONS
The following options are supported:
-?, --help Show help options.
-v, --verbose Turn on verbose output.
-q, --quiet Do not provide any output.
OPERANDS
The following operands are supported:
filepath The path to a directory or directories containing a number of application installed .desktop files.
EXIT STATUS
The following exit values are returned:
0 Application exited successfully
1 Application exited with failure
FILES
The following files are used by this application:
/usr/bin/update-desktop-databaseThe command-line executable for the application.
/usr/share/applications System desktop file directory
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWgnome-desktop-prefs |
+-----------------------------+-----------------------------+
|Interface stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO update-mime-database(1), gnome-desktop-item-edit(1), attributes(5), gnome-interfaces(5)
Latest version of the GNOME Desktop User Guide and GNOME System Administration Guide for your platform.
NOTES
Written by Glynn Foster, Sun Microsystems Inc., 2007.
SunOS 5.11 31 Jan 2007 update-desktop-database(1)