Sorting Icons in KDE
I am a Windows refugee thoroughly enjoying Arch.
There are a couple of things that I have not been able to resolve, even after searching the achives.
1. When I open Arch KDE Desktop, the Icons are never sorted as I left them. I have ticked the appropriate boxes in Desktop Config and in the Control Panel to no avail. Is there an equivalent to the Auto Arrange used in Windows that I am missing somehow? I have to use the 'Sort Icons/By Type' in desktop config after each boot.
OK, I KNOW I am anal about this :))
2.xhost +localhost
After each boot, I have to enter the line above into my user terminal, This results in the following:-
[pete@archbox ~]$ xhost +localhost
localhost being added to access control list
[pete@archbox ~]$ exit
This allows me to edit as root using Kate or Kwrite.
I have looked through the archives and tried many of the suggestions. Where is the 'Access Control List' Can I set the command to load automatically?
I suspect that these are pretty basic questions but we all have to learn sometime.
Regards
Pete
somairotevoli wrote:
For your 2nd question/problem, check out sudo http://wiki.archlinux.org/index.php/Sudo
or you can try either in a terminal or "Run Command"
kdesu "program name"
Hi
Thanks for the info.
I have used these commands and they bring up a mass of errors in the terminal. I have tried the solutions in the archives to no effect. A knowledgeable friend thinks it MAY have something to do with the fact that I have an esmith server for my home network and do not use DHCP.
We have looked but found nothing to support this.
Pete
Similar Messages
-
Unable to capture the adf table column sort icons using open script tool
Hi All,
I am new to OATS and I am trying to create script for testing ADF application using open script tool. I face issues in recording two events.
1. I am unable to record the event of clicking adf table column sort icons that exist on the column header. I tried to use the capture tool, but that couldn't help me.
2. The second issue is I am unable to capture the panel header text. The component can be identified but I was not able to identify the supporting attribute for the header text.Hi keerthi,
1. I have pasted the code for the first issue
web
.button(
122,
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1824fhkchs_6']/web:form[@id='pt1:_UISform1' or @name='pt1:_UISform1' or @index='0']/web:button[@id='pt1:MA:0:n1:1:pt1:qryId1::search' or @value='Search' or @index='3']")
.click();
adf
.table(
"/web:window[@index='0' or @title='Manage Network Targets - Oracle Communications Order and Service Management - Order and Service Management']/web:document[@index='0' or @name='1c9nk1ryzv_6']/web:ADFTable[@absoluteLocator='pt1:MA:n1:pt1:pnlcltn:resId1']")
.columnSort("Ascending", "Name" );
} -
On click sorting icons lost in UI table
Hi All,
I want to implement sorting in my UI table. I followed the following steps:
1. Created a context attribute of "TableSorter" type (used TableSorter.java)
2. Created an Action "Sort" and have written the below code in its event
wdContext.currentContextElement().getTableSorter().sort(wdEvent, wdContext.<node>);
3. In wdDoModifyView have written the below code
if(firstTime){
IWDTable table = (IWDTable)view.getElement(<tablename>);
wdContext.currentContextElement().setTableSorter(new TableSorter
(table, wdThis.wdGetSortAction(), null));
4. Assigned "Sort" action (created in step 2) to the Sort Event of the table.
After deploying the code, I can see the sort icons in the column headers but after clicking on that, its not sorting the table, also the icons are lost after their click.
Not sure what I missed in this. Please help me out.
Thanks in advance.hi
this may be the reason.
check once the table id you specified here.
IWDTable table = (IWDTable)view.getElement(<tablename>);
Regards
sowmya. -
How can I display sort icons of an af:table column permanently
Hello all,
I'm using JDEV 11.1.1.5. Is there a way using skinning or any other mean to make the sort icons of a column in a af:table to be displayed permanently and not only after a mouse over on the column title?Can you try with skinning?
Check the forum post:
Column Sort image display permanent
Thanks,
Navaneeth -
Sort Icon/option in ALV tree repot using classes and methods
Hi all,
I have done an alv tree report using the class cl_gui_alv_tree
and i need to let users re-sort the report by using a sort icon(as visible in a normal alv report).Is there any possibility to create an icon and set the functionality such that the entire tree structure gets resorted depending upon the sort criteria?Please give me an example of doing so if there is an option.if u want without classes then i can give an example of Sort Icon/option.
example:-
DATA: wa_sortinfo TYPE slis_sortinfo_alv.
i_sortcat TYPE slis_t_sortinfo_alv.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = report_id
i_grid_title = ws_title
i_callback_top_of_page = 'TOP-OF-PAGE'
is_layout = wa_layout
it_fieldcat = i_fieldcat[]
it_sort = i_sortcat
i_save = 'A'
it_events = i_events
TABLES
t_outtab = i_reportdata1
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
PERFORM sortcat_init CHANGING i_sortcat.
FORM sortcat_init CHANGING i_sortcat TYPE slis_t_sortinfo_alv.
CLEAR wa_sortinfo.
wa_sortinfo-fieldname = 'EBELN'. (sales order)
wa_sortinfo-tabname = 'I_REPORTDATA1'.
wa_sortinfo-spos = 1. " First sort by this field.
wa_sortinfo-up = 'X'. " Ascending
wa_sortinfo-subtot = 'X'. " Subtotal at Name1
APPEND wa_sortinfo TO i_sortcat.
CLEAR wa_sortinfo.
wa_sortinfo-fieldname = 'EBELP'.
wa_sortinfo-tabname = 'I_REPORTDATA1'.
wa_sortinfo-spos = 2. " Sec sort by this field.
wa_sortinfo-up = 'X'. " Ascending
wa_sortinfo-subtot = 'X'. " Subtotal at Name1
APPEND wa_sortinfo TO i_sortcat.
ENDFORM. " sortcat_init -
[SOLVED] no openoffice icons in kde menu
Hi
I installed openoffice 3.1.1-2 and there are no icons in KDE menu. To launch OOo I have to run:
/usr/lib/openoffice/program/[swriter]
Last edited by pawels64 (2009-11-18 22:06:32)$ kmenuedit
Edit->Restore to System Menu
helps, so it's probably some KDE menu related bug. -
JTable - custom JTableHeader with UP, DOWN sorting icon
This is my code to create a custom JTableHeader.
class MyHeaderRenderer extends DefaultTableCellRenderer {
public MyHeaderRenderer() {
setIcon(new ImageIcon("1.png"));
setHorizontalAlignment(SwingConstants.CENTER);
setBackground(Color.YELLOW);
RowSorter<TableModel> sorter = new TableRowSorter<TableModel> (tableModel);
table.setRowSorter (sorter);
table.getColumnModel().getColumn(2).setHeaderRenderer(new MyHeaderRenderer());After setting a custom header renderer, the default UP and DOWN sort image
is not displaying in the table header. How can I show those images.
Thanks in advance.Hi Ashish,
In Table properties once you map any method to onSort event, the sort icons will appear automatically. But in your case its not working. I suggest you check the portal theme you are using.
If you manage to get the icon deom some where
To set the icon go to Theme Editor >Complex Elements>Tables--> Under Sort Icons you can browse for the icons and set it.
Where you can find the icon ?
Under Theme Editor --> Theme Transport --> Under Export theme. You can download your theme from here, unzip and look for the icon under "YourThemeFolder\ur.zip\common\tableview"
Please try this if you are unble to find the icon, let me know
Regards,
Shibin -
Showing sort icons without applying sort to the collection in AdvancedDataGrid
Hi All,
We have a scenario in our application where all the sorting has to be handled by the web services and the client just needs to show the sorted data in an Advanced Data Grid.
The web services though returns details for the column on which it is being sorted and also the sort order i.e. ASC or DESC. So based on the same we need to simply show a ASC or DESC icon on the specified column header.
We tried different options, but it seems the sort icons only show up when sorting is actually applied to the collection. But since the sorting is to be dealt with from the web services, it is not possible to apply sorting on the client side as it may result is differentiating data.
So, can anyone please suggest a solution for this.
Thanks,
EshaanHi All,
We have a scenario in our application where all the sorting has to be handled by the web services and the client just needs to show the sorted data in an Advanced Data Grid.
The web services though returns details for the column on which it is being sorted and also the sort order i.e. ASC or DESC. So based on the same we need to simply show a ASC or DESC icon on the specified column header.
We tried different options, but it seems the sort icons only show up when sorting is actually applied to the collection. But since the sorting is to be dealt with from the web services, it is not possible to apply sorting on the client side as it may result is differentiating data.
So, can anyone please suggest a solution for this.
Thanks,
Eshaan -
Af:table column sort icon does not appear
Hi,
if I use the declarative way to handle column sorting the tablecolumn gets a icon which indicates sorting.
For one column I have to set the sorting programmatically by using CoreTable's setSortCriteria method .
In this case the sort icon doesn't appear!? Is that right?
regards, Florianthanks Frank!
It's not a question of enable/disable the sorting feature of the table column.
It's about the requirement to sort the column like in this sql statement:
select c1 || c2 || c3 as c123
from myTable
order by c1, c2, c3 asc;
The column is sortable by default (column data is concatenated like in c123).
I use following code in the SortListenerMethod to enable the sorting for the requirement above:
CoreTable ct = this.getMyTable();
List<SortCriterion> critlist = new ArrayList<SortCriterion>();
boolean sortOrderAsc = true;
critlist.add(new SortCriterion("c1", sortOrderAsc));
critlist.add(new SortCriterion("c2", sortOrderAsc));
critlist.add(new SortCriterion("c3", sortOrderAsc));
ct.setSortCriteria(critlist);
using this always prevent the sortIcon from showing.
On the other hand my sortIcon comes up using the declarative way.
Or is there a way to accomplish the sorting above by using other ways? -
Replace blue launch icon in kde 4.1[SOLVED]
I'm not a fan of blue - does anyone know where the icon resides for the start button in kde4? I've tried under the oxygen icons to replace the kde.png, but that didn't work. It must be lurking somewhere else?
thanks.
Last edited by nirvanix (2008-11-05 15:47:43)Hi,
Running latest KDEmod using archlinux-oxygen icon theme with latest kde-Oxygen-svn icon theme, my start menu icon changed from to this image : and have no idea from where it comes from, as in /usr/share/icons/archlinux-kde and /usr/share/icons/oxygen, the stat-here-kde.png icons are like this :
How can I make the KDE start menu use again this icon ?? -
[Solved]Remove button icons in KDE applications when running under dwm
I run dwm but also use KDE applications.
KDE applications do show icons on dialog buttons:
I gather that these buttons can be disabled in the system settings dialog when running a full KDE desktop. My question is: How do I achieve this - remove the icons on buttons - while not running a full KDE session?
kcmshell4 doesn't seem to expose an option to do so in any available module, including 'kcmshell4 icons'.
The systemsettings5 option repertoire is incomplete and only has the modules "Workspace>Desktop behaviour", "Workspace>Shortcuts", "Network>Settings" and "Network>Connectivity".
In my .xsession, I am currently exporting
export QT_STYLE_OVERRIDE=gtk # Make Qt5 use the GTK+ theme
export DESKTOP_SESSION=gnome # For something I can't quite remember
I've also seen XDG_CURRENT_DESKTOP=gnome vs XDG_CURRENT_DESKTOP=kde floating around, but neither achieves anything in this regard.
Does anybody know which setting in which config file I could set to emulate what the KDE configuration GUI does in a KDE session, or what KDE packages I would have to install in order to add the correct settings component to my KDE configuration utilities (KDE4 and/or Plasma 5), or what environment variable to set? A last resort would be installing a full KDE workspace or Plasma 5 and toggling the setting there, but I'd rather avoid doing that.
Last edited by 2ion (2015-05-07 13:39:25)Xabre wrote:
Would running "kcmshell5 style", or "kcmshell4 style" be an option? Am not sure what you have installed, but under fine tuning tab there, there's exactly what you need.
Edit: if that doesn't work, .config/kdeglobals
ShowIconsInMenuItems=true
ShowIconsOnPushButtons=true
ToolButtonStyle=TextBesideIcon
ToolButtonStyleOtherToolbars=TextBesideIcon
Change to false and TextOnly, respectively
Might have to look for another kdeglobals file for kde4 apps, which should be either in .kde4 or in home dir, since there's a bit of a mess currently during transition
Please excuse my belated reply; thank you for the solution:
The line
ShowIconsOnPushButtons=false
in kdeglobals removed the icons for KDE 4 applications. For some reason, applications using KDE Frameworks 5.x did never show the button icons to begin with. -
'sort' icon in the header of table column
Hi everybody,
I am using table UI element in WD ABAP. Table columns can be sorted and the method fro event 'onSort' is defined.
On each table column header a tool tip with icons ▲▼ appears when the cursor is moved over the right side of the column header.
Is it possible to make this icon appear on the right of each column header permanently?
Thank you for your help,
HelenHi Jörg,
We are using IE6 or IE7. And nothing appears. ONSort action exists and defined.
May be I will create internal message for ABAP WD.
Kind regards,
Helen -
Webdynpro Table: Column Header sort icon not visible
In design time in NWDS, my table headers have this up/down arrow icon that is visible to indicate sorting.
At runtime it is not displayed. How come?Hi KF,
According to the Node Structure
Employee
|----
name
|----
no
|----
sal
public static void wdDoModifyView(IPrivateEmployeeView wdThis, IPrivateEmployeeView.IContextNode wdContext, com.sap.tc.webdynpro.progmodel.api.IWDView view, boolean firstTime)
if (firstTime) {
IWDTable sortTable = (IWDTable) view.getElement("Put the table id here");
<b>
wdContext.currentContextElement().setEmployeeTableSorter(new TableSorter(sortTable, wdThis.wdGetSortEmployeeAction(), null,
new String[]{"name","no","sal"})); </b>
//Instead of column id passes the attribute name of the node that is bound with the table.
//EmployeeTableSorter is the context attribute of type .utils.TableSorter
public void onActionSortEmployee(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )
//@@begin onActionSortFundID(ServerEvent)
wdContext.currentContextElement().getEmployeeTableSorter().sort(wdEvent, wdContext.nodeEmployee());
//@@end
Table Sorter : table not getting sorted
Regards,
Mithu -
[SOLVED] Huge tray icons in KDE
Until the other day, my tray icons looked like this (good): http://i.imgur.com/o0v5hVd.png
Now, it looks like this (bad): http://i.imgur.com/FD77IWF.png
I tried downgrading some kde packages, but couldn't find the one responsible for the change.
Has anyone else encountered this? Is it a bug or a feature? Can I fix it?
Last edited by z0id (2014-02-08 15:06:50)It's a "feature":
http://quickgit.kde.org/?p=kde-workspac … 2e883f0af4
You can fix it by reverting the changes in /usr/share/apps/plasma/packages/org.kde.systemtray/contents/ui/main.qml yourself. It's javascript, so there's no need to recompile. -
Tango svg icons in KDE not correct
How do i fix this. I use the Tango icon set (in kde 3.5.3) because the icons are easy to recognize, especially at 16x16.
if you look at this:
[URL=http://img121.imageshack.us/my.php?image=tangoinkde7wy.png][/URL]
i enlarged the icons for the purpose of this post. In the screenshot, the window below konqueror is Thunar (a gtk2 app). In konqueror and the rest of kde, svg Tango icons are rendered incorectly, it seems with only a limited color palette. If you notice the gradients and shadows are abrupt, not smooth. But in gtk2 apps tango looks fine.
(although at the small sizes tango icons look fine in kde because they're in PNG format).
ps. im using the tango package in the repos.Galdona wrote:but it does not refer to any errors in SVG rendering, which is what I am experiencing (on two computers).
ah ok, I had the same problem as well and just started using the sparkling iconset instead. For the number of times I use kde apps it's not to bad.
Maybe you are looking for
-
Can I use 2 TV's as secondary displays from Macbook Air?
Here is what I need to be able to do: In one large room, I need to display my keynote presentation from my Macbook Air 11" (Mid 2012) onto 2 50" Flat-Screen TV's simultaneously that are on the walls on the left and right sides of the room. I have se
-
i want to create an appleid and i dont have credit card. the instruction that you discribe at the top is not working in itune 11.1.3 and iphone 5s. what should i do
-
Hello, Is it possible to install BO edge in a 2008 MSCS cluster? I have found the wiki /people/ray.li3/blog/2010/06/28/clustering-bo-edge-with-mscs, but it says that it is not supported and not legal. There will be license problems. Thanks and best r
-
Just out of curiosity I was wondering is there a way to find out how old my blue clamshell iBook is? I got it off ebay for about £200 4-5 years ago, it was second hand, but I have never had any problems with it so after going through 6 windows PC's a
-
Most serious users have been greeted by Smart Object bugs. They're frustrating. Check this one out. http://feedback.photoshop.com/photoshop_family/topics/smart_object_rendering_bug?rfm=1 Ever happen to you? What causes it?