Posts

Showing posts with the label Xfce

[SOLVED] Xubuntu 13.10 Sound Indicator Problem

Image
Symptom: The Sound Indicator doesn't work in Xubuntu 13.10. In this article we'll learn how to fix this. Install Open a terminal window and run: sudo add-apt-repository ppa:a-j-buxton/indicator-sound-gtk2 -y && sudo apt-get update && sudo apt-get upgrade -y For changes to take effect either restart Xfce session or run the command: killall -HUP xfce4-panel . References The Sound Menu (Gtk2)

Assign Ctrl+Alt+Del to Xfce's Task Manager in Xubuntu

Image
UPDATED: 18/08/12. By default the Ctrl+Alt+Del run xflock4 which locks the desktop. In this article we'll change this keyboard shortcut so that it'll run Xfce's Task Manager instead. Also the Ctrl+Alt+L shortcut will be assigned for running xflock4 . Xfce's Task Manager Install Open a terminal window and run these two commands: # Assign Ctrl+Alt+Del to Task Manager xfconf-query -c xfce4-keyboard-shortcuts -n -p "/commands/custom/<Primary><Alt>Delete" -t string -s "xfce4-taskmanager" # Assign Ctrl+Alt+L to xflock4 xfconf-query -c xfce4-keyboard-shortcuts -n -p "/commands/custom/<Primary>&ltAlt>l" -t string -s "xflock4"

Easy window resizing in Xfce/Xubuntu

Image
Simply hold the Alt key, right-click somewhere inside the window and drag to resize. References Window resizing in Xubuntu (and Xfce)

[HOW TO] Graphically edit Xfce/Xubuntu Applications Menu

Image
Xfce/Xubuntu Applications Menu is a panel plugin that displays a menu that allows access to installed applications. Xfce/Xubuntu Applications Menu The items on the menu can be edited using one tool called Alacarte. Alacarte can be access at Applications Menu > Settings > Main Menu or just type alacarte in the command line (or in xf4run). Main Menu editor's (alacarte) interface The Main Menu editor has 3 main sections: Menus list (left), Items list (center) and Action buttons (right). The Menus list sorts applications by category. Each menu can hold items and other menus (a menu has to possess at least one item to be displayed). The available action buttons for menus are "New Menu" and "New Item", and their name is self-explanatory. The Item list displays the list of application launchers for the selected menu/category. Items can be moved up and down on the list and their attributes (name, command...) can be e...

Display keyboard lock keys status in Xubuntu

Image
Indicator Keyblock is an appindicator that displays the status (on/off) of keyboard lock keys (caps lock, num lock and scroll lock). It's very useful when the keyboard doesn't have LEDs to display this information. Install Open a terminal window and run: sudo add-apt-repository ppa:tsbarnes/indicator-keylock -y sudo apt-get update && sudo apt-get install indicator-keylock -y To install Indicator Keylock icon themes run: sudo apt-get install indicator-keylock-ubuntu-mono indicator-keylock-humanity indicator-keylock-elementary -y Run Press Alt+F2 (or run a terminal emulator) and enter: indicator-keylock ( tip: You can add it to Xfce session startup using this as the command, see this ). Note If you unchecked the option "Use an application indicator" and now want it back, run gsettings set apps.indicators.keylock use-indicator true Related Posts Add application to Xfce/Xubuntu session startup References Indicator Keylock Displ...

Restart/Shutdown/Log Out without confirmation in Xubuntu/Xfce

Image
The confirmation dialog shown in the image below can be disabled and the action (restart, shutdown, ...) will be executed immediately. Disable confirmation Open a terminal window and run: xfconf-query -c xfce4-panel -n -p /plugins/plugin-9/ask-confirmation -s false -t bool Alternative Open "Action Buttons" plugin preferences (right-click on the Xfce panel item and select properties) and uncheck "show confirmation dialog". Related Posts Hey, Where's the Xfce panel restart option? Replace "Session Buttons" with "Action Buttons" in Xfce panel

Replace "Session Buttons" with "Action Buttons" in Xfce panel

Image
Changing the appearance of "Action Buttons" Xfce panel plugin to "Action Buttons" (yeah, redundancy) allows to access "Restart", "Shutdown", etc without having to access a sub-menu. Enable Action Buttons Open a terminal window and run: xfconf-query -c xfce4-panel -n -p /plugins/plugin-9/appearance -s 0 -t int Altenative Open "Action Buttons" plugin preferences (right-click on the Xfce panel item and select properties) and change appearance to "Action Buttons" Related Posts Hey, Where's the Xfce panel restart option? Restart/Shutdown/Log Out without confirmation in Xubuntu/Xfce

Enable editable keyboard shortcuts in Xfce

Image
Keyboard shortcuts for menu items can be changed by hovering the mouse over the menu item and pressing the new key combination for the shortcut. Example: Setting a keyboard shortcut for "Make Link" in Thunar Enable To enable this feature, open a terminal window and run: xfconf-query -c xsettings -p /Gtk/CanChangeAccels -s true Alternative Open Settings Manager , then select Appearance > Settings and check the "Enable editable accelerators" option. Related Posts Edit Xfce Settings with graphical interface

Hey, Where's the Xfce panel restart option?

Image
If the "Restart" option is missing from the "Action Buttons" on the Xfce panel, read below to get it back. The restart option is missing in the left photo. Fix Open a terminal window and enter these two lines: xfcommand="xfconf-query -c xfce4-panel -p /plugins/plugin-9/items" eval $xfcommand"$(eval $xfcommand | tail -11 | sed 's/-restart/+restart/' | awk '{printf " -t string -s %s", $1}')" Alternatively you can right-click the "Action Buttons" item on the Xfce panel and select properties. And enable the "Restart" option on the following window. Related Posts Replace "Session Buttons" with "Action Buttons" in Xfce panel Restart/Shutdown/Log Out without confirmation in Xubuntu/Xfce

