Debian Multimedia :: How To Make Desktop Application Update Immediately
Jul 5, 2015
I created a bash script which when executed as a desktop application modifies its own application icon. This is done my altering the Icon= line in the application's .desktop file.
Here is a gif of the application in action: [URL] ..... As you can tell, there is an approximately two second delay before the icon changes. I was wondering if there was a way of making the icon change immediately.
For completeness sake here is the script I am using:
if [ ! -z $(grep "Icon=$PLAY_ICON" $LAUNCHER) ]; then
  sed -i -e "s/Icon=$PLAY_ICON/Icon=$PAUSE_ICON/g" $LAUNCHER
elif [ ! -z $(grep "Icon=$PAUSE_ICON" $LAUNCHER) ]; then
  sed -i -e "s/Icon=$PAUSE_ICON/Icon=$PLAY_ICON/g" $LAUNCHER
fi
May 2 21:18:19 squeeze x-session-manager[1732]: WARNING: Could not launch application 'user-dirs-update-gtk.desktop': Unable to start application: Failed to execute child process "xdg-user-dirs-gtk-update" (No such file or directory)
I'm using debian with cinnamon desktop on a laptop with a second monitor. The panel (the bar where there are the application title bars with some system infos like battery status and clock) is only displaying on one screen depending if it is set as a primary screen. I wanted a way to get a second bar on the second monitor.
Ideally I wanted that each bar should display only the application which is present on that screen but this is completely optional. The most important thing I wanted is at least to duplicate the bar on the second monitor so I can check the clock and other infos..
First I thought that this should be only a little configuration problem.. But I rapidly understand that this is simply not possible. But I also discovered that the new version of the cinnamon desktop (2.6) have got many improvement and is that provide this dual screen options.
I then saw that my version of cinnamon is the version 2.2.16 (the version that is supported by debian). I went to the cinnamon website but I don't find any information on how to install this version.. All the information is related to the linuxmint distro.
system update today which moved the nvidia drivers from 195 to 260.After performing the update with synaptic and restarting, I noticed that my desktop theme, "Clearlooks," was messed up in that the shiny progress band was now two separate colours (blue and white). Tried other themes (among them "Glossy") and found most of them corrupted with, for example, the progress bar totally white.Similar problem with Iceweasel 4: the tabs have lost their inferior border, and the address/search bars are surrounded by white.I suspect (though I can't be sure) that the above is caused by the nvidia update. I did an "nvidia-xconfig" to try and see if this would change things, but no.
I'm a beginner to Ubuntu so this is probably an easy question, but: I installed a windows application using Wine and that worked, it launched the application just fine. But now after restarting the computer I can't see how to run that application again. It would be nice to make a desktop icon for it.
i cannot seem to find a proper way to make Java my default application to open .jar files. I just made a new Debian 8.3 install on my laptop HP Pavilion G6 and the default application for opening .jar files is the Archive Manager. But when i go to "Open with.." section on right-clicking the .jar file, i get no JRE or JDK option to choose. I just installed the openjdk 7. I can manually run them from the bash, but it would be much more convenient if i just double-clicked it. Here is what i get when i run several commands in the bash :
After it was updated a few days ago, VLC stopped working. It just quits immediately without doing anything, no matter what command line options you give it.
How do I make an application launcher in the panel launch more than one application? Is there some sort of a symbol I type between the apps in the command line? Like ;
I set up a git repository on the live site of my website using git init. Then I created the same repo on my local machine using git clone command. Then I made a few changes and committed them to on my local repository. Then I tried to use git push origin alongside the ssh path to my repository on the remote machine to update my live website. However, I noticed that git-push only changes the head of my git repository on the remote machine and it doesn't change any file.
In order to update my remote repository I have to issue the following command after I use git-push.
PHP Code:
git reset --hard HEAD
This is a two-step process for committing changes to the live site. I was wondering if it's possible to merge these two steps in one to make life a little bit easier?
Note that, I'm the only one working on this project (sometimes from my laptop, sometimes from my desktop), so I trust all the commits.
My Kubuntu desktop uses 3x24" monitors running on two NVidia cards. I'm using Xinerama to make use of all 3 monitors in one giant desktop. Trouble is I really miss hardware acceleration which I had before with TwinView.
Is there *any* way to make Xinerama use the hardware like it's supposed to? The way it is, it makes the computer struggle; the i7 with 12 GBs of RAM runs like that 200Mhz MMX IBM Aptiva I had in 1995.
after a downgrade of some packages du to a bug of libgtk2.0-0 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633864) i have downgrade these packages.gtk2-engines-pixbuf_2.24.4-3_i386.deb libgail-common_2.24.4-3_i386.deb libgtk2.0-bin_2.24.4-3_all.deb libgail18_2.24.4-3_i386.deb libgtk2.0-0_2.24.4-3_i386.deb libgtk2.0-dev_2.24.4-3_i386.debAnd now, (After the downgrade, and after the bugfix) some apps don't have a gtk theme. Others apps have a gtk theme.Have a theme :Don't have a theme :
How can i make shortcut on desktop from Applications menu? If i right click an application from Applications menu, the application launches, Can't make shortcut.
Can i make a .desktop file taht it executes autostart.sh script or any other script? like xmonad.desktop od dwm.desktop?so that when gdm or any other gui login manager loads autostart apps in xmonad?
My system is rather flaky as of late. I was trying, yet again, to get the internal bluetooth (rtl8723be) to work, so I could free up one of only two usb ports on the lenovo ideapad 100. In my blinding brilliance I typed make uninstall, after make did not work (why I did this, I still don't know), and I noticed that it said btusb.ko was removed, as expected at reboot, no bluetooth adaptors were found, I tried reinstalling bluetooth via apt-get, no success, so finally I just ran apt-get update, and apt-get upgrade, once finished, my system did not want to reboot with a sudo init 6, so I hard powered it off and restarted, after it's obligatory fsck, everything okie dokie, it booted up and voila, bluetooth working again, or should I say, the usb adaptor bluetooth, not the rtl8723be.
So I figured, ah, the heck with it, just enjoy my speaker for watching a movie via kodi, and that's when I see that it's buffering continuously so I check a couple different speed tests, and my wifi is only pulling 2.0ish mb down, I booted into windows 10, just to check, and sure enough, same result.....so I don't know if the adapter is dying or what, so, I figure, I'll try and update the driver, this is where I run into not being able to run any make commands they all error with:
Code: Select allmake[1]: Entering directory '/lib/modules/3.16.0-4-amd64/build' make[1]: *** No rule to make target 'modules'. Stop. make[1]: Leaving directory '/lib/modules/3.16.0-4-amd64/build' Makefile:393: recipe for target 'LINUX' failed make: *** [LINUX] Error 2
I have installed the linux headers, and followed this post here, [URL] .... (substituting my uname -r of course)
still having the sudo init 6 not working, and the slow wifi, as well as internal bluetooth not working.
I have a multi-platform QT4 application and I'm trying to make it run on Debian 7.x. In this app I'm creating 2 QSystemTrayIcon 's and when I run this application on Debian 7.8 with Gnome 3 disabled both tray icons show up nicely in the notification area in the top-right panel. However when I have Gnome 3 enabled nothing shows up in the top-right panel and the tray icon shows up in the (hidden) bottom panel, but the problem is only the first one of my 2 tray icons shows up - the other one is lost.
I'd like to ask, whether it is by design so, that on Gnome 3+Debian 7.8 there can be only one tray icon per application? Or is it some issue with Qt? I tried also Ubuntu 14.04 with Gnome 3 and there both tray icons showed up nicely in the top-right panel.
I installed debian 8.1, network install on a ThinkPad T60. When I right click the Desktop, I don't get "Create New -> link to application" and other links. In mint 17.1, I get a Menu with all links. I want to create a link to seamonkey with an icon on desktop.
I have searched but I couldn't find anything. I would like something small like a screenlet to monitor fan speed and temperature of an AMD 6970 gpu. So far I could only find for nVidia's products.
I have this issue with Rhythmbox where if I tried to open it trhough Applications > Sound & Video, the program would start and close almost immediately.
I ran it in CLI & got:
Code: rhythmbox ** (rhythmbox:3378): DEBUG: Loading the real store page ** (rhythmbox:3378): DEBUG: navigation requested to https://one.ubuntu.com/music/store-no-token Segmentation fault
When I try to open Banshee, I can see the GUI for about half a second, then it closes with "Unhandled Exception: GLib.GException: Can't recursively copy directory".I'm running Ubuntu 10.10 amd64, and had an old version of banshee installed from a few releases back (don't remember which). I deleted the banshee-1 folder in my ~/.config directly, as well as uninstalled and reinstalled with no luck. Other Mono apps (such as gnome-do) work fine.Here is the full output of "banshee --debug":
I'm trying to make a script run when x is started (to set the desktop background using xloadimage, run xcompmgr, and make one change with xmodmap [I suspect there is a better way to change this]). The wiki says (on the subject of .xinitrc) "If you want the script to be called when ever an X Session is started, then you should instead use ~/.xsession" I had no default ~/.xsession file. I believed that it would be checked for, so created a minimal file
#!/bin/sh touch /home/user/this-script-ran exec /usr/bin/xmonad and gave it executable permissions (744). "allow-user-xsession" is present in /etc/X11/Xsession.options. However, ~/.xsession does not run when x starts.
1) Should I be using something other than .xsession for this?
2) If not, how do I enable it? Or am I making some error that prevents it from running?
Seems like such an unbelievably basic question, but a day of google searches as well as directly on this site with key word combinations like "jessie gnome application launch" or "jessie gnome launcher" has only yielded one remark somewhere that the only way to get any kind of custom application launcher working on a gnome 3.14 desktop is to copy an already existing one from an older gnome setup, such as Wheezy.
I know gnome is a bit limited compared to many other desktops, but besides this I consider gnome in Jessie very good and just can't believe the ability to customize application launchers could have really been made completely impossible to do. This single omission alone would make gnome extremely lame in my view, so I sure hope that is not in fact the way it is.
On xfce I really liked orage, however on fluxbox I don't want to install all its dependencies (xfce4-gui, xfce4panel, +++) for just a calendar. So, I'm looking for a light calendar app that will allow me to store appointments. Ideally it would integrate nicely with fluxbox, so either launchable by clicking on the clock, or else mapped transparently onto the desktop just like conky. If it could work with conky that would be pretty ideal as well, and it must have the ability to send notifications (either by sound or screen) about upcoming appointments, reminders, etc.
I've seen xcalendar mentioned on these forums, but it doesn't seem to be in the repos anymore (squeeze). Also rainlender, though I don't like that it's not in the repos and has pro/free versions. Sunbird is an option, but kind of large and clunky for what I'll be using it for. Right now I'm thinking gdeskcal is my best bet, but I'm hoping others will have better ideas. If gdeskcal fails to impress, I may have no choice but to go with sunbird (aka iceowl) and perhaps use conky to display the calendar on the desktop, and make it launchable from clicking the clock on fluxbox. My mail application is claws, which has some limited vlcalendar functionality.
I've been Gnome user since I made switch from Ubuntu to Debian. But now I want to try xfce in Debian, but I do not know well what are alternatives for Gnome applications there. I haven't used xfce since Ubuntu 9.10 (Xubuntu).some alternatives for theese apps:
Recently (after the new version iPlayer was released I guess) I have been unable to download IPlayer content. On going to download, the IPlayer screen offers to install the IPlayer Desktop app, tries to install Air (already installed via Software Centre) and fails with a message like "A download error occurred. Try to download again?". Repeating just loops around to the same error message.
This happens on both my PC and laptop - both running Lucid. Have tried uninstalling the Iplayer app and Air, but still the same happens. Any suggestions, or do I have to wait for the Beeb to get it sorted?