top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Showing the date and time in Empathy conversations

+1 vote
660 views

I have recently installed Fedora 19 on my computer, and am using Empathy for instant messaging.

One problem is that I cant see the date and time of the conversations in the Empathy screen, nor can I find an option in preferences to set this.

posted Oct 1, 2013 by Meenal Mishra

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

If you mean showing the timestamps next to the messages in the chat window (like e.g. Pidgin), you can give this a shot; this basically modifies a local copy of the default Classic theme to show timestamps next to the chat messages:

  • Copy the patch to your home directory at the last.
  • Run these commands (as user in terminal):

    mkdir -p ~/.local/share/adium/message-styles/
    cp -r /usr/share/adium/message-styles/Classic.AdiumMessageStyle ~/.local/share/adium/message- styles/ClassicWithTimestamps.AdiumMessageStyle
    cd ~/.local/share/adium/message-styles/ClassicWithTimestamps.AdiumMessageStyle
    patch -p1 < ~/add-timestamps.patch

add-timestamps.patch

diff -ur /usr/share/adium/message-styles/Classic.AdiumMessageStyle/Contents/Info.plist ClassicWithTimestamps.AdiumMessageStyle/Contents/Info.plist
--- /usr/share/adium/message-styles/Classic.AdiumMessageStyle/Contents/Info.plist   2013-09-09 19:16:47.000000000 +0200
+++ ClassicWithTimestamps.AdiumMessageStyle/Contents/Info.plist 2013-10-02 05:18:58.274024855 +0200
@@ -9,15 +9,15 @@
   <string>English</string>

   <key>CFBundleGetInfoString</key>
-  <string>Classic Message Style</string>
+  <string>Classic Message Style With Timestamps</string>

   <key>CFBundleIdentifier</key>
-  <string>org.gnome.empathy.classic.style</string>
+  <string>org.gnome.empathy.classicwithtimestamps.style</string>
   <key>CFBundleInfoDictionaryVersion</key>
   <string>1.0</string>

   <key>CFBundleName</key>
-  <string>Classic</string>
+  <string>ClassicWithTimestamps</string>

   <key>CFBundlePackageType</key>
   <string>AdIM</string>
diff -ur /usr/share/adium/message-styles/Classic.AdiumMessageStyle/Contents/Resources/Content.html ClassicWithTimestamps.AdiumMessageStyle/Contents/Resources/Content.html
--- /usr/share/adium/message-styles/Classic.AdiumMessageStyle/Contents/Resources/Content.html   2013-09-09 19:16:47.000000000 +0200
+++ ClassicWithTimestamps.AdiumMessageStyle/Contents/Resources/Content.html 2013-10-02 05:13:51.752155387 +0200
@@ -1,5 +1,6 @@
 <div id="prepend"></div>
 <div class="%messageClasses%" dir="%messageDirection%">
+  <span class="time">(%time%) </span>
   <span class="sender">%sender%:</span>
   <span class="message">%message%</span>
 </div>
diff -ur /usr/share/adium/message-styles/Classic.AdiumMessageStyle/Contents/Resources/main.css ClassicWithTimestamps.AdiumMessageStyle/Contents/Resources/main.css
--- /usr/share/adium/message-styles/Classic.AdiumMessageStyle/Contents/Resources/main.css   2013-09-09 19:16:47.000000000 +0200
+++ ClassicWithTimestamps.AdiumMessageStyle/Contents/Resources/main.css 2013-10-02 05:16:06.413381539 +0200
@@ -14,11 +14,13 @@
   color: #2e3436;
 }

-.incoming .sender {
+.incoming .sender,
+.incoming .time {
   color: #4a708b;
 }

-.outgoing .sender {
+.outgoing .sender,
+.outgoing .time {
   color: #2e8b57;
 }
answer Oct 2, 2013 by Amit Parthsarthi
Similar Questions
+1 vote

Booted machine from livecd image, and the gnome3 worked.

Used Fedup to upgrade an Fedora 18 setup to Fedor 19, and gnome3 doesn't work (Opps screen), but KDE and Xfce does.

Did a clean install from the DVD image of Fedora 19 to a new hard disk, and gnome3 doesn't work, kde regular doesn't work, kde failsafe works, and xfce works.

The machine has a nvidia geforce FX 5200 card, which I know is old, but that is what my classroom has in all 20 machines. So, not just a matter of getting a different card. Long ago was using the nvidia driver from there site, but they dropped support for the older cards, so had to switch to the nouvea driver.

Any suggestions, or just have to stick with xfce..

+1 vote

Does anyone know what happened to the calculator? I upgraded to F19 and now the calculator shows up like a 2.00 simple calculator.

0 votes

Today I issues a fedup-cli network 19 command. At the end of procedure that ended right when rebooting I get

Bad news:
I get a black window if I login as any user with a fedora logo on the bottom of screen but I can use tty and then issue a startx

Good news
after issuing startx my old video card (Geforce FX5200) works fine with Gnome 3.

Why do I have only F18 kernel??

+1 vote

How can I add an application launcher to the favorites menu in Fedora 19?

+1 vote

I have just installed virt-manager in Fedora 19. I have looked into the /etc/init.d directory but I can't find any init scripts for libvirt.

Is libvirt using systemd, and if so, how do I start it?

...