xfconf-query set an array value to a property

"Xfconf-query is a Command Line Interface (CLI) tool for accessing configuration data stored in Xfconf." If a property is an array of values: xfconf-query -c CHANNEL -p PROPERTY [-n] -t TYPE1 -s VALUE1 -t TYPE2 -s VALUE2 ... References Xfconf-query

Install PCManFM in [X]Ubuntu

Image
PCManFM is a lightweight file manager with support for tabs. So is a great alternative to Xfce's file manager, Thunar. I miss the possibility of selecting files that match a pattern (like in nautilus) or finding files (catfish to the rescue), but PCManFM has built-in tools for opening current directory in terminal or as root. Install Open a terminal window and run: sudo apt-get install pcmanfm -y OR Click here to install PCManFM Related Posts No Tabs for Thunar [FIX] VLC is unable to open the MRL (smb://)

[FIX] Pastie doesn't appear on Xfce panel (indicator-plugin)

Problem: Even though pastie is running it doesn't appear on Xfce panel's indicator-plugin. Well, this happens when the icon theme being used doesn't possess a "gtk-paste" icon. And that's what happens with the default Xubuntu 12.04 icon theme (elementary-xfce-dark). Fortunately, all we need to do is borrow a "gtk-paste" icon from the "Humanity" themes (it comes installed by default in Xubuntu 12.04), and this icon will work well in dark and light panels. Install Open a terminal window and run: # Create a symbolic link to the gtk-paste icon in elementary-xfce sudo ln -s /usr/share/icons/Humanity/actions/16/gtk-paste.svg /usr/share/icons/elementary-xfce/actions/16/gtk-paste.svg sudo ln -s /usr/share/icons/Humanity/actions/48/gtk-paste.svg /usr/share/icons/elementary-xfce/actions/48/gtk-paste.svg sudo ln -s /usr/share/icons/Humanity/actions/24/gtk-paste.svg /usr/share/icons/elementary-xfce/actions/24/gtk-paste.svg sudo ln -s /usr...

Set nautilus-open-terminal to open xfce4-terminal

The nautilus-open-terminal is a nautilus extension that allows to open a terminal emulator on the current opened folder. When installed in Xfce the extension opens xterm . To modify it so that it opens xfce4-terminal instead, run the following line in a terminal: $ gsettings set org.gnome.desktop.default-applications.terminal exec /usr/bin/xfce4-terminal References: Setting nautilus-open-terminal to launch Terminator rather than gnome-terminal (Ask Ubuntu)

Native Look and Feel for Netbeans on Xfce

Image
Netbeans displays a different look and feel than the rest of the applications on Xfce. To fix this, just add --laf GTK to the command that runs Netbeans (the command might different on your configuration), like so: /bin/netbeans --laf GTK

Install Clementine Music Player (Amarok 1.4 fork) in Xubuntu 11.10

Image
Amarok 1.4 was the primary reason for me to be using Kubuntu a few years ago. Simply put, it was awesome: it was simple to use and advanced features were included. When KDE4 was released in 2008, Amarok went to version 2. It suffered so many changes that I felt that it lost its essence. Clementine Music Player is a fork of Amarok's version 1.4 to port it to Qt 4. Despite the fact that it is a Qt application and Xfce has GTK as its framework, I was so excited to have the good old Amarok back that I gave it a try. It met all my expectations and it works very well on my Xubuntu 11.10 environment; the keyboard multimedia keys work out-of-the-box (may I remind you that gmusicbrowser, the default music player on Xubuntu 11.10, doesn't support multimedia keys). Clementines desktop integration is very good To install Clementine on Xubuntu just type on a terminal window: sudo apt-get install clementine or Click to install Clementine References: http://www.techdr...

Fix look of KDE/Qt applications in Xfce/Xubuntu

Image
On a fresh install of Xubuntu 11.10, Qt (KDE) applications don't use the same style as the other applications. VLC using the wrong style VLC using the desktop style (greybird) To fix this just install libgnome2-0 , via terminal: sudo apt-get install libgnome2-0 Or Click here to install libgnome2-0

Add application to Xfce/Xubuntu session startup [Xubuntu >= 11.10]

Image
When a user logs in, the desktop environment starts do load the necessary resources to provide its functionality. Some of this process is configurable by the user. For instance, the user can choose which applications will be run when the session is loaded. fig.1 List of applications that will be started when the user logs in Add Application to startup Open ' Settings Manager ' Select 'Session and Startup' On the 'Application Autostart' click on the 'Add' button On the dialog that opens (fig.2) write the name of the application and the command that runs the application (description isn't mandatory). Once you click 'OK' the application will be added to the list and will automatically be started on the next session login. fig.2 Dialog for entering the information of the startup application Related posts: Edit Xfce Settings with graphical interface

Add items to Xfce Applications Menu

To add an application launcher to Xfce Applications Menu is simple; all you have to do is place the *.desktop file that launches the application in the right folder. Create the *.desktop file Create a text file whose extension is 'desktop', with the following content: [Desktop Entry] Version=1.0 Type=Application Name= ItemName Exec= Command Icon= IconFile Categories= Category ; On ItemName write the name that should be displayed on the menu. Command  is the command that should be run. IconFile is the path to some *.png file. The Category dictates the sub-menu where the item will be placed. See the table bellow to see what Category value you should use. Sub-Menu Categories Accessories Utility Development Development Games Game Graphics Graphics Internet Network Multimedia AudioVideo Office Office System System A new item can be placed on a sub-menu by selecting the right 'Catego